Function at 0x140015720
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, 0x90
mov rax, qword [0x140114200]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r8
mov rsi, rcx
mov qword [rbp - 9], rcx
mov r9, rdx
call fcn.140016ff0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xor r15d, r15d
mov qword [rbp + 0xf], r15
mov r12d, 2
mov edi, r12d
mov eax, reloc.WS2_32.dll_socket
cmp word [r14], r12w
cmovne edi, eax
mov rcx, qword [rsi]
add rcx, 0x28
lea rax, [rbp - 1]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 1
mov r9d, edi
lea r8, [rsi + 8]
lea rdx, [rbp - 0x31]
call fcn.14000f940
mov rcx, rax
mov rax, qword [rax + 0x10]
test al, 1
je 0x1400157c6
cmp rax, 1
jne 0x1400157ee
cmp dword [rcx], r15d
jne 0x1400157ee
mov dword [rsi + 0x40], edi
mov byte [rsi + 0x44], r15b
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov qword [rbp - 0x31], r12
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rsi + 0x48], xmm0
unpckhpd xmm1, xmm1
movsd qword [rsi + 0x58], xmm1
mov dword [rsi + 0x60], r15d
movups xmm1, xmmword [rbp - 1]
movsd xmm0, qword [rbp + 0xf]
movsd qword [rbp - 0x21], xmm0
mov rax, qword [rbp + 0xf]
cmp rax, r12
jb 0x14001581d
and eax, 1
lea rcx, str.C:AresCheatsLoaderRuzyLoaderRuzyLoader_boost_1_86_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x21], rax
movsd xmm0, qword [rbp - 0x21]
jmp 0x140015821
mov rax, qword [rbp - 0x21]
movups xmmword [rbp - 1], xmm1
movsd qword [rbp + 0xf], xmm0
lea r12, str.C:AresCheatsLoaderRuzyLoaderRuzyLoader_boost_1_86_0_boost_asio_basic_socket_acceptor.hpp
mov qword [rbp - 0x31], r12
lea r13, str.__cdecl_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::basic_socket_acceptor_class_boost::asio::io_context__class_boost::asio::io_context__const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp___bool_int_
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x21], 0x123
mov dword [rbp - 0x1d], reloc.WLDAP32.dll_Ordinal_26
test al, 1
je 0x14001586d
cmp rax, 1
jne 0x140015b6d
movd eax, xmm1
test eax, eax
setne al
test al, al
jne 0x140015b6d
mov dword [rbp - 0x11], 1
mov rcx, qword [rsi + 8]
movabs rdx, 0x4d54ee85da812030
lea rdi, [0x140115b98]
cmp rcx, 0xffffffffffffffff
jne 0x1400158df
mov dword [rbp - 0x2d], r15d
mov rcx, qword [0x140115ba0]
add rcx, rdx
cmp rcx, 1
jbe 0x1400158b7
mov rax, qword [0x140115b98]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + Ordinal_50]
jmp 0x1400158b9
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x31], 0x2719
mov qword [rbp - 0x29], rdi
movups xmm2, xmmword [rbp - 0x31]
movsd xmm0, qword [rbp - 0x21]
movsd qword [rbp + 0xf], xmm0
jmp 0x140015913
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x11]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 1]
call fcn.14000e200
movsd xmm0, qword [rbp + 0xf]
movups xmm2, xmmword [rbp - 1]
movaps xmm1, xmm0
movsd qword [rbp - 0x21], xmm0
mov rax, qword [rbp + 0xf]
cmp rax, 2
jb 0x14001593d
and eax, 1
lea rcx, str.C:AresCheatsLoaderRuzyLoaderRuzyLoader_boost_1_86_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x21], rax
movsd xmm1, qword [rbp - 0x21]
jmp 0x140015941
mov rax, qword [rbp - 0x21]
movups xmmword [rbp - 1], xmm2
movsd qword [rbp + 0xf], xmm1
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x21], Ordinal_301
mov edx, Ordinal_32
mov dword [rbp - 0x1d], edx
test al, 1
je 0x140015980
cmp rax, 1
jne 0x140015b82
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x140015b82
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400159e4
mov dword [rbp - 0x2d], r15d
mov rcx, qword [0x140115ba0]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x1400159bc
mov rax, qword [0x140115b98]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + Ordinal_50]
jmp 0x1400159be
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x31], 0x2719
mov qword [rbp - 0x29], rdi
movups xmm2, xmmword [rbp - 0x31]
movsd xmm0, qword [rbp - 0x21]
movsd qword [rbp + 0xf], xmm0
jmp 0x140015a1d
mov r8d, reloc.WS2_32.dll_recv
cmp word [r14], 2
cmovne r8d, edx
mov rdx, r14
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
setne dl
lea rcx, [rbp - 1]
call fcn.14000e200
movsd xmm0, qword [rbp + 0xf]
movups xmm2, xmmword [rbp - 1]
movabs rbx, 0x4d54ee85da812030
movaps xmm1, xmm0
movsd qword [rbp - 0x21], xmm0
mov rax, qword [rbp + 0xf]
cmp rax, 2
jb 0x140015a47
and eax, 1
lea rcx, str.C:AresCheatsLoaderRuzyLoaderRuzyLoader_boost_1_86_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x21], rax
movsd xmm1, qword [rbp - 0x21]
jmp 0x140015a4b
mov rax, qword [rbp - 0x21]
movups xmmword [rbp - 1], xmm2
movsd qword [rbp + 0xf], xmm1
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x21], Ordinal_301
mov dword [rbp - 0x1d], reloc.WLDAP32.dll_Ordinal_26
test al, 1
je 0x140015a89
cmp rax, 1
jne 0x140015b97
movd eax, xmm2
test eax, eax
setne al
test al, al
jne 0x140015b97
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x140015ae7
mov dword [rbp - 0x2d], r15d
mov rcx, qword [0x140115ba0]
add rcx, rbx
cmp rcx, 1
jbe 0x140015abb
mov rax, qword [0x140115b98]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + Ordinal_50]
jmp 0x140015abd
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x31], 0x2719
mov qword [rbp - 0x29], rdi
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rbp - 1], xmm0
movsd xmm1, qword [rbp - 0x21]
movsd qword [rbp + 0xf], xmm1
jmp 0x140015b00
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
setne dl
lea rcx, [rbp - 1]
call fcn.14000e200
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x21], 0x12e
mov dword [rbp - 0x1d], reloc.WLDAP32.dll_Ordinal_26
test byte [rbp + 0xf], 1
je 0x140015b2e
cmp qword [rbp + 0xf], 1
jne 0x140015b58
cmp dword [rbp - 1], r15d
setne al
test al, al
jne 0x140015b58
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14001c070
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x31]
lea rdx, str.listen
lea rcx, [rbp - 1]
call fcn.14000c550
int3
lea r8, [rbp - 0x31]
lea rdx, str.open
lea rcx, [rbp - 1]
call fcn.14000c550
int3
lea r8, [rbp - 0x31]
lea rdx, str.set_option
lea rcx, [rbp - 1]
call fcn.14000c550
int3
lea r8, [rbp - 0x31]
lea rdx, str.bind
lea rcx, [rbp - 1]
call fcn.14000c550
int3