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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b8fb3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x62f490]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x62f490]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x61], 0
jne 0x44a472
cmp byte [esi + 0x60], 0
jne 0x44a472
lea eax, [esi + 0x9c]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xf0]
sub eax, ecx
test eax, eax
jle 0x44a450
push 0
push eax
mov eax, dword [esi + 0xf8]
add eax, ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x44a39c
mov ecx, dword [esi + 0xf0]
add ecx, eax
cmp byte [esi + 0xe8], 0
mov dword [esi + 0xf0], ecx
je 0x44a325
xor edi, edi
cmp dword [esi + 0xf0], 5
jge 0x44a124
xor ebx, ebx
jmp 0x44a14e
mov eax, dword [esi + 0xf8]
mov edi, dword [eax]
cmp edi, dword [esi + 0xec]
jg 0x44a149
cmp edi, 1
jl 0x44a149
lea eax, [edi + 4]
xor ebx, ebx
cmp dword [esi + 0xf0], eax
setge bl
jmp 0x44a14e
mov ebx, 2
push 0
push 0x60169d
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.00404ba0
mov eax, ebx
mov dword [esp + 0xa0], 0
dec eax
je 0x44a26c
dec eax
jne 0x44a2f9
mov edx, edi
mov dword [esp + 0x48], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], 1
call fcn.00405780
push eax
mov edx, 0x605598
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x1c]
call fcn.00405a10
add esp, 4
lea ecx, [esp + 0x54]
push eax
call fcn.00409840
cmp dword [esp + 0x2c], 0x10
jb 0x44a1f6
push dword [esp + 0x18]
call fcn.0044f788
add esp, 4
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jb 0x44a226
push dword [esp + 0x30]
call fcn.0044f788
add esp, 4
cmp byte [esi + 0x61], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x44a2f9
cmp dword [esi + 0x14], 0
je 0x44a2f9
sub esp, 0x24
lea eax, [esp + 0x6c]
mov ecx, esp
push eax
call fcn.00406680
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0x28
jmp 0x44a2f9
cmp byte [esi + 0x68], 0
je 0x44a2b9
cmp dword [esi + 0x80], 0x10
lea ecx, [esi + 0x6c]
jb 0x44a280
mov ecx, dword [ecx]
cmp dword [esi + 0x98], 0x10
lea edx, [esi + 0x84]
jb 0x44a291
mov edx, dword [edx]
mov eax, dword [esi + 0xf8]
push edi
push dword [esi + 0xfc]
add eax, 4
push eax
call fcn.0042f650
push eax
push dword [esi + 0xfc]
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x18
jmp 0x44a2cc
lea eax, [edi + 4]
push eax
push dword [esi + 0xf8]
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0xc
mov eax, 0xfffffffc
sub eax, edi
add dword [esi + 0xf0], eax
mov eax, dword [esi + 0xf0]
test eax, eax
jle 0x44a2f9
mov ecx, dword [esi + 0xf8]
push eax
lea eax, [ecx + 4]
add eax, edi
push eax
push ecx
call fcn.00577870
add esp, 0xc
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x68], 0x10
jb 0x44a317
push dword [esp + 0x54]
call fcn.0044f788
add esp, 4
cmp ebx, 1
je 0x44a117
jmp 0x44a468
cmp byte [esi + 0x68], 0
je 0x44a37d
cmp dword [esi + 0x80], 0x10
lea eax, [esi + 0x6c]
jb 0x44a339
mov eax, dword [eax]
cmp dword [esi + 0x98], 0x10
lea edx, [esi + 0x84]
jb 0x44a34a
mov edx, dword [edx]
push ecx
push dword [esi + 0xfc]
mov ecx, eax
push dword [esi + 0xf8]
call fcn.0042f650
push eax
push dword [esi + 0xfc]
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x18
mov dword [esi + 0xf0], 0
jmp 0x44a468
mov eax, dword [esi + 8]
push ecx
push dword [esi + 0xf8]
push esi
call eax
add esp, 0xc
mov dword [esi + 0xf0], 0
jmp 0x44a468
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x44a468
lea ecx, [esp + 0x6c]
call fcn.00405ee0
mov dword [esp + 0xa0], 2
lea ecx, [esp + 0x18]
mov edx, edi
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], edi
mov byte [esp + 0x74], 1
call fcn.00405780
push eax
mov edx, str.recv_error:
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x34]
call fcn.00405a10
add esp, 4
lea ecx, [esp + 0x78]
push eax
call fcn.00409840
lea ecx, [esp + 0x30]
call fcn.00404500
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.00404500
cmp byte [esi + 0x61], 0
jne 0x44a445
cmp dword [esi + 0x14], 0
je 0x44a445
sub esp, 0x24
lea eax, [esp + 0x90]
mov ecx, esp
push eax
call fcn.00406680
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0x28
lea ecx, [esp + 0x6c]
call fcn.00406650
jmp 0x44a468
jne 0x44a468
mov eax, dword [esi + 0xf8]
push 0
push 0
add eax, ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_recv]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00577678
mov esp, ebp
pop ebp
ret