Function at 0x14009a100
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp dword [rcx + 0x168], 1
mov r14, r8
mov r15, rdx
mov rsi, rcx
je 0x14009a1c9
mov rcx, qword [rcx + 0x148]
lea r8, str.asio::listen_called_from_the_wrong_state
mov edx, 2
call fcn.1400529b0
mov rax, qword gs:[0x58]
lea rbx, [0x1401a5760]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401a57d0], eax
jle 0x14009a1b5
lea rcx, [0x1401a57d0]
call fcn.1400ad0a4
cmp dword [0x1401a57d0], 0xffffffff
jne 0x14009a1b5
lea rax, vtable.websocketpp::error::category.0
mov qword [0x1401a5768], rbx
lea rcx, [0x1401263c0]
mov qword [0x1401a5760], rax
call fcn.1400ad470
lea rcx, [0x1401a57d0]
call fcn.1400ad044
mov dword [rbp + 7], 9
mov qword [rbp + 0xf], rbx
movups xmm0, xmmword [rbp + 7]
jmp 0x14009a4a7
mov rcx, qword [rcx + 0x158]
lea r8, str.asio::listen
mov edx, 0x400
mov qword [rsp + 0xd0], r12
call fcn.14004fdc0
xor r12d, r12d
mov qword [rbp + 7], r12
call fcn.1400e5a00
mov qword [rbp + 0xf], rax
lea r9, [rbp - 0x79]
mov eax, 2
lea rdx, [rbp - 0x51]
cmp word [r15], ax
mov ecx, reloc.WS2_32.dll_socket
cmovne eax, ecx
mov rcx, qword [rsi + 0x110]
mov dword [rbp - 0x79], eax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r8, [rcx + 8]
mov rcx, qword [rcx]
call fcn.14005e3a0
mov rcx, qword [rsi + 0x110]
cmp dword [rbp + 7], r12d
je 0x14009a2da
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x14009a24e
call fcn.14008a360
lea r9, [rbp + 7]
mov rcx, rsi
lea r8, str.asio_listen
call fcn.140098ba0
mov rax, qword gs:[0x58]
lea rbx, [0x1401a5770]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401a5784], eax
jle 0x14009a2c6
lea rcx, [0x1401a5784]
call fcn.1400ad0a4
cmp dword [0x1401a5784], 0xffffffff
jne 0x14009a2c6
lea rax, vtable.websocketpp::transport::error::category.0
mov qword [0x1401a5778], rbx
lea rcx, [0x1401263b0]
mov qword [0x1401a5770], rax
call fcn.1400ad470
lea rcx, [0x1401a5784]
call fcn.1400ad044
mov dword [rbp + 7], 2
mov qword [rbp + 0xf], rbx
movups xmm0, xmmword [rbp + 7]
jmp 0x14009a49f
cmp byte [rsi + 0x144], r12b
mov eax, r12d
setne al
mov dword [rbp - 0x75], eax
mov rbx, qword [rcx + 8]
cmp rbx, 0xffffffffffffffff
jne 0x14009a2fd
mov dword [rbp + 7], 0x2719
jmp 0x14009a35d
xor ecx, ecx
mov qword [rsp + 0xd8], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp - 0x75]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1400e5a00
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp + 0xf], rbx
test edi, edi
mov rdi, qword [rsp + 0xd8]
mov dword [rbp + 7], eax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
jne 0x14009a36f
mov dword [rbp + 7], r12d
call fcn.1400e5a00
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
cmp dword [rbp + 7], r12d
je 0x14009a381
mov rcx, qword [rsi + 0x110]
jmp 0x14009a242
cmp qword [rsi + 0x78], r12
je 0x14009a3e9
mov rcx, qword [rsi + 0x118]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
test rcx, rcx
je 0x14009a3a6
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 0x118]
mov rax, qword [rsi + 0x110]
lea r8, [rbp - 0x71]
mov qword [rbp - 0x69], rcx
lea rdx, [rbp - 0x41]
lea rcx, [rsi + 0x40]
mov qword [rbp - 0x71], rax
call fcn.140089680
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
cmp dword [r14], r12d
je 0x14009a3e9
mov r8, r14
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14009d2d0
movups xmm0, xmmword [rax]
jmp 0x14009a49f
mov rcx, qword [rsi + 0x110]
lea r9, [rbp + 7]
cmp word [r15], 2
mov eax, Ordinal_32
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r15
cmovne r8d, eax
mov rcx, qword [rcx + 8]
call fcn.140043ed0
lea r8, [rbp + 7]
cmp dword [rbp + 7], r12d
je 0x14009a42f
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.14009d210
movups xmm0, xmmword [rax]
jmp 0x14009a49f
mov rcx, qword [rsi + 0x110]
mov edx, dword [rsi + 0x140]
mov rcx, qword [rcx + 8]
call fcn.1400442b0
cmp dword [rbp + 7], r12d
je 0x14009a460
lea r8, [rbp + 7]
mov rcx, rsi
lea rdx, [rbp - 0x11]
call fcn.14009d210
movups xmm0, xmmword [rax]
jmp 0x14009a49f
lea rbx, [0x1401a5790]
mov dword [rsi + 0x168], 2
mov r8, rbx
mov dword [rbp - 0x61], r12d
lea rdx, [0x14005adf0]
lea rcx, [0x1401a57b8]
call qword [sym.imp.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_]
test eax, eax
jne 0x14009a497
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov qword [rbp - 0x59], rbx
movups xmm0, xmmword [rbp - 0x61]
mov r12, qword [rsp + 0xd0]
movups xmmword [r14], xmm0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0xe0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret