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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x44f2aa
cmp edx, 0xffffffff
je 0x44f40f
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [edi + 0x78], 0
jle 0x44f40e
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push esi
mov esi, dword [edi + 0x74]
add esi, ecx
mov ecx, dword [esi + 0x20]
cmp ecx, 0xffffffff
je 0x44f4c5
cmp dword [esi + 0x54], 0
jne 0x44f4c5
test ebx, ebx
je 0x44f342
push ebx
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x44f4c2
mov edi, dword [ebx]
xor eax, eax
mov edx, dword [esi + 0x20]
test edi, edi
je 0x44f33a
lea ecx, [ebx + 4]
cmp dword [ecx], edx
je 0x44f315
inc eax
add ecx, 4
cmp eax, edi
jb 0x44f301
mov ecx, dword [esi + 0x20]
mov edi, dword [ebp + 8]
jmp 0x44f34a
lea ecx, [edi - 1]
cmp eax, ecx
jae 0x44f335
lea edx, [eax + 1]
lea edx, [ebx + edx*4]
mov ecx, dword [edx + 4]
lea edx, [edx + 4]
mov dword [edx - 4], ecx
inc eax
mov edi, dword [ebx]
lea ecx, [edi - 1]
cmp eax, ecx
jb 0x44f322
lea eax, [edi - 1]
mov dword [ebx], eax
mov ecx, dword [esi + 0x20]
mov edi, dword [ebp + 8]
jmp 0x44f34a
cmp ecx, edx
jne 0x44f4c5
mov edx, dword [esi + 0x28]
cmp edx, 2
je 0x44f414
mov eax, 2
sub eax, edx
add edx, 0x24
add edx, esi
cmp dword [edi + 0x91b8], 0
je 0x44f38a
push dword [edi + 0x91bc]
push 0
push 0
push 0
push eax
mov eax, dword [edi + 0x91b8]
push edx
push ecx
mov eax, dword [eax + 0xc]
call eax
add esp, 0x1c
jmp 0x44f395
push 0
push eax
push edx
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jg 0x44f3cc
cmp eax, 0xffffffff
jne 0x44f3b8
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x44f4c2
cmp eax, 0x2733
je 0x44f4c2
push dword [ebp + 0x14]
push dword [ebp - 4]
push edi
call fcn.0044e9f0
add esp, 0xc
jmp 0x44f4c2
add dword [esi + 0x28], eax
cmp dword [esi + 0x28], 2
jne 0x44f4c2
movzx ecx, byte [esi + 0x24]
movzx eax, byte [esi + 0x25]
shl ecx, 8
or ecx, eax
push ecx
mov dword [esi + 0x2c], ecx
call dword [0x501134]
add esp, 4
mov dword [esi + 0x30], eax
test eax, eax
jne 0x44f4bb
push dword [ebp + 0x14]
push dword [ebp - 4]
push edi
call fcn.0044e9f0
add esp, 0xc
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x30]
add ebx, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x34]
mov eax, dword [edi + 0x91b8]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x44f44b
push dword [edi + 0x91bc]
mov eax, dword [eax + 0xc]
push 0
push 0
push 0
push edx
push dword [ebp - 8]
push ecx
call eax
add esp, 0x1c
jmp 0x44f458
push 0
push edx
push dword [ebp - 8]
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jg 0x44f484
cmp eax, 0xffffffff
jne 0x44f473
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x44f4c2
cmp eax, 0x2733
je 0x44f4c2
push dword [ebp + 0x14]
push dword [ebp - 4]
push edi
call fcn.0044e9f0
add esp, 0xc
jmp 0x44f4c2
add dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x34], eax
jne 0x44f4c2
push dword [ebp + 0x14]
push 1
push dword [ebp - 4]
push eax
push dword [esi + 0x30]
push edi
call fcn.0044ef90
push dword [esi + 0x30]
call dword [0x50113c]
add esp, 0x1c
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
add ecx, 0x58
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp eax, dword [edi + 0x78]
jl 0x44f2c5
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret