Function at 0x14006c720
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, r9
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
mov r12, qword [rsp + 0xd0]
mov r8, qword [r12 + 0x10]
mov r9d, dword [r12]
mov eax, r9d
cmp r8, 1
jne 0x14006c78b
mov rcx, qword [r12 + 8]
movabs rdx, 0x4800144005b3
mov rax, rcx
mul rdx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, r9d
cmp eax, 0x40
jne 0x14006c7ec
mov rax, qword [0x140134e38]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14006c7c9
mov rax, qword [0x140134e30]
lea rcx, [0x140134e30]
mov edx, 0x2745
call qword [rax + 0x30]
mov r8d, 2
test al, al
je 0x14006c7cf
mov r8d, 3
mov qword [r12], 0x2745
lea rax, [0x140134e30]
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], r8
mov al, 1
jmp 0x14006c7f2
test r9d, r9d
setne al
cmp r8, 1
setne cl
test r8b, 1
je 0x14006c807
or cl, al
jne 0x14006c9f9
mov r15, qword [rsp + 0xc8]
test rdi, rdi
je 0x14006c8fa
mov r13, qword [rsp + 0xc0]
test r13, r13
je 0x14006c8fa
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rcx, r14
xor edx, edx
mov r8d, ebx
mov r9d, ebx
call sub.MSWSOCK.dll_GetAcceptExSockaddrs
movsxd rbx, dword [rsp + 0x44]
cmp qword [r13], rbx
jae 0x14006c8e6
mov rax, qword [0x140134e38]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14006c8c6
mov rax, qword [0x140134e30]
lea rcx, [0x140134e30]
mov edx, 0x2726
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14006c8cb
mov ecx, 3
mov qword [r12], 0x2726
lea rax, [0x140134e30]
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rcx
jmp 0x14006c8fa
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov r8, rbx
call fcn.1400f08e0
mov qword [r13], rbx
mov qword [rsp + 0x48], rsi
cmp r15, 0xffffffffffffffff
je 0x14006c956
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x48]
mov rcx, r15
mov edx, 0xffff
mov r8d, 0x700b
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14006c9ae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov rax, qword [0x140134e38]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
jne 0x14006c9c1
test esi, esi
setne al
jmp 0x14006c9d4
mov rax, qword [0x140134e38]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14006c98e
mov rax, qword [0x140134e30]
lea rcx, [0x140134e30]
mov edx, 0x2719
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14006c993
mov ecx, 3
mov qword [r12], 0x2719
lea rax, [0x140134e30]
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rcx
jmp 0x14006c9f9
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], 0
jmp 0x14006c9f9
mov rax, qword [0x140134e30]
lea rcx, [0x140134e30]
mov edx, esi
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [r12], esi
mov dword [r12 + 4], 0
lea rcx, [0x140134e30]
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rax
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret