Function at 0x14027fc50
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov r14d, 0x17
mov r12, r8
lea rbx, [rsp + 0x38]
lea rbp, [rsp + 0x50]
mov rsi, rcx
call fcn.14028cf40
xor r8d, r8d
xor ecx, ecx
mov eax, 2
cmp word [r12], 2
mov r15, qword [rsi]
mov dword [rsp + 0x38], ecx
cmove r14d, eax
cmp qword [rsi + 8], 0xffffffffffffffff
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r8
je 0x14027fccd
mov edx, 1
mov rcx, rbx
call fcn.1402c5ff0
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
jmp 0x14027fd62
mov r9, rbx
mov r8d, 6
mov edx, 1
mov ecx, r14d
call fcn.140287510
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov rdi, rax
lea r13, [rsp + 0x30]
je 0x14027fd46
mov rax, qword [r15 + 0x30]
mov r9, rbx
mov r8, rdi
mov rcx, rbp
mov rdx, qword [rax + 0x28]
call fcn.1402a1380
mov rcx, rbp
call fcn.1402ee430
test al, al
jne 0x14027fd46
mov qword [rsi + 8], rdi
lea rcx, [rsi + 0x18]
xor edx, edx
mov byte [rsi + 0x10], 0x10
mov qword [rsp + 0x30], 0xffffffffffffffff
call fcn.1403566e0
xor edx, edx
xor eax, eax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rdx
movups xmm1, xmmword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov rcx, r13
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm1
call fcn.14028bec0
mov rcx, rbp
call fcn.1402ee430
test al, al
jne 0x14027fdad
lea rdi, [rsp + 0x52]
mov ecx, 0x1a
mov dword [rsi + 0x40], r14d
rep stosb byte [rdi], al
mov word [rsp + 0x50], 2
mov byte [rsi + 0x44], 0
movaps xmm2, xmmword [rsp + 0x50]
movups xmm3, xmmword [rsp + 0x5c]
movups xmmword [rsi + 0x48], xmm2
movups xmmword [rsi + 0x54], xmm3
jmp 0x14027fdad
lea r8, [0x14050b5c0]
mov rdx, rbx
mov rcx, rbx
call fcn.1402c4e30
mov r8, rbp
lea r13, str._home_dev_i2pd_boost_1_81_0_boost_asio_basic_socket_acceptor.hpp
lea rdi, str.basic_socket_acceptor_boost::asio::io_context_
lea rdx, str.open
mov rcx, rbx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0x126
call fcn.140287cc0
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x50], 1
cmp rcx, 0xffffffffffffffff
jne 0x14027fe13
mov edx, 0x2719
mov rcx, rbx
call fcn.1402c63b0
jmp 0x14027fe3e
mov dword [rsp + 0x20], 4
mov r9, rbp
mov r8d, 4
mov edx, 0xffff
call qword [sym.imp.WSOCK32.dll_setsockopt]
xor edx, edx
test eax, eax
mov rcx, rbx
setne dl
call fcn.140285ad0
lea r8, [0x14050b560]
mov rdx, rbx
mov rcx, rbx
call fcn.1402c4e30
mov r8, rbp
mov rcx, rbx
mov qword [rsp + 0x50], r13
lea rdx, str.set_option
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0x12b
call fcn.140287cc0
mov rcx, qword [rsi + 8]
cmp word [r12], 2
mov r8d, 0x1c
mov eax, 0x10
cmove r8, rax
cmp rcx, 0xffffffffffffffff
jne 0x14027fea3
mov edx, 0x2719
mov rcx, rbx
call fcn.1402c63b0
jmp 0x14027febb
mov rdx, r12
call qword [sym.imp.WSOCK32.dll_bind]
xor edx, edx
test eax, eax
mov rcx, rbx
setne dl
call fcn.140285ad0
lea r8, [0x14050b5a0]
mov rdx, rbx
mov rcx, rbx
call fcn.1402c4e30
mov r8, rbp
mov rcx, rbx
mov qword [rsp + 0x50], r13
lea rdx, [0x140447387]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0x12e
call fcn.140287cc0
mov rcx, qword [rsi + 8]
mov r8, rbx
mov edx, 0x7fffffff
call fcn.1402874d0
mov r8, rbp
lea rdx, [0x14044738c]
mov rcx, rbx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0x131
call fcn.140287cc0
nop
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret