Function at 0x1400f6580
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor bl, bl
mov rdi, rcx
cmp edx, 6
ja case.default.0x1400f65cf
movsxd rax, edx
lea rcx, [0x140000000]
mov qword [rsp + 0x198], rsi
mov edx, dword [rcx + rax*4 + 0xf688c]
add rdx, rcx
jmp rdx
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400f5e60
test al, al
je 0x1400f685d
mov r8d, 6
lea rdx, [rsp + 0x48]
jmp 0x1400f6853
xor eax, eax
lea r9, [rsp + 0x48]
mov dword [rsp + 0x38], eax
lea rcx, [0x14026f910]
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400f685d
mov r8d, 4
lea rdx, [rsp + 0x48]
jmp 0x1400f6853
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14028eab0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400f685d
xor eax, eax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rdx, [0x14028ead0]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f66ec
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x40]
lea rdx, [0x14028ead0]
mov rsi, rax
xor r9d, r9d
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f66e3
mov r8d, dword [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call fcn.1400f7d30
mov bl, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f685d
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400f685d
xor eax, eax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rdx, [0x14028eb18]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f67af
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x40]
lea rdx, [0x14028eb18]
mov rsi, rax
xor r9d, r9d
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x1400f67a6
mov r8d, dword [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call fcn.1400f7d30
mov bl, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f685d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400f7f50
test eax, eax
jne 0x1400f67ec
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1400f67ec
mov rdx, qword [rsp + 0x40]
mov r8d, eax
mov rcx, rdi
call fcn.1400f7d30
mov bl, 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400f685d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400f685d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
test eax, eax
je 0x1400f685d
mov r8d, dword [rsp + 0x48]
lea rdx, [rbp + 0x50]
jmp 0x1400f6853
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
test eax, eax
je 0x1400f685d
lea rax, [rsp + 0x54]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400f6840
add r8, r8
lea rdx, [rsp + 0x54]
mov rcx, rdi
call fcn.1400f7d30
mov bl, 1
mov rsi, qword [rsp + 0x198]
movzx eax, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret