Function at 0x14005f1d0
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x48], rcx
mov r12, qword [rbp + 0x260]
xor r13b, r13b
mov rax, qword [rcx]
cmp rax, 0xffffffffffffffff
nop
je 0x14005f2be
test r14, r14
je 0x14005f2be
call fcn.140169f14
mov rbx, rax
call fcn.140169ef8
cmp rbx, 0x989680
jne 0x14005f253
imul rbx, rax, 0x64
jmp 0x14005f270
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
nop
mov qword [rbp - 8], rsi
mov dword [rbp - 0x10], 1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0x2710
nop dword [rax + rax]
lea ecx, [rsi + 1]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_select]
cdqe
test rax, rax
jns 0x14005f2f2
call fcn.14017e884
cmp dword [rax], 4
je 0x14005f290
movzx eax, r13b
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401677c0
lea r11, [rsp + 0x310]
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
jne 0x14005f371
call fcn.140169f14
mov rdi, rax
call fcn.140169ef8
cmp rdi, 0x989680
jne 0x14005f310
imul rcx, rax, 0x64
jmp 0x14005f32b
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
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, r15, 0x3e8
cmp rdx, rax
jg 0x14005f2be
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x40]
call fcn.1400301d0
jmp 0x14005f270
cmp r14, 1
sete dil
mov byte [rsp + 0x30], 0
mov rax, qword [r12 + 0x20]
mov r10, qword [rax]
mov rax, qword [r12 + 0x18]
mov r9, qword [rax]
mov rax, qword [r12 + 0x10]
mov r8, qword [rax]
mov rax, qword [r12 + 8]
mov rdx, qword [rax]
mov rax, qword [r12]
mov rcx, qword [rax]
lea rax, vtable.httplib::detail::SocketStream.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x78], r10
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
xor r13d, r13d
mov qword [rbp - 0x70], r13
mov ecx, 0x1027
call fcn.140167a7c
test rax, rax
je 0x14005f4cc
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 0x80], rcx
lea rbx, [rcx + 0x1000]
mov qword [rbp - 0x70], rbx
xor edx, edx
mov r8d, 0x1000
call fcn.14016b7a0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov rcx, qword [r12 + 0x28]
mov qword [rbp - 0x18], r13
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
movzx r8d, dil
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx]
call fcn.140075590
movzx r13d, al
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14005f466
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
lea rax, vtable.httplib::detail::SocketStream.0
mov qword [rsp + 0x50], rax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005f4a8
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f4a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f4cc
call fcn.140167ab8
test r13b, r13b
je 0x14005f2be
cmp byte [rsp + 0x30], 0
jne 0x14005f2be
dec r14
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
jmp 0x14005f223
call fcn.14017d6e4
int3