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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0xb0], r9
mov rbx, qword [rsp + 0x350]
mov qword [rsp + 0xb8], rbx
mov rcx, rbx
mov r15, qword [rbx + 0x18]
cmp r15, 0x10
jb 0x14000431a
mov rcx, qword [rbx]
mov rbp, qword [rbx + 0x10]
xor r13d, r13d
cmp rbp, 3
jne 0x1400044a8
mov r8, rbp
lea rdx, [0x140023910]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400044a8
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14000cf70
mov rcx, rax
call fcn.140002410
mov rbp, rax
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14000cf70
mov rcx, rax
call fcn.140002410
mov r12, rax
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000437f
mov r15, qword [rsi]
mov dword [rsp + 0xc0], 0x104
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400043f1
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 2
mov r8, r12
mov rdx, rbp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14000452e
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000447b
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x10]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14000452e
mov rcx, rbx
cmp r15, 0x10
jb 0x1400044b4
mov rcx, qword [rbx]
cmp rbp, 3
jne 0x140004548
mov r8, rbp
lea rdx, [0x140023914]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004548
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14000cf70
mov rcx, rax
call fcn.140002410
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000452e
xor r9d, r9d
mov r8d, pe_nt_image_headers64
lea rdx, [0x1400238e4]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140004582
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14000457d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004694
mov rcx, r8
call fcn.14001f0bc
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400045cc
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400045c7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000469b
mov rcx, r8
call fcn.14001f0bc
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140004615
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140004610
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400046a2
mov rcx, r8
call fcn.14001f0bc
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000465a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004655
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400046a9
mov rcx, r8
call fcn.14001f0bc
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14001f060
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3