Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 19.05.2006, 19:17   #1
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default someone want talk about linex.dll?

hm, here is party packet stored in linex after main switch, red line is critical for offline inviting.

btw i can include it in any another exe, but it need some patient coz all exe is diferen, so need do it step by step, if someone neede we can start it here.

/piece of main switch 29h - party packet header/

.text:10003F1E
.text:10003F1E loc_10003F1E: ; CODE XREF: sub_10003E48+C1j
.text:10003F1E cmp eax, 29h
.text:10003F21 jnz short loc_10003F30
.text:10003F23 push [ebp+arg_0]
.text:10003F26 call sub_10002FC9
.text:10003F2B jmp loc_1000404C

/exit from main switch proc/
.text:1000404C loc_1000404C: ; CODE XREF: sub_10003E48+71j
.text:1000404C ; sub_10003E48+89j ...
.text:1000404C mov ebx, [ebp+arg_0]
.text:1000404F cmp byte ptr [ebx], 0A8h
.text:10004052 jbe short loc_10004072
.text:10004054 mov byte ptr [ebx], 0A8h
.text:10004057 mov word ptr [ebx-2], 1
.text:1000405D jmp short loc_10004072


.text:10004072 loc_10004072: ; CODE XREF: sub_10003E48+20Aj
.text:10004072 ; sub_10003E48+215j ...
.text:10004072 popa
.text:10004073 pop esi
.text:10004074 pop edi
.text:10004075 pop ebx
.text:10004076 leave
.text:10004077 retn 4
.text:10004077 sub_10003E48 endp

/code/
.text:10002FC9 push ebp
.text:10002FCA mov ebp, esp
.text:10002FCC add esp, 0FFFFFFF4h
.text:10002FCF push ebx
.text:10002FD0 push esi
.text:10002FD1 push edi
.text:10002FD2 pusha
.text:10002FD3 mov ebx, [ebp+arg_0]
.text:10002FD6 mov eax, ebx
.text:10002FD8 add eax, 1
.text:10002FDB push eax
.text:10002FDC call sub_10001AAD
.text:10002FE1 mov [ebp+var_4], eax
.text:10002FE4 mov eax, [eax+18h]
.text:10002FE7 mov [ebp+var_8], eax
.text:10002FEA push 2800h ; dwBytes
.text:10002FEF push 40h ; uFlags
.text:10002FF1 call GlobalAlloc
.text:10002FF6 or eax, eax
.text:10002FF8 jz short loc_10002FFF
.text:10002FFA mov [ebp+hMem], eax
.text:10002FFD jmp short loc_10003001
.text:10002FFF ; ---------------------------------------------------------------------------
.text:10002FFF
.text:10002FFF loc_10002FFF: ; CODE XREF: sub_10002FC9+2Fj
.text:10002FFF jmp short loc_10003024
.text:10003001 ; ---------------------------------------------------------------------------
.text:10003001
.text:10003001 loc_10003001: ; CODE XREF: sub_10002FC9+34j
.text:10003001 push [ebp+var_8]
.text:10003004 push offset aRequestpartyPa ; "RequestParty Packet Received, the Objec"...
.text:10003009 push [ebp+hMem] ; LPSTR
.text:1000300C call wsprintfA
.text:10003011 add esp, 0Ch
.text:10003014 push [ebp+hMem]
.text:10003017 call sub_10001035
.text:1000301C push [ebp+hMem] ; hMem
.text:1000301F call GlobalFree
.text:10003024
.text:10003024 loc_10003024: ; CODE XREF: sub_10002FC9:loc_10002FFFj
.text:10003024 mov eax, [ebp+var_8]
.text:10003027 mov [ebx+1], eax
.text:1000302A mov dword ptr [ebx+5], 0
.text:10003031 mov word ptr [ebx+9], 599h
.text:10003037 mov word ptr [ebx-2], 0Bh
.text:1000303D popa
.text:1000303E pop edi
.text:1000303F pop esi
.text:10003040 pop ebx
.text:10003041 leave
.text:10003042 retn 4
.text:10003042 sub_10002FC9 endp

/objectID conversion/
.text:10001AAD ; --------------- S U B R O U T I N E ---------------------------------------
.text:10001AAD
.text:10001AAD ; Attributes: bp-based frame
.text:10001AAD
.text:10001AAD sub_10001AAD proc near ; CODE XREF: sub_10002FC9+13p
.text:10001AAD
.text:10001AAD var_A0 = dword ptr -0A0h
.text:10001AAD var_C = dword ptr -0Ch
.text:10001AAD arg_0 = dword ptr 8
.text:10001AAD
.text:10001AAD push ebp
.text:10001AAE mov ebp, esp
.text:10001AB0 add esp, 0FFFFFF60h
.text:10001AB6 push ebx
.text:10001AB7 push edi
.text:10001AB8 push esi
.text:10001AB9 lea eax, [ebp+var_A0]
.text:10001ABF push eax
.text:10001AC0 push [ebp+arg_0]
.text:10001AC3 mov eax, 517B90h
.text:10001AC8 call eax
.text:10001ACA add esp, 8
.text:10001ACD sub esp, 124h
.text:10001AD3 mov esi, esp
.text:10001AD5 xor ebx, ebx
.text:10001AD7 mov dword ptr [esi+120h], 8Bh
.text:10001AE1 mov [esi+11Ch], ebx
.text:10001AE7 mov [esi+4], bx
.text:10001AEB lea edx, [ebp+var_A0]
.text:10001AF1 push edx
.text:10001AF2 mov eax, 58C8B6h
.text:10001AF7 call eax
.text:10001AF9 add esp, 4
.text:10001AFC push eax
.text:10001AFD lea eax, [ebp+var_A0]
.text:10001B03 push eax
.text:10001B04 mov ecx, esi
.text:10001B06 mov eax, 406970h
.text:10001B0B call eax
.text:10001B0D lea ecx, [ebp+var_C]
.text:10001B10 push ecx
.text:10001B11 mov ecx, 16922550h
.text:10001B16 mov eax, 41E4D0h
.text:10001B1B call eax
.text:10001B1D mov eax, [ebp+var_C]
.text:10001B20 pop esi
.text:10001B21 pop edi
.text:10001B22 pop ebx
.text:10001B23 leave
.text:10001B24 retn 4
.text:10001B24 sub_10001AAD endp
.text:10001B24
.text:10001B27
.text:10001B27 ; --------------- S U B R O U T I N E ---------------------------------------

russians understand me: its realy popa as ida say ".text:10004072 popa" XDD

something else?
i have another packet, but he have critical in exe, but can be use in dll after some changes)
Aspire is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:41.