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

Disassembly:
push 0xffffffffffffffff
push 0x649598
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x3280], 0
je 0x59c90f
mov eax, dword [esp + 0x20]
mov byte [eax], 1
call fcn.0059b7a0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov ebx, dword [esp + 0x20]
mov byte [ebx], 0
movsx eax, word [esi + 0x3248]
push 0
mov ecx, 8
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x3240]
mov eax, dword [esi + 0x3238]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
movzx eax, word [esi + 0x3248]
movsx ecx, ax
mov edx, 8
sub edx, ecx
cmp edi, edx
je 0x59c9e2
test edi, edi
jge 0x59c9bd
lea ecx, [esp + 0x20]
call fcn.00402500
mov dword [esp + 0x18], 0
push edi
lea eax, [esp + 0x24]
push str.RecvStartOfDataPacket_failed__step1__res___ld_n
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00560320
xor edx, edx
mov word [esi + 0x3248], dx
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402570
or eax, 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
jle 0x59c9c8
add eax, edi
mov word [esi + 0x3248], ax
mov eax, 0x2733
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
xor eax, eax
mov word [esi + 0x3248], ax
mov ecx, dword [esi + 0x3244]
mov byte [esp + 0x20], 0xce
mov byte [esp + 0x21], 0xfa
mov byte [esp + 0x22], 0xb
mov byte [esp + 0x23], 0xb0
cmp ecx, dword [esp + 0x20]
jne 0x59ca43
cmp byte [esi + 0x3240], 1
jne 0x59ca43
cmp byte [esi + 0x3241], al
jne 0x59ca43
cmp byte [esi + 0x3242], al
jne 0x59ca43
mov ecx, esi
mov byte [ebx], 1
call fcn.0059b7a0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
lea edx, [esi + 0x3240]
push edx
call fcn.00599bd0
mov ecx, dword [esi + 0x3218]
mov edi, eax
lea eax, [ecx + 1]
add esp, 4
cmp eax, edi
je 0x59cb29
test ecx, ecx
jne 0x59ca71
test edi, edi
je 0x59cb29
cmp edi, ecx
jbe 0x59c9a5
mov eax, edi
sub eax, ecx
mov ecx, dword [esi + 0x323c]
dec eax
add dword [esi + 0x90], eax
test ecx, ecx
je 0x59ca94
add dword [ecx + 0x864], eax
mov ecx, dword [esi + 0x90]
add dword [esi + 0x31fc], eax
push ecx
mov ecx, dword [esi + 0xa0]
call fcn.0055fa70
mov edx, dword [esi + 0x8c]
inc edx
cmp dword [esi + 0x31fc], edx
jb 0x59cb29
push str.Last_packet_of_this_connection_is_skipped._Complete._n
mov ecx, esi
call fcn.00560320
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x31fc]
lea edx, [ecx + 1]
cmp eax, edx
jbe 0x59cb0b
sub eax, ecx
mov ecx, dword [esi + 0x323c]
dec eax
sub dword [esi + 0x90], eax
test ecx, ecx
je 0x59caf3
sub dword [ecx + 0x864], eax
sub dword [esi + 0x31fc], eax
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0xa0]
push eax
call fcn.0055fa70
mov ecx, esi
call fcn.0059c460
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
movzx ecx, byte [esi + 0x3247]
movzx edx, byte [esi + 0x3246]
shl ecx, 8
lea eax, [ecx + edx - 8]
xor ecx, ecx
cmp ecx, eax
mov dword [esi + 0x321c], eax
sbb eax, eax
neg eax
mov dword [esi + 0x3218], edi
dec eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4