Function at 0x1400b4f00
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, r8
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
cmp dword [rcx + 0x1a8], 1
je 0x1400b4fd3
lea r8, str.asio::listen_called_from_the_wrong_state
lea edx, [r12 + 2]
mov rcx, qword [rcx + 0x188]
call fcn.140082560
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rbx, [0x14019edb0]
mov eax, dword [rcx + rax]
cmp dword [0x14019edf8], eax
jle 0x1400b4fc1
lea rcx, [0x14019edf8]
call fcn.140105968
cmp dword [0x14019edf8], 0xffffffff
jne 0x1400b4fc1
mov qword [0x14019edb8], rbx
lea rax, vtable.websocketpp::error::category.0
mov qword [0x14019edb0], rax
lea rcx, [0x14014b680]
call fcn.140105ce8
lea rcx, [0x14019edf8]
call fcn.1401058fc
mov dword [rsp + 0x30], 9
mov qword [rsp + 0x38], rbx
jmp 0x1400b542d
lea r8, str.asio::listen
mov edx, 0x400
mov rcx, qword [rcx + 0x198]
call fcn.14007db70
mov qword [rbp - 0x50], r12
call fcn.140107820
mov qword [rbp - 0x48], rax
mov eax, 2
mov ecx, 0x17
cmp word [r15], ax
cmovne eax, ecx
mov dword [rsp + 0x44], eax
mov rcx, qword [rsi + 0x150]
lea r8, [rcx + 8]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx]
call fcn.1400909c0
mov rcx, qword [rsi + 0x150]
cmp dword [rbp - 0x50], r12d
je 0x1400b5080
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400b504c
call fcn.1400ba310
lea r9, [rbp - 0x50]
lea r8, str.asio_listen
mov rcx, rsi
call fcn.1400b3170
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400b32d0
movups xmm0, xmmword [rsp + 0x50]
jmp 0x1400b5432
mov eax, r12d
cmp byte [rsi + 0x184], r12b
setne al
mov dword [rsp + 0x40], eax
mov rbx, qword [rcx + 8]
cmp rbx, 0xffffffffffffffff
jne 0x1400b50bc
call fcn.140107820
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x1400b52f5
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.140107820
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
test edi, edi
jne 0x1400b52ed
mov dword [rsp + 0x30], r12d
call fcn.140107820
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
cmp qword [rsi + 0xb8], r12
je 0x1400b533c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rax, qword [rsi + 0x158]
test rax, rax
je 0x1400b514f
lock inc dword [rax + 8]
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x158]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400b5457
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x68]
call qword [rax + select]
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400b51c6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b51c6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b51c6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [r14], xmm0
cmp dword [r14], 0
je 0x1400b533c
mov rcx, qword [rsi + 0x150]
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400b51eb
call fcn.1400ba310
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call fcn.140109a40
lea rcx, [rbp - 0x40]
call fcn.14007c420
nop
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov r8d, dword [r14]
lea rdx, [rsp + 0x70]
call qword [rax + select]
nop
lea rdx, str.asio_listen
lea rcx, [rbp - 0x30]
call fcn.140064b60
mov rcx, rax
lea rdx, str._error:
call fcn.140064b60
mov rbx, rax
mov rcx, qword [r14 + 8]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
mov rdx, rax
mov rcx, rbx
call fcn.140064b60
mov rcx, rax
mov dl, 0x3a
call fcn.1400835c0
mov rcx, rax
mov edx, dword [r14]
call fcn.14007c6e0
lea rdx, [0x140162a04]
mov rcx, rax
call fcn.140064b60
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rax
call fcn.1400653f0
mov rcx, rax
lea rdx, [0x140163f68]
call fcn.140064b60
nop
lea rcx, [rsp + 0x70]
call fcn.14000d2f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.14007f980
nop
lea r8, [rsp + 0x50]
mov edx, 4
mov rcx, qword [rsi + 0x188]
call fcn.14007ffb0
nop
lea rcx, [rsp + 0x50]
call fcn.14000d2f0
nop
lea rcx, [rbp - 0x40]
call fcn.14006d920
movups xmm0, xmmword [r14]
jmp 0x1400b5432
test eax, eax
je 0x1400b5129
mov rcx, qword [rsi + 0x150]
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400b5308
call fcn.1400ba310
lea r9, [rbp - 0x50]
lea r8, str.asio_listen
mov rcx, rsi
call fcn.1400b3170
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400b32d0
movups xmm0, xmmword [rbp - 0x50]
jmp 0x1400b5432
mov eax, 0x1c
mov r8d, setsockopt
cmp word [r15], 2
cmovne r8d, eax
mov rcx, qword [rsi + 0x150]
lea r9, [rbp - 0x50]
mov rdx, r15
mov rcx, qword [rcx + 8]
call fcn.140072780
mov rcx, qword [rsi + 0x150]
cmp dword [rbp - 0x50], 0
je 0x1400b53b3
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400b5380
call fcn.1400ba310
lea r9, [rbp - 0x50]
lea r8, str.asio_listen
mov rcx, rsi
call fcn.1400b3170
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400b32d0
movups xmm0, xmmword [rsp + 0x70]
jmp 0x1400b5432
lea r8, [rbp - 0x50]
mov edx, dword [rsi + 0x180]
mov rcx, qword [rcx + 8]
call fcn.140072b60
cmp dword [rbp - 0x50], 0
je 0x1400b5412
mov rcx, qword [rsi + 0x150]
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400b53df
call fcn.1400ba310
lea r9, [rbp - 0x50]
lea r8, str.asio_listen
mov rcx, rsi
call fcn.1400b3170
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400b32d0
movups xmm0, xmmword [rsp + 0x50]
jmp 0x1400b5432
mov dword [rsi + 0x1a8], 2
mov dword [rsp + 0x30], r12d
lea rax, [0x140190f18]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140105820
add rsp, 0x1d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400e298c
nop
int3