Function at 0x14022ebf0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0xcd8]
sub rsp, 0xdd8
mov rax, qword [0x14045d080]
xor rax, rsp
mov qword [rbp + 0xcc0], rax
mov r14, rcx
mov qword [rsp + 0xe10], rdi
lea rcx, [rbp + 0x80]
call fcn.14022e830
lea rcx, [r14 + 0xd0]
mov rdx, rax
call fcn.14022f310
cmp byte [rbp + 0x98], 0
je 0x14022ec52
lea rcx, [rbp + 0x80]
call fcn.140056450
call qword [sym.imp.obs.dll_os_get_physical_cores]
mov dword [r14], eax
call qword [sym.imp.obs.dll_os_get_logical_cores]
xor edx, edx
lea rcx, [rbp + 0xc0]
mov r8d, 0x800
mov dword [r14 + 4], eax
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0xa0]
mov rcx, 0xffffffff80000002
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor edi, edi
test eax, eax
jne 0x14022ed40
mov rcx, qword [rbp + 0xa0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.ProcessorNameString
lea rax, [rbp + 0xc0]
mov dword [rsp + 0x40], 0x800
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022ecf0
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rbp + 0xc0]
call qword [sym.imp.obs.dll_os_wcs_to_utf8_ptr]
jmp 0x14022ecf5
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp + 0xa0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.MHz
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14022ed33
mov dword [rsp + 0x44], edi
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14022ed57
mov dword [r14 + 8], eax
cmp byte [r14 + 0xc], dil
jne 0x14022ed57
mov byte [r14 + 0xc], 1
mov rcx, qword [rsp + 0x48]
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0xe08], rbx
test rcx, rcx
je 0x14022edc6
mov r8, rsi
cmp byte [r14 + 0x30], dil
je 0x14022ed97
nop dword [rax]
inc r8
cmp byte [rcx + r8], dil
jne 0x14022ed80
mov rdx, rcx
lea rcx, [r14 + 0x10]
call fcn.14000dff0
jmp 0x14022edc1
xorps xmm0, xmm0
movups xmmword [r14 + 0x10], xmm0
mov qword [r14 + 0x20], rdi
mov qword [r14 + 0x28], rdi
inc r8
cmp byte [rcx + r8], dil
jne 0x14022eda7
mov rdx, rcx
lea rcx, [r14 + 0x10]
call fcn.140009a30
mov byte [r14 + 0x30], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.obs.dll_bfree]
call qword [sym.imp.obs.dll_os_get_sys_total_size]
mov qword [r14 + 0x38], rax
call qword [sym.imp.obs.dll_os_get_sys_free_size]
lea rcx, [rbp + 0xb0]
mov qword [r14 + 0x40], rax
call qword [sym.imp.obs.dll_get_win_ver]
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea r13, str.unavailable
test eax, eax
jne 0x14022efba
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, str.CurrentMajorVersionNumber
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0xb0]
lea rdx, str.CurrentMinorVersionNumber
test eax, eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
cmove ecx, dword [rsp + 0x40]
xor r9d, r9d
mov dword [rbp + 0xb0], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0xb4]
lea rdx, [0x1403ec910]
test eax, eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
cmove ecx, dword [rsp + 0x40]
xor r9d, r9d
mov dword [rbp + 0xb4], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0xbc]
lea r8, str.CurrentBuildNumber
test eax, eax
mov dword [rbp + 0xa0], 0x200
lea rax, [rbp + 0xa0]
mov r9d, 2
cmove ecx, dword [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov dword [rbp + 0xbc], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14022ef3c
xor edx, edx
lea rcx, [rbp + 0xc0]
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov dword [rbp + 0xb8], eax
jmp 0x14022ef42
mov eax, dword [rbp + 0xb8]
cmp eax, 0x4a61
mov dword [rbp + 0xa0], 0x200
lea rax, [rbp + 0xa0]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea rcx, str.DisplayVersion
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
lea r8, str.ReleaseId
cmovg r8, rcx
mov qword [rsp + 0x20], rdi
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14022efaf
mov r9d, 0x100
lea rcx, [rbp + 0xc0]
mov r8, r13
xor edx, edx
call qword [sym.imp.obs.dll_os_wcs_to_utf8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, dword [rbp + 0xb0]
mov eax, r9d
mov ecx, dword [rbp + 0xb4]
shl eax, 8
or eax, ecx
cmp eax, 0xa00
jae 0x14022efdd
xor al, al
jmp 0x14022f1ff
lea rax, [rsp + 0x48]
mov qword [rsp + 0xe18], r12
mov qword [rsp + 0x60], rax
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionGameDVR
lea rax, str.AppCaptureEnabled
mov qword [rsp + 0xdd0], r15
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x70]
lea rax, [rsp + 0x4a]
mov byte [rsp + 0x49], dil
mov qword [rbp - 0x70], rax
lea rax, str.SOFTWAREPoliciesMicrosoftWindowsGameDVR
mov qword [rbp - 0x60], rax
lea rax, str.AllowGameDVR
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x4c]
mov qword [rbp - 0x40], rax
lea rax, str.SystemGameConfigStore
mov qword [rbp - 0x30], rax
lea rax, str.GameDVR_Enabled
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x4e]
mov qword [rbp - 0x10], rax
lea rax, str.HistoricalCaptureEnabled
mov qword [rbp + 8], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x20], rax
lea rax, str.SoftwareMicrosoftGameBar
mov qword [rbp + 0x30], rax
lea rax, str.AutoGameModeEnabled
mov qword [rbp + 0x38], rax
lea rax, str.AllowAutoGameMode
mov qword [rbp + 0x40], rax
lea rax, [rsp + 0x52]
mov qword [rbp + 0x50], rax
lea rax, str.SYSTEMCurrentControlSetControlGraphicsDrivers
mov qword [rbp + 0x60], rax
lea rax, str.HwSchMode
mov qword [rbp + 0x68], rax
mov byte [rsp + 0x4b], dil
mov byte [rsp + 0x4d], dil
mov byte [rsp + 0x4f], dil
mov byte [rsp + 0x51], dil
mov byte [rsp + 0x53], dil
mov qword [rsp + 0x68], 0xffffffff80000001
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x80], rdi
mov byte [rbp - 0x78], dil
mov dword [rbp - 0x74], edi
mov qword [rbp - 0x68], 0xffffffff80000001
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x48], dil
mov dword [rbp - 0x44], edi
mov qword [rbp - 0x38], 0xffffffff80000001
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x18], dil
mov dword [rbp - 0x14], edi
mov qword [rbp - 8], 0xffffffff80000001
mov qword [rbp], rcx
mov qword [rbp + 0x10], rdi
mov byte [rbp + 0x18], dil
mov dword [rbp + 0x1c], edi
mov qword [rbp + 0x28], 0xffffffff80000001
mov byte [rbp + 0x48], dil
mov dword [rbp + 0x4c], edi
mov qword [rbp + 0x58], 0xffffffff80000002
mov qword [rbp + 0x70], rdi
mov byte [rbp + 0x78], 1
mov dword [rbp + 0x7c], 1
nop dword [rax]
nop dword [rax + rax]
mov r15, qword [rbx]
lea r9, [rbp + 0xa0]
mov r12, qword [rbx - 8]
mov rdx, r15
mov r8, qword [rbx + 8]
mov rcx, r12
call qword [sym.imp.obs.dll_get_reg_dword]
mov eax, dword [rbp + 0xa0]
test eax, eax
je 0x14022f19e
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x14022f19a
lea r9, [rbp + 0xa0]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.obs.dll_get_reg_dword]
mov eax, dword [rbp + 0xa0]
test eax, eax
jne 0x14022f1b8
mov eax, dword [rbx + 0x1c]
cmp dword [rbp + 0xa8], eax
mov byte [rsp + 0x45], 1
setne byte [rsp + 0x44]
movzx eax, word [rsp + 0x44]
jmp 0x14022f1ca
cmp byte [rbx + 0x18], 0
je 0x14022f1d1
mov word [rsp + 0x40], 0x100
movzx eax, word [rsp + 0x40]
mov rcx, qword [rbx - 0x10]
mov word [rcx], ax
inc edi
add rbx, 0x30
cmp edi, 6
jb 0x14022f150
mov r15, qword [rsp + 0xdd0]
mov al, 1
mov r12, qword [rsp + 0xe18]
mov ecx, dword [rbp + 0xb4]
mov r9d, dword [rbp + 0xb0]
movsd xmm0, qword [rsp + 0x48]
lea r8, str._d._d
mov edx, dword [rsp + 0x50]
movsd qword [r14 + 0x48], xmm0
mov dword [r14 + 0x50], edx
mov edx, 0x400
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x8c0]
mov byte [r14 + 0x54], al
call fcn.140066590
mov rdi, qword [rsp + 0xe10]
lea rax, [rbp + 0x8c0]
mov rbx, qword [rsp + 0xe08]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14022f250
lea rdx, [rbp + 0x8c0]
lea rcx, [r14 + 0x58]
call fcn.14000dff0
lea rcx, [r14 + 0x78]
mov r8d, 7
lea rdx, str.Windows
call fcn.14000dff0
mov eax, dword [rbp + 0xb8]
mov dword [r14 + 0x98], eax
nop dword [rax]
inc rsi
cmp byte [rsi + r13], 0
jne 0x14022f290
mov r8, rsi
lea rcx, [r14 + 0xa0]
mov rdx, r13
call fcn.14000dff0
mov eax, dword [rbp + 0xbc]
mov dword [r14 + 0xc0], eax
call qword [sym.imp.obs.dll_is_64_bit_windows]
movzx eax, al
inc eax
shl eax, 5
mov dword [r14 + 0xc4], eax
call qword [sym.imp.obs.dll_is_arm64_windows]
mov byte [r14 + 0xc8], al
call qword [sym.imp.obs.dll_os_get_emulation_status]
mov byte [r14 + 0xc9], al
mov rcx, qword [rbp + 0xcc0]
xor rcx, rsp
call fcn.14027c240
add rsp, 0xdd8
pop r14
pop r13
pop rsi
pop rbp
ret