Function at 0x1400149f0
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x268
mov r13d, dword [rsp + 0x2d8]
mov rsi, r9
mov rbp, rcx
mov rbx, r8
xor r9d, r9d
mov qword [rsp + 0x2b8], rdx
mov qword [rsp + 0x40], 0
cmp r13d, 0xffffffff
jne 0x140014b28
xor r8d, r8d
mov edx, 0x65
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
test eax, eax
jle 0x140014c40
xor r8d, r8d
lea r9, [rsp + 0x3c]
mov edx, 0x69
mov rcx, rbp
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
test eax, eax
js 0x140014c60
mov r9d, 0xffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
call sub.libcrypto_1_1_x64.dll_OCSP_sendreq_new
mov rdi, rax
test rax, rax
je 0x140014be1
mov r12d, 1
xor ebx, ebx
lea r15, [0x14007afca]
jmp 0x140014aab
mov r8, qword [r14 + 0x10]
mov rcx, rdi
call sub.libcrypto_1_1_x64.dll_OCSP_REQ_CTX_add1_header
test eax, eax
je 0x140014b00
add ebx, 1
mov rcx, rsi
call sub.libcrypto_1_1_x64.dll_OPENSSL_sk_num
cmp ebx, eax
jge 0x140014bf0
mov edx, ebx
mov rcx, rsi
call sub.libcrypto_1_1_x64.dll_OPENSSL_sk_value
mov rdx, qword [rax + 8]
mov r14, rax
cmp r12d, 1
jne 0x140014a98
mov rcx, r15
xor r12d, r12d
call qword [sym.imp.msvcrt.dll__stricmp]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
mov rcx, rdi
test eax, eax
setne r12b
call sub.libcrypto_1_1_x64.dll_OCSP_REQ_CTX_add1_header
test eax, eax
jne 0x140014aa8
nop dword [rax + rax]
mov rcx, rdi
call sub.libcrypto_1_1_x64.dll_OCSP_REQ_CTX_free
mov rax, qword [rsp + 0x40]
add rsp, 0x268
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 1
mov edx, 0x66
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
xor r9d, r9d
xor r8d, r8d
mov edx, 0x65
mov rcx, rbp
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
test eax, eax
jg 0x140014a47
mov edx, 8
mov rcx, rbp
call sub.libcrypto_1_1_x64.dll_BIO_test_flags
test eax, eax
je 0x140014c40
xor r8d, r8d
lea r9, [rsp + 0x3c]
mov edx, 0x69
mov rcx, rbp
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
test eax, eax
js 0x140014c60
mov eax, dword [rsp + 0x3c]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
mov rcx, rax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
add ecx, 1
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x140014a64
mov rax, qword [0x14009a8a0]
lea rdx, str.Timeout_on_connect_n
mov rcx, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_puts
xor eax, eax
jmp 0x140014b0d
cmp r12d, 1
je 0x140014c80
mov rdx, qword [rsp + 0x2d0]
mov rcx, rdi
call sub.libcrypto_1_1_x64.dll_OCSP_REQ_CTX_set1_req
test eax, eax
je 0x140014b00
lea rbx, [rsp + 0x40]
cmp r13d, 0xffffffff
jne 0x140014ca8
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call sub.libcrypto_1_1_x64.dll_OCSP_sendreq_nbio
cmp eax, 0xffffffff
je 0x140014c28
jmp 0x140014b00
mov rax, qword [0x14009a8a0]
lea rdx, str.Error_connecting_BIO_n
mov rcx, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_puts
xor eax, eax
jmp 0x140014b0d
mov rax, qword [0x14009a8a0]
lea rdx, str.Cant_get_connection_fd_n
xor edi, edi
mov rcx, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_puts
jmp 0x140014b00
mov r8, qword [rsp + 0x2b8]
lea rdx, [0x14007afcf]
mov rcx, rdi
call sub.libcrypto_1_1_x64.dll_OCSP_REQ_CTX_add1_header
test eax, eax
jne 0x140014bfa
jmp 0x140014b00
mov rsi, qword [sym.imp.WS2_32.dll_select]
lea r12, [rsp + 0x50]
jmp 0x140014ce9
mov eax, dword [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
lea ecx, [rax + 1]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call rsi
test eax, eax
je 0x140014d5a
cmp eax, 0xffffffff
je 0x140014d75
mov rdx, rdi
mov rcx, rbx
call sub.libcrypto_1_1_x64.dll_OCSP_sendreq_nbio
cmp eax, 0xffffffff
jne 0x140014b00
mov eax, dword [rsp + 0x3c]
mov edx, 1
mov rcx, rbp
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], r13d
call sub.libcrypto_1_1_x64.dll_BIO_test_flags
test eax, eax
jne 0x140014cc0
mov edx, 2
mov rcx, rbp
call sub.libcrypto_1_1_x64.dll_BIO_test_flags
test eax, eax
je 0x140014d90
mov eax, dword [rsp + 0x3c]
xor r9d, r9d
mov r8, r12
xor edx, edx
lea ecx, [rax + 1]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call rsi
jmp 0x140014cdc
mov rax, qword [0x14009a8a0]
lea rdx, str.Timeout_on_request_n
mov rcx, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_puts
jmp 0x140014b00
mov rax, qword [0x14009a8a0]
lea rdx, str.Select_error_n
mov rcx, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_puts
jmp 0x140014b00
mov rax, qword [0x14009a8a0]
lea rdx, str.Unexpected_retry_condition_n
mov rcx, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_puts
jmp 0x140014b00