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

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x660f90
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 0x56d5a2
push 0x3ff
push 0
push esi
call fcn.00620920
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.00562650
test eax, eax
je 0x56d5a2
cmp eax, 0x2733
je 0x56d8ef
mov edx, dword [ebx + 0x3214]
mov dword [edx + 0x14c], eax
jmp 0x56d8ef
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.0062221c
add esp, 4
test eax, eax
je 0x56d6c5
movsx ecx, byte [esi + 1]
push ecx
call fcn.0062221c
add esp, 4
test eax, eax
je 0x56d6c5
movsx edx, byte [esi + 2]
push edx
call fcn.0062221c
add esp, 4
test eax, eax
je 0x56d6c5
cmp byte [esi + 3], 0x20
jne 0x56d67a
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.00620920
push 0x3ff
push 0xa
lea edi, [ebx + 0x3250]
push edi
call fcn.00622a10
add esp, 0x18
test eax, eax
je 0x56d67a
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.00621de0
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.00620920
add esp, 0x18
xor eax, eax
jmp 0x56d8ef
mov al, byte [esi + 3]
cmp al, 0x2d
je 0x56d6c5
cmp al, 0x20
je 0x56d6c5
test al, al
je 0x56d6c5
push str.Error_during_GetReply____bad_format__replyBuffer:_n
mov ecx, ebx
call fcn.00561d40
push esi
mov ecx, ebx
call fcn.00561d40
mov ecx, dword [0x75ea78]
push ecx
mov ecx, dword [ebx + 0xb4]
call fcn.0056ae40
mov edx, dword [ebx + 0x3214]
mov eax, 0x754e
mov dword [edx + 0x14c], eax
jmp 0x56d8ef
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.00622a10
add esp, 0xc
test eax, eax
je 0x56d7bf
sub eax, dword [ebp - 0x18]
mov esi, eax
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp eax, 3
jle 0x56d7b6
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
push edx
call fcn.0062221c
add esp, 4
test eax, eax
je 0x56d7b6
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
push ecx
call fcn.0062221c
add esp, 4
test eax, eax
je 0x56d7b6
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 2]
push eax
call fcn.0062221c
add esp, 4
test eax, eax
je 0x56d7b6
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 3], 0x20
jne 0x56d7b6
push 0x3ff
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00620920
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.00621de0
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.00620920
mov ecx, 0x3fe
sub ecx, esi
push ecx
lea edx, [ebx + esi + 0x3251]
push edx
lea eax, [ebp]
push eax
call fcn.00621de0
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 0x56d8ef
inc esi
mov dword [ebp - 0x14], esi
jmp 0x56d6c5
test edi, edi
jne 0x56d806
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x3fe], 0
je 0x56d806
push 1
mov edx, dword [0x75eb00]
push edx
mov ecx, ebx
call fcn.00562560
mov eax, dword [0x75eb04]
push eax
mov ecx, dword [ebx + 0xb4]
call fcn.0056ae40
mov ecx, dword [ebx + 0x3214]
mov eax, 0x755b
mov dword [ecx + 0x14c], eax
jmp 0x56d8ef
push 0x400
push 0
lea edx, [ebp]
push edx
call fcn.00620920
push esi
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
call fcn.00621de0
push 0x3ff
push 0
lea edx, [ebp]
push edx
call fcn.00622a10
add esp, 0x24
test eax, eax
je 0x56d842
lea ecx, [ebp]
sub eax, ecx
jmp 0x56d844
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.00562650
test eax, eax
je 0x56d884
cmp eax, 0x2733
je 0x56d8ef
mov ecx, dword [ebx + 0x3214]
mov dword [ecx + 0x14c], eax
jmp 0x56d8ef
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 0x56d6c5
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.0062023e
add ebp, 0x404
mov esp, ebp
pop ebp
ret 8