Function at 0x140064f80
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r13, qword [rcx]
mov qword [rbp - 0x20], rcx
mov r15, qword [r13]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov rax, qword [rax + 8]
test rax, rax
je 0x140064fd4
mov rcx, qword [rax + 8]
jmp 0x140064fd6
xor ecx, ecx
mov edx, 0x278
call fcn.14002f1e0
mov rsi, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0
movzx edi, byte [r13 + 0x10]
mov rax, qword [r13 + 8]
lea rcx, [r15 + 0x28]
mov qword [rsi + 0x20], 0
lea rdx, [0x1400655d0]
mov qword [rsi + 0x28], rdx
mov dword [rsi + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x38], rcx
mov qword [rsi + 0x40], rax
lea rax, [rsi + 0x48]
mov qword [rbp - 0x18], rax
mov qword [rsi + 0x48], 0xffffffffffffffff
cmp qword [r13 + 0x88], 0
je 0x140065481
lea rbx, [r13 + 0x68]
mov qword [rbp - 0x10], 0
mov rax, qword [r13 + 0x98]
mov r14, qword [rax]
mov rax, qword [r13 + 0x80]
mov rcx, rbx
call qword [rax + 0x18]
lea rcx, [rbp - 0x10]
lea r8, [rbp + 0xf]
mov rdx, rax
call r14
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
lea rax, vtable.type_info.0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0
mov r9, qword [rcx + 0x28]
lea r8, [0x140064ac0]
lea rdx, [rbp - 0x10]
call fcn.14002ce60
mov r14, rax
mov qword [rsi + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x68], xmm0
mov dword [rsi + 0x90], 2
mov byte [rsi + 0x94], 0
movups xmmword [rsi + 0xa0], xmm0
mov dword [rsi + 0xb0], 0
mov qword [rsi + 0x98], 2
cmp qword [r13 + 0x88], 0
mov qword [rbp - 0x40], r15
je 0x140065121
lea rcx, [rsi + 0xb8]
mov rax, qword [r13 + 0x80]
mov qword [rsi + 0xd0], rax
mov rdx, qword [r13 + 0x90]
mov qword [rsi + 0xe0], rdx
mov rdx, rbx
call qword [rax + ioctlsocket]
mov r14, qword [rsi + 0x50]
mov r15, qword [rsi + 0x70]
jmp 0x140065136
movups xmmword [rsi + 0xd0], xmm0
mov qword [rsi + 0xe0], 0
xor r15d, r15d
lea r12, [rsi + 0x58]
lea rax, [rsi + 0x68]
mov rcx, qword [r13 + 0x98]
mov qword [rsi + 0xe8], rcx
mov qword [r12], 0xffffffffffffffff
mov byte [rsi + 0x60], 0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
test r15, r15
je 0x140065182
lock dec dword [r15 + 8]
jne 0x140065182
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
lock dec dword [r15 + 0xc]
jne 0x140065182
mov rax, qword [r15]
mov rcx, r15
call qword [rax + ioctlsocket]
lea r15, [r14 + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [r14 + 0x78]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x88], 0
test rax, rax
je 0x1400651ae
mov qword [rax + 0x30], r12
mov qword [r14 + 0x78], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shr dil, 2
and dil, 1
mov eax, dword [r13 + 0x40]
mov dword [rsi + 0xf0], eax
mov qword [rsi + 0xf8], 0
mov byte [rsi + 0x220], dil
xorps xmm0, xmm0
movups xmmword [rsi + 0x228], xmm0
mov rax, qword [rbp - 0x20]
mov qword [rsi + 0x238], rax
lea rcx, [rsi + 0x240]
mov rdx, rbx
call fcn.14004a0e0
mov qword [rbp - 0x28], rsi
mov r14d, dword [r13 + 0x40]
mov r15, qword [rbp - 0x40]
mov rax, qword [r15 + 0x30]
lock inc dword [rax + 0x30]
cmp qword [r13 + 8], 0xffffffffffffffff
je 0x14006532c
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, 1
mov r8d, 6
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14006534e
mov rbx, rax
cmp r14d, 0x17
jne 0x140065283
mov dword [rbp - 0x10], 0
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x10]
mov rcx, rbx
mov edx, 0x29
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
lea r14, [rbp - 0x10]
je 0x1400652b7
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov byte [rbp + 0xf], 0
lea rdx, [rbp + 0xf]
lea r9, [rbp - 0x10]
mov r8b, 1
call fcn.140064b90
mov r8, rsi
add r8, 0x100
mov qword [rdi], rbx
mov dword [rbp - 0x10], 0
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0x90
mov rdx, rbx
xor r9d, r9d
call sub.MSWSOCK.dll_AcceptEx
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rbx, qword [r15 + 0x30]
test edi, edi
jne 0x140065427
cmp eax, 0x3e5
je 0x140065427
mov dword [rsi + 0x30], 1
lea rcx, [0x1400b3470]
mov qword [rsi], rcx
mov dword [rsi + 0x10], eax
jmp 0x1400653e0
mov rbx, qword [r15 + 0x30]
mov dword [rsi + 0x30], 1
lea rax, [0x1400b3470]
mov qword [rsi], rax
mov qword [rsi + 0x10], 0x2719
jmp 0x1400653e7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x1400b3478]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x140065391
mov rax, qword [0x1400b3470]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x140065391
lea rcx, [0x1400b3470]
mov edx, edi
call rax
mov rbx, qword [rbp - 0x18]
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400653c1
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov byte [rbp + 0xf], 0
lea rdx, [rbp + 0xf]
lea r9, [rbp - 0x10]
mov r8b, 1
call fcn.140064b90
mov qword [rbx], 0xffffffffffffffff
mov rbx, qword [r15 + 0x30]
mov dword [rsi + 0x30], 1
lea rax, [0x1400b3470]
mov qword [rsi], rax
mov dword [rsi + 0x10], edi
mov dword [rsi + 0x14], 0
mov rcx, qword [rbx + 0x28]
mov r8d, 2
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140065459
lea rdi, [rbx + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsi + 0x20], 0
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14006543a
mov qword [rax + 0x20], rsi
jmp 0x140065441
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rsi + 0x30], ecx
cmp eax, 1
je 0x1400653e7
jmp 0x140065459
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x98], rsi
mov eax, 1
xchg dword [rbx + 0x58], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp - 0x38]
call fcn.1400664d0
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movups xmmword [rbp - 8], xmm0
lea rax, vtable.boost::asio::execution::bad_executor.0
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.14002f770
int3