Function at 0x443ac4
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
add ecx, 0x134
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x5f1dbc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x5f1dc0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0xffff
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], 4
cmp dword [ebp + 0x1c], 0
jge 0x443b1c
mov dword [ebp - 0x24], 0xf
xor ecx, ecx
mov dword [ebp - 0x20], ecx
jmp 0x443b27
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x138], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x443b4b
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + edx*4 - 0x134]
cmp ecx, dword [0x5ef9f4]
je 0x443b56
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x138]
jb 0x443b36
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x138]
jne 0x443b7f
cmp dword [ebp - 0x138], 0x40
jae 0x443b7f
mov ecx, dword [ebp - 0x34]
mov eax, dword [0x5ef9f4]
mov dword [ebp + ecx*4 - 0x134], eax
inc dword [ebp - 0x138]
lea edx, [ebp - 0x24]
push edx
push 0
push 0
lea ecx, [ebp - 0x138]
push ecx
mov eax, dword [0x5ef9f4]
inc eax
push eax
call sub.WSOCK32.DLL_select
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x443bcc
call fcn.005153c4
push dword [eax]
call fcn.0050a9ac
pop ecx
push eax
push str.select___error:_s
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 0xc
or eax, 0xffffffff
jmp 0x443e49
cmp dword [ebp - 0x2c], 0
jne 0x443bec
push str.select___expired.
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 8
xor eax, eax
jmp 0x443e49
lea edx, [ebp - 0x138]
push edx
push dword [0x5ef9f4]
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x443e47
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x934], 0
jle 0x443c6f
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x934]
cmp ecx, dword [ebp + 0x10]
jl 0x443c2e
mov eax, dword [ebp + 0x10]
jmp 0x443c37
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x934]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
add edx, 0x134
mov dword [ebp - 0x1c], edx
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, 0x134
push ecx
push dword [ebp + 0xc]
call fcn.0050a50c
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax + 0x934], edx
jmp 0x443cad
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
push ecx
push dword [ebp - 0x14]
push dword [0x5ef9f4]
call sub.WSOCK32.DLL_recv
mov dword [ebp - 4], eax
inc eax
jne 0x443cad
call sub.WSOCK32.DLL_WSAGetLastError
push eax
push str.recv___error:__d
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 0xc
or eax, 0xffffffff
jmp 0x443e49
cmp dword [ebp - 4], 0
jle 0x443cc1
push 0
call fcn.005174bc
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
push dword [ebp - 4]
push str.recv__:size____d_
call fcn.0045c640
push eax
call fcn.0045d448
add esp, 0xc
cmp dword [ebp + 0x14], 0xffffffff
jne 0x443d02
mov ecx, dword [ebp + 8]
push dword [ecx + 0x934]
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x134
push eax
call fcn.0050a50c
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x443e49
cmp dword [ebp + 0x14], 0xfffffffe
jne 0x443d65
cmp dword [ebp - 4], 0
je 0x443d23
push dword [ebp - 4]
push dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
push edx
call fcn.0050a50c
add esp, 0xc
mov ecx, dword [ebp - 4]
add dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 8]
and ecx, reloc.WSOCK32.DLL_ntohs
jns 0x443d43
dec ecx
or ecx, 0xfffffff0
inc ecx
test ecx, ecx
je 0x443d5d
push dword [ebp - 4]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.0050a50c
add esp, 0xc
jmp 0x443c06
mov eax, dword [ebp - 8]
jmp 0x443e49
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp - 0x14]
call fcn.00441fa2
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x443e34
cmp dword [ebp - 0x18], 0
je 0x443c06
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0x18]
jl 0x443e05
mov ecx, dword [ebp - 0x18]
inc ecx
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
sub eax, ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
inc edx
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x134
push ecx
call fcn.0050a50c
add esp, 0xc
mov eax, dword [ebp + 8]
push dword [eax + 0x934]
push dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
add edx, 0x134
push edx
call fcn.0050a50c
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add dword [ecx + 0x934], eax
mov eax, dword [ebp - 0x18]
inc eax
sub eax, dword [ebp + 0xc]
jmp 0x443e49
mov edx, dword [ebp - 0x18]
inc edx
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
sub ecx, edx
push ecx
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.00441fa2
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x443d9b
jmp 0x443c06
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jl 0x443c06
mov eax, 0xfffffffe
jmp 0x443e49
xor eax, eax
mov esp, ebp
pop ebp
ret