Function at 0x1400025c0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
xor r14d, r14d
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMHardwareConfig
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140002611
xor al, al
jmp 0x140002929
mov dword [rbp + 0xe0], 0x100
mov esi, 1
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xe0]
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000291a
lea r12, [0x14003174e]
lea r15, str.SYSTEMHardwareConfig_
nop dword [rax]
nop dword [rax + rax]
mov dword [rbp + 0xe0], 0x100
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400026a0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004ef0
nop
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
cmp rax, 0x16
jb 0x140002749
lea rax, [r8 + 0x16]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x40]
cmp r12, rbx
jbe 0x140002707
lea rax, [rbx + r8]
cmp r15, rax
ja 0x140002707
cmp rbx, r15
ja 0x1400026ff
mov rdi, r14
jmp 0x14000270c
mov rdi, rbx
sub rdi, r15
jmp 0x14000270c
mov edi, 0x16
inc r8
lea rcx, [rbx + 0x16]
mov rdx, rbx
call fcn.1400240e0
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.1400240e0
mov r8d, 0x16
sub r8, rdi
lea rdx, [r15 + 0x16]
add rdx, rdi
lea rcx, [rbx + rdi]
call fcn.1400240e0
lea rax, [rsp + 0x40]
jmp 0x140002761
mov qword [rsp + 0x28], 0x16
mov edx, 0x16
lea rcx, [rsp + 0x40]
call fcn.1400059e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400027d0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002947
call fcn.140008610
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400028a9
lea rcx, [rbp - 0x80]
call fcn.1400023c0
mov eax, dword [rbp - 0x70]
inc eax
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.SystemManufacturer
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400028a9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000293b
call fcn.140008610
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400028e2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002941
call fcn.140008610
mov edx, esi
inc esi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xe0]
lea r8, [rbp - 0x60]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140002670
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000ebd4
nop
call fcn.14000ebd4
nop
call fcn.14000ebd4
int3