Function at 0x7ff6baffd4b0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x98
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov eax, r9d
mov dword [rbp - 0x31], eax
mov r12, r8
mov rsi, rdx
mov qword [rbp - 0x59], rcx
mov r13d, dword [rbp + 0x6f]
mov r8d, dword [rbp + 0x77]
mov rbx, qword [rbp + 0x7f]
xor r15d, r15d
cmp qword [r12], 0xffffffffffffffff
je 0x7ff6baffd56b
mov dword [rbp - 0x4d], r15d
movabs rdx, 0x4d54ee85da812030
mov rcx, qword [0x7ff6bb13e350]
add rcx, rdx
lea rdi, [0x7ff6bb13e348]
cmp rcx, 1
jbe 0x7ff6baffd535
mov rax, qword [0x7ff6bb13e348]
lea edx, [r15 + 1]
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x7ff6baffd537
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x41], rax
mov dword [rbp - 0x51], 1
mov qword [rbp - 0x49], rdi
movups xmm2, xmmword [rbp - 0x51]
movups xmmword [rbx], xmm2
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbx + 0x10], xmm1
movups xmmword [rsi], xmm2
movsd qword [rsi + 0x10], xmm1
jmp 0x7ff6baffd7a2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov edx, r13d
mov ecx, eax
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
sete dl
mov rcx, rbx
call fcn.7ff6baffbf20
mov r14, 0xffffffffffffffff
cmp rdi, r14
jne 0x7ff6baffd5a9
mov rdi, r14
jmp 0x7ff6baffd5d2
cmp dword [rbp - 0x31], 0x17
jne 0x7ff6baffd5d2
mov dword [rbp - 0x31], r15d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x31]
mov edx, 0x29
lea r8d, [rdx - 0xe]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_setsockopt]
nop
cmp rdi, 0xffffffffffffffff
jne 0x7ff6baffd5e8
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbx + 0x10]
jmp 0x7ff6baffd79d
mov rdx, qword [rbp - 0x59]
mov rdx, qword [rdx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x7ff6baffd67c
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbp - 0x59], eax
mov dword [rbp - 0x4d], r15d
movabs rdx, 0x4d54ee85da812030
add rdx, qword [0x7ff6bb0bb088]
lea r9, [0x7ff6bb0bb080]
cmp rdx, 1
jbe 0x7ff6baffd64f
mov rcx, qword [0x7ff6bb0bb080]
mov r8, qword [rcx + 0x30]
mov edx, eax
mov rcx, r9
call r8
lea r9, [0x7ff6bb0bb080]
jmp 0x7ff6baffd654
test eax, eax
setne al
movzx eax, al
add rax, 2
mov qword [rbp - 0x41], rax
mov eax, dword [rbp - 0x59]
mov dword [rbp - 0x51], eax
mov qword [rbp - 0x49], r9
movups xmm0, xmmword [rbp - 0x51]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbx + 0x10], xmm1
jmp 0x7ff6baffd694
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x41]
movsd qword [rbx + 0x10], xmm0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rbp - 0x19], xmm1
test byte [rbp - 0x19], 1
je 0x7ff6baffd6ee
cmp qword [rbp - 0x19], 1
jne 0x7ff6baffd6bd
cmp dword [rbp - 0x29], 0
setne al
test al, al
je 0x7ff6baffd6ee
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rsi + 0x10], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r15
mov byte [rbp - 0x61], 0
lea r9, [rbp - 0x29]
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.7ff6baffbfe0
jmp 0x7ff6baffd7a2
mov qword [rbp - 0x59], r14
mov qword [r12], rdi
sub r13d, 1
je 0x7ff6baffd712
cmp r13d, 1
je 0x7ff6baffd70a
mov byte [r12 + 8], 0
jmp 0x7ff6baffd718
mov byte [r12 + 8], 0x20
jmp 0x7ff6baffd718
mov byte [r12 + 8], 0x10
mov ecx, 0x18
call fcn.7ff6bb030a60
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, fcn.7ff6bafc1470
mov qword [rax], rcx
mov qword [rax + 0x10], r15
mov qword [r12 + 0x10], r15
mov rdi, qword [r12 + 0x18]
mov qword [r12 + 0x18], rax
test rdi, rdi
je 0x7ff6baffd786
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x7ff6baffd786
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x7ff6baffd786
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
xorps xmm2, xmm2
mov qword [rbp - 0x19], r15
movups xmmword [rbx], xmm2
movsd xmm1, qword [rbp - 0x19]
movsd qword [rbx + 0x10], xmm1
movups xmmword [rsi], xmm2
movsd qword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret