Function at 0x14023acd0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movzx r15d, r9b
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 8], rcx
mov rcx, qword [rdx]
call fcn.140252be0
mov qword [rsi], rax
lea rdx, [rsi + 8]
xor r13d, r13d
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
mov ebx, 2
mov dword [rsi + 0x40], ebx
mov byte [rsi + 0x44], r13b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi + 0x48], xmm0
mov qword [rsi + 0x58], rax
mov dword [rsi + 0x60], eax
mov qword [rsi + 0x48], rbx
lea rax, [rsi + 0x68]
lea rcx, [0x1407cbe28]
mov qword [rax + 0x28], rcx
lea rcx, fcn.14008b110
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rdi
mov qword [rax + 0x20], rax
lea rcx, [0x1407cbce0]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsi]
add rcx, 0x28
call fcn.1402732a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov eax, reloc.WS2_32.dll_socket
cmp word [r14], bx
cmovne ebx, eax
mov dword [rbp - 0x20], ebx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
lea r8, [rsi + 8]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsi]
call fcn.140285e20
lea rax, str.C:_Boost_include_boost_1_82_boost_asio_basic_socket_acceptor.hpp
mov qword [rbp - 0x50], rax
lea rax, str.basic_socket_acceptor
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0x126
mov dword [rbp - 0x3c], reloc.WLDAP32.dll_Ordinal_26
test byte [rbp - 0x28], 1
je 0x14023adea
cmp qword [rbp - 0x28], 1
jne 0x14023b102
cmp dword [rbp - 0x38], r13d
setne al
test al, al
jne 0x14023b102
movabs r12, 0x4d54ee85da812030
lea rdi, [0x140a28de0]
mov eax, Ordinal_32
test r15b, r15b
je 0x14023af23
mov dword [rbp - 0x20], 1
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x14023ae6a
mov dword [rbp - 0x4c], r13d
mov rcx, qword [0x140a28de8]
add rcx, r12
cmp rcx, 1
jbe 0x14023ae42
mov rax, qword [0x140a28de0]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + Ordinal_50]
jmp 0x14023ae44
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x48], rdi
movups xmm2, xmmword [rbp - 0x50]
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp - 0x28], xmm0
jmp 0x14023ae9e
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x20]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14027fa70
movsd xmm0, qword [rbp - 0x28]
movups xmm2, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x20], xmm2
movaps xmm1, xmm0
movsd qword [rbp - 0x10], xmm0
mov rax, qword [rbp - 0x28]
cmp rax, 2
jb 0x14023aecc
and eax, 1
lea rcx, str.C:_Boost_include_boost_1_82_boost_asio_detail_win_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x10], rax
movsd xmm1, qword [rbp - 0x10]
jmp 0x14023aed0
mov rax, qword [rbp - 0x10]
movups xmmword [rbp - 0x38], xmm2
movsd qword [rbp - 0x28], xmm1
lea r15, str.C:_Boost_include_boost_1_82_boost_asio_basic_socket_acceptor.hpp
mov qword [rbp - 0x50], r15
lea rcx, str.basic_socket_acceptor
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], Ordinal_301
mov dword [rbp - 0x3c], Ordinal_32
test byte [rbp - 0x10], 1
je 0x14023af1c
cmp rax, 1
jne 0x14023b117
cmp dword [rbp - 0x20], 0
setne al
test al, al
jne 0x14023b117
mov eax, Ordinal_32
jmp 0x14023af2a
lea r15, str.C:_Boost_include_boost_1_82_boost_asio_basic_socket_acceptor.hpp
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x14023af84
mov dword [rbp - 0x4c], r13d
mov rcx, qword [0x140a28de8]
add rcx, r12
cmp rcx, 1
jbe 0x14023af5c
mov rax, qword [0x140a28de0]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + Ordinal_50]
jmp 0x14023af5e
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x48], rdi
movups xmm2, xmmword [rbp - 0x50]
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp - 0x28], xmm0
jmp 0x14023afb3
mov r8d, reloc.WS2_32.dll_recv
cmp word [r14], 2
cmovne r8d, eax
mov rdx, r14
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14027fa70
movsd xmm0, qword [rbp - 0x28]
movups xmm2, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x20], xmm2
movaps xmm1, xmm0
movsd qword [rbp - 0x10], xmm0
mov rax, qword [rbp - 0x28]
cmp rax, 2
jb 0x14023afe1
and eax, 1
lea rcx, str.C:_Boost_include_boost_1_82_boost_asio_detail_win_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x10], rax
movsd xmm1, qword [rbp - 0x10]
jmp 0x14023afe5
mov rax, qword [rbp - 0x10]
movups xmmword [rbp - 0x38], xmm2
movsd qword [rbp - 0x28], xmm1
mov qword [rbp - 0x50], r15
lea r14, str.basic_socket_acceptor
mov qword [rbp - 0x48], r14
mov dword [rbp - 0x40], 0x12e
mov dword [rbp - 0x3c], reloc.WLDAP32.dll_Ordinal_26
test byte [rbp - 0x10], 1
je 0x14023b02a
cmp rax, 1
jne 0x14023b12c
cmp dword [rbp - 0x20], 0
setne al
test al, al
jne 0x14023b12c
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x14023b088
mov dword [rbp - 0x4c], r13d
mov rcx, qword [0x140a28de8]
add rcx, r12
cmp rcx, 1
jbe 0x14023b05c
mov rax, qword [0x140a28de0]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + Ordinal_50]
jmp 0x14023b05e
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x48], rdi
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x38], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rbp - 0x28], xmm1
jmp 0x14023b0a1
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14027fa70
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r14
mov dword [rbp - 0x40], 0x131
mov dword [rbp - 0x3c], reloc.WLDAP32.dll_Ordinal_26
test byte [rbp - 0x28], 1
je 0x14023b0cf
cmp qword [rbp - 0x28], 1
jne 0x14023b0ed
cmp dword [rbp - 0x38], 0
setne al
test al, al
jne 0x14023b0ed
mov rax, rsi
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x50]
lea rdx, str.listen
lea rcx, [rbp - 0x38]
call fcn.1400e3640
int3
lea r8, [rbp - 0x50]
lea rdx, str.open
lea rcx, [rbp - 0x38]
call fcn.1400e3640
int3
lea r8, [rbp - 0x50]
lea rdx, str.set_option
lea rcx, [rbp - 0x38]
call fcn.1400e3640
int3
lea r8, [rbp - 0x50]
lea rdx, str.bind
lea rcx, [rbp - 0x38]
call fcn.1400e3640
int3