Function at 0x18001bdc0
Capabilities:
Get number of processors

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [r11 - 0x158]
sub rsp, 0x230
mov rax, qword [0x1802be140]
xor r15d, r15d
mov rbx, qword [0x1802be138]
movabs rdi, 0xaaaaaaaaaaaaaaab
sub rax, rbx
mov r12d, r15d
sar rax, 4
imul rax, rdi
test rax, rax
je 0x18001c3bb
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x30], r13
mov r13d, r15d
mov qword [r11 - 0x38], r14
mov r14d, r15d
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x180123bdc]
mov esi, dword [0x180296940]
call fcn.18001b580
subss xmm0, dword [r14 + rbx + 0x20]
comiss xmm0, dword [0x180123cc8]
jb 0x18001bf07
mov rsi, qword [0x1802be140]
movsxd rax, r12d
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, 0x30
add rdi, qword [0x1802be138]
cmp rdi, rsi
je 0x18001bea5
lea rbx, [rdi - 0xc]
nop
lea rcx, [rbx - 0x24]
mov rdx, rdi
call fcn.180050940
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 0x18001be70
mov rsi, qword [0x1802be140]
mov rdx, qword [rsi - 0x18]
cmp rdx, 0x10
jb 0x18001bee0
mov rcx, qword [rsi - 0x30]
inc rdx
cmp rdx, 0x1000
jb 0x18001bedb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001c3d1
mov rcx, r8
call fcn.1800f8c40
mov qword [rsi - 0x20], r15
movabs rdi, 0xaaaaaaaaaaaaaaab
mov qword [rsi - 0x18], 0xf
mov byte [rsi - 0x30], 0
sub qword [0x1802be140], 0x30
jmp 0x18001c36c
mov rax, qword [0x1802be140]
mov rcx, qword [0x1802be138]
sub rax, rcx
sar rax, 4
imul rax, rdi
cmp rax, r13
jbe 0x18001c416
lea rbx, [r14 + rcx]
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.180050a30
movss xmm0, dword [rbx + 0x20]
lea rdx, [rbp + 0x160]
movss dword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x60]
movsd xmm0, qword [rbx + 0x24]
movsd qword [rbp - 0x2c], xmm0
mov eax, dword [rbx + 0x2c]
mov dword [rbp - 0x24], eax
movsd xmm0, qword [rbx + 0x24]
mov eax, dword [rbx + 0x2c]
movsd qword [rbp - 0x60], xmm0
mov qword [rbp + 0x160], 0
mov dword [rbp - 0x58], eax
call fcn.180017620
test al, al
je 0x18001c335
xor edx, edx
mov qword [rsp + 0x50], r15
mov r8d, 0x100
mov qword [rsp + 0x60], r15
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x68], 0xf
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [0x1802be138]
call fcn.18001b580
mov rax, qword gs:[0x58]
subss xmm0, dword [r14 + rbx + 0x20]
movss xmm1, dword [0x180123cc8]
mov edi, 4
mov rsi, qword [rax + rsi*8]
subss xmm1, xmm0
mov eax, dword [rdi + rsi]
cmp dword [0x1802bdea8], eax
cvttss2si r15d, xmm1
jg 0x18001c41c
mov rax, qword [0x1802bdfb0]
mov rcx, qword [rax + 0xb8]
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18001c0b5
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x18001c0b5
mov rcx, qword [rcx]
add rcx, 0x48
cmp rcx, 0x40000
jbe 0x18001c0b5
lea rax, [rcx + 8]
cmp rax, rdx
jae 0x18001c0b5
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18001c0b5
lea rax, [rcx + 8]
cmp rax, rdx
jae 0x18001c0b5
mov rbx, qword [rcx]
test rbx, rbx
je 0x18001c0b5
mov eax, dword [rdi + rsi]
cmp dword [0x1802bdaa8], eax
jg 0x18001c3d8
mov rdx, qword [0x1802bd9b0]
lea r8, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x78], 0
call fcn.1800521c0
movss xmm3, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x44]
movss xmm2, dword [rsp + 0x40]
jmp 0x18001c0d0
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 - 0x2c]
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
subss xmm1, xmm2
movss xmm2, dword [rbp - 0x28]
movabs rcx, 0xfa41645890a277f9
cmovae r8, qword [rbp - 0x50]
subss xmm2, xmm0
movss xmm0, dword [rbp - 0x24]
movabs rdx, 0x7ddf7f494c2e80c6
subss xmm0, xmm3
mov dword [rsp + 0x20], r15d
mulss xmm1, xmm1
movabs rax, 0x84ec72b71e9d869a
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp - 0x80], rax
movabs rax, 0x471d34185a854d62
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x168], rcx
mov rax, qword [rbp + 0x168]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x168], rdx
mov rax, qword [rbp + 0x168]
mov qword [rbp - 0x68], rax
movabs rax, 0xb4c2439245bdf5bf
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mulss xmm0, xmm0
mov qword [rbp - 0x20], rax
movabs rax, 0x1a7911437ad82004
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mulss xmm2, xmm2
mov qword [rbp + 0x168], rcx
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x168]
addss xmm2, xmm1
mov qword [rbp + 0x168], rdx
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x80]
mov rax, qword [rbp + 0x168]
movdqa xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 8], rax
pxor xmm1, xmmword [rbp - 0x10]
addss xmm2, xmm0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm1
sqrtss xmm0, xmm2
cvtps2pd xmm3, xmm0
movdqa xmm0, xmmword [rbp - 0x80]
pxor xmm0, xmmword [rbp - 0x20]
movq r9, xmm3
movdqa xmmword [rbp - 0x80], xmm0
call fcn.180052320
lea rax, [rbp + 0x10]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x18001c223
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x18001c271
cmp rdx, 0x10
lea rax, [rcx + rdi]
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
cmovae rbx, qword [rsp + 0x50]
lea rdx, [rbp + 0x10]
add rbx, rcx
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x18001c287
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180053810
cmp qword [rsp + 0x68], 0x10
lea rax, [rsp + 0x50]
movss xmm2, dword [rbp + 0x164]
lea r9, [rbp]
cmovae rax, qword [rsp + 0x50]
movss xmm1, dword [rbp + 0x160]
movaps xmm0, xmmword [0x1801244a0]
mov rcx, qword [0x1802bdcd0]
mov qword [rsp + 0x38], rax
mov rax, qword [0x180296ca8]
movss dword [rsp + 0x30], xmm6
mov qword [rsp + 0x28], rax
movd r8d, xmm2
movd edx, xmm1
mov dword [rsp + 0x20], 3
movaps xmmword [rbp], xmm0
call fcn.180019b50
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001c328
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c323
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c3ca
call fcn.1800f8c40
movabs rdi, 0xaaaaaaaaaaaaaaab
xor r15d, r15d
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18001c36c
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c367
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c3d1
call fcn.1800f8c40
mov rcx, qword [0x1802be140]
inc r12d
mov rbx, qword [0x1802be138]
inc r13
sub rcx, rbx
movsxd rax, r12d
sar rcx, 4
add r14, 0x30
imul rcx, rdi
cmp rax, rcx
jb 0x18001be29
mov r14, qword [rsp + 0x220]
mov r13, qword [rsp + 0x228]
mov rsi, qword [rsp + 0x270]
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x230
pop r15
pop r12
pop rdi
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, [0x1802bdaa8]
call fcn.1800f8774
cmp dword [0x1802bdaa8], 0xffffffff
jne 0x18001c077
mov ecx, 0x56e64b7d
call fcn.180009330
mov rcx, qword [rax]
mov qword [0x1802bd9b0], rcx
lea rcx, [0x1802bdaa8]
call fcn.1800f8714
jmp 0x18001c077
call fcn.180050e30
int3
lea rcx, [0x1802bdea8]
call fcn.1800f8774
cmp dword [0x1802bdea8], 0xffffffff
jne 0x18001bfef
mov ecx, 0x3a1e5c61
call fcn.1800081c0
lea rcx, [0x1802bdea8]
mov qword [0x1802bdfb0], rax
call fcn.1800f8714
jmp 0x18001bfef