Function at 0x14004b8e0
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 [0x14007e040]
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 0x14004b926
mov eax, dword [rbx]
jmp 0x14004b959
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, [0x140082900]
movabs rdx, 0x4d54ee85da812030
cmp eax, 0x40
jne 0x14004b9c3
mov dword [rbp - 0x3d], ecx
mov rcx, qword [0x140082908]
add rcx, rdx
cmp rcx, 1
jbe 0x14004b998
mov rax, qword [0x140082900]
mov edx, 0x2745
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14004b99a
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 0x14004b9de
cmp rax, 1
jne 0x14004bb46
cmp dword [rbx], 0
jne 0x14004bb46
test r14, r14
je 0x14004baae
test rsi, rsi
je 0x14004baae
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 0x14004ba9c
mov rcx, qword [0x140082908]
movabs rdi, 0x4d54ee85da812030
add rcx, rdi
mov dword [rbp - 0x3d], 0
cmp rcx, 1
jbe 0x14004ba71
mov rax, qword [0x140082900]
mov edx, 0x2726
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14004ba73
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 0x14004bab8
mov rdx, qword [rbp - 0x29]
mov r8, rdi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], rdi
movabs rdi, 0x4d54ee85da812030
mov rcx, qword [rbp + 0x77]
mov qword [rbp - 0x11], r15
cmp rcx, 0xffffffffffffffff
jne 0x14004bb1c
mov rcx, qword [0x140082908]
add rcx, rdi
mov dword [rbp - 0x3d], 0
cmp rcx, 1
jbe 0x14004baf1
mov rax, qword [0x140082900]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14004baf3
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 0x14004bb46
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.140014ca0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14005f1d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret