Function at 0x1400880a0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x20], rax
cmp dword [rcx + 0x1a8], 1
mov r14, r8
mov r15, rdx
mov rsi, rcx
je 0x140088169
mov rcx, qword [rcx + 0x188]
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 0x140088155
lea rcx, [0x1401a57d0]
call fcn.1400ad0a4
cmp dword [0x1401a57d0], 0xffffffff
jne 0x140088155
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 + 0x10], 9
mov qword [rbp + 0x18], rbx
movups xmm0, xmmword [rbp + 0x10]
jmp 0x140088491
mov rcx, qword [rcx + 0x198]
lea r8, str.asio::listen
mov edx, 0x400
mov qword [rsp + 0x130], r12
call fcn.14004fdc0
xor r12d, r12d
mov qword [rbp + 0x10], r12
call fcn.1400e5a00
mov qword [rbp + 0x18], rax
lea r9, [rsp + 0x30]
mov eax, 2
lea rdx, [rbp - 0x20]
cmp word [r15], ax
mov ecx, reloc.WS2_32.dll_socket
cmovne eax, ecx
mov rcx, qword [rsi + 0x150]
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r8, [rcx + 8]
mov rcx, qword [rcx]
call fcn.14005e3a0
mov rcx, qword [rsi + 0x150]
cmp dword [rbp + 0x10], r12d
je 0x140088222
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400881ec
call fcn.14008a360
lea r9, [rbp + 0x10]
mov rcx, rsi
lea r8, str.asio_listen
call fcn.140055100
movaps xmm0, xmmword [rbp + 0x10]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.1400552c0
movups xmm0, xmmword [rsp + 0x70]
jmp 0x140088489
cmp byte [rsi + 0x184], r12b
mov eax, r12d
setne al
mov dword [rsp + 0x34], eax
mov rbx, qword [rcx + 8]
cmp rbx, 0xffffffffffffffff
jne 0x140088246
mov dword [rbp + 0x10], 0x2719
jmp 0x1400882a7
xor ecx, ecx
mov qword [rsp + 0x138], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x34]
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 + 0x18], rbx
test edi, edi
mov rdi, qword [rsp + 0x138]
mov dword [rbp + 0x10], eax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
jne 0x1400882b9
mov dword [rbp + 0x10], r12d
call fcn.1400e5a00
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
cmp dword [rbp + 0x10], r12d
je 0x140088304
mov rcx, qword [rsi + 0x150]
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400882d2
call fcn.14008a360
lea r9, [rbp + 0x10]
mov rcx, rsi
lea r8, str.asio_listen
call fcn.140055100
movaps xmm0, xmmword [rbp + 0x10]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp - 0x80], xmm0
call fcn.1400552c0
movups xmm0, xmmword [rbp - 0x70]
jmp 0x140088489
cmp qword [rsi + 0xb8], r12
je 0x140088376
mov rcx, qword [rsi + 0x158]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
test rcx, rcx
je 0x14008832d
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 0x158]
mov rax, qword [rsi + 0x150]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x40], rcx
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x80]
mov qword [rsp + 0x38], rax
call fcn.140089680
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
cmp dword [r14], r12d
je 0x140088376
mov r8, r14
lea rdx, [rbp]
mov rcx, rsi
call fcn.140089e40
movups xmm0, xmmword [rax]
jmp 0x140088489
mov rcx, qword [rsi + 0x150]
lea r9, [rbp + 0x10]
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
mov rcx, qword [rsi + 0x150]
cmp dword [rbp + 0x10], r12d
je 0x1400883ec
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400883ba
call fcn.14008a360
lea r9, [rbp + 0x10]
mov rcx, rsi
lea r8, str.asio_listen
call fcn.140055100
movaps xmm0, xmmword [rbp + 0x10]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x50]
movdqa xmmword [rbp - 0x60], xmm0
call fcn.1400552c0
movups xmm0, xmmword [rbp - 0x50]
jmp 0x140088489
mov edx, dword [rsi + 0x180]
lea r8, [rbp + 0x10]
mov rcx, qword [rcx + 8]
call fcn.1400442b0
cmp dword [rbp + 0x10], r12d
je 0x140088447
mov rcx, qword [rsi + 0x150]
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140088418
call fcn.14008a360
lea r9, [rbp + 0x10]
mov rcx, rsi
lea r8, str.asio_listen
call fcn.140055100
movaps xmm0, xmmword [rbp + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
movdqa xmmword [rbp - 0x40], xmm0
call fcn.1400552c0
movups xmm0, xmmword [rbp - 0x30]
jmp 0x140088489
lea rbx, [0x1401a5790]
mov dword [rsi + 0x1a8], 2
mov r8, rbx
mov dword [rsp + 0x48], 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 0x14008847f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov qword [rsp + 0x50], rbx
movups xmm0, xmmword [rsp + 0x48]
mov r12, qword [rsp + 0x130]
movups xmmword [r14], xmm0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x140
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret