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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa20
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0xa10], rax
lea rax, [rsp + 0x58]
mov rsi, rdx
mov rbp, rcx
mov rdx, rcx
mov rbx, 0xffffffff80000001
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14006d090
xor al, al
jmp 0x14006d2b8
mov rdx, rsi
mov rcx, rbx
call fcn.14006ca58
lea r11, [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14006d0e4
mov rcx, qword [rsp + 0x58]
call fcn.14006c7c8
jmp 0x14006d089
mov ecx, 0x100000
call fcn.1400c799c
mov rbx, rax
test rax, rax
jne 0x14006d104
lea rcx, [0x140134b90]
call fcn.1400330b4
jmp 0x14006d089
lea rax, [rsp + 0x54]
xor edi, edi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x14006d173
mov eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x210]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
inc edi
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x210]
mov dword [rsp + 0x50], 0x200
mov dword [rsp + 0x54], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14006d128
mov rcx, rbx
call fcn.1400c7040
xor edi, edi
xor edx, edx
mov ebx, edi
jmp 0x14006d261
lea rax, [rsp + 0x80]
lea r8, [0x1400e61d0]
lea rcx, [rsp + 0x610]
mov r9, rbp
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.140022b7c
lea r11, [rsp + 0x80]
lea r8, [0x1400e61d0]
lea rcx, [rsp + 0x210]
mov r9, rsi
mov edx, 0x200
mov qword [rsp + 0x20], r11
call fcn.140022b7c
lea r11, [rsp + 0x70]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x14006d2a2
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x610]
call fcn.14006d038
inc ebx
mov edx, ebx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x50], 0xc8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x14006d1b2
mov rcx, qword [rsp + 0x58]
call fcn.14006c7c8
mov rcx, qword [rsp + 0x68]
call fcn.14006c7c8
mov al, 1
mov rcx, qword [rsp + 0xa10]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa20
pop rdi
pop rsi
pop rbp
ret