Function at 0x140003bf0
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 [0x14002b028]
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 0x140003c5a
mov rcx, qword [rbx]
mov rbp, qword [rbx + 0x10]
xor r13d, r13d
cmp rbp, 3
jne 0x140003de8
mov r8, rbp
lea rdx, [0x140022870]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003de8
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14000c820
mov rcx, rax
call fcn.140001d50
mov rbp, rax
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14000c820
mov rcx, rax
call fcn.140001d50
mov r12, rax
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140003cbf
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 0x140003d31
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 0x140003e6e
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 0x140003dbb
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 0x140003e6e
mov rcx, rbx
cmp r15, 0x10
jb 0x140003df4
mov rcx, qword [rbx]
cmp rbp, 3
jne 0x140003e88
mov r8, rbp
lea rdx, [0x140022874]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003e88
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14000c820
mov rcx, rax
call fcn.140001d50
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 0x140003e6e
xor r9d, r9d
mov r8d, 0x100
lea rdx, [0x140022844]
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 0x140003ec2
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x140003ebd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003fd4
mov rcx, r8
call fcn.14001e2dc
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140003f0c
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140003f07
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003fdb
mov rcx, r8
call fcn.14001e2dc
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140003f55
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140003f50
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003fe2
mov rcx, r8
call fcn.14001e2dc
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140003f9a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140003f95
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003fe9
mov rcx, r8
call fcn.14001e2dc
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14001e280
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