Function at 0x14011f730
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov rcx, qword [rcx]
call fcn.14011dd60
test al, al
jne 0x14011fc31
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], sendto
mov byte [rbp - 0x60], r12b
lea edx, [r12 + 1]
lea ecx, [rdx + 1]
lea r8d, [r12 + 6]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14011f7f9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140121380
nop
mov r8, rax
lea rdx, str.socket_failed_
lea rcx, [rbp - 0x80]
call fcn.1400b74e0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140014490
lea rcx, [rbp - 0x80]
call fcn.140011d90
nop
lea rcx, [rbp - 0x40]
call fcn.140011d90
jmp 0x14011fbbc
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0x20
xor r9d, r9d
lea r8, [rbp + 0x40]
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [0x1401e91c0]
cmp eax, 1
jne 0x14011f850
lea rdx, str.AcceptEx_returned_immediately__which_is_not_supported.
lea rcx, [rbp - 0x60]
call fcn.140030440
jmp 0x14011fbb3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x14011f897
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140121380
nop
mov r8, rax
lea rdx, str.AcceptEx_failed_
lea rcx, [rbp - 0x40]
call fcn.1400b74e0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140014490
lea rcx, [rbp - 0x40]
call fcn.140011d90
nop
jmp 0x14011fbaa
mov rcx, qword [rdi]
call fcn.14011db20
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 0
lea rax, [rsp + 0x50]
mov qword [rdi + 0x10], rax
mov rcx, qword [rdi]
call fcn.14011db20
lea rbx, [rax + 0x70]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_ecd3045ae117995741eda7556b21d356___void___.0
mov qword [rbp], rax
mov qword [rbp + 8], rdi
lea rax, [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp - 8], r12
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call qword [method.std::_Func_impl_no_alloc_class__lambda_ecd3045ae117995741eda7556b21d356___void___.virtual_0]
mov r8, rax
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14011f912
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, r12
mov qword [rbp + 0x38], rcx
mov r8, qword [rbp - 8]
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x14011f964
mov rcx, r9
cmp r9, rbx
jne 0x14011f95c
mov rax, qword [r9]
lea rdx, [rbp]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, rax
mov qword [rbp + 0x38], rax
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x14011f956
mov rax, qword [r8]
cmp r8, rbx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x38]
mov r8, qword [rbp - 8]
jmp 0x14011f960
mov r8, qword [rbp - 8]
jmp 0x14011f964
mov qword [rbp + 0x38], rcx
mov qword [rbx + 0x38], r12
test r8, r8
je 0x14011f9a5
lea rax, [rbp - 0x40]
cmp r8, rax
jne 0x14011f9a1
mov rax, qword [r8]
mov rdx, rbx
mov rcx, r8
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rbx + 0x38], rax
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14011f99b
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x38]
jmp 0x14011f9a5
mov qword [rbx + 0x38], r8
test rcx, rcx
je 0x14011f9ba
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rdi]
call fcn.14011d810
mov rcx, qword [rdi]
call fcn.14011db20
lea rbx, [rax + 0x70]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14011f9e7
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], r12
mov qword [rdi + 0x10], r12
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp eax, 1
je 0x14011fa6e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
je 0x14011fa58
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140121380
nop
mov r8, rax
lea rdx, str.AcceptEx_failed_
lea rcx, [rbp - 0x40]
call fcn.1400b74e0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140014490
lea rcx, [rbp - 0x40]
call fcn.140011d90
nop
jmp 0x14011fbaa
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x14011fbee
jmp 0x14011fc58
mov dword [rsp + 0x20], 8
lea r9, [rdi + 8]
mov edx, 0xffff
mov r8d, 0x700b
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14011fad2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140121380
nop
mov r8, rax
lea rdx, str.setsockopt_failed_
lea rcx, [rbp - 0x40]
call fcn.1400b74e0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140014490
lea rcx, [rbp - 0x40]
call fcn.140011d90
nop
jmp 0x14011fbaa
mov rcx, qword [rdi]
call fcn.1400362c0
mov rdx, rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rbx, rax
mov rcx, qword [rdi]
call fcn.1400362c0
cmp rbx, rax
jne 0x14011fb77
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, r14
call fcn.14011e990
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14011fb49
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011fb44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011fb44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov rax, r14
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1401623e0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp - 0x80]
call fcn.140121770
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rbp - 0x40]
call fcn.1400b74e0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140014490
lea rcx, [rbp - 0x40]
call fcn.140011d90
nop
lea rcx, [rbp - 0x80]
call fcn.140011d90
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r8, [rbp - 0x60]
lea rdx, str.TcpListener::accept_
lea rcx, [rbp]
call fcn.14000be10
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140011900
lea rdx, [0x1401d25c0]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140121380
nop
mov r8, rax
lea rdx, str.TcpListener::accept__closesocket_failed_
lea rcx, [rbp]
call fcn.1400b74e0
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140011900
lea rdx, [0x1401d25c0]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x80]
call fcn.1400badf0
lea rdx, [0x1401d4088]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x80]
call fcn.1400badf0
lea rdx, [0x1401d4088]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3