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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4a8]
sub rsp, 0x580
mov rax, qword [0x1400246e0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov eax, dword [0x140019fc0]
lea rdx, [rbp - 0x10]
movups xmm0, xmmword [str.Windows_NT]
mov dword [rbp + 0x50], eax
mov ebx, 0x16
movzx eax, word [0x140019fc4]
mov r14, rcx
mov word [rbp + 0x54], ax
xor r9d, r9d
movups xmmword [rbp + 0x40], xmm0
lea edi, [rbx - 0xa]
movabs rax, 0x3600380078
movsd xmm0, qword [str.IA64]
lea r13d, [rbx - 0x15]
mov qword [rbp + 0x18], rax
mov r8d, edi
movzx eax, word [0x140019ff0]
mov ecx, r13d
mov word [rbp + 8], ax
mov eax, dword [0x140019fe0]
mov dword [rbp + 0x38], eax
movabs rax, 0x4d00520041
mov qword [rbp + 0x10], rax
mov eax, dword [0x140019fd0]
mov dword [rbp + 0x28], eax
lea rax, [0x140018c00]
mov qword [rsp + 0x48], rax
lea rax, str.RegistryMachineHardwareDescriptionSystemCentralProcessor0
mov qword [rsp + 0x78], rax
lea rax, str.PROCESSOR_ARCHITECTURE
mov qword [rsp + 0x58], rax
lea rax, str.PROCESSOR_LEVEL
mov qword [rsp + 0x68], rax
lea rax, str.PROCESSOR_IDENTIFIER
movsd qword [rbp], xmm0
movsd xmm0, qword [str.AMD64]
mov qword [rbp - 0x58], rax
lea rax, str.PROCESSOR_REVISION
movsd qword [rbp + 0x30], xmm0
movsd xmm0, qword [str.ARM64]
mov qword [rbp - 0x48], rax
lea rax, str.Identifier
movsd qword [rbp + 0x20], xmm0
movups xmm0, xmmword [str.Unknown]
mov qword [rbp - 0x78], rax
lea rax, str.VendorIdentifier
mov qword [rbp - 0x68], rax
movdqu xmmword [rbp + 0x58], xmm0
mov dword [rsp + 0x40], 0x60004
mov dword [rsp + 0x70], 0x820080
mov dword [rsp + 0x50], 0x2e002c
mov dword [rsp + 0x60], 0x20001e
mov dword [rbp - 0x60], 0x2a0028
mov dword [rbp - 0x50], 0x260024
mov dword [rbp - 0x80], 0x160014
mov dword [rbp - 0x70], 0x220020
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
xor r15d, r15d
test eax, eax
js 0x14000a586
lea rax, [rbp + 0x40]
mov dword [rsp + 0x28], ebx
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
movzx ecx, word [rbp - 0x10]
lea esi, [rdi + 4]
test ecx, ecx
je 0x1400105af
sub ecx, 5
je 0x1400105a9
sub ecx, r13d
je 0x14001059b
sub ecx, 3
jne 0x140010582
lea rcx, [rbp + 0x30]
mov eax, edi
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, r13d
mov rcx, r14
mov dword [rsp + 0x30], eax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
movzx r9d, word [rbp - 0xe]
lea r8, [0x140018d7c]
mov r12d, 0x200
lea rcx, [rbp + 0x70]
mov edx, r12d
call fcn.140001d60
or rdi, 0xffffffffffffffff
lea rcx, [rbp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a368
lea eax, [rax*2 + 2]
mov r9d, r13d
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x60]
lea rax, [rbp + 0x70]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
lea rax, [rsp + 0x70]
mov dword [rbp - 0x40], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x40]
mov qword [rbp - 0x38], r15
mov edx, 0x20019
mov dword [rbp - 0x28], 0x40
lea rcx, [rsp + 0x38]
movdqu xmmword [rbp - 0x20], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x70]
mov r8d, 2
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x80]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
test eax, eax
js 0x1400105bd
lea rax, [rsp + 0x30]
mov r8d, 2
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x270]
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
js 0x14000a4b1
lea rcx, [rbp + 0x7c]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a478
add rax, rax
lea rcx, [rbp + 0x7c]
mov edx, 0x1f4
lea r9, [rbp + 0x27c]
sub rdx, rax
lea r8, str.___ws
add rcx, rax
call fcn.140001d60
mov ebx, eax
test eax, eax
js 0x14000a584
lea rcx, [rbp + 0x7c]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a4b8
lea eax, [rax*2 + 2]
mov r9d, r13d
mov dword [rsp + 0x28], eax
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7c]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
movzx eax, word [rbp - 0x10]
mov ecx, dword [rbp - 0xc]
test eax, eax
je 0x1400105f2
cmp eax, 4
jbe 0x1400105e1
cmp eax, 9
jne 0x1400105cf
movzx r9d, cx
lea r8, str._04x
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.140001d60
lea rax, [rbp + 0x70]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x14000a535
lea eax, [rdi*2 + 2]
mov r9d, r13d
mov dword [rsp + 0x28], eax
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x70]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
mov eax, dword [0x140024710]
cmp eax, 0xffffffff
jne 0x140010638
mov ebx, r15d
mov eax, ebx
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14000e710
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp ecx, 3
je 0x140010592
lea rcx, [rbp + 0x58]
mov eax, esi
jmp 0x14000a30e
lea rcx, [rbp + 0x20]
jmp 0x14000a30c
lea rcx, [rbp]
mov eax, 0xa
jmp 0x14000a30e
lea rcx, [rbp + 0x10]
jmp 0x1400105b3
lea rcx, [rbp + 0x18]
mov eax, 8
jmp 0x14000a30e
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
nop
jmp 0x14000a584
cmp eax, 6
jbe 0x14000a51a
cmp eax, 0xc
je 0x14000a51a
movzx r9d, word [rbp - 0xc]
lea r8, [0x140018d7c]
jmp 0x14000a525
mov edx, 0xff00
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x14000a51a
movzx r9d, cl
lea r8, str._02x
lea rcx, [rbp + 0x70]
mov rdx, r12
call fcn.140001d60
mov edx, 0x100
lea rcx, [rbp + 0x70]
call qword [sym.imp.ntdll.dll__wcsupr_s]
nop dword [rax + rax]
nop
jmp 0x14000a531
sub eax, 2
je 0x140010659
cmp eax, r13d
je 0x14001064b
lea rax, str.MINIMAL
jmp 0x140010660
lea rax, str.DSREPAIR
mov esi, 0x12
jmp 0x140010660
lea rax, str.NETWORK
mov dword [rsp + 0x28], esi
lea rdx, [0x140017090]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000a584
jmp 0x14000a581