Function at 0x14007fcf0
Capabilities:
Get cpu information
Get memory capacity
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
mov ebx, r15d
cmp qword [0x14017f7e8], rbx
jne 0x14007fd34
lea ecx, [r15 + 1]
call fcn.14007f9f0
mov ebx, eax
test eax, eax
jne 0x140080658
mov rcx, qword [0x14017f7e8]
test rcx, rcx
je 0x14007fd46
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x14017f7f0]
mov ecx, eax
inc eax
mov qword [rsp + 0x118], r12
mov dword [0x14017f7f0], eax
test ecx, ecx
jne 0x14008062f
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x14007fdee
lea rdx, str.GetLogicalProcessorInformationEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fa70], rax
test rax, rax
jne 0x14007fdae
lea rdx, str.GetLogicalProcessorInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fa78], rax
lea rdx, [0x140152e60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x14017fb30], 0xf
jl 0x14007fdee
lea rdx, str.PrefetchVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetCurrentThreadStackLimits
mov rcx, rbx
mov qword [0x14017fa40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14017fa48], rax
test rax, rax
je 0x140080013
lea rdx, [0x140152f70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.RtlInitUnicodeString
mov qword [0x14017faa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtOpenFile
mov qword [0x14017faa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtCreateFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtReadFile
mov qword [0x14017fa98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtWriteFile
mov qword [0x14017fac0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryInformationFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtSetInformationFile
mov qword [0x14017fab8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryVirtualMemory
mov qword [0x14017fab0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryVolumeInformationFile
mov qword [0x14017fa88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryDirectoryFile
mov qword [0x14017fa90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtQueryEaFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, [0x140152fe8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtFsControlFile
mov qword [0x14017fa68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtDeviceIoControlFile
mov qword [0x14017fa60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, str.NtWaitForSingleObject
mov qword [0x14017fa58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14017fa48]
lea rdx, [0x140153100]
mov qword [0x14017fa80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140133c10]
mov ecx, 0x10
call fcn.1400b9530
mov rbx, rax
test rax, rax
je 0x140080620
mov ecx, 0x30
mov qword [rax], r15
mov qword [rax + 8], r15
call fcn.1400b8a40
lea rdx, [0x140133c10]
mov qword [0x14017e898], rbx
mov ecx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
call fcn.1400b9530
mov rbx, rax
test rax, rax
je 0x140080611
mov ecx, pe_nt_image_headers64
mov qword [rsp + 0xd8], r13
mov qword [rax], r15
mov qword [rax + 8], r15
call fcn.1400b8a40
mov qword [0x14017e890], rbx
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov rcx, qword [0x14017fa48]
test rcx, rcx
je 0x14008027c
lea rdx, str.RtlSetThreadErrorMode
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017f800], rax
test rax, rax
jne 0x1400800dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [0x14017f7f8], r15
jne 0x14008011d
mov rcx, qword [0x14017fa48]
test rcx, rcx
jne 0x1400800fe
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140080117
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017f7f8], rax
test rax, rax
jne 0x14008011d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [0x14017fa30], r15
jne 0x14008015e
mov rcx, qword [0x14017fa48]
test rcx, rcx
jne 0x14008013f
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140080158
lea rdx, [0x140153088]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fa30], rax
test rax, rax
jne 0x14008015e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14017fa48]
test rcx, rcx
jne 0x140080177
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140080190
lea rdx, str.LdrLockLoaderLock
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fa28], rax
test rax, rax
jne 0x140080196
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14017fa48]
test rcx, rcx
jne 0x1400801af
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400801c8
lea rdx, str.LdrUnlockLoaderLock
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017fa20], rax
test rax, rax
jne 0x1400801ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14017fa48]
test rcx, rcx
jne 0x1400801e7
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140080200
lea rdx, str.NtQueryDirectoryFileEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017f808], rax
test rax, rax
jne 0x140080206
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.140081440
test al, al
jne 0x140080244
cmp word [0x140176e84], r15w
jne 0x140080244
mov rax, qword [0x14017fa90]
lea rdx, [rbp + 0x1f]
xor r9d, r9d
lea r8d, [r9 + 0xc]
lea ecx, [r9 + 1]
call qword [case.0x1400a96cf.0]
test eax, eax
jne 0x140080244
movzx eax, word [rbp + 0x1f]
mov word [0x140176e84], ax
mov rax, qword [0x14017fa90]
test rax, rax
je 0x14008027c
xor r9d, r9d
lea rdx, [rbp - 0x29]
xor ecx, ecx
lea r8d, [r9 + 0x40]
call qword [case.0x1400a96cf.0]
test eax, eax
jne 0x14008027c
mov rax, qword [rbp - 1]
mov qword [0x140176e88], rax
movzx eax, byte [rbp + 0xf]
mov dword [0x140176e98], eax
mov r12d, dword [rbp + 0x67]
and r12d, 1
jne 0x1400802cc
cmp word [0x14017f7b8], r15w
lea rax, [0x14017f7b8]
lea r8, [0x14014d200]
cmovne r8, rax
lea r9, [rbp - 0x29]
lea rax, str.aswSP
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
call fcn.140083140
mov rdx, rax
lea rcx, [0x14017f810]
call fcn.140081360
cmp dword [0x140176e98], r15d
jne 0x1400802df
mov dword [0x140176e98], 1
mov qword [rsp + 0x108], rsi
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0xd0], r14
call fcn.140081470
lea r9, [rbp - 0x39]
mov qword [rsp + 0x28], r15
mov r8d, 1
mov qword [rbp + 0x1f], r15
lea rdx, str.HardwareDescriptionSystemCentralProcessor0
mov qword [rsp + 0x20], 0xffffffff80000002
xor ecx, ecx
call fcn.140080fd0
test eax, eax
jne 0x1400803a0
mov r14, qword [rbp - 0x39]
lea rbx, str.Update_Signature
mov edi, r15d
mov rdx, qword [rbx]
test r14, r14
je 0x140080387
test rdx, rdx
je 0x140080387
lea rax, [rbp + 0x17]
mov dword [rbp + 0x17], 8
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp + 0x1f]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
mov esi, r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008037b
cmp eax, 0xea
jne 0x14008037e
mov esi, dword [rbp + 0x17]
test eax, eax
jne 0x140080387
cmp esi, 4
jae 0x140080392
inc edi
add rbx, 8
cmp edi, 3
jb 0x140080338
test r14, r14
je 0x1400803a0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rcx, [rbp - 0x29]
movups xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x29], 0x40
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x1400803ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rbx, [0x14017e868]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x140080414
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x14017e850], 0x18
mov dword [0x14017e860], r15d
mov qword [0x14017e858], rbx
jmp 0x14008041a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r13, [0x14017e028]
mov edx, 1
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x140080593
lea rax, [rbp - 0x39]
mov dword [rbp + 0x17], r15d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x17]
mov dword [rsp + 0x48], r15d
xor r9d, r9d
mov dword [rsp + 0x40], r15d
xor r8d, r8d
mov dword [rsp + 0x38], r15d
mov dl, 1
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov word [rbp + 0x1b], 0x100
mov qword [rbp - 0x39], r15
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edx, 0x800
lea rcx, [0x14017d810]
mov r8d, 2
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
lea rcx, [rsi + 8]
mov edi, esi
call fcn.1400b8fa8
lea r8, [rsi + 8]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.1400fed10
mov dword [r14 + 4], 0x10000000
lea rcx, [r14 + 8]
mov word [r14], 0x900
add si, 8
mov word [r14 + 2], si
mov r8d, edi
mov rdx, qword [rbp - 0x39]
call fcn.1400fe670
movzx eax, word [r14 + 2]
lea rcx, [0x14017d810]
mov r9, r14
mov dword [rsp + 0x20], eax
mov edx, 2
mov r8d, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_AddAce]
mov dword [r14 + 4], 0x1f01ff
lea rcx, [r14 + 8]
mov word [r14], 0x200
mov r8d, edi
mov word [r14 + 2], si
mov rdx, qword [rbp - 0x39]
call fcn.1400fe670
movzx eax, word [r14 + 2]
lea rcx, [0x14017d810]
mov r9, r14
mov dword [rsp + 0x20], eax
mov edx, 2
mov r8d, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_AddAce]
mov rcx, r14
call fcn.1400b8a80
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor r9d, r9d
lea r8, [0x14017d810]
mov rcx, r13
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x14017e010], 0x18
mov dword [0x14017e020], r15d
mov qword [0x14017e018], r13
jmp 0x140080599
call qword [sym.imp.KERNEL32.dll_GetLastError]
or dword [0x14017f7f4], 2
mov qword [0x14017fb28], r15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, qword [rsp + 0xd0]
mov rbx, rax
mov r13, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
test rax, rax
je 0x140080627
xor edx, edx
mov r8d, 0x2000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov qword [0x14017fb28], rbx
test r12d, r12d
jne 0x14008063b
lea rdx, [0x140147f68]
xor ecx, ecx
call fcn.1400da6d4
jmp 0x14008063b
mov qword [0x14017e890], r15
mov r15d, 8
jmp 0x140080636
mov qword [0x14017e898], r15
mov r15d, 8
jmp 0x140080636
mov r15d, ebx
test ebx, ebx
je 0x14008063b
call fcn.140080670
mov rcx, qword [0x14017f7e8]
mov r12, qword [rsp + 0x118]
test rcx, rcx
je 0x140080655
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r15d
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0xe0
pop r15
pop rbx
pop rbp
ret