Function at 0x140042030
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x14007d040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
mov rcx, qword [rdx]
call fcn.140047d20
mov qword [rdi], rax
lea rdx, [rdi + 8]
xor r15d, r15d
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], r15
mov r12d, 2
mov dword [rdi + 0x40], r12d
mov byte [rdi + 0x44], r15b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x60], eax
mov qword [rdi + 0x48], r12
lea rax, [rdi + 0x68]
lea rcx, [0x1400697e0]
mov qword [rax + 0x28], rcx
lea rcx, fcn.140012590
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rax
lea rcx, [0x140069990]
mov qword [rax + 0x30], rcx
mov rcx, qword [rdi]
add rcx, 0x28
call fcn.14004b660
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r15
mov r14d, r12d
mov eax, 0x17
cmp word [rsi], r12w
cmovne r14d, eax
mov rcx, qword [rdi]
add rcx, 0x28
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 1
mov r9d, r14d
lea r8, [rdi + 8]
lea rdx, [rbp - 0x41]
call fcn.14004ee10
mov rcx, qword [rax + 0x10]
test cl, 1
je 0x14004213c
cmp rcx, 1
jne 0x140042169
cmp dword [rax], r15d
jne 0x140042169
mov dword [rdi + 0x40], r14d
mov byte [rdi + 0x44], 0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov qword [rbp - 0x41], 2
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rdi + 0x48], xmm0
unpckhpd xmm1, xmm1
movsd qword [rdi + 0x58], xmm1
mov dword [rdi + 0x60], r15d
movups xmm1, xmmword [rbp - 9]
movsd xmm0, qword [rbp + 7]
movsd qword [rbp - 0x31], xmm0
mov rax, qword [rbp + 7]
cmp rax, 2
jb 0x140042199
and eax, 1
lea rcx, str.W:3rdParty_boost_1_83_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x31], rax
movsd xmm0, qword [rbp - 0x31]
jmp 0x14004219d
mov rax, qword [rbp - 0x31]
movups xmmword [rbp - 9], xmm1
movsd qword [rbp + 7], xmm0
lea r12, str.W:3rdParty_boost_1_83_0_boost_asio_basic_socket_acceptor.hpp
mov qword [rbp - 0x41], r12
lea r13, str.basic_socket_acceptor
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x31], 0x126
mov dword [rbp - 0x2d], 0x1a
test al, 1
je 0x1400421e9
cmp rax, 1
jne 0x1400424e8
movd eax, xmm1
test eax, eax
setne al
test al, al
jne 0x1400424e8
mov dword [rbp - 0x21], 1
mov rcx, qword [rdi + 8]
movabs rdx, 0x4d54ee85da812030
lea r14, [0x140081920]
cmp rcx, 0xffffffffffffffff
jne 0x14004225b
mov dword [rbp - 0x3d], r15d
mov rcx, qword [0x140081928]
add rcx, rdx
cmp rcx, 1
jbe 0x140042233
mov rax, qword [0x140081920]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140042235
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x41], 0x2719
mov qword [rbp - 0x39], r14
movups xmm2, xmmword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x31]
movsd qword [rbp + 7], xmm0
jmp 0x14004228f
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x21]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140014e40
movsd xmm0, qword [rbp + 7]
movups xmm2, xmmword [rbp - 9]
movaps xmm1, xmm0
movsd qword [rbp - 0x31], xmm0
mov rax, qword [rbp + 7]
cmp rax, 2
jb 0x1400422b9
and eax, 1
lea rcx, str.W:3rdParty_boost_1_83_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
jmp 0x1400422bd
mov rax, qword [rbp - 0x31]
movups xmmword [rbp - 9], xmm2
movsd qword [rbp + 7], xmm1
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x31], 0x12b
mov edx, 0x1c
mov dword [rbp - 0x2d], edx
test al, 1
je 0x1400422fc
cmp rax, 1
jne 0x1400424fd
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x1400424fd
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x140042360
mov dword [rbp - 0x3d], r15d
mov rcx, qword [0x140081928]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x140042338
mov rax, qword [0x140081920]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14004233a
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x41], 0x2719
mov qword [rbp - 0x39], r14
movups xmm2, xmmword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x31]
movsd qword [rbp + 7], xmm0
jmp 0x140042398
mov r8d, setsockopt
cmp word [rsi], 2
cmovne r8d, edx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140014e40
movsd xmm0, qword [rbp + 7]
movups xmm2, xmmword [rbp - 9]
movabs rbx, 0x4d54ee85da812030
movaps xmm1, xmm0
movsd qword [rbp - 0x31], xmm0
mov rax, qword [rbp + 7]
cmp rax, 2
jb 0x1400423c2
and eax, 1
lea rcx, str.W:3rdParty_boost_1_83_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
jmp 0x1400423c6
mov rax, qword [rbp - 0x31]
movups xmmword [rbp - 9], xmm2
movsd qword [rbp + 7], xmm1
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x31], 0x12e
mov dword [rbp - 0x2d], 0x1a
test al, 1
je 0x140042404
cmp rax, 1
jne 0x140042512
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x140042512
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x140042462
mov dword [rbp - 0x3d], r15d
mov rcx, qword [0x140081928]
add rcx, rbx
cmp rcx, 1
jbe 0x140042436
mov rax, qword [0x140081920]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140042438
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x41], 0x2719
mov qword [rbp - 0x39], r14
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x31]
movsd qword [rbp + 7], xmm1
jmp 0x14004247b
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140014e40
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x31], 0x131
mov dword [rbp - 0x2d], 0x1a
test byte [rbp + 7], 1
je 0x1400424a9
cmp qword [rbp + 7], 1
jne 0x1400424d3
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x1400424d3
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14005e550
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x41]
lea rdx, str.listen
lea rcx, [rbp - 9]
call fcn.140027530
int3
lea r8, [rbp - 0x41]
lea rdx, str.open
lea rcx, [rbp - 9]
call fcn.140027530
int3
lea r8, [rbp - 0x41]
lea rdx, str.set_option
lea rcx, [rbp - 9]
call fcn.140027530
int3
lea r8, [rbp - 0x41]
lea rdx, str.bind
lea rcx, [rbp - 9]
call fcn.140027530
int3