Function at 0x140073170
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov edi, r8d
mov r14d, edx
mov rsi, rcx
mov ecx, 0xa0
call fcn.1400a45f0
mov qword [rbp - 0x28], rax
call qword [sym.imp.TT_SubSystem.dll_class_boost::asio::io_context____ptr64___cdecl_GetIoContext_void_]
mov rbx, rax
test r14d, r14d
mov ecx, 0xfe3
cmovne ecx, r14d
xorps xmm6, xmm6
movups xmmword [rbp - 0x3c], xmm6
mov dword [rbp - 0x2c], 0
mov word [rbp - 0x44], 2
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x42], ax
mov dword [rbp - 0x40], 0
mov rcx, qword [rbx]
mov qword [rbp - 0x20], 0
lea rax, [0x14015422d]
mov qword [rbp - 0x18], rax
lea r8, [0x140073a20]
lea rdx, [rbp - 0x20]
mov r9, rbx
call fcn.140035010
mov r14, rax
mov r13, qword [rbp - 0x28]
mov qword [r13], rax
lea r15, [r13 + 8]
mov dword [r13 + 0x40], 2
mov byte [r13 + 0x44], 0
movups xmmword [r13 + 0x50], xmm6
mov dword [r13 + 0x60], 0
mov qword [r13 + 0x48], 2
lea rax, [r13 + 0x68]
lea rcx, [0x140122878]
mov qword [r13 + 0x90], rcx
lea rcx, [0x140122900]
mov qword [r13 + 0x80], rcx
mov qword [r13 + 0x70], rbx
mov qword [r13 + 0x88], rax
lea rax, [0x140122920]
mov qword [r13 + 0x98], rax
mov qword [r13 + 8], 0xffffffffffffffff
mov byte [r13 + 0x10], 0
mov rbx, r14
add rbx, 0x50
movups xmmword [r13 + 0x18], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [r14 + 0x78]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], 0
test rax, rax
je 0x1400732b6
mov qword [rax + 0x30], r15
mov qword [r14 + 0x78], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
cmp qword [r15], 0xffffffffffffffff
movabs r14, 0x595588bd12bf6fe8
je 0x14007334e
mov rax, qword [0x140150030]
shr rax, 1
cmp rax, r14
je 0x140073320
mov rax, qword [0x140150028]
mov rax, qword [rax + 0x30]
lea rcx, [0x1400056a0]
cmp rax, rcx
je 0x140073320
lea rcx, [0x140150028]
mov edx, 1
call rax
mov r12d, 2
test al, al
je 0x140073326
mov r12d, 3
mov qword [rbp], 1
lea rax, [0x140150028]
mov qword [rbp + 8], rax
mov eax, r12d
and eax, 1
test r12b, 1
je 0x1400734f7
jmp 0x14007351e
mov r12, qword [r13]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, 2
mov edx, 1
mov r8d, 6
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400733b5
mov rbx, rax
mov rax, qword [r12 + 0x30]
mov rdx, qword [rax + 0x28]
mov rcx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
je 0x140073418
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
jmp 0x140073487
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x14014efa8]
shr rcx, 1
cmp rcx, r14
je 0x1400733f5
mov rcx, qword [0x14014efa0]
mov r8, qword [rcx + 0x30]
lea rcx, [0x1400056a0]
cmp r8, rcx
je 0x1400733f5
lea rcx, [0x14014efa0]
mov edx, eax
mov ebx, eax
call r8
mov ecx, eax
mov eax, ebx
jmp 0x1400733fa
test eax, eax
setne cl
movzx r12d, cl
or r12, 2
mov dword [rbp], eax
mov dword [rbp + 4], 0
lea rax, [0x14014efa0]
jmp 0x140073335
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14014efa8]
shr rcx, 1
cmp rcx, r14
je 0x14007345a
mov rcx, qword [0x14014efa0]
mov r8, qword [rcx + 0x30]
lea rcx, [0x1400056a0]
cmp r8, rcx
je 0x14007345a
lea rcx, [0x14014efa0]
mov edx, eax
mov r12d, eax
call r8
mov ecx, eax
mov eax, r12d
jmp 0x14007345f
test eax, eax
setne cl
movzx ecx, cl
lea r12, [rcx + 2]
mov dword [rbp], eax
mov dword [rbp + 4], 0
lea rax, [0x14014efa0]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r12
test cl, cl
jne 0x1400738ea
mov qword [r15], rbx
mov byte [r13 + 0x10], 0x10
mov ecx, 0x18
call fcn.1400a45f0
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x14011c000]
mov qword [rax], rcx
mov qword [rax + 0x10], 0
mov qword [r13 + 0x18], 0
mov rbx, qword [r13 + 0x20]
mov qword [r13 + 0x20], rax
test rbx, rbx
je 0x1400734eb
lock dec dword [rbx + 8]
jne 0x1400734eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1400734eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
xor eax, eax
xor r12d, r12d
lea rcx, [r13 + 0x40]
mov rdx, r13
add rdx, 0x4a
mov dword [rcx], 2
mov byte [r13 + 0x44], 0
mov word [r13 + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rdx + 0xa], xmm0
movups xmmword [rdx], xmm0
lea rcx, str.win_iocp_socket_service.hpp
or rcx, rax
cmp r12, 2
cmovb rcx, r12
mov qword [rbp + 0x10], rcx
lea rbx, str.basic_socket_acceptor.hpp
mov qword [rbp - 0x20], rbx
lea r12, str.__cdecl_boost::asio::basic_socket_acceptor_boost::asio::ip::tcp_::basic_socket_acceptor_ExecutionContext___const_endpoint_type___bool__constraint_t_is_convertible_ExecutionContext___execution_context__::value____Protocol__boost::asio::ip::tcp__Executor__boost::asio::any_io_executor__ExecutionContext__boost::asio::io_context_
mov qword [rbp - 0x18], r12
movabs rax, 0x500000123
mov qword [rbp - 0x10], rax
lea rdx, str.open
mov rcx, rbp
lea r8, [rbp - 0x20]
call fcn.140035cd0
mov dword [rbp - 0x20], 1
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x1400735e2
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
je 0x14007365e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x14014efa8]
shr rcx, 1
cmp rcx, r14
je 0x14007362e
mov rcx, qword [0x14014efa0]
mov r8, qword [rcx + 0x30]
lea rcx, [0x1400056a0]
cmp r8, rcx
je 0x14007362e
lea rcx, [0x14014efa0]
mov edx, eax
mov r13d, eax
call r8
mov ecx, eax
mov eax, r13d
jmp 0x140073633
mov rax, qword [0x14014efa8]
shr rax, 1
cmp rax, r14
je 0x14007361f
mov rax, qword [0x14014efa0]
mov rax, qword [rax + 0x30]
lea rcx, [0x1400056a0]
cmp rax, rcx
je 0x14007361f
lea rcx, [0x14014efa0]
mov edx, 0x2719
call rax
mov ecx, 2
test al, al
je 0x140073624
mov ecx, 3
mov qword [rbp], 0x2719
jmp 0x140073644
test eax, eax
setne cl
movzx ecx, cl
or rcx, 2
mov dword [rbp], eax
mov dword [rbp + 4], 0
lea rax, [0x14014efa0]
mov qword [rbp + 8], rax
and ecx, 1
lea rax, str.win_iocp_socket_service.hpp
add rax, rcx
jmp 0x140073667
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r12
movabs rax, 0x700000128
mov qword [rbp - 0x10], rax
lea rdx, str.set_option
mov rcx, rbp
lea r8, [rbp - 0x20]
call fcn.140035cd0
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x140073705
cmp word [rbp - 0x44], 2
mov eax, 0x10
mov r8d, 0x1c
cmove r8d, eax
lea rdx, [rbp - 0x44]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x140073781
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x14014efa8]
shr rcx, 1
cmp rcx, r14
je 0x140073751
mov rcx, qword [0x14014efa0]
mov r8, qword [rcx + 0x30]
lea rcx, [0x1400056a0]
cmp r8, rcx
je 0x140073751
lea rcx, [0x14014efa0]
mov edx, eax
mov r13d, eax
call r8
mov ecx, eax
mov eax, r13d
jmp 0x140073756
mov rax, qword [0x14014efa8]
shr rax, 1
cmp rax, r14
je 0x140073742
mov rax, qword [0x14014efa0]
mov rax, qword [rax + 0x30]
lea rcx, [0x1400056a0]
cmp rax, rcx
je 0x140073742
lea rcx, [0x14014efa0]
mov edx, 0x2719
call rax
mov ecx, 2
test al, al
je 0x140073747
mov ecx, 3
mov qword [rbp], 0x2719
jmp 0x140073767
test eax, eax
setne cl
movzx ecx, cl
or rcx, 2
mov dword [rbp], eax
mov dword [rbp + 4], 0
lea rax, [0x14014efa0]
mov qword [rbp + 8], rax
and ecx, 1
lea rax, str.win_iocp_socket_service.hpp
add rax, rcx
jmp 0x14007378a
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r12
movabs rax, 0x50000012b
mov qword [rbp - 0x10], rax
lea rdx, str.bind
mov rcx, rbp
lea r8, [rbp - 0x20]
call fcn.140035cd0
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x140073815
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x140073888
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x14014efa8]
shr rcx, 1
cmp rcx, r14
je 0x140073861
mov rcx, qword [0x14014efa0]
mov r8, qword [rcx + 0x30]
lea rcx, [0x1400056a0]
cmp r8, rcx
je 0x140073861
lea rcx, [0x14014efa0]
mov edx, eax
mov r14d, eax
call r8
mov ecx, eax
mov eax, r14d
jmp 0x140073866
mov rax, qword [0x14014efa8]
shr rax, 1
cmp rax, r14
je 0x140073852
mov rax, qword [0x14014efa0]
mov rax, qword [rax + 0x30]
lea rcx, [0x1400056a0]
cmp rax, rcx
je 0x140073852
lea rcx, [0x14014efa0]
mov edx, 0x2719
call rax
mov ecx, 2
test al, al
je 0x140073857
mov ecx, 3
mov qword [rbp], 0x2719
jmp 0x140073877
test eax, eax
setne cl
movzx ecx, cl
or rcx, 2
mov dword [rbp], eax
mov dword [rbp + 4], 0
lea rax, [0x14014efa0]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rcx
jmp 0x140073897
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r12
movabs rax, 0x50000012e
mov qword [rbp - 0x10], rax
lea rdx, str.listen
mov rcx, rbp
lea r8, [rbp - 0x20]
call fcn.140035cd0
mov rax, qword [rbp - 0x28]
mov qword [rsi], rax
mov dword [rsi + 8], edi
mov rcx, rsi
call fcn.140073e80
movaps xmm6, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
mov byte [rbp + 0x27], 0
lea rdx, [rbp + 0x27]
lea r9, [rbp - 0x20]
mov rcx, rbx
mov r8b, 1
call fcn.140073af0
jmp 0x140073339