Function at 0x438030
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
push 0x601860
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00429170
mov eax, dword [0x60188c]
mov esi, dword [ebp + 8]
push 0x601860
mov esi, dword [eax + esi*4]
call fcn.00429180
mov eax, dword [ebp + 0x10]
mov esi, dword [esi + 0x60]
cdq
push edx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.00429b30
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0043b460
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0043b460
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.0043b460
mov ebx, dword [ebp + 0xc]
add esp, 0x2c
mov eax, dword [ebx]
test al, 1
je 0x4380da
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0043b460
mov edi, dword [ebp - 0x1c]
add esp, 8
mov eax, dword [edi]
mov dword [edi + eax*4 + 4], esi
inc dword [edi]
mov eax, dword [ebx]
jmp 0x4380dd
mov edi, dword [ebp - 0x1c]
test al, 2
je 0x438100
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0043b460
mov ebx, dword [ebp - 0x28]
add esp, 8
mov eax, dword [ebx]
mov dword [ebx + eax*4 + 4], esi
mov eax, dword [ebp + 0xc]
inc dword [ebx]
mov eax, dword [eax]
jmp 0x438103
mov ebx, dword [ebp - 0x28]
test al, 4
je 0x438124
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.0043b460
mov esi, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [esi]
mov dword [esi + eax*4 + 4], ecx
inc dword [esi]
jmp 0x438127
mov esi, dword [ebp - 0x34]
mov eax, dword [0x5ed8f8]
test eax, eax
je 0x43813f
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x43813f
push dword [ebp + 8]
call eax
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x10]
cmp dword [ebp + 0x10], eax
cmovl ecx, eax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 8], eax
je 0x4381ed
test edi, edi
je 0x438162
cmp dword [edi], 0
jne 0x438174
test ebx, ebx
je 0x43816b
cmp dword [ebx], 0
jne 0x438174
test esi, esi
je 0x4381ed
cmp dword [esi], 0
je 0x4381ed
push ecx
push esi
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0053b370
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
jns 0x438204
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov ecx, dword [eax + 0x28f0]
test ecx, ecx
je 0x4381aa
mov eax, ecx
jmp 0x4381ba
call fcn.005414b2
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x28f0]
cmp dword [ecx], 0x2726
jne 0x4381d6
test eax, eax
jne 0x4381cb
call fcn.005414b2
mov dword [eax], 0x2714
mov ecx, dword [ebp + 8]
jmp 0x438204
test eax, eax
jne 0x4381df
call fcn.005414b2
cmp dword [eax], 0x2736
je 0x43827b
jmp 0x4381d1
push 1
push ecx
call fcn.00429d60
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
xor ecx, ecx
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
test ecx, ecx
jle 0x43824a
push edi
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x438224
mov eax, dword [ebp + 0xc]
or dword [eax], 1
push ebx
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x438237
mov eax, dword [ebp + 0xc]
or dword [eax], 2
push esi
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43824a
mov eax, dword [ebp + 0xc]
or dword [eax], 4
test edi, edi
je 0x438257
push edi
call fcn.005414d0
add esp, 4
test ebx, ebx
je 0x438264
push ebx
call fcn.005414d0
add esp, 4
test esi, esi
je 0x438271
push esi
call fcn.005414d0
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
push dword [ebp - 8]
call fcn.00436b00
int3