Function at 0x180058900
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1800fd750]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13d, r9d
mov r15, r8
mov rdi, rdx
mov qword [rbp - 0x30], rcx
mov ebx, dword [rbp + 0x68]
mov r14d, dword [rbp + 0x70]
mov rsi, qword [rbp + 0x78]
cmp qword [r8], 0xffffffffffffffff
je 0x18005899f
mov dword [rbp - 0x28], 1
movabs rcx, 0x8fafd21e25c5e09b
lea rbx, [0x1802b15d8]
mov rax, qword [0x1802b15e0]
cmp rax, rcx
je 0x180058987
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x180058987
mov rax, qword [0x1802b15d8]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x180058989
mov al, 1
mov byte [rbp - 0x24], al
mov qword [rbp - 0x20], rbx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
movups xmmword [rdi], xmm0
jmp 0x180058b7d
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
mov edx, ebx
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r12, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x28], eax
test eax, eax
setne byte [rbp - 0x24]
lea rax, [0x1800e6c50]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
mov r14, 0xffffffffffffffff
cmp r12, r14
jne 0x180058a00
mov r12, r14
xor r13d, r13d
jmp 0x180058a49
cmp r13d, 0x17
jne 0x180058a33
xor r13d, r13d
mov dword [rbp - 0x18], r13d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x18]
lea edx, [r13 + 0x29]
lea r8d, [r13 + 0x1b]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rax, [0x1800e6c50]
jmp 0x180058a36
xor r13d, r13d
mov dword [rbp - 0x28], r13d
mov byte [rbp - 0x24], 0
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
cmp r12, 0xffffffffffffffff
jne 0x180058a57
movups xmm0, xmmword [rsi]
jmp 0x180058b7a
mov rdx, qword [rbp - 0x30]
mov rdx, qword [rdx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x180058a88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x28], eax
test eax, eax
setne byte [rbp - 0x24]
jmp 0x180058a90
mov dword [rbp - 0x28], r13d
mov byte [rbp - 0x24], 0
lea rcx, [0x1800e6c50]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
je 0x180058ad1
movups xmmword [rdi], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x20], rcx
mov byte [rbp - 0x38], 0
lea r9, [rbp - 0x28]
mov r8b, 1
lea rdx, [rbp - 0x38]
mov rcx, r12
call fcn.180057cf0
jmp 0x180058b7d
mov qword [rbp - 0x30], r14
mov qword [r15], r12
sub ebx, 1
je 0x180058af0
cmp ebx, 1
je 0x180058ae9
mov byte [r15 + 8], 0
jmp 0x180058af5
mov byte [r15 + 8], 0x20
jmp 0x180058af5
mov byte [r15 + 8], reloc.WS2_32.dll_recv
mov ecx, 0x18
call fcn.1800c59fc
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_void____ptr64__struct_boost::asio::detail::socket_ops::noop_deleter_.0
mov qword [rax], rcx
mov qword [rax + 0x10], r13
mov qword [r15 + 0x10], r13
mov rbx, qword [r15 + 0x18]
mov qword [r15 + 0x18], rax
test rbx, rbx
je 0x180058b60
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180058b60
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x180058b60
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov dword [rbp - 0x28], r13d
mov byte [rbp - 0x24], 0
lea rax, [0x1800e6c50]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
movups xmmword [rdi], xmm0
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c52c0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret