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

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x660f40
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x40c]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 0x410]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea esi, [ebx + 0x3250]
cmp byte [esi], 0
jne 0x56d552
push 0x3ff
push 0
push esi
call fcn.00620850
add esp, 0xc
push edi
push 0
push 0x3ff
push esi
mov ecx, dword [ebx + 0x3204]
push ecx
call sub.WS2_32.dll_recv
push eax
mov ecx, ebx
call fcn.00562640
test eax, eax
je 0x56d552
cmp eax, 0x2733
je 0x56d89f
mov edx, dword [ebx + 0x3214]
mov dword [edx + 0x14c], eax
jmp 0x56d89f
mov dword [ebp - 0x14], 0
mov ecx, 0xff
mov edi, dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
movsx eax, byte [esi]
push eax
call fcn.0062214c
add esp, 4
test eax, eax
je 0x56d675
movsx ecx, byte [esi + 1]
push ecx
call fcn.0062214c
add esp, 4
test eax, eax
je 0x56d675
movsx edx, byte [esi + 2]
push edx
call fcn.0062214c
add esp, 4
test eax, eax
je 0x56d675
cmp byte [esi + 3], 0x20
jne 0x56d62a
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.00620850
push 0x3ff
push 0xa
lea edi, [ebx + 0x3250]
push edi
call fcn.00622940
add esp, 0x18
test eax, eax
je 0x56d62a
sub eax, ebx
sub eax, 0x3250
mov dword [ebp - 0x1c], eax
mov ecx, 0x3fe
sub ecx, eax
mov dword [ebp - 0x14], ecx
push ecx
lea ecx, [ebx + eax + 0x3251]
push ecx
lea edx, [ebp]
push edx
call fcn.00621d10
mov ecx, 0xff
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea eax, [ecx + edx + 1]
push eax
call fcn.00620850
add esp, 0x18
xor eax, eax
jmp 0x56d89f
mov al, byte [esi + 3]
cmp al, 0x2d
je 0x56d675
cmp al, 0x20
je 0x56d675
test al, al
je 0x56d675
push str.Error_during_GetReply____bad_format__replyBuffer:_n
mov ecx, ebx
call fcn.00561d20
push esi
mov ecx, ebx
call fcn.00561d20
mov ecx, dword [0x75ea78]
push ecx
mov ecx, dword [ebx + 0xb4]
call fcn.0056ae20
mov edx, dword [ebx + 0x3214]
mov eax, 0x754e
mov dword [edx + 0x14c], eax
jmp 0x56d89f
mov esi, 0x3ff
mov edi, dword [ebp - 0x14]
sub esi, edi
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ebp - 0x14], eax
push esi
push 0xa
push eax
call fcn.00622940
add esp, 0xc
test eax, eax
je 0x56d76f
sub eax, dword [ebp - 0x18]
mov esi, eax
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp eax, 3
jle 0x56d766
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
push edx
call fcn.0062214c
add esp, 4
test eax, eax
je 0x56d766
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
push ecx
call fcn.0062214c
add esp, 4
test eax, eax
je 0x56d766
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 2]
push eax
call fcn.0062214c
add esp, 4
test eax, eax
je 0x56d766
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 3], 0x20
jne 0x56d766
push 0x3ff
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00620850
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea ecx, [ebx + edi + 0x3250]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00621d10
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.00620850
mov ecx, 0x3fe
sub ecx, esi
push ecx
lea edx, [ebx + esi + 0x3251]
push edx
lea eax, [ebp]
push eax
call fcn.00621d10
add esp, 0x30
lea edi, [ebx + 0x3250]
mov ecx, 0xff
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
jmp 0x56d89f
inc esi
mov dword [ebp - 0x14], esi
jmp 0x56d675
test edi, edi
jne 0x56d7b6
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x3fe], 0
je 0x56d7b6
push 1
mov edx, dword [0x75eb00]
push edx
mov ecx, ebx
call fcn.00562550
mov eax, dword [0x75eb04]
push eax
mov ecx, dword [ebx + 0xb4]
call fcn.0056ae20
mov ecx, dword [ebx + 0x3214]
mov eax, 0x755b
mov dword [ecx + 0x14c], eax
jmp 0x56d89f
push 0x400
push 0
lea edx, [ebp]
push edx
call fcn.00620850
push esi
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
call fcn.00621d10
push 0x3ff
push 0
lea edx, [ebp]
push edx
call fcn.00622940
add esp, 0x24
test eax, eax
je 0x56d7f2
lea ecx, [ebp]
sub eax, ecx
jmp 0x56d7f4
xor eax, eax
mov edx, dword [ebp - 0x24]
push edx
push 0
mov ecx, 0x3ff
sub ecx, eax
push ecx
lea edx, [ebp + eax]
push edx
mov eax, dword [ebx + 0x3204]
push eax
call sub.WS2_32.dll_recv
push eax
mov ecx, ebx
call fcn.00562640
test eax, eax
je 0x56d834
cmp eax, 0x2733
je 0x56d89f
mov ecx, dword [ebx + 0x3214]
mov dword [ecx + 0x14c], eax
jmp 0x56d89f
mov ecx, 0xff
lea esi, [ebp]
mov edi, dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x3250]
mov ecx, 0xff
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x14], 0
jmp 0x56d675
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x404
mov esp, ebp
pop ebp
ret 8