Function at 0x180034e30
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, r9
mov r13, r8
mov rdi, rdx
mov rsi, rcx
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
xor r14d, r14d
mov qword [rbp - 0x71], r14
mov dword [rbp - 0x69], r14d
mov qword [rbp - 0x61], r14
lea r9d, [r14 + 1]
mov r8, qword [rsp + 0x38]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x71]
call fcn.18000a900
test eax, eax
je 0x180034ebd
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x180034eb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x180035045
mov byte [rbp - 0x21], 0
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov byte [rbp + 0x10], al
mov dword [rsp + 0x30], reloc.ca_core.dll_Ordinal_50
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rbx, qword [rbp - 0x71]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180034f49
mov eax, dword [rsp + 0x34]
cmp eax, 1
je 0x180034f27
cmp eax, 2
jne 0x180034f49
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x180034f38
cmp byte [rbp + rax - 0x22], 0
je 0x180034f3c
jmp 0x180034f49
mov byte [rbp - 0x21], 0
lea rdx, [rbp - 0x21]
mov rcx, rsi
call qword [sym.imp.mfc100.dll_Ordinal_1294]
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.MHz
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180034f8e
cmp dword [rsp + 0x30], 4
jne 0x180034f8e
mov eax, dword [rbp - 0x79]
mov dword [r12], eax
test rbx, rbx
je 0x180034fa3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
mov qword [rbp - 0x71], rbx
mov dword [rbp - 0x69], r14d
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11d, dword [rbp - 0x39]
mov dword [r13], r11d
mov eax, dword [rbp - 0x35]
sub eax, 0x182
je 0x180035025
sub eax, 0x64
je 0x18003501c
sub eax, 0x64
je 0x180035013
sub eax, 0x64e
je 0x18003500a
mov rcx, rdi
cmp eax, 0x1940
je 0x180035001
lea rdx, [0x18004bd6c]
jmp 0x18003502f
lea rdx, str.AMD_X8664_Processor
jmp 0x18003502f
lea rdx, str.Intel_IA64_Processor
jmp 0x18003502c
lea rdx, str.Intel_Pentium_Processor
jmp 0x18003502c
lea rdx, str.Intel_486_Processor
jmp 0x18003502c
lea rdx, str.Intel_386_processor
mov rcx, rdi
call qword [sym.imp.mfc100.dll_Ordinal_4124]
nop
test rbx, rbx
je 0x180035045
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18003c580
add rsp, 0xe0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret