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

Disassembly:
push 0xffffffffffffffff
push 0x624318
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x3268], 0
je 0x58490f
mov eax, dword [esp + 0x20]
mov byte [eax], 1
call fcn.005837a0
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 + 0x3230]
push 0
mov ecx, 8
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x3228]
mov eax, dword [esi + 0x3220]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
movzx eax, word [esi + 0x3230]
movsx ecx, ax
mov edx, 8
sub edx, ecx
cmp edi, edx
je 0x5849e2
test edi, edi
jge 0x5849bd
lea ecx, [esp + 0x20]
call fcn.004024e0
mov dword [esp + 0x18], 0
push edi
lea eax, [esp + 0x24]
push str.RecvStartOfDataPacket_failed__step1__res___ld_n
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054c540
xor edx, edx
mov word [esi + 0x3230], dx
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402550
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 0x5849c8
add eax, edi
mov word [esi + 0x3230], 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 + 0x3230], ax
mov ecx, dword [esi + 0x322c]
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 0x584a43
cmp byte [esi + 0x3228], 1
jne 0x584a43
cmp byte [esi + 0x3229], al
jne 0x584a43
cmp byte [esi + 0x322a], al
jne 0x584a43
mov ecx, esi
mov byte [ebx], 1
call fcn.005837a0
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 + 0x3228]
push edx
call fcn.00581be0
mov ecx, dword [esi + 0x3200]
mov edi, eax
lea eax, [ecx + 1]
add esp, 4
cmp eax, edi
je 0x584b23
test ecx, ecx
jne 0x584a71
test edi, edi
je 0x584b23
cmp edi, ecx
jbe 0x5849a5
mov eax, edi
sub eax, ecx
mov ecx, dword [esi + 0x3224]
dec eax
add dword [esi + 0x80], eax
test ecx, ecx
je 0x584a94
add dword [ecx + 0x864], eax
mov ecx, dword [esi + 0x80]
add dword [esi + 0x31e4], eax
push ecx
mov ecx, dword [esi + 0x90]
call fcn.0054bcd0
mov edx, dword [esi + 0x7c]
inc edx
cmp dword [esi + 0x31e4], edx
jb 0x584b23
push str.Last_packet_of_this_connection_is_skipped._Complete._n
mov ecx, esi
call fcn.0054c540
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x31e4]
lea edx, [ecx + 1]
cmp eax, edx
jbe 0x584b05
sub eax, ecx
mov ecx, dword [esi + 0x3224]
dec eax
sub dword [esi + 0x80], eax
test ecx, ecx
je 0x584aed
sub dword [ecx + 0x864], eax
sub dword [esi + 0x31e4], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x90]
push eax
call fcn.0054bcd0
mov ecx, esi
call fcn.00584460
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 + 0x322f]
movzx edx, byte [esi + 0x322e]
shl ecx, 8
lea eax, [ecx + edx - 8]
xor ecx, ecx
cmp ecx, eax
mov dword [esi + 0x3204], eax
sbb eax, eax
neg eax
mov dword [esi + 0x3200], 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