Function at 0x1400227e0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
lea rdx, [rcx + 0x28]
cmp qword [rdx + 0x18], 0xf
jbe 0x140022822
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xor r14d, r14d
mov qword [rbp - 1], r14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 7]
mov r15d, 2
mov ecx, r15d
call fcn.140021e30
mov ebx, dword [rbp + 7]
test eax, eax
cmovle ebx, r14d
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_ip_impl_address_v4.ipp
mov qword [rbp - 0x29], rax
lea rax, str.make_address_v4
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x19], 0xa6
mov dword [rbp - 0x15], 0x18
mov rax, qword [rbp - 1]
test al, 1
je 0x14002289c
cmp rax, 1
jne 0x140022c71
cmp dword [rbp - 0x11], r14d
setne al
test al, al
jne 0x140022c71
movzx ecx, word [rdi + 0x48]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x27], r14d
mov esi, reloc.WS2_32.dll_socket
mov word [rbp + 0xf], r15w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x11], ax
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
cmp word [rbp + 0xf], 2
cmove esi, r15d
mov dword [rbp + 7], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r14
lea r8, [rdi + 0x58]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 7]
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 0x50]
call fcn.1400225c0
lea r15, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_basic_socket_acceptor.hpp
mov qword [rbp - 0x29], r15
lea rdx, str.open
mov qword [rbp - 0x21], rdx
mov dword [rbp - 0x19], 0x1e2
mov dword [rbp - 0x15], 0x1a
mov rax, qword [rbp - 1]
test al, 1
je 0x14002294d
cmp rax, 1
jne 0x140022c7f
cmp dword [rbp - 0x11], 0
setne al
test al, al
jne 0x140022c7f
mov dword [rbp + 7], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r14
mov rcx, qword [rdi + 0x58]
movabs rsi, 0x4d54ee85da812030
lea rbx, section..data
cmp rcx, 0xffffffffffffffff
jne 0x1400229ca
mov dword [rbp - 0x25], r14d
mov rcx, qword [0x1401ef008]
add rcx, rsi
cmp rcx, 1
jbe 0x1400229a2
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x1400229a4
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x29], 0x2719
mov qword [rbp - 0x21], rbx
movups xmm2, xmmword [rbp - 0x29]
movsd xmm0, qword [rbp - 0x19]
movsd qword [rbp - 1], xmm0
jmp 0x1400229fe
mov dword [rsp + 0x20], 4
lea r9, [rbp + 7]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 0x11]
call fcn.1400124a0
movsd xmm0, qword [rbp - 1]
movups xmm2, xmmword [rbp - 0x11]
movaps xmm1, xmm0
movsd qword [rbp - 0x19], xmm0
mov rax, qword [rbp - 1]
cmp rax, 2
jb 0x140022a28
and eax, 1
lea rcx, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_win_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x19], rax
movsd xmm1, qword [rbp - 0x19]
jmp 0x140022a2c
mov rax, qword [rbp - 0x19]
movups xmmword [rbp - 0x11], xmm2
movsd qword [rbp - 1], xmm1
mov qword [rbp - 0x29], r15
lea rdx, str.set_option
mov qword [rbp - 0x21], rdx
mov dword [rbp - 0x19], 0x332
mov dword [rbp - 0x15], 0x1a
test al, 1
je 0x140022a71
cmp rax, 1
jne 0x140022c8d
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x140022c8d
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r14
mov eax, select
mov r8d, 0x1c
cmp word [rbp + 0xf], 2
cmove r8d, eax
mov rcx, qword [rdi + 0x58]
cmp rcx, 0xffffffffffffffff
jne 0x140022aea
mov dword [rbp - 0x25], r14d
mov rcx, qword [0x1401ef008]
add rcx, rsi
cmp rcx, 1
jbe 0x140022ac2
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x140022ac4
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x29], 0x2719
mov qword [rbp - 0x21], rbx
movups xmm2, xmmword [rbp - 0x29]
movsd xmm0, qword [rbp - 0x19]
movsd qword [rbp - 1], xmm0
jmp 0x140022b0b
lea rdx, [rbp + 0xf]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
setne dl
lea rcx, [rbp - 0x11]
call fcn.1400124a0
movsd xmm0, qword [rbp - 1]
movups xmm2, xmmword [rbp - 0x11]
movaps xmm1, xmm0
movsd qword [rbp - 0x19], xmm0
mov rax, qword [rbp - 1]
cmp rax, 2
jb 0x140022b35
and eax, 1
lea rcx, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_win_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x19], rax
movsd xmm1, qword [rbp - 0x19]
jmp 0x140022b39
mov rax, qword [rbp - 0x19]
movups xmmword [rbp - 0x11], xmm2
movsd qword [rbp - 1], xmm1
mov qword [rbp - 0x29], r15
lea rdx, [0x14019e51c]
mov qword [rbp - 0x21], rdx
mov dword [rbp - 0x19], 0x241
mov dword [rbp - 0x15], 0x1a
test al, 1
je 0x140022b7e
cmp rax, 1
jne 0x140022c9b
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x140022c9b
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r14
mov rcx, qword [rdi + 0x58]
cmp rcx, 0xffffffffffffffff
jne 0x140022be7
mov dword [rbp - 0x25], r14d
mov rcx, qword [0x1401ef008]
add rcx, rsi
cmp rcx, 1
jbe 0x140022bbb
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x140022bbd
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x29], 0x2719
mov qword [rbp - 0x21], rbx
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 0x11], xmm0
movsd xmm1, qword [rbp - 0x19]
movsd qword [rbp - 1], xmm1
jmp 0x140022c00
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
setne dl
lea rcx, [rbp - 0x11]
call fcn.1400124a0
mov qword [rbp - 0x29], r15
lea rdx, [0x14019e514]
mov qword [rbp - 0x21], rdx
mov dword [rbp - 0x19], 0x270
mov dword [rbp - 0x15], 0x1a
test byte [rbp - 1], 1
je 0x140022c35
cmp qword [rbp - 1], 1
jne 0x140022c63
cmp dword [rbp - 0x11], 0
setne al
test al, al
jne 0x140022c63
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14016ab50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.1400122a0
int3
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.14001a590
int3
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.1400122a0
int3
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.1400122a0
int3
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.1400122a0
int3