Function at 0x1400489d0
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, reloc.SSLEAY32.dll_Ordinal_376
mov eax, Ordinal_636
call fcn.14004f210
sub rsp, rax
mov rax, qword [0x14007b940]
xor rax, rsp
mov qword [rbp + reloc.LIBEAY32.dll_Ordinal_352], rax
mov edi, dword [rbp + reloc.LIBEAY32.dll_Ordinal_488]
mov r15, r9
mov r13, qword [rbp + 0x1e0]
mov r14, r8
mov qword [rsp + 0x40], 0
mov rsi, rdx
mov r12, rcx
cmp edi, reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call sub.LIBEAY32.dll_Ordinal_52_1
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x65]
call sub.LIBEAY32.dll_Ordinal_52_1
mov ebx, eax
test eax, eax
jg reloc.LIBEAY32.dll_Ordinal_255
cmp edi, reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
mov edx, 8
mov rcx, rsi
call sub.LIBEAY32.dll_Ordinal_3866
test eax, eax
jne reloc.LIBEAY32.dll_Ordinal_255
lea rdx, str.Error_connecting_BIO_n
mov rcx, r12
call sub.LIBEAY32.dll_Ordinal_88
xor eax, eax
jmp reloc.LIBEAY32.dll_Ordinal_255
xor r8d, r8d
lea r9, [rsp + 0x30]
mov rcx, rsi
lea edx, [r8 + 0x69]
call sub.LIBEAY32.dll_Ordinal_52_1
test eax, eax
jns reloc.LIBEAY32.dll_Ordinal_255
mov rcx, qword [0x14007cc10]
lea rdx, str.Cant_get_connection_fd_n
call sub.LIBEAY32.dll_Ordinal_88
jmp reloc.LIBEAY32.dll_Ordinal_255
cmp edi, reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
test ebx, ebx
jg reloc.LIBEAY32.dll_Ordinal_255
mov ecx, dword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rcx
lea r8, [rsp + 0x50]
inc ecx
mov dword [rsp + 0x50], 1
xor r9d, r9d
mov dword [rsp + 0x3c], 0
xor edx, edx
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jne reloc.LIBEAY32.dll_Ordinal_255
lea rdx, str.Timeout_on_connect_n
mov rcx, r12
call sub.LIBEAY32.dll_Ordinal_88
xor eax, eax
jmp reloc.LIBEAY32.dll_Ordinal_255
or r9d, reloc.LIBEAY32.dll_Ordinal_255
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call sub.LIBEAY32.dll_Ordinal_3924
mov r14, rax
test rax, rax
je reloc.LIBEAY32.dll_Ordinal_255
mov rcx, r15
xor ebx, ebx
call sub.LIBEAY32.dll_Ordinal_1654
test eax, eax
jle reloc.LIBEAY32.dll_Ordinal_255
nop dword [rax]
mov edx, ebx
mov rcx, r15
call sub.LIBEAY32.dll_Ordinal_1653
mov rcx, r14
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 8]
call sub.LIBEAY32.dll_Ordinal_4541
test eax, eax
je reloc.LIBEAY32.dll_Ordinal_255
mov rcx, r15
inc ebx
call sub.LIBEAY32.dll_Ordinal_1654
cmp ebx, eax
jl reloc.LIBEAY32.dll_Ordinal_255
mov rdx, r13
mov rcx, r14
call sub.LIBEAY32.dll_Ordinal_4542
test eax, eax
je reloc.LIBEAY32.dll_Ordinal_255
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.LIBEAY32.dll_Ordinal_3923
cmp eax, reloc.LIBEAY32.dll_Ordinal_255
jne reloc.LIBEAY32.dll_Ordinal_255
xor ebx, ebx
nop dword [rax + rax]
cmp edi, reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
mov eax, dword [rsp + 0x30]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], edi
call sub.LIBEAY32.dll_Ordinal_3866
test eax, eax
je reloc.LIBEAY32.dll_Ordinal_255
xor r8d, r8d
lea rdx, [rsp + 0x50]
jmp reloc.LIBEAY32.dll_Ordinal_255
mov edx, 2
mov rcx, rsi
call sub.LIBEAY32.dll_Ordinal_3866
test eax, eax
je reloc.LIBEAY32.dll_Ordinal_255
lea r8, [rsp + 0x50]
xor edx, edx
mov ecx, dword [rsp + 0x30]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rax
inc ecx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
je reloc.LIBEAY32.dll_Ordinal_255
cmp eax, reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.LIBEAY32.dll_Ordinal_3923
cmp eax, reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
jmp reloc.LIBEAY32.dll_Ordinal_255
lea rdx, str.Select_error_n
jmp reloc.LIBEAY32.dll_Ordinal_255
lea rdx, str.Timeout_on_request_n
jmp reloc.LIBEAY32.dll_Ordinal_255
lea rdx, str.Unexpected_retry_condition_n
mov rcx, r12
call sub.LIBEAY32.dll_Ordinal_88
mov rcx, r14
call sub.LIBEAY32.dll_Ordinal_3921
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbp + reloc.LIBEAY32.dll_Ordinal_352]
xor rcx, rsp
call fcn.14004f590
add rsp, reloc.LIBEAY32.dll_Ordinal_255
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret