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

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x658d20
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x74f8a0]
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 + 0x3240]
cmp byte [esi], 0
jne 0x566db2
push 0x3ff
push 0
push esi
call fcn.00618760
add esp, 0xc
push edi
push 0
push 0x3ff
push esi
mov ecx, dword [ebx + 0x31f4]
push ecx
call sub.WS2_32.dll_recv
push eax
mov ecx, ebx
call fcn.0055bff0
test eax, eax
je 0x566db2
cmp eax, 0x2733
je 0x5670ff
mov edx, dword [ebx + 0x3204]
mov dword [edx + 0x140], eax
jmp 0x5670ff
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.0061a05c
add esp, 4
test eax, eax
je 0x566ed5
movsx ecx, byte [esi + 1]
push ecx
call fcn.0061a05c
add esp, 4
test eax, eax
je 0x566ed5
movsx edx, byte [esi + 2]
push edx
call fcn.0061a05c
add esp, 4
test eax, eax
je 0x566ed5
cmp byte [esi + 3], 0x20
jne 0x566e8a
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.00618760
push 0x3ff
push 0xa
lea edi, [ebx + 0x3240]
push edi
call fcn.0061a850
add esp, 0x18
test eax, eax
je 0x566e8a
sub eax, ebx
sub eax, 0x3240
mov dword [ebp - 0x1c], eax
mov ecx, 0x3fe
sub ecx, eax
mov dword [ebp - 0x14], ecx
push ecx
lea ecx, [ebx + eax + 0x3241]
push ecx
lea edx, [ebp]
push edx
call fcn.00619c20
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.00618760
add esp, 0x18
xor eax, eax
jmp 0x5670ff
mov al, byte [esi + 3]
cmp al, 0x2d
je 0x566ed5
cmp al, 0x20
je 0x566ed5
test al, al
je 0x566ed5
push str.Error_during_GetReply____bad_format__replyBuffer:_n
mov ecx, ebx
call fcn.0055b6c0
push esi
mov ecx, ebx
call fcn.0055b6c0
mov ecx, dword [0x755a40]
push ecx
mov ecx, dword [ebx + 0xac]
call fcn.005646e0
mov edx, dword [ebx + 0x3204]
mov eax, 0x754e
mov dword [edx + 0x140], eax
jmp 0x5670ff
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.0061a850
add esp, 0xc
test eax, eax
je 0x566fcf
sub eax, dword [ebp - 0x18]
mov esi, eax
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp eax, 3
jle 0x566fc6
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
push edx
call fcn.0061a05c
add esp, 4
test eax, eax
je 0x566fc6
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
push ecx
call fcn.0061a05c
add esp, 4
test eax, eax
je 0x566fc6
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 2]
push eax
call fcn.0061a05c
add esp, 4
test eax, eax
je 0x566fc6
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 3], 0x20
jne 0x566fc6
push 0x3ff
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00618760
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea ecx, [ebx + edi + 0x3240]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00619c20
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.00618760
mov ecx, 0x3fe
sub ecx, esi
push ecx
lea edx, [ebx + esi + 0x3241]
push edx
lea eax, [ebp]
push eax
call fcn.00619c20
add esp, 0x30
lea edi, [ebx + 0x3240]
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 0x5670ff
inc esi
mov dword [ebp - 0x14], esi
jmp 0x566ed5
test edi, edi
jne 0x567016
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x3fe], 0
je 0x567016
push 1
mov edx, dword [0x755ac8]
push edx
mov ecx, ebx
call fcn.0055bf00
mov eax, dword [0x755acc]
push eax
mov ecx, dword [ebx + 0xac]
call fcn.005646e0
mov ecx, dword [ebx + 0x3204]
mov eax, 0x755b
mov dword [ecx + 0x140], eax
jmp 0x5670ff
push 0x400
push 0
lea edx, [ebp]
push edx
call fcn.00618760
push esi
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
call fcn.00619c20
push 0x3ff
push 0
lea edx, [ebp]
push edx
call fcn.0061a850
add esp, 0x24
test eax, eax
je 0x567052
lea ecx, [ebp]
sub eax, ecx
jmp 0x567054
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 + 0x31f4]
push eax
call sub.WS2_32.dll_recv
push eax
mov ecx, ebx
call fcn.0055bff0
test eax, eax
je 0x567094
cmp eax, 0x2733
je 0x5670ff
mov ecx, dword [ebx + 0x3204]
mov dword [ecx + 0x140], eax
jmp 0x5670ff
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 + 0x3240]
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 0x566ed5
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.0061807e
add ebp, 0x404
mov esp, ebp
pop ebp
ret 8