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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x100013110]
xor rax, rsp
mov qword [rsp + 0x850], rax
xor esi, esi
lea rcx, [r11 - 0x618]
lea rdx, [0x100001690]
lea r8d, [rsi + 0x5e]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x2ae]
xor edx, edx
mov r8d, 0x1a0
call sub.msvcrt.dll_memset
mov ecx, 0x210
mov dword [rsp + 0x30], 0x1fc
call fcn.10000ac1c
mov rbx, rax
mov qword [rsp + 0x38], rax
cmp rax, rsi
je 0x100004be6
xor eax, eax
mov ebp, 0xff
lea rdi, [rsp + 0x650]
mov rcx, rbp
rep stosb byte [rdi], al
lea rdi, [rsp + 0x50]
mov rcx, rbp
rep stosb byte [rdi], al
lea rdi, [rsp + 0x650]
lea ecx, [rbp + 1]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x450]
lea ecx, [rbp + 1]
rep stosb byte [rdi], al
lea rdi, [0x10000161c]
cmp rdi, rsi
je 0x100004a17
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
je 0x100004a17
lea rdx, [0x100001620]
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.100009ec8
lea rcx, [rsp + 0x50]
mov r8d, ebp
mov rdx, rdi
call fcn.100009f70
jmp 0x100004a27
lea rcx, [rsp + 0x50]
mov r8d, ebp
mov rdx, rdi
call fcn.100009ec8
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
cmp eax, esi
jne 0x100004bd1
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x250]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100004bd1
mov rcx, rbx
call fcn.10000adc4
mov rdi, rbx
lea rdx, [0x1000016f0]
movsxd rcx, eax
xor eax, eax
xor r9d, r9d
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x100004b39
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x38]
dec eax
mov word [rbx + rax*2], si
mov edx, dword [rsp + 0x30]
add edx, edx
call fcn.10000acbc
cmp eax, esi
jne 0x100004afb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x38]
call fcn.10000ab40
jmp 0x100004be6
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.10000adc4
mov rdi, rbx
lea rdx, [0x1000016f0]
movsxd rcx, eax
xor eax, eax
xor r9d, r9d
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x100004b57
lea rcx, [rsp + 0x38]
call fcn.10000ab40
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100004bdb
mov eax, dword [rsp + 0x30]
shr rax, 1
mov word [rbx + rax*2], si
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x100001708]
lea rcx, [rsp + 0x450]
mov r8d, 0x100
call fcn.100009ec8
xor r9d, r9d
lea rdx, [rsp + 0x450]
lea r8d, [r9 + 1]
mov rcx, rbx
call fcn.1000098e8
cmp eax, 0xffffffff
je 0x100004bbe
cdqe
mov edi, 3
lea rcx, [rbx + rax*2]
cmp rcx, rsi
jne 0x100004bc3
mov edi, 2
lea rcx, [rsp + 0x38]
call fcn.10000ab40
mov eax, edi
jmp 0x100004beb
lea rcx, [rsp + 0x38]
call fcn.10000ab40
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 4
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.10000ff20
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret