Function at 0x4d2600
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x2eb4]
lea esi, [ebx + 0x2eb4]
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], esi
jne 0x4d269f
mov ecx, 0xff
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x2e7c]
push eax
push 0
push 0x3ff
push esi
push ecx
call sub.WSOCK32.dll_recv
push eax
mov ecx, ebx
call fcn.004cfaf0
test eax, eax
je 0x4d269f
cmp eax, 0x2733
je 0x4d2a64
mov edx, dword [ebx + 0x2e8c]
mov dword [edx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, 0xff
mov edi, eax
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
movsx eax, byte [eax]
push eax
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d27ea
mov esi, dword [ebp + 8]
movsx ecx, byte [esi + 1]
push ecx
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d27ea
movsx edx, byte [esi + 2]
push edx
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d27ea
cmp byte [esi + 3], 0x20
jne 0x4d2792
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x41c]
push 0x3ff
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
push 0xa
push eax
call fcn.00527bb0
add esp, 0xc
test eax, eax
je 0x4d2792
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x41c]
sub eax, esi
sub eax, 0x2eb4
mov edx, eax
mov eax, 0x3fe
sub eax, edx
mov ecx, eax
lea esi, [edx + esi + 0x2eb5]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x18]
mov ecx, 0xff
lea esi, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
mov ecx, eax
xor eax, eax
lea edi, [edx + esi + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [esi + 3]
cmp al, 0x2d
je 0x4d27ea
cmp al, 0x20
je 0x4d27ea
test al, al
je 0x4d27ea
mov edi, dword [ebp - 0x14]
push str.Error_during_GetReply____bad_format__replyBuffer:_n
mov ecx, edi
call fcn.004cfa50
push esi
mov ecx, edi
call fcn.004cfa50
mov eax, dword [0x5c8308]
mov ecx, dword [edi + 0x6c]
push eax
call fcn.004d1ef0
mov ecx, dword [edi + 0x2e8c]
mov eax, 0x754e
mov dword [ecx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov esi, 0x3ff
sub esi, ebx
lea eax, [ebx + edi]
push esi
push 0xa
push eax
mov dword [ebp - 0x1c], eax
call fcn.00527bb0
add esp, 0xc
test eax, eax
je 0x4d2903
sub eax, edi
mov esi, eax
mov dword [ebp - 0x18], eax
sub esi, ebx
cmp esi, 3
jle 0x4d28fb
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
push eax
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d28f8
movsx ecx, byte [ebx + edi + 1]
push ecx
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d28f8
movsx edx, byte [ebx + edi + 2]
push edx
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d28f8
cmp byte [ebx + edi + 3], 0x20
jne 0x4d28f8
mov ecx, 0xff
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
lea ecx, [esi + 1]
lea edx, [eax + 0x2eb4]
mov eax, ecx
shr ecx, 2
lea esi, [edx + ebx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov ecx, pe_nt_image_headers32
lea edi, [ebp - 0x41c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov ecx, 0x3fe
sub ecx, eax
lea edi, [ebp - 0x41c]
lea esi, [eax + esi + 0x2eb5]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xff
lea esi, [ebp - 0x41c]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 1]
jmp 0x4d27ea
test ebx, ebx
jne 0x4d2955
mov al, byte [edi + 0x3fe]
test al, al
je 0x4d2955
mov ecx, dword [0x5c8280]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.004cf990
mov edx, dword [0x5c827c]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.004d1ef0
mov ecx, dword [esi + 0x2e8c]
mov eax, 0x755b
mov dword [ecx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x41c]
push 0x3ff
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [ebp - 0x1c]
mov edx, ecx
lea edi, [ebp - 0x41c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x41c]
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00527bb0
add esp, 0xc
test eax, eax
je 0x4d29a0
lea ecx, [ebp - 0x41c]
sub eax, ecx
jmp 0x4d29a2
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
mov ecx, 0x3ff
push edx
sub ecx, eax
push 0
lea edx, [ebp + eax - 0x41c]
mov eax, dword [ebx + 0x2e7c]
push ecx
push edx
push eax
call sub.WSOCK32.dll_recv
push eax
mov ecx, ebx
call fcn.004cfaf0
test eax, eax
je 0x4d29fd
cmp eax, 0x2733
je 0x4d2a64
mov ecx, dword [ebx + 0x2e8c]
mov dword [ecx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov ecx, 0xff
lea esi, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x2eb4]
mov ecx, 0xff
lea esi, [ebp - 0x41c]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4d27ea
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8