Function at 0x436800
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 0x5fe820
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.00427d70
mov eax, dword [0x5fe84c]
mov esi, dword [ebp + 8]
push 0x5fe820
mov esi, dword [eax + esi*4]
call fcn.00427d80
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.00428740
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00439c20
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00439c20
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00439c20
mov ebx, dword [ebp + 0xc]
add esp, 0x2c
mov eax, dword [ebx]
test al, 1
je 0x4368aa
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00439c20
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 0x4368ad
mov edi, dword [ebp - 0x1c]
test al, 2
je 0x4368d0
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00439c20
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 0x4368d3
mov ebx, dword [ebp - 0x28]
test al, 4
je 0x4368f4
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00439c20
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 0x4368f7
mov esi, dword [ebp - 0x34]
mov eax, dword [0x5ea8f8]
test eax, eax
je 0x43690f
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x43690f
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 0x4369bd
test edi, edi
je 0x436932
cmp dword [edi], 0
jne 0x436944
test ebx, ebx
je 0x43693b
cmp dword [ebx], 0
jne 0x436944
test esi, esi
je 0x4369bd
cmp dword [esi], 0
je 0x4369bd
push ecx
push esi
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.00539b90
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
jns 0x4369d4
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov ecx, dword [eax + 0x28f0]
test ecx, ecx
je 0x43697a
mov eax, ecx
jmp 0x43698a
call fcn.0053fcd2
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x28f0]
cmp dword [ecx], 0x2726
jne 0x4369a6
test eax, eax
jne 0x43699b
call fcn.0053fcd2
mov dword [eax], 0x2714
mov ecx, dword [ebp + 8]
jmp 0x4369d4
test eax, eax
jne 0x4369af
call fcn.0053fcd2
cmp dword [eax], 0x2736
je 0x436a4b
jmp 0x4369a1
push 1
push ecx
call fcn.00428970
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 0x436a1a
push edi
push dword [ebp - 4]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4369f4
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 0x436a07
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 0x436a1a
mov eax, dword [ebp + 0xc]
or dword [eax], 4
test edi, edi
je 0x436a27
push edi
call fcn.0053fcf0
add esp, 4
test ebx, ebx
je 0x436a34
push ebx
call fcn.0053fcf0
add esp, 4
test esi, esi
je 0x436a41
push esi
call fcn.0053fcf0
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
push esi
push ebx
push edi
push dword [ebp - 8]
call fcn.004352c0
int3