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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2164
call fcn.00481660
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x2010], 0
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x200f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edx, edx
mov dl, byte [0x892274]
test edx, edx
je 0x43c743
mov dword [ebp - 0x2114], 0
mov dword [ebp - 0x2120], 0
jmp 0x43c548
mov eax, dword [ebp - 0x2120]
add eax, 1
mov dword [ebp - 0x2120], eax
mov ecx, dword [ebp - 0x2120]
cmp ecx, dword [ebp - 0x2114]
jae 0x43c56c
mov edx, dword [ebp - 0x2120]
mov eax, dword [ebp + edx*4 - 0x2110]
cmp eax, dword [ebp - 0xc]
jne 0x43c56a
jmp 0x43c56c
jmp 0x43c539
mov ecx, dword [ebp - 0x2120]
cmp ecx, dword [ebp - 0x2114]
jne 0x43c5a2
cmp dword [ebp - 0x2114], 0x40
jae 0x43c5a2
mov edx, dword [ebp - 0x2120]
mov eax, dword [ebp - 0xc]
mov dword [ebp + edx*4 - 0x2110], eax
mov ecx, dword [ebp - 0x2114]
add ecx, 1
mov dword [ebp - 0x2114], ecx
xor edx, edx
test edx, edx
jne 0x43c52d
mov dword [ebp - 0x2124], 0
jmp 0x43c5c3
mov eax, dword [ebp - 0x2124]
add eax, 1
mov dword [ebp - 0x2124], eax
mov ecx, dword [ebp - 0x2124]
cmp ecx, dword [ebp - 0x2114]
jae 0x43c5e7
mov edx, dword [ebp - 0x2124]
mov eax, dword [ebp + edx*4 - 0x2110]
cmp eax, dword [ebp - 0x10]
jne 0x43c5e5
jmp 0x43c5e7
jmp 0x43c5b4
mov ecx, dword [ebp - 0x2124]
cmp ecx, dword [ebp - 0x2114]
jne 0x43c61d
cmp dword [ebp - 0x2114], 0x40
jae 0x43c61d
mov edx, dword [ebp - 0x2124]
mov eax, dword [ebp - 0x10]
mov dword [ebp + edx*4 - 0x2110], eax
mov ecx, dword [ebp - 0x2114]
add ecx, 1
mov dword [ebp - 0x2114], ecx
xor edx, edx
test edx, edx
jne 0x43c5a8
push 0
push 0
push 0
lea eax, [ebp - 0x2114]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x2118], eax
cmp dword [ebp - 0x2118], 0
jg 0x43c64c
jmp 0x43c763
lea ecx, [ebp - 0x2114]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43c6c8
push 0
push 0x2000
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x211c], eax
cmp dword [ebp - 0x211c], 0
jg 0x43c68c
jmp 0x43c761
mov edx, dword [ebp - 0x211c]
push edx
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043c450
add esp, 0xc
mov dword [ebp - 0x2118], eax
cmp dword [ebp - 0x2118], 0
je 0x43c6c3
mov edx, dword [ebp - 0x2118]
cmp edx, dword [ebp - 0x211c]
je 0x43c6c8
jmp 0x43c75f
lea eax, [ebp - 0x2114]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43c73e
push 0
push 0x2000
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x211c], eax
cmp dword [ebp - 0x211c], 0
jg 0x43c705
jmp 0x43c75d
mov ecx, dword [ebp - 0x211c]
push ecx
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043c450
add esp, 0xc
mov dword [ebp - 0x2118], eax
cmp dword [ebp - 0x2118], 0
je 0x43c73c
mov ecx, dword [ebp - 0x2118]
cmp ecx, dword [ebp - 0x211c]
je 0x43c73e
jmp 0x43c75b
jmp 0x43c513
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x43c765
jmp 0x43c743
jmp 0x43c743
jmp 0x43c743
jmp 0x43c743
jmp 0x43c743
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4