Function at 0x140008dd0
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, 0x88
mov rax, qword [0x1400b7360]
xor rax, rsp
mov qword [rbp - 9], rax
mov rbx, qword [rbp + 0x7f]
mov r14, r9
mov rsi, qword [rbp + 0x6f]
mov edi, r8d
mov r12, rdx
mov r15, rcx
cmp qword [rbx + 0x10], 1
je 0x140008e16
mov eax, dword [rbx]
jmp 0x140008e49
mov rcx, qword [rbx + 8]
movabs rax, 0x4800144005b3
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, dword [rbx]
xor ecx, ecx
lea r13, [0x1400b8030]
movabs rdx, 0x4d54ee85da812030
cmp eax, 0x40
jne 0x140008eb3
mov dword [rbp - 0x3d], ecx
mov rcx, qword [0x1400b8038]
add rcx, rdx
cmp rcx, 1
jbe 0x140008e88
mov rax, qword [0x1400b8030]
mov edx, 0x2745
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140008e8a
mov al, 1
movzx eax, al
add rax, 2
mov dword [rbp - 0x41], 0x2745
mov qword [rbp - 0x39], r13
xor ecx, ecx
movups xmm0, xmmword [rbp - 0x41]
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov rax, qword [rbx + 0x10]
test al, 1
je 0x140008ece
cmp rax, 1
jne 0x140009036
cmp dword [rbx], 0
jne 0x140009036
test r14, r14
je 0x140008f9e
test rsi, rsi
je 0x140008f9e
lea rax, [rbp - 0x19]
mov qword [rbp - 0x21], rcx
mov qword [rsp + 0x38], rax
mov r9d, edi
lea rax, [rbp - 0x29]
mov dword [rbp - 0x15], ecx
mov qword [rsp + 0x30], rax
mov r8d, edi
lea rax, [rbp - 0x15]
mov qword [rbp - 0x29], rcx
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rbp - 0x21]
mov dword [rbp - 0x19], ecx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
movsxd rdi, dword [rbp - 0x19]
cmp rdi, qword [rsi]
jbe 0x140008f8c
mov rcx, qword [0x1400b8038]
movabs rdi, 0x4d54ee85da812030
add rcx, rdi
mov dword [rbp - 0x3d], 0
cmp rcx, 1
jbe 0x140008f61
mov rax, qword [0x1400b8030]
mov edx, 0x2726
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140008f63
mov al, 1
movzx eax, al
mov dword [rbp - 0x41], 0x2726
add rax, 2
mov qword [rbp - 0x39], r13
movups xmm0, xmmword [rbp - 0x41]
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x140008fa8
mov rdx, qword [rbp - 0x29]
mov r8, rdi
mov rcx, r14
call fcn.14005a7a0
mov qword [rsi], rdi
movabs rdi, 0x4d54ee85da812030
mov rcx, qword [rbp + 0x77]
mov qword [rbp - 0x11], r15
cmp rcx, 0xffffffffffffffff
jne 0x14000900c
mov rcx, qword [0x1400b8038]
add rcx, rdi
mov dword [rbp - 0x3d], 0
cmp rcx, 1
jbe 0x140008fe1
mov rax, qword [0x1400b8030]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140008fe3
mov al, 1
movzx eax, al
mov dword [rbp - 0x41], 0x2719
add rax, 2
mov qword [rbp - 0x39], r13
movups xmm0, xmmword [rbp - 0x41]
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x140009036
lea r9, [rbp - 0x11]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov rcx, rbx
setne dl
call fcn.140008d10
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400581c0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret