Function at 0x43e6e0
Capabilities:
Get socket status

Disassembly:
mov eax, 0x114
call fcn.004466f0
push ebx
mov ebx, dword [esp + 0x120]
push ebp
mov ebp, dword [esp + 0x130]
push esi
mov dword [esp + 0x10], 0
cmp ebp, 0xffffffff
je 0x43e717
push 0
push 1
push 0x66
push ebx
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
push 0
push 0
push 0x65
push ebx
call sub.LIBEAY32.dll_Ordinal_52_1
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x43e761
cmp ebp, 0xffffffff
je 0x43e740
push 8
push ebx
call sub.LIBEAY32.dll_Ordinal_3866
add esp, 8
test eax, eax
jne 0x43e761
mov eax, dword [esp + 0x124]
push str.Error_connecting_BIO_n
push eax
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x69
push ebx
call sub.LIBEAY32.dll_Ordinal_52_1
add esp, 0x10
test eax, eax
jg 0x43e79a
mov edx, dword [esp + 0x124]
push str.Cant_get_connection_fd_n
push edx
call sub.LIBEAY32.dll_Ordinal_88
mov eax, dword [esp + 0x18]
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
cmp ebp, 0xffffffff
je 0x43e7fa
test esi, esi
jg 0x43e7fa
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
push 0
inc eax
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebp
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x43e7fa
mov eax, dword [esp + 0x124]
push str.Timeout_on_connect_n
push eax
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
push 0
push ecx
push ebx
call sub.LIBEAY32.dll_Ordinal_3924
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x43e755
push edi
xor esi, esi
call sub.LIBEAY32.dll_Ordinal_1654
add esp, 4
test eax, eax
jle 0x43e856
push esi
push edi
call sub.LIBEAY32.dll_Ordinal_1653
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
push eax
push ebx
call sub.LIBEAY32.dll_Ordinal_4541
add esp, 0x14
test eax, eax
je 0x43e94b
push edi
inc esi
call sub.LIBEAY32.dll_Ordinal_1654
add esp, 4
cmp esi, eax
jl 0x43e828
mov ecx, dword [esp + 0x130]
push ecx
push ebx
call sub.LIBEAY32.dll_Ordinal_4542
add esp, 8
test eax, eax
je 0x43e94b
lea edx, [esp + 0x10]
push ebx
push edx
call sub.LIBEAY32.dll_Ordinal_3923
add esp, 8
cmp eax, 0xffffffff
jne 0x43e94b
cmp ebp, 0xffffffff
je 0x43e8ff
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x128]
push 1
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebp
call sub.LIBEAY32.dll_Ordinal_3866
add esp, 8
test eax, eax
je 0x43e8cd
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x28]
push edx
jmp 0x43e8ea
push 2
push esi
call sub.LIBEAY32.dll_Ordinal_3866
add esp, 8
test eax, eax
je 0x43e936
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
push 0
mov eax, dword [esp + 0x1c]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x43e918
cmp eax, 0xffffffff
je 0x43e927
lea ecx, [esp + 0x10]
push ebx
push ecx
call sub.LIBEAY32.dll_Ordinal_3923
add esp, 8
cmp eax, 0xffffffff
je 0x43e886
jmp 0x43e94b
mov edx, dword [esp + 0x124]
push str.Timeout_on_request_n
push edx
jmp 0x43e943
mov eax, dword [esp + 0x124]
push str.Select_error_n
push eax
jmp 0x43e943
mov ecx, dword [esp + 0x124]
push str.Unexpected_retry_condition_n
push ecx
call sub.LIBEAY32.dll_Ordinal_88
add esp, 8
push ebx
call sub.LIBEAY32.dll_Ordinal_3921
mov eax, dword [esp + 0x14]
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x114
ret