Function at 0x43a0f0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11c
call fcn.0043c4d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x114], 0
cmp dword [ebp + 0x18], 0xffffffff
je 0x43a126
push 0
push 1
push 0x66
mov eax, dword [ebp + 0xc]
push eax
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
push 0
push 0
push 0x65
mov ecx, dword [ebp + 0xc]
push ecx
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jg 0x43a177
cmp dword [ebp + 0x18], 0xffffffff
je 0x43a15f
push 8
mov edx, dword [ebp + 0xc]
push edx
call sub.LIBEAY32.dll_Ordinal_3866
add esp, 8
test eax, eax
jne 0x43a177
push str.Error_connecting_BIO_n
mov eax, dword [ebp + 8]
push eax
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
xor eax, eax
jmp 0x43a3d1
cmp dword [ebp + 0x18], 0xffffffff
jne 0x43a196
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.LIBEAY32.dll_Ordinal_2551
add esp, 0xc
jmp 0x43a3d1
lea ecx, [ebp - 8]
push ecx
push 0
push 0x69
mov edx, dword [ebp + 0xc]
push edx
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
test eax, eax
jg 0x43a1c4
push str.Cant_get_connection_fd_n
mov eax, dword [ebp + 8]
push eax
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
jmp 0x43a3b9
cmp dword [ebp - 0x110], 0
jg 0x43a261
mov dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0x40
jae 0x43a203
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x108], edx
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
xor ecx, ecx
test ecx, ecx
jne 0x43a1db
mov dword [ebp - 0x118], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x11c], edx
lea eax, [ebp - 0x11c]
push eax
push 0
lea ecx, [ebp - 0x10c]
push ecx
push 0
mov edx, dword [ebp - 8]
add edx, 1
push edx
call sub.WSOCK32.dll_select
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x43a261
push str.Timeout_on_connect_n
mov eax, dword [ebp + 8]
push eax
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
xor eax, eax
jmp 0x43a3d1
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.LIBEAY32.dll_Ordinal_3924
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a287
xor eax, eax
jmp 0x43a3d1
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x114]
push edx
call sub.LIBEAY32.dll_Ordinal_3923
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0xffffffff
je 0x43a2ae
jmp 0x43a3b9
mov dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0x40
jae 0x43a2e0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x108], ecx
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
xor eax, eax
test eax, eax
jne 0x43a2b8
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x11c], ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call sub.LIBEAY32.dll_Ordinal_3866
add esp, 8
test eax, eax
je 0x43a331
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 8]
add edx, 1
push edx
call sub.WSOCK32.dll_select
mov dword [ebp - 0x110], eax
jmp 0x43a37c
push 2
mov eax, dword [ebp + 0xc]
push eax
call sub.LIBEAY32.dll_Ordinal_3866
add esp, 8
test eax, eax
je 0x43a369
lea ecx, [ebp - 0x11c]
push ecx
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
mov eax, dword [ebp - 8]
add eax, 1
push eax
call sub.WSOCK32.dll_select
mov dword [ebp - 0x110], eax
jmp 0x43a37c
push str.Unexpected_retry_condition_n
mov ecx, dword [ebp + 8]
push ecx
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
jmp 0x43a3b9
cmp dword [ebp - 0x110], 0
jne 0x43a398
push str.Timeout_on_request_n
mov edx, dword [ebp + 8]
push edx
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
jmp 0x43a3b9
cmp dword [ebp - 0x110], 0xffffffff
jne 0x43a3b4
push str.Select_error_n
mov eax, dword [ebp + 8]
push eax
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
jmp 0x43a3b9
jmp 0x43a287
cmp dword [ebp - 4], 0
je 0x43a3cb
mov ecx, dword [ebp - 4]
push ecx
call sub.LIBEAY32.dll_Ordinal_3921
add esp, 4
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret