Function at 0x140042c70
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 [0x14007e040]
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.140048960
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, [0x14006a7d0]
mov qword [rax + 0x28], rcx
lea rcx, fcn.1400124c0
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rax
lea rcx, [0x14006a980]
mov qword [rax + 0x30], rcx
mov rcx, qword [rdi]
add rcx, 0x28
call fcn.14004c2a0
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.14004fa70
mov rcx, qword [rax + 0x10]
test cl, 1
je 0x140042d7c
cmp rcx, 1
jne 0x140042da9
cmp dword [rax], r15d
jne 0x140042da9
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 0x140042dd9
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 0x140042ddd
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 0x140042e29
cmp rax, 1
jne 0x140043128
movd eax, xmm1
test eax, eax
setne al
test al, al
jne 0x140043128
mov dword [rbp - 0x21], 1
mov rcx, qword [rdi + 8]
movabs rdx, 0x4d54ee85da812030
lea r14, [0x140082900]
cmp rcx, 0xffffffffffffffff
jne 0x140042e9b
mov dword [rbp - 0x3d], r15d
mov rcx, qword [0x140082908]
add rcx, rdx
cmp rcx, 1
jbe 0x140042e73
mov rax, qword [0x140082900]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140042e75
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 0x140042ecf
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.140014ca0
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 0x140042ef9
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 0x140042efd
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 0x140042f3c
cmp rax, 1
jne 0x14004313d
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x14004313d
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x140042fa0
mov dword [rbp - 0x3d], r15d
mov rcx, qword [0x140082908]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x140042f78
mov rax, qword [0x140082900]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140042f7a
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 0x140042fd8
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.140014ca0
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 0x140043002
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 0x140043006
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 0x140043044
cmp rax, 1
jne 0x140043152
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x140043152
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400430a2
mov dword [rbp - 0x3d], r15d
mov rcx, qword [0x140082908]
add rcx, rbx
cmp rcx, 1
jbe 0x140043076
mov rax, qword [0x140082900]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140043078
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 0x1400430bb
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140014ca0
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 0x1400430e9
cmp qword [rbp + 7], 1
jne 0x140043113
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x140043113
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14005f1d0
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.140027560
int3
lea r8, [rbp - 0x41]
lea rdx, str.open
lea rcx, [rbp - 9]
call fcn.140027560
int3
lea r8, [rbp - 0x41]
lea rdx, str.set_option
lea rcx, [rbp - 9]
call fcn.140027560
int3
lea r8, [rbp - 0x41]
lea rdx, str.bind
lea rcx, [rbp - 9]
call fcn.140027560
int3