Function at 0x180017520
Capabilities:
Get number of processors

Disassembly:
mov r11, rsp
push rbp
push rbx
push r12
push r14
lea rbp, [r11 - 0x108]
sub rsp, 0x1e8
mov rax, qword [0x1801a6440]
movabs r14, 0xaaaaaaaaaaaaaaab
mov rbx, qword [0x1801a6438]
xor r12d, r12d
sub rax, rbx
sar rax, 4
imul rax, r14
test rax, rax
je 0x180017a3d
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r13
xor r13d, r13d
mov qword [r11 - 0x28], r15
xor r15d, r15d
movaps xmmword [r11 - 0x38], xmm6
movss xmm6, dword [0x18018fa08]
mov esi, dword [0x1801a5260]
mov edi, 4
call fcn.180016cd0
subss xmm0, dword [r15 + rbx + 0x20]
comiss xmm0, dword [0x18018fac8]
jb 0x180017664
mov rsi, qword [0x1801a6440]
movsxd rax, r12d
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, 0x30
add rdi, qword [0x1801a6438]
cmp rdi, rsi
je 0x180017608
lea rbx, [rdi - 0xc]
lea rcx, [rbx - 0x24]
mov rdx, rdi
call fcn.18003d020
mov eax, dword [rbx + 0x2c]
add rdi, 0x30
mov dword [rbx - 4], eax
movsd xmm0, qword [rbx + 0x30]
movsd qword [rbx], xmm0
mov eax, dword [rbx + 0x38]
mov dword [rbx + 8], eax
lea rbx, [rbx + 0x30]
cmp rdi, rsi
jne 0x1800175d3
mov rsi, qword [0x1801a6440]
mov rdx, qword [rsi - 0x18]
cmp rdx, 0x10
jb 0x180017643
mov rcx, qword [rsi - 0x30]
inc rdx
cmp rdx, 0x1000
jb 0x18001763e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180017a52
mov rcx, r8
call fcn.1800eeebc
mov qword [rsi - 0x20], 0
mov qword [rsi - 0x18], 0xf
mov byte [rsi - 0x30], 0
sub qword [0x1801a6440], 0x30
jmp 0x1800179e6
mov rax, qword [0x1801a6440]
mov rcx, qword [0x1801a6438]
sub rax, rcx
sar rax, 4
imul rax, r14
cmp rax, r13
jbe 0x180017a97
lea rbx, [r15 + rcx]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18003d0f0
movss xmm0, dword [rbx + 0x20]
lea rdx, [rbp + 0x110]
movss dword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x80]
movsd xmm0, qword [rbx + 0x24]
movsd qword [rbp - 0x4c], xmm0
mov eax, dword [rbx + 0x2c]
mov dword [rbp - 0x44], eax
movsd xmm0, qword [rbx + 0x24]
mov eax, dword [rbx + 0x2c]
movsd qword [rbp - 0x80], xmm0
mov qword [rbp + 0x110], 0
mov dword [rbp - 0x78], eax
call fcn.18000c620
test al, al
je 0x1800179af
xorps xmm0, xmm0
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x50], xmm0
xor edx, edx
mov byte [rsp + 0x50], 0
mov r8d, pe_nt_image_headers64
mov qword [rsp + 0x68], 0xf
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [0x1801a6438]
call fcn.180016cd0
mov rax, qword gs:[0x58]
subss xmm0, dword [r15 + rbx + 0x20]
movss xmm1, dword [0x18018fac8]
mov rsi, qword [rax + rsi*8]
subss xmm1, xmm0
mov eax, dword [rdi + rsi]
cmp dword [0x1801a61e0], eax
cvttss2si r14d, xmm1
jg 0x180017a9d
mov rax, qword [0x1801a62c8]
mov rcx, qword [rax + 0xb8]
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x180017819
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180017819
mov rcx, qword [rcx]
add rcx, 0x48
cmp rcx, 0x40000
jbe 0x180017819
lea rax, [rcx + 8]
cmp rax, rdx
jae 0x180017819
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x180017819
lea rax, [rcx + 8]
cmp rax, rdx
jae 0x180017819
mov rbx, qword [rcx]
test rbx, rbx
je 0x180017819
mov eax, dword [rdi + rsi]
cmp dword [0x1801a5ec0], eax
jg 0x180017a59
mov rdx, qword [0x1801a5de0]
lea r8, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x78], 0
call fcn.18003e1e0
movss xmm3, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x44]
movss xmm2, dword [rsp + 0x40]
jmp 0x180017834
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x48], xmm3
movss xmm1, dword [rbp - 0x4c]
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
subss xmm1, xmm2
movss xmm2, dword [rbp - 0x48]
lea rdx, str._s___1.0fm____d_
cmovae r8, qword [rbp - 0x70]
subss xmm2, xmm0
movss xmm0, dword [rbp - 0x44]
lea rcx, [rbp - 0x30]
subss xmm0, xmm3
mov dword [rsp + 0x20], r14d
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
cvtps2pd xmm3, xmm0
movq r9, xmm3
call fcn.18003e6d0
lea rax, [rbp - 0x30]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800178a0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1800178ee
cmp rdx, 0x10
lea rax, [rcx + rdi]
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
cmovae rbx, qword [rsp + 0x50]
lea rdx, [rbp - 0x30]
add rbx, rcx
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x180017904
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18003ed40
cmp qword [rsp + 0x68], 0x10
lea rax, [rsp + 0x50]
movss xmm2, dword [rbp + 0x114]
lea r9, [rbp - 0x40]
cmovae rax, qword [rsp + 0x50]
movss xmm1, dword [rbp + 0x110]
movaps xmm0, xmmword [0x1801901c0]
mov rcx, qword [0x1801a6050]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1801a5520]
movss dword [rsp + 0x30], xmm6
mov qword [rsp + 0x28], rax
movd r8d, xmm2
movd edx, xmm1
mov dword [rsp + 0x20], 3
movaps xmmword [rbp - 0x40], xmm0
call fcn.180015730
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800179a5
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800179a0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017a4b
call fcn.1800eeebc
movabs r14, 0xaaaaaaaaaaaaaaab
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800179e6
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800179e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017a52
call fcn.1800eeebc
mov rcx, qword [0x1801a6440]
inc r12d
mov rbx, qword [0x1801a6438]
inc r13
sub rcx, rbx
movsxd rax, r12d
sar rcx, 4
add r15, 0x30
imul rcx, r14
cmp rax, rcx
jb 0x180017589
mov r15, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x228]
mov rdi, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x218]
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop r14
pop r12
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [0x1801a5ec0]
call fcn.1800eea88
cmp dword [0x1801a5ec0], 0xffffffff
jne 0x1800177db
mov ecx, 0x56e64b7d
call fcn.180007390
mov rcx, qword [rax]
mov qword [0x1801a5de0], rcx
lea rcx, [0x1801a5ec0]
call fcn.1800eea1c
jmp 0x1800177db
call fcn.18003d290
int3
lea rcx, [0x1801a61e0]
call fcn.1800eea88
cmp dword [0x1801a61e0], 0xffffffff
jne 0x180017753
mov ecx, 0x3a1e5c61
call fcn.1800068f0
lea rcx, [0x1801a61e0]
mov qword [0x1801a62c8], rax
call fcn.1800eea1c
jmp 0x180017753