Function at 0x140036750
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r12, r9
mov r15, r8
mov rsi, rdx
mov r13, rcx
mov rax, qword [rbp + 0x240]
mov qword [rsp + 0x40], rax
xor r14b, r14b
mov rax, qword [rcx]
cmp rax, 0xffffffffffffffff
nop
je 0x1400369df
test r15, r15
je 0x1400369df
call fcn.1400678c4
mov rbx, rax
call fcn.1400678a8
mov r8, rax
cmp rbx, 0x989680
jne 0x1400367d9
imul rbx, r8, 0x64
jmp 0x140036800
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
nop dword [rax]
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x30], 1
mov dword [rbp - 0x70], 0
mov dword [rbp - 0x6c], 0x2710
nop dword [rax]
lea ecx, [rsi + 1]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_select]
movsxd rdi, eax
test eax, eax
jns 0x14003684d
call fcn.140073bf8
cmp dword [rax], 4
je 0x140036820
test rdi, rdi
js 0x1400369df
jne 0x1400368e4
call fcn.1400678c4
mov rdi, rax
call fcn.1400678a8
mov r8, rax
cmp rdi, 0x989680
jne 0x14003687b
imul rcx, r8, 0x64
jmp 0x14003689e
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rdi
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r12, 0x3e8
cmp rdx, rax
jg 0x1400369df
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x38]
call fcn.14000df70
jmp 0x140036800
cmp r15, 1
sete bl
mov byte [rsp + 0x30], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 0x28]
mov r11, qword [rax]
mov rax, qword [rdi + 0x20]
mov r10, qword [rax]
mov rax, qword [rdi + 0x18]
mov r9, qword [rax]
mov rax, qword [rdi + 0x10]
mov r8, qword [rax]
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
mov rax, qword [rdi]
mov rdx, qword [rax]
lea rax, vtable.httplib::detail::SSLSocketStream.0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r10
mov qword [rbp - 0x38], r11
xor r9d, r9d
lea edx, [r9 + 0x4e]
lea r8d, [r9 + 4]
call sub.libssl_3_x64.dll_SSL_ctrl
nop
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
add rax, 8
lea rdx, vtable.std::_Func_impl_no_alloc_class__lambda_19360138a36c0fef71838a2fe71c257f___void__struct_httplib::Request____ptr64_.0
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
movzx r8d, bl
lea rdx, [rbp - 0x68]
call fcn.140057f20
movzx r14d, al
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400369c7
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
test r14b, r14b
je 0x1400369df
cmp byte [rsp + 0x30], 0
jne 0x1400369df
dec r15
mov rax, qword [r13]
jmp 0x1400367a6
movzx eax, r14b
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140069ba0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret