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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor r14d, r14d
lea rax, [rsp + 0x60]
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 0x14000266e
xor al, al
jmp 0x14000295d
mov dword [rsp + 0x70], 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, [rsp + 0x70]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140002950
lea r12, [0x14002fb46]
lea r15, str.SYSTEMHardwareConfig_
nop dword [rax + rax]
mov dword [rsp + 0x70], 0x100
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400026e5
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140004e40
nop
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
cmp rax, 0x16
jb 0x14000278e
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 0x14000274c
lea rax, [rbx + r8]
cmp r15, rax
ja 0x14000274c
cmp rbx, r15
ja 0x140002744
mov rdi, r14
jmp 0x140002751
mov rdi, rbx
sub rdi, r15
jmp 0x140002751
mov edi, 0x16
inc r8
lea rcx, [rbx + 0x16]
mov rdx, rbx
call fcn.140023590
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.140023590
mov r8d, 0x16
sub r8, rdi
lea rdx, [r15 + 0x16]
add rdx, rdi
lea rcx, [rbx + rdi]
call fcn.140023590
lea rax, [rsp + 0x40]
jmp 0x1400027a6
mov qword [rsp + 0x28], 0x16
mov edx, 0x16
lea rcx, [rsp + 0x40]
call fcn.1400057e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002812
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000280d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002999
call fcn.140007e20
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
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 0x1400028e4
lea rcx, [rbp - 0x68]
call fcn.1400023a0
mov eax, dword [rbp - 0x58]
inc eax
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rcx, qword [rbp - 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.SystemManufacturer
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400028e4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000298d
call fcn.140007e20
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000291c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002993
call fcn.140007e20
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, [rsp + 0x70]
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1400026c0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140007e00
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000e168
nop
call fcn.14000e168
nop
call fcn.14000e168
int3