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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r15b, 1
cmp dword [0x1400d52e0], 0
jne 0x14005716a
xor r15b, r15b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005716a
lea rcx, [0x1400d52c0]
call rax
mov r15b, 1
lea rcx, [rsp + 0xc0]
mov rax, qword [0x1400d52c0]
mov qword [rcx], rax
mov rax, qword [0x1400d52c8]
mov qword [rcx + 8], rax
mov rax, qword [0x1400d52d0]
mov qword [rcx + 0x10], rax
mov rax, qword [0x1400d52d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1400d52e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1400d52e8]
mov qword [rcx + 0x28], rax
test r15b, r15b
je 0x14005779d
mov ecx, 8
call fcn.140065e94
test rax, rax
je 0x1400571d5
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x1400571d7
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov r14d, dword [rsp + 0xe0]
mov rdx, r14
xor eax, eax
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0xcc], eax
mov dword [rsp + 0xd0], eax
mov dword [rsp + 0xd4], eax
lea r8, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
mov eax, dword [rcx]
mov dword [r8], eax
mov eax, dword [rcx + 4]
mov dword [r8 + 4], eax
mov eax, dword [rcx + 8]
mov dword [r8 + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [r8 + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [r8 + 0x10], eax
mov eax, dword [rcx + 0x14]
mov dword [r8 + 0x14], eax
lea r8, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.140059ec0
lea rcx, str.PowrProf.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14005751a
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140057040
test al, al
je 0x14005751a
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
xor edx, edx
lea rcx, [0x1400d52f0]
call fcn.140059a20
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
cmp rbx, rdi
jbe 0x1400572eb
call fcn.1400679f0
mov rdi, qword [rsp + 0x88]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov r14d, 1
mov rsi, qword [rsp + 0x40]
movzx ebx, byte [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
nop word [rax + rax]
cmp qword [rsp + 0x80], rdi
jbe 0x14005732f
call fcn.1400679f0
test rsi, rsi
je 0x14005733b
cmp rsi, qword [rsp + 0x68]
je 0x140057340
call fcn.1400679f0
cmp rbp, rdi
je 0x140057750
test rsi, rsi
jne 0x140057358
call fcn.1400679f0
xor r11d, r11d
jmp 0x14005735b
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x20]
jb 0x140057366
call fcn.1400679f0
mov eax, dword [rbp]
mov dword [rsp + 0x58], eax
test rsi, rsi
jne 0x14005737c
call fcn.1400679f0
xor r11d, r11d
jmp 0x14005737f
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x20]
jb 0x14005738a
call fcn.1400679f0
mov eax, dword [rbp + 4]
mov dword [rsp + 0x5c], eax
cmp qword [0x1400d5308], 0
jne 0x14005739f
xor ecx, ecx
jmp 0x1400573b1
mov rcx, qword [0x1400d5318]
sub rcx, qword [0x1400d5308]
sar rcx, 3
mov rdi, qword [0x1400d5310]
mov rax, rdi
sub rax, qword [0x1400d5308]
sar rax, 3
cmp rax, rcx
jae 0x1400573fc
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
lea r9, [0x1400d5300]
lea r8, [rsp + 0x58]
mov rdx, r14
mov rcx, rdi
call fcn.14005b9d0
lea r11, [rdi + 8]
mov qword [0x1400d5310], r11
jmp 0x1400574ec
mov rdi, qword [0x1400d5310]
cmp qword [0x1400d5308], rdi
jbe 0x140057411
call fcn.1400679f0
mov r13, qword [0x1400d52f0]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rdi
mov rax, qword [0x1400d5310]
sub rax, qword [0x1400d5308]
test rax, 0xfffffffffffffff8
jne 0x14005743c
xor edi, edi
jmp 0x14005746b
mov r12, qword [0x1400d5308]
cmp r12, qword [0x1400d5310]
jbe 0x140057451
call fcn.1400679f0
test r13, r13
je 0x14005745f
cmp r13, qword [0x1400d52f0]
je 0x140057464
call fcn.1400679f0
sub rdi, r12
sar rdi, 3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xa0], xmm0
lea r9, [rsp + 0x58]
mov r8, r14
lea rdx, [rsp + 0xa0]
lea rcx, [0x1400d52f0]
call fcn.14005a420
mov r12, qword [0x1400d5308]
cmp r12, qword [0x1400d5310]
jbe 0x1400574aa
call fcn.1400679f0
mov r13, qword [0x1400d52f0]
test r13, r13
jne 0x1400574c0
call fcn.1400679f0
xor r11d, r11d
jmp 0x1400574ca
mov rax, qword [0x1400d52f0]
mov r11, qword [rax]
lea rcx, [r12 + rdi*8]
cmp rcx, qword [r11 + 0x20]
ja 0x1400574e7
test r13, r13
je 0x1400574df
mov rax, qword [r13]
jmp 0x1400574e1
xor eax, eax
cmp rcx, qword [rax + 0x18]
jae 0x1400574ec
call fcn.1400679f0
test rsi, rsi
jne 0x1400574fb
call fcn.1400679f0
xor r11d, r11d
jmp 0x1400574fe
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x20]
jb 0x140057509
call fcn.1400679f0
add rbp, 0x18
mov rdi, qword [rsp + 0x88]
jmp 0x140057320
xor r13d, r13d
test r14d, r14d
je 0x140057750
lea ebp, [r13 + 1]
movzx ebx, byte [rsp + 0x30]
nop
test r15b, r15b
je 0x140057750
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x20], r13d
lea r9, str.HARDWAREDESCRIPTIONSystemCentralProcessor
lea r8, str._s_d
mov edx, 0x78
lea rcx, [rsp + 0x100]
call fcn.140066ef4
xor r15b, r15b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x100]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400575e5
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, str.MHz
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx r15d, r15b
test eax, eax
cmove r15d, ebp
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x54], eax
mov rsi, qword [0x1400d5308]
test rsi, rsi
jne 0x1400575fd
xor ecx, ecx
jmp 0x14005760b
mov rcx, qword [0x1400d5318]
sub rcx, rsi
sar rcx, 3
mov rdi, qword [0x1400d5310]
mov rax, rdi
sub rax, rsi
sar rax, 3
cmp rax, rcx
jae 0x140057652
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
lea r9, [0x1400d5300]
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, rdi
call fcn.14005b9d0
lea r11, [rdi + 8]
mov qword [0x1400d5310], r11
jmp 0x140057744
mov rbp, rdi
cmp rsi, rdi
jbe 0x14005766d
call fcn.1400679f0
mov rdi, qword [0x1400d5310]
mov rsi, qword [0x1400d5308]
mov rcx, qword [0x1400d52f0]
mov r12, rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rbp
mov rax, rdi
sub rax, rsi
test rax, 0xfffffffffffffff8
jne 0x140057699
xor ebp, ebp
jmp 0x1400576c0
cmp rsi, rdi
jbe 0x1400576aa
call fcn.1400679f0
mov rcx, qword [0x1400d52f0]
test r12, r12
je 0x1400576b4
cmp r12, rcx
je 0x1400576b9
call fcn.1400679f0
sub rbp, rsi
sar rbp, 3
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xc0], xmm0
lea r9, [rsp + 0x50]
mov r8d, 1
lea rdx, [rsp + 0xc0]
lea rcx, [0x1400d52f0]
call fcn.14005a420
mov rsi, qword [0x1400d5308]
cmp rsi, qword [0x1400d5310]
jbe 0x140057705
call fcn.1400679f0
mov rdi, qword [0x1400d52f0]
test rdi, rdi
jne 0x14005771b
call fcn.1400679f0
xor r11d, r11d
jmp 0x14005771e
mov r11, qword [rdi]
lea rcx, [rsi + rbp*8]
cmp rcx, qword [r11 + 0x20]
ja 0x14005773a
test rdi, rdi
je 0x140057732
mov rax, qword [rdi]
jmp 0x140057734
xor eax, eax
cmp rcx, qword [rax + 0x18]
jae 0x14005773f
call fcn.1400679f0
mov ebp, 1
inc r13d
cmp r13d, r14d
jb 0x140057530
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x140057765
mov rcx, rbx
call fcn.140065920
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov rcx, qword [rsp + 0x68]
call fcn.140065920
test r15b, r15b
je 0x14005779d
mov al, r15b
jmp 0x1400577bd
xor eax, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov r8, qword [rsp + 0x40]
xor edx, edx
lea rcx, [0x1400d52f0]
call fcn.140059a20
mov al, r15b
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140064b70
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret