its quite simple to write a pattern scanner yourself
CwBinding__RegisterBindings proc near ; CODE XREF: CwBinding__Constructor+DFp .text:006614B0 56 push esi .text:006614B1 8B F1 mov esi, ecx .text:006614B3 57 push edi .text:006614B4 6A 01 push 1 .text:006614B6 56 push esi .text:006614B7 8B 4E 50 mov ecx, [esi+50h] .text:006614BA 68 20 EE 65 00 push offset GetBuildInfo .text:006614BF 68 8C 34 E9 00 push offset aGetbuildinfo ; "GetBuildInfo" .text:006614C4 8B 01 mov eax, [ecx] .text:006614C6 FF 50 68 call dword ptr [eax+68h] .text:006614C9 8B 4E 50 mov ecx, [esi+50h] .text:006614CC 6A 02 push 2 .text:006614CE 56 push esi .text:006614CF 68 90 F1 65 00 push offset QueryItemInfo .text:006614D4 8B 01 mov eax, [ecx] .text:006614D6 68 A8 34 E9 00 push offset aQueryiteminfo ; "QueryItemInfo" .text:006614DB FF 50 68 call dword ptr [eax+68h] .text:006614DE 8B 4E 50 mov ecx, [esi+50h] .text:006614E1 6A 02 push 2 .text:006614E3 56 push esi .text:006614E4 68 00 F2 65 00 push offset SellItem .text:006614E9 8B 01 mov eax, [ecx] .text:006614EB 68 C4 34 E9 00 push offset aSellitem ; "SellItem" .text:006614F0 FF 50 68 call dword ptr [eax+68h] .text:006614F3 8B 4E 50 mov ecx, [esi+50h] .text:006614F6 6A 01 push 1 .text:006614F8 56 push esi .text:006614F9 68 00 EF 65 00 push offset GetTimeFromRequest .text:006614FE 8B 01 mov eax, [ecx] .text:00661500 68 D8 34 E9 00 push offset aGettimefromreq ; "GetTimeFromRequest" .text:00661505 FF 50 68 call dword ptr [eax+68h] .text:00661508 8B 4E 50 mov ecx, [esi+50h] .text:0066150B 6A 01 push 1 .text:0066150D 56 push esi .text:0066150E 68 70 EF 65 00 push offset HasBrowserCrashed .text:00661513 8B 01 mov eax, [ecx] .text:00661515 68 00 35 E9 00 push offset aHasbrowsercras ; "HasBrowserCrashed" .text:0066151A FF 50 68 call dword ptr [eax+68h] .text:0066151D 8B 4E 50 mov ecx, [esi+50h] .text:00661520 6A 01 push 1 .text:00661522 56 push esi .text:00661523 68 D0 F0 65 00 push offset IsTradingPostActive .text:00661528 8B 01 mov eax, [ecx] .text:0066152A 68 24 35 E9 00 push offset aIstradingposta ; "IsTradingPostActive" .text:0066152F FF 50 68 call dword ptr [eax+68h] .text:00661532 8B 4E 50 mov ecx, [esi+50h] .text:00661535 6A 01 push 1 .text:00661537 56 push esi .text:00661538 68 10 E9 65 00 push offset AccountGetContacts .text:0066153D 8B 01 mov eax, [ecx] .text:0066153F 68 4C 35 E9 00 push offset aAccountgetcont ; "AccountGetContacts" .text:00661544 FF 50 68 call dword ptr [eax+68h] .text:00661547 8B 4E 50 mov ecx, [esi+50h] .text:0066154A 6A 01 push 1 .text:0066154C 56 push esi .text:0066154D 68 80 E9 65 00 push offset AccountGetGuilds .text:00661552 8B 01 mov eax, [ecx] .text:00661554 68 74 35 E9 00 push offset aAccountgetguil ; "AccountGetGuilds" .text:00661559 FF 50 68 call dword ptr [eax+68h] .text:0066155C 8B 4E 50 mov ecx, [esi+50h] .text:0066155F 6A 01 push 1 .text:00661561 56 push esi .text:00661562 68 30 EB 65 00 push offset CharacterGetParty .text:00661567 8B 01 mov eax, [ecx] .text:00661569 68 98 35 E9 00 push offset aCharactergetpa ; "CharacterGetParty" .text:0066156E FF 50 68 call dword ptr [eax+68h] .text:00661571 8B 4E 50 mov ecx, [esi+50h] .text:00661574 6A 01 push 1 .text:00661576 56 push esi .text:00661577 68 90 EE 65 00 push offset GetStats .text:0066157C 8B 01 mov eax, [ecx] .text:0066157E 68 BC 35 E9 00 push offset aGetstats ; "GetStats" .text:00661583 FF 50 68 call dword ptr [eax+68h] .text:00661586 8B 4E 50 mov ecx, [esi+50h] .text:00661589 6A 01 push 1 .text:0066158B 56 push esi .text:0066158C 68 F0 E9 65 00 push offset BuyFeature .text:00661591 8B 01 mov eax, [ecx] .text:00661593 68 D0 35 E9 00 push offset aBuyfeature ; "BuyFeature" .text:00661598 FF 50 6C call dword ptr [eax+6Ch] .text:0066159B 8B 4E 50 mov ecx, [esi+50h] .text:0066159E 8B 01 mov eax, [ecx] .text:006615A0 6A 01 push 1 .text:006615A2 56 push esi .text:006615A3 68 60 F3 65 00 push offset ShowItemContextMenu .text:006615A8 68 E8 35 E9 00 push offset aShowitemcontex ; "ShowItemContextMenu" .text:006615AD FF 50 6C call dword ptr [eax+6Ch] .text:006615B0 8B 4E 50 mov ecx, [esi+50h] .text:006615B3 6A 01 push 1 .text:006615B5 56 push esi .text:006615B6 68 E0 EF 65 00 push offset HideItemContextMenu .text:006615BB 8B 01 mov eax, [ecx] .text:006615BD 68 10 36 E9 00 push offset aHideitemcontex ; "HideItemContextMenu" .text:006615C2 FF 50 6C call dword ptr [eax+6Ch] .text:006615C5 8B 4E 50 mov ecx, [esi+50h] .text:006615C8 6A 01 push 1 .text:006615CA 56 push esi .text:006615CB 68 B0 F3 65 00 push offset ShowItemTooltip .text:006615D0 8B 01 mov eax, [ecx] .text:006615D2 68 38 36 E9 00 push offset aShowitemtoolti ; "ShowItemTooltip" .text:006615D7 FF 50 6C call dword ptr [eax+6Ch] .text:006615DA 8B 4E 50 mov ecx, [esi+50h] .text:006615DD 6A 01 push 1 .text:006615DF 56 push esi .text:006615E0 68 30 F0 65 00 push offset HideItemTooltip .text:006615E5 8B 01 mov eax, [ecx] .text:006615E7 68 58 36 E9 00 push offset aHideitemtoolti ; "HideItemTooltip" .text:006615EC FF 50 6C call dword ptr [eax+6Ch] .text:006615EF 8B 4E 50 mov ecx, [esi+50h] .text:006615F2 6A 01 push 1 .text:006615F4 56 push esi .text:006615F5 68 50 F4 65 00 push offset ShowTextTooltip .text:006615FA 8B 01 mov eax, [ecx] .text:006615FC 68 78 36 E9 00 push offset aShowtexttoolti ; "ShowTextTooltip" .text:00661601 FF 50 6C call dword ptr [eax+6Ch] .text:00661604 8B 4E 50 mov ecx, [esi+50h] .text:00661607 6A 01 push 1 .text:00661609 56 push esi .text:0066160A 68 80 F0 65 00 push offset HideTextTooltip .text:0066160F 8B 01 mov eax, [ecx] .text:00661611 68 98 36 E9 00 push offset aHidetexttoolti ; "HideTextTooltip" .text:00661616 FF 50 6C call dword ptr [eax+6Ch] .text:00661619 8B 4E 50 mov ecx, [esi+50h] .text:0066161C 6A 01 push 1 .text:0066161E 56 push esi .text:0066161F 68 10 F3 65 00 push offset ShowInDefaultBrowser .text:00661624 8B 01 mov eax, [ecx] .text:00661626 68 B8 36 E9 00 push offset aShowindefaultb ; "ShowInDefaultBrowser" .text:0066162B FF 50 6C call dword ptr [eax+6Ch] .text:0066162E 8B 4E 50 mov ecx, [esi+50h] .text:00661631 6A 01 push 1 .text:00661633 56 push esi .text:00661634 68 00 F4 65 00 push offset ShowNetErrorBasic .text:00661639 8B 01 mov eax, [ecx] .text:0066163B 68 E4 36 E9 00 push offset aShowneterrorba ; "ShowNetErrorBasic" .text:00661640 FF 50 6C call dword ptr [eax+6Ch] .text:00661643 8B 4E 50 mov ecx, [esi+50h] .text:00661646 6A 01 push 1 .text:00661648 56 push esi .text:00661649 68 90 EC 65 00 push offset CharacterShow .text:0066164E 8B 01 mov eax, [ecx] .text:00661650 68 08 37 E9 00 push offset aCharactershow ; "CharacterShow" .text:00661655 FF 50 6C call dword ptr [eax+6Ch] .text:00661658 8B 4E 50 mov ecx, [esi+50h] .text:0066165B 6A 01 push 1 .text:0066165D 56 push esi .text:0066165E 68 A0 EB 65 00 push offset CharacterHide .text:00661663 8B 01 mov eax, [ecx] .text:00661665 68 24 37 E9 00 push offset aCharacterhide ; "CharacterHide" .text:0066166A FF 50 6C call dword ptr [eax+6Ch] .text:0066166D 8B 4E 50 mov ecx, [esi+50h] .text:00661670 6A 01 push 1 .text:00661672 56 push esi .text:00661673 68 F0 EB 65 00 push offset CharacterSetPreviewItem .text:00661678 8B 01 mov eax, [ecx] .text:0066167A 68 40 37 E9 00 push offset aCharactersetpr ; "CharacterSetPreviewItem" .text:0066167F FF 50 6C call dword ptr [eax+6Ch] .text:00661682 8B 4E 50 mov ecx, [esi+50h] .text:00661685 6A 01 push 1 .text:00661687 56 push esi .text:00661688 68 90 EA 65 00 push offset CharacterClearPreviewItems .text:0066168D 8B 01 mov eax, [ecx] .text:0066168F 68 70 37 E9 00 push offset aCharacterclear ; "CharacterClearPreviewItems" .text:00661694 FF 50 6C call dword ptr [eax+6Ch] .text:00661697 8B 4E 50 mov ecx, [esi+50h] .text:0066169A 6A 01 push 1 .text:0066169C 56 push esi .text:0066169D 68 40 EC 65 00 push offset CharacterSetPreviewOutfit .text:006616A2 8B 01 mov eax, [ecx] .text:006616A4 68 A8 37 E9 00 push offset aCharacterset_0 ; "CharacterSetPreviewOutfit" .text:006616A9 FF 50 6C call dword ptr [eax+6Ch] .text:006616AC 8B 4E 50 mov ecx, [esi+50h] .text:006616AF 6A 01 push 1 .text:006616B1 56 push esi .text:006616B2 68 E0 EA 65 00 push offset CharacterClearPreviewOutfit .text:006616B7 8B 01 mov eax, [ecx] .text:006616B9 68 DC 37 E9 00 push offset aCharactercle_0 ; "CharacterClearPreviewOutfit" .text:006616BE FF 50 6C call dword ptr [eax+6Ch] .text:006616C1 8B 4E 50 mov ecx, [esi+50h] .text:006616C4 6A 01 push 1 .text:006616C6 56 push esi .text:006616C7 68 40 EA 65 00 push offset ChangeTab .text:006616CC 8B 01 mov eax, [ecx] .text:006616CE 68 14 38 E9 00 push offset aChangetab ; "ChangeTab" .text:006616D3 FF 50 6C call dword ptr [eax+6Ch] .text:006616D6 8B 4E 50 mov ecx, [esi+50h] .text:006616D9 6A 01 push 1 .text:006616DB 56 push esi .text:006616DC 68 70 F2 65 00 push offset SetLoading .text:006616E1 8B 01 mov eax, [ecx] .text:006616E3 68 28 38 E9 00 push offset aSetloading ; "SetLoading" .text:006616E8 FF 50 6C call dword ptr [eax+6Ch] .text:006616EB 8B 4E 50 mov ecx, [esi+50h] .text:006616EE 6A 01 push 1 .text:006616F0 56 push esi .text:006616F1 68 C0 F2 65 00 push offset SetTextEncryptionKey .text:006616F6 8B 01 mov eax, [ecx] .text:006616F8 68 40 38 E9 00 push offset aSettextencrypt ; "SetTextEncryptionKey" .text:006616FD FF 50 6C call dword ptr [eax+6Ch] .text:00661700 8B 4E 50 mov ecx, [esi+50h] .text:00661703 6A 01 push 1 .text:00661705 56 push esi .text:00661706 68 40 F1 65 00 push offset PickupAllItems .text:0066170B 8B 01 mov eax, [ecx] .text:0066170D 68 6C 38 E9 00 push offset aPickupallitems ; "PickupAllItems" .text:00661712 FF 50 6C call dword ptr [eax+6Ch] .text:00661715 8B 4E 50 mov ecx, [esi+50h] .text:00661718 6A 01 push 1 .text:0066171A 56 push esi .text:0066171B 68 80 ED 65 00 push offset ChatPost .text:00661720 8B 01 mov eax, [ecx] .text:00661722 68 8C 38 E9 00 push offset aChatpost ; "ChatPost" .text:00661727 FF 50 6C call dword ptr [eax+6Ch] .text:0066172A 8B 4E 50 mov ecx, [esi+50h] .text:0066172D 6A 01 push 1 .text:0066172F 56 push esi .text:00661730 68 D0 ED 65 00 push offset ChatSend .text:00661735 8B 01 mov eax, [ecx] .text:00661737 68 A0 38 E9 00 push offset aChatsend ; "ChatSend" .text:0066173C FF 50 6C call dword ptr [eax+6Ch] .text:0066173F 8B 4E 50 mov ecx, [esi+50h] .text:00661742 6A 01 push 1 .text:00661744 56 push esi .text:00661745 68 30 ED 65 00 push offset ChatItemSend .text:0066174A 8B 01 mov eax, [ecx] .text:0066174C 68 B4 38 E9 00 push offset aChatitemsend ; "ChatItemSend" .text:00661751 FF 50 6C call dword ptr [eax+6Ch] .text:00661754 8B 4E 50 mov ecx, [esi+50h] .text:00661757 6A 01 push 1 .text:00661759 56 push esi .text:0066175A 68 E0 EC 65 00 push offset ChatItemInsert .text:0066175F 8B 01 mov eax, [ecx] .text:00661761 68 D0 38 E9 00 push offset aChatiteminsert ; "ChatItemInsert" .text:00661766 FF 50 6C call dword ptr [eax+6Ch] .text:00661769 8B 4E 50 mov ecx, [esi+50h] .text:0066176C 6A 02 push 2 .text:0066176E 56 push esi .text:0066176F 68 A0 F4 65 00 push offset StsRequest .text:00661774 8B 01 mov eax, [ecx] .text:00661776 68 F0 38 E9 00 push offset aStsrequest ; "StsRequest" .text:0066177B FF 50 68 call dword ptr [eax+68h] .text:0066177E 8B 4E 50 mov ecx, [esi+50h] .text:00661781 8B 01 mov eax, [ecx] .text:00661783 FF 50 64 call dword ptr [eax+64h] .text:00661786 33 D2 xor edx, edx .text:00661788 8B F8 mov edi, eax .text:0066178A 8D 4A 18 lea ecx, [edx+18h] .text:0066178D E8 7E 02 D1 FF call AllocateObjectOnHeapEcxIsAllocSize .text:00661792 85 C0 test eax, eax .text:00661794 74 1E jz short loc_6617B4 .text:00661796 56 push esi .text:00661797 6A 00 push 0 .text:00661799 68 20 0E 66 00 push offset sub_660E20 .text:0066179E 8B C8 mov ecx, eax .text:006617A0 E8 6B DD FF FF call sub_65F510 .text:006617A5 8B F0 mov esi, eax .text:006617A7 85 F6 test esi, esi .text:006617A9 74 0B jz short loc_6617B6 .text:006617AB 8B 16 mov edx, [esi] .text:006617AD 8B CE mov ecx, esi .text:006617AF FF 52 04 call dword ptr [edx+4] .text:006617B2 EB 02 jmp short loc_6617B6 .text:006617B4 ; --------------------------------------------------------------------------- .text:006617B4 .text:006617B4 loc_6617B4: ; CODE XREF: CwBinding__RegisterBindings+2E4j .text:006617B4 33 F6 xor esi, esi .text:006617B6 .text:006617B6 loc_6617B6: ; CODE XREF: CwBinding__RegisterBindings+2F9j .text:006617B6 ; CwBinding__RegisterBindings+302j .text:006617B6 6A 01 push 1 .text:006617B8 51 push ecx .text:006617B9 8B C4 mov eax, esp .text:006617BB 89 30 mov [eax], esi .text:006617BD 85 F6 test esi, esi .text:006617BF 74 07 jz short loc_6617C8 .text:006617C1 8B 06 mov eax, [esi] .text:006617C3 8B CE mov ecx, esi .text:006617C5 FF 50 04 call dword ptr [eax+4] .text:006617C8 .text:006617C8 loc_6617C8: ; CODE XREF: CwBinding__RegisterBindings+30Fj .text:006617C8 8B 07 mov eax, [edi] .text:006617CA 8B CF mov ecx, edi .text:006617CC 68 08 39 E9 00 push offset aSellitemwithof ; "SellItemWithOffers" .text:006617D1 FF 10 call dword ptr [eax] .text:006617D3 85 F6 test esi, esi .text:006617D5 74 08 jz short loc_6617DF .text:006617D7 8B 06 mov eax, [esi] .text:006617D9 8B CE mov ecx, esi .text:006617DB 5F pop edi .text:006617DC 5E pop esi .text:006617DD FF 20 jmp dword ptr [eax] .text:006617DF ; --------------------------------------------------------------------------- .text:006617DF .text:006617DF loc_6617DF: ; CODE XREF: CwBinding__RegisterBindings+325j .text:006617DF 5F pop edi .text:006617E0 5E pop esi .text:006617E1 C3 retn .text:006617E1 CwBinding__RegisterBindings endp
MailCliContext__SellItem proc near ; DATA XREF: .rdata:0115E300o .text:00CFF860 .text:00CFF860 item = dword ptr 8 .text:00CFF860 count = dword ptr 0Ch .text:00CFF860 unitPrice = dword ptr 10h .text:00CFF860 itCliContext = dword ptr 14h .text:00CFF860 .text:00CFF860 55 push ebp .text:00CFF861 8B EC mov ebp, esp .text:00CFF863 8B 45 14 mov eax, [ebp+itCliContext] .text:00CFF866 53 push ebx .text:00CFF867 8B D9 mov ebx, ecx .text:00CFF869 57 push edi .text:00CFF86A 8B 7D 08 mov edi, [ebp+item] .text:00CFF86D C7 00 00 00 00 00 mov dword ptr [eax], 0 .text:00CFF873 8B 03 mov eax, [ebx] .text:00CFF875 57 push edi .text:00CFF876 FF 10 call dword ptr [eax] .text:00CFF878 85 C0 test eax, eax .text:00CFF87A 75 06 jnz short loc_CFF882 .text:00CFF87C 5F pop edi .text:00CFF87D 5B pop ebx .text:00CFF87E 5D pop ebp .text:00CFF87F C2 10 00 retn 10h .text:00CFF882 ; --------------------------------------------------------------------------- .text:00CFF882 .text:00CFF882 loc_CFF882: ; CODE XREF: MailCliContext__SellItem+1Aj .text:00CFF882 85 FF test edi, edi .text:00CFF884 75 14 jnz short loc_CFF89A .text:00CFF886 68 A0 01 00 00 push 1A0h .text:00CFF88B BA 10 E3 15 01 mov edx, offset a______GameMail ; "..\\..\\..\\Game\\Mail\\Cli\\MailCliCon"... .text:00CFF890 B9 8C 7E E4 00 mov ecx, offset aItem ; "item" .text:00CFF895 E8 76 A5 67 FF call assert .text:00CFF89A ; --------------------------------------------------------------------------- .text:00CFF89A .text:00CFF89A loc_CFF89A: ; CODE XREF: MailCliContext__SellItem+24j .text:00CFF89A 83 7D 0C 00 cmp [ebp+count], 0 .text:00CFF89E 77 14 ja short loc_CFF8B4 .text:00CFF8A0 68 A1 01 00 00 push 1A1h .text:00CFF8A5 BA 10 E3 15 01 mov edx, offset a______GameMail ; "..\\..\\..\\Game\\Mail\\Cli\\MailCliCon"... .text:00CFF8AA B9 EC E3 15 01 mov ecx, offset aCount0_1 ; "count > 0" .text:00CFF8AF E8 5C A5 67 FF call assert .text:00CFF8B4 ; --------------------------------------------------------------------------- .text:00CFF8B4 .text:00CFF8B4 loc_CFF8B4: ; CODE XREF: MailCliContext__SellItem+3Ej .text:00CFF8B4 83 7D 10 00 cmp [ebp+unitPrice], 0 .text:00CFF8B8 77 14 ja short loc_CFF8CE .text:00CFF8BA 68 A2 01 00 00 push 1A2h .text:00CFF8BF BA 10 E3 15 01 mov edx, offset a______GameMail ; "..\\..\\..\\Game\\Mail\\Cli\\MailCliCon"... .text:00CFF8C4 B9 F8 E3 15 01 mov ecx, offset aUnitprice0 ; "unitPrice > 0" .text:00CFF8C9 E8 42 A5 67 FF call assert .text:00CFF8CE ; --------------------------------------------------------------------------- .text:00CFF8CE .text:00CFF8CE loc_CFF8CE: ; CODE XREF: MailCliContext__SellItem+58j .text:00CFF8CE 56 push esi .text:00CFF8CF 8B 73 3C mov esi, [ebx+3Ch] .text:00CFF8D2 B9 01 00 00 00 mov ecx, 1 .text:00CFF8D7 56 push esi .text:00CFF8D8 FF 75 10 push [ebp+unitPrice] .text:00CFF8DB 8D 46 01 lea eax, [esi+1] .text:00CFF8DE 85 C0 test eax, eax .text:00CFF8E0 0F 44 C1 cmovz eax, ecx .text:00CFF8E3 8B CF mov ecx, edi .text:00CFF8E5 89 43 3C mov [ebx+3Ch], eax .text:00CFF8E8 8B 45 14 mov eax, [ebp+itCliContext] .text:00CFF8EB 89 30 mov [eax], esi .text:00CFF8ED 8B 37 mov esi, [edi] .text:00CFF8EF FF 56 20 call dword ptr [esi+20h] .text:00CFF8F2 8B 55 0C mov edx, [ebp+count] .text:00CFF8F5 8B C8 mov ecx, eax .text:00CFF8F7 E8 C4 01 00 00 call MailCliMsg__SellItemToTP .text:00CFF8FC 5E pop esi .text:00CFF8FD 5F pop edi .text:00CFF8FE B8 01 00 00 00 mov eax, 1 .text:00CFF903 5B pop ebx .text:00CFF904 5D pop ebp .text:00CFF905 C2 10 00 retn 10h .text:00CFF905 MailCliContext__SellItem endp
GwPortalMsg__StsRequest proc near ; CODE XREF: sub_6645D0+F6p .text:00664E90 .text:00664E90 outWCommand = dword ptr -30h .text:00664E90 var_2C = dword ptr -2Ch .text:00664E90 var_28 = dword ptr -28h .text:00664E90 outWProtocol = dword ptr -24h .text:00664E90 var_20 = dword ptr -20h .text:00664E90 var_1C = dword ptr -1Ch .text:00664E90 outCommand = dword ptr -18h .text:00664E90 var_14 = dword ptr -14h .text:00664E90 var_10 = dword ptr -10h .text:00664E90 outProtocol = dword ptr -0Ch .text:00664E90 var_8 = dword ptr -8 .text:00664E90 var_4 = dword ptr -4 .text:00664E90 awWebObject = dword ptr 8 .text:00664E90 .text:00664E90 55 push ebp .text:00664E91 8B EC mov ebp, esp .text:00664E93 83 EC 30 sub esp, 30h .text:00664E96 53 push ebx .text:00664E97 8B D9 mov ebx, ecx .text:00664E99 C7 45 D0 00 00 00 00 mov [ebp+outWCommand], 0 .text:00664EA0 8B 4D 08 mov ecx, [ebp+awWebObject] .text:00664EA3 8D 55 D0 lea edx, [ebp+outWCommand] .text:00664EA6 56 push esi .text:00664EA7 57 push edi .text:00664EA8 C7 45 D4 00 00 00 00 mov [ebp+var_2C], 0 .text:00664EAF C7 45 D8 00 00 00 00 mov [ebp+var_28], 0 .text:00664EB6 C7 45 DC 00 00 00 00 mov [ebp+outWProtocol], 0 .text:00664EBD C7 45 E0 00 00 00 00 mov [ebp+var_20], 0 .text:00664EC4 C7 45 E4 00 00 00 00 mov [ebp+var_1C], 0 .text:00664ECB 8B 01 mov eax, [ecx] .text:00664ECD 52 push edx .text:00664ECE 68 68 46 E9 00 push offset aCommand ; "command" .text:00664ED3 FF 50 24 call dword ptr [eax+24h] ; GetCommand .text:00664ED6 8B 4D 08 mov ecx, [ebp+awWebObject] .text:00664ED9 8B F0 mov esi, eax .text:00664EDB 8D 45 DC lea eax, [ebp+outWProtocol] .text:00664EDE 50 push eax .text:00664EDF 68 78 46 E9 00 push offset aProtocol ; "protocol" .text:00664EE4 8B 11 mov edx, [ecx] .text:00664EE6 FF 52 24 call dword ptr [edx+24h] ; GetProtocol .text:00664EE9 8B F8 mov edi, eax .text:00664EEB 85 F6 test esi, esi .text:00664EED 75 14 jnz short loc_664F03 .text:00664EEF 68 8C 46 E9 00 push offset aStsrequestWith ; "StsRequest without command" .text:00664EF4 6A 2C push 2Ch .text:00664EF6 68 2C 46 E9 00 push offset a______GameWe_5 ; "..\\..\\..\\Game\\WebBrowser\\GwPortalM"... .text:00664EFB E8 80 4F D1 FF call _RaiseAnetException .text:00664F00 83 C4 0C add esp, 0Ch .text:00664F03 .text:00664F03 loc_664F03: ; CODE XREF: GwPortalMsg__StsRequest+5Dj .text:00664F03 85 FF test edi, edi .text:00664F05 75 14 jnz short loc_664F1B .text:00664F07 68 A8 46 E9 00 push offset aStsrequestWi_0 ; "StsRequest without protocol" .text:00664F0C 6A 2D push 2Dh .text:00664F0E 68 2C 46 E9 00 push offset a______GameWe_5 ; "..\\..\\..\\Game\\WebBrowser\\GwPortalM"... .text:00664F13 E8 68 4F D1 FF call _RaiseAnetException .text:00664F18 83 C4 0C add esp, 0Ch .text:00664F1B .text:00664F1B loc_664F1B: ; CODE XREF: GwPortalMsg__StsRequest+75j .text:00664F1B 8D 45 E8 lea eax, [ebp+outCommand] .text:00664F1E C7 45 E8 00 00 00 00 mov [ebp+outCommand], 0 .text:00664F25 50 push eax .text:00664F26 8D 4D D0 lea ecx, [ebp+outWCommand] .text:00664F29 C7 45 EC 00 00 00 00 mov [ebp+var_14], 0 .text:00664F30 C7 45 F0 00 00 00 00 mov [ebp+var_10], 0 .text:00664F37 C7 45 F4 00 00 00 00 mov [ebp+outProtocol], 0 .text:00664F3E C7 45 F8 00 00 00 00 mov [ebp+var_8], 0 .text:00664F45 C7 45 FC 00 00 00 00 mov [ebp+var_4], 0 .text:00664F4C E8 FF 5E D0 FF call WStringToString .text:00664F51 8D 45 F4 lea eax, [ebp+outProtocol] .text:00664F54 50 push eax .text:00664F55 8D 4D DC lea ecx, [ebp+outWProtocol] .text:00664F58 E8 F3 5E D0 FF call WStringToString .text:00664F5D FF 75 F4 push [ebp+outProtocol] .text:00664F60 8D 4B 1C lea ecx, [ebx+1Ch] .text:00664F63 FF 75 E8 push [ebp+outCommand] .text:00664F66 E8 E5 D2 E2 FF call InetMsgOut__PostRequest .text:00664F6B 8B 4D F4 mov ecx, [ebp+outProtocol] .text:00664F6E 5F pop edi .text:00664F6F 5E pop esi .text:00664F70 5B pop ebx .text:00664F71 85 C9 test ecx, ecx .text:00664F73 74 05 jz short loc_664F7A .text:00664F75 E8 26 CB D0 FF call j__HeapFree .text:00664F7A .text:00664F7A loc_664F7A: ; CODE XREF: GwPortalMsg__StsRequest+E3j .text:00664F7A 8B 4D E8 mov ecx, [ebp+outCommand] .text:00664F7D 85 C9 test ecx, ecx .text:00664F7F 74 05 jz short loc_664F86 .text:00664F81 E8 1A CB D0 FF call j__HeapFree .text:00664F86 .text:00664F86 loc_664F86: ; CODE XREF: GwPortalMsg__StsRequest+EFj .text:00664F86 8B 4D DC mov ecx, [ebp+outWProtocol] .text:00664F89 85 C9 test ecx, ecx .text:00664F8B 74 05 jz short loc_664F92 .text:00664F8D E8 0E CB D0 FF call j__HeapFree .text:00664F92 .text:00664F92 loc_664F92: ; CODE XREF: GwPortalMsg__StsRequest+FBj .text:00664F92 8B 4D D0 mov ecx, [ebp+outWCommand] .text:00664F95 85 C9 test ecx, ecx .text:00664F97 74 05 jz short loc_664F9E .text:00664F99 E8 02 CB D0 FF call j__HeapFree .text:00664F9E .text:00664F9E loc_664F9E: ; CODE XREF: GwPortalMsg__StsRequest+107j .text:00664F9E 8B 4D 08 mov ecx, [ebp+awWebObject] .text:00664FA1 85 C9 test ecx, ecx .text:00664FA3 74 04 jz short loc_664FA9 .text:00664FA5 8B 01 mov eax, [ecx] .text:00664FA7 FF 10 call dword ptr [eax] .text:00664FA9 .text:00664FA9 loc_664FA9: ; CODE XREF: GwPortalMsg__StsRequest+113j .text:00664FA9 8B E5 mov esp, ebp .text:00664FAB 5D pop ebp .text:00664FAC C2 04 00 retn 4 .text:00664FAC GwPortalMsg__StsRequest endp