Function at 0x14024abf0
Capabilities:
Get number of processors

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x90
mov rsi, qword [rbp + 0x77]
xor r15d, r15d
mov dword [rbp + 0x7f], r15d
xorps xmm0, xmm0
mov dword [rbp - 0x39], r15d
xorps xmm1, xmm1
mov qword [rbp - 0x31], r15
mov rdi, r9
mov r14, r8
mov r13, rdx
mov r9, rcx
mov ebx, r15d
mov r12d, r15d
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm1
test rsi, rsi
je 0x14024af9f
lea r10, [0x1403871d0]
mov word [rsi], r15w
mov rdx, r10
mov ecx, r15d
mov r8, qword [rdx]
mov rax, qword [r8]
sub rax, qword [r13]
jne 0x14024ac78
mov rax, qword [r8 + 8]
sub rax, qword [r13 + 8]
test rax, rax
je 0x14024ac8d
inc ecx
add rdx, 0x18
cmp ecx, 3
jb 0x14024ac64
jmp 0x14024ad19
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov r8d, dword [r10 + rcx*8 + 0x10]
mov r15d, dword [r10 + rcx*8 + 8]
mov eax, dword [r10 + rcx*8 + 0xc]
mov dword [rbp + 0x7f], r15d
mov dword [rbp + 0x77], eax
test r8d, r8d
je 0x14024ad16
add r9, 0x240
mov rcx, rsi
call fcn.140012fa8
test eax, eax
je 0x14024acd2
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x14024acc6
jmp 0x14024acf0
lea r9, str.SdbGetPathSystemSdb_failed.
mov r8d, 0x7bd
lea rdx, str.SdbResolveDatabaseEx
mov ecx, 1
call fcn.1400139b4
test r14, r14
je 0x14024acf8
mov dword [r14], r15d
test rdi, rdi
je 0x14024ad0f
call fcn.140246f9c
mov dword [rdi], eax
cmp dword [rbp + 0x77], r12d
je 0x14024ad0f
and eax, 0x1b
mov dword [rdi], eax
mov eax, ebx
jmp 0x14024afa1
xor r15d, r15d
mov rdx, r13
lea rcx, [rbp - 0x19]
call fcn.1402b1e5c
test eax, eax
jns 0x14024ad50
lea r9, str.Failed_to_convert_guid_to_string___x_
mov dword [rsp + 0x20], eax
mov r8d, Ordinal_2005
lea rdx, str.SdbResolveDatabaseEx
mov ecx, 1
call fcn.1400139b4
jmp 0x14024af4f
mov rax, qword gs:[0x60]
mov edx, 8
movzx r15d, word [rbp - 0x19]
add r15d, 0xb8
mov r8d, r15d
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x14024adae
lea r9, str.Failed_to_allocate__ld_bytes_for_key_path
mov dword [rsp + 0x20], r15d
mov r8d, 0x7e9
lea rdx, str.SdbResolveDatabaseEx
lea ecx, [rax + 1]
call fcn.1400139b4
xor r15d, r15d
jmp 0x14024af4f
mov word [rbp - 0x27], r15w
lea rdx, str.RegistryMachineSoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsInstalledSDB
xor r15d, r15d
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x29]
mov word [rbp - 0x29], r15w
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
nop dword [rax + rax]
lea rdx, [0x14030ab44]
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
nop dword [rax + rax]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
nop dword [rax + rax]
lea rax, [rbp - 0x29]
mov dword [rbp - 9], Ordinal_54
xorps xmm0, xmm0
mov qword [rbp + 7], rax
lea r8, [rbp - 9]
mov qword [rbp - 1], r15
mov edx, 0x80000100
mov dword [rbp + 0xf], Shell_MergeMenus
lea rcx, [rbp - 0x31]
movdqu xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntdll.dll_ZwOpenKey]
nop dword [rax + rax]
test eax, eax
jns 0x14024ae6f
mov dword [rsp + 0x28], eax
lea r9, str.Failed_to_open_Key___ws____x_
mov rax, qword [rbp - 0x21]
lea rdx, str.SdbResolveDatabaseEx
mov r8d, 0x7f9
mov qword [rsp + 0x20], rax
lea ecx, [r15 + 1]
call fcn.1400139b4
jmp 0x14024af4f
test r14, r14
je 0x14024aec0
mov rdx, qword [rbp - 0x31]
lea r8, [0x140300400]
lea rcx, [rbp + 0x7f]
call fcn.1402b1be8
test eax, eax
jns 0x14024aeb6
lea r9, str.Failed_to_get_database_type___x_
mov dword [rsp + 0x20], eax
mov r8d, 0x805
lea rdx, str.SdbResolveDatabaseEx
mov ecx, 1
call fcn.1400139b4
mov dword [r14], r15d
jmp 0x14024af4f
mov eax, dword [rbp + 0x7f]
btr eax, 0x1f
mov dword [r14], eax
test rdi, rdi
je 0x14024af09
mov rdx, qword [rbp - 0x31]
lea r8, [0x140300410]
lea rcx, [rbp - 0x39]
call fcn.1402b1be8
test eax, eax
jns 0x14024af04
lea r9, str.Failed_to_get_runtime_platform___x_
mov dword [rsp + 0x20], eax
mov r8d, 0x815
lea rdx, str.SdbResolveDatabaseEx
mov ecx, 1
call fcn.1400139b4
mov dword [rdi], r15d
jmp 0x14024af4f
mov eax, dword [rbp - 0x39]
mov dword [rdi], eax
mov r9, qword [rbp + 0x57]
mov r8, r13
add r9, 0x240
mov rcx, rsi
call fcn.14024ab20
test eax, eax
jne 0x14024af41
lea r9, str.SdbGetPathCustomSdb_failed_to_get_the_database_path.
mov r8d, 0x81e
lea rdx, str.SdbResolveDatabaseEx
lea ecx, [rax + 1]
call fcn.1400139b4
jmp 0x14024af4f
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], r15w
jne 0x14024af45
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14024af64
call qword [sym.imp.ntdll.dll_ZwClose]
nop dword [rax + rax]
test r12, r12
je 0x14024af87
mov rcx, qword gs:[0x60]
mov r8, r12
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rbp - 0x11], r15
je 0x14024ad0f
lea rcx, [rbp - 0x19]
call fcn.1402b22dc
jmp 0x14024ad0f
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret