Function at 0x14000a0e0
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 [0x1400236e0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov eax, dword [0x140018e60]
lea rdx, [rbp - 0x10]
movups xmm0, xmmword [str.Windows_NT]
mov dword [rbp + 0x50], eax
mov ebx, 0x16
movzx eax, word [0x140018e64]
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 [0x140018e90]
mov ecx, r13d
mov word [rbp + 8], ax
mov eax, dword [0x140018e80]
mov dword [rbp + 0x38], eax
movabs rax, 0x4d00520041
mov qword [rbp + 0x10], rax
mov eax, dword [0x140018e70]
mov dword [rbp + 0x28], eax
lea rax, [0x140017b80]
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 0x14000a546
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 0x14000a544
movzx ecx, word [rbp - 0x10]
lea esi, [rdi + 4]
test ecx, ecx
je 0x14000ff31
sub ecx, 5
je 0x14000ff2b
sub ecx, r13d
je 0x14000ff1d
sub ecx, 3
jne 0x14000ff04
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 0x14000a544
movzx r9d, word [rbp - 0xe]
lea r8, [0x140017cfc]
mov r12d, 0x200
lea rcx, [rbp + 0x70]
mov edx, r12d
call fcn.14000202c
or rdi, 0xffffffffffffffff
lea rcx, [rbp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a328
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 0x14000a544
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 0x14000a544
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 0x14000ff3f
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 0x14000a471
lea rcx, [rbp + 0x7c]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a438
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.14000202c
mov ebx, eax
test eax, eax
js 0x14000a544
lea rcx, [rbp + 0x7c]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a478
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 0x14000a544
movzx eax, word [rbp - 0x10]
mov ecx, dword [rbp - 0xc]
test eax, eax
je 0x14000ff74
cmp eax, 4
jbe 0x14000ff63
cmp eax, 9
jne 0x14000ff51
movzx r9d, cx
lea r8, str._04x
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.14000202c
lea rax, [rbp + 0x70]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x14000a4f5
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 0x14000a544
mov eax, dword [0x140023710]
cmp eax, 0xffffffff
jne 0x14000ffba
mov ebx, r15d
mov eax, ebx
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14000e4b0
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 0x14000ff14
lea rcx, [rbp + 0x58]
mov eax, esi
jmp 0x14000a2ce
lea rcx, [rbp + 0x20]
jmp 0x14000a2cc
lea rcx, [rbp]
mov eax, 0xa
jmp 0x14000a2ce
lea rcx, [rbp + 0x10]
jmp 0x14000ff35
lea rcx, [rbp + 0x18]
mov eax, 8
jmp 0x14000a2ce
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
nop
jmp 0x14000a544
cmp eax, 6
jbe 0x14000a4da
cmp eax, 0xc
je 0x14000a4da
movzx r9d, word [rbp - 0xc]
lea r8, [0x140017cfc]
jmp 0x14000a4e5
mov edx, 0xff00
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x14000a4da
movzx r9d, cl
lea r8, str._02x
lea rcx, [rbp + 0x70]
mov rdx, r12
call fcn.14000202c
mov edx, 0x100
lea rcx, [rbp + 0x70]
call qword [sym.imp.ntdll.dll__wcsupr_s]
nop dword [rax + rax]
nop
jmp 0x14000a4f1
sub eax, 2
je 0x14000ffdb
cmp eax, r13d
je 0x14000ffcd
lea rax, str.MINIMAL
jmp 0x14000ffe2
lea rax, str.DSREPAIR
mov esi, 0x12
jmp 0x14000ffe2
lea rax, str.NETWORK
mov dword [rsp + 0x28], esi
lea rdx, [0x140016a50]
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 0x14000a544
jmp 0x14000a541