Function at 0x14004e478
Capabilities:
Get number of processors

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb8
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword [rbp + 0x6f]
mov r12, r8
mov r13, qword [rbp + 0x77]
lea r8, [rbp - 0x15]
mov qword [rbp - 0x49], rdx
mov r15, r9
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x51], rax
mov rdi, rcx
call qword [sym.imp.ntdll.dll_RtlGetControlSecurityDescriptor]
nop dword [rax + rax]
xor r14d, r14d
mov ebx, eax
test eax, eax
jns 0x14004e510
mov dword [rbp - 0x61], 0x128
lea rax, str.RtlGetControlSecurityDescriptor_HackyTmp__Control__Revision_
lea rcx, str.onecore_basewcp_rtllib_nativelib_security_library.cpp
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x71], rcx
mov r8d, ebx
lea rcx, str.Windows::WCP::Implementation::Rtl::DecomposeSecurityDescriptor
mov qword [rbp - 0x69], rcx
lea rcx, [rbp - 0x71]
call fcn.140059c64
mov eax, ebx
jmp 0x14004e970
lea r9, [rbp - 0x1f]
mov qword [rbp - 0x29], r14
lea r8, [rbp - 0x29]
mov rcx, rdi
lea rdx, [rbp - 0x21]
call qword [sym.imp.ntdll.dll_RtlGetDaclSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14004e545
mov dword [rbp - 0x61], 0x132
lea rax, str.RtlGetDaclSecurityDescriptor__HackyTmp__DaclPresent__Dacl__DaclDefaulted_
jmp 0x14004e4e3
lea r9, [rbp - 0x1e]
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x31]
mov rcx, rdi
lea rdx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlGetSaclSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14004e57d
mov dword [rbp - 0x61], 0x13c
lea rax, str.RtlGetSaclSecurityDescriptor__HackyTmp__SaclPresent__Sacl__SaclDefaulted_
jmp 0x14004e4e3
lea r8, [rbp - 0x1d]
mov qword [rbp - 0x41], r14
lea rdx, [rbp - 0x41]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlGetOwnerSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14004e5b1
mov dword [rbp - 0x61], 0x144
lea rax, str.RtlGetOwnerSecurityDescriptor__HackyTmp__Owner__OwnerDefaulted_
jmp 0x14004e4e3
lea r8, [rbp - 0x1c]
mov qword [rbp - 0x39], r14
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlGetGroupSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14004e5e5
mov dword [rbp - 0x61], 0x14c
lea rax, str.RtlGetGroupSecurityDescriptor__HackyTmp__Group__GroupDefaulted_
jmp 0x14004e4e3
mov rdx, qword [rbp - 0x41]
mov esi, r14d
test rdx, rdx
mov eax, 1
cmovne esi, eax
cmp qword [rbp - 0x39], r14
je 0x14004e600
or esi, 2
movzx eax, word [rbp - 0x19]
cmp byte [rbp - 0x21], r14b
je 0x14004e61f
bt ax, 0xc
jae 0x14004e619
or esi, 0x80000004
jmp 0x14004e61f
or esi, 0x20000004
cmp byte [rbp - 0x20], r14b
je 0x14004e661
mov ecx, 0x2000
and ax, cx
mov rcx, qword [rbp - 0x31]
neg ax
sbb eax, eax
xor r8d, r8d
and eax, 0x30000000
add eax, 0x10000008
or esi, eax
lea edx, [r8 + 0x11]
call qword [sym.imp.ntdll.dll_RtlFindAceByType]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x41]
test rax, rax
je 0x14004e661
or esi, 0x10
mov qword [rsp + 0x20], r14
mov rbx, r14
mov qword [rsp + 0x30], rbx
mov rdi, r14
mov qword [rsp + 0x28], r14
mov qword [rbp - 0x79], r14
test rdx, rdx
je 0x14004e6c2
lea rcx, [rsp + 0x20]
call fcn.14004f5bc
mov r14d, eax
test eax, eax
jns 0x14004e6bf
cmp qword [rsp + 0x20], rbx
je 0x14004e6b7
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, r14d
jmp 0x14004e970
xor r14d, r14d
mov rdx, qword [rbp - 0x39]
test rdx, rdx
je 0x14004e708
lea rcx, [rsp + 0x28]
call fcn.14004f5bc
mov r14d, eax
test eax, eax
jns 0x14004e705
cmp qword [rsp + 0x28], rbx
je 0x14004e690
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
jmp 0x14004e690
xor r14d, r14d
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x14004e7a8
lea rcx, [rsp + 0x30]
call fcn.14004f818
mov ebx, eax
test eax, eax
jns 0x14004e7a3
cmp qword [rsp + 0x30], r14
je 0x14004e74c
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x28], r14
je 0x14004e773
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x20], r14
je 0x14004e509
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
jmp 0x14004e509
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14004e870
lea rcx, [rbp - 0x79]
call fcn.14004f818
mov edi, eax
test eax, eax
jns 0x14004e86c
cmp qword [rbp - 0x79], r14
je 0x14004e7f2
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x79]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14004e817
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x28], r14
je 0x14004e83e
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x20], r14
je 0x14004e865
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, edi
jmp 0x14004e970
mov rdi, qword [rbp - 0x79]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14004e887
mov rax, rbx
mov rbx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov qword [rcx], rax
test r13, r13
je 0x14004e89b
mov rax, rdi
mov rdi, qword [r13]
mov qword [rbp - 0x79], rdi
mov qword [r13], rax
test r12, r12
je 0x14004e8b2
mov rcx, qword [rsp + 0x20]
mov rax, qword [r12]
mov qword [rsp + 0x20], rax
mov qword [r12], rcx
test r15, r15
je 0x14004e8c7
mov rcx, qword [rsp + 0x28]
mov rax, qword [r15]
mov qword [rsp + 0x28], rax
mov qword [r15], rcx
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14004e8d2
mov dword [rax], esi
test rdi, rdi
je 0x14004e8fb
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x79]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14004e920
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x28], r14
je 0x14004e947
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x20], r14
je 0x14004e96e
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140063da0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret