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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x41f8
call fcn.1400262f0
sub rsp, rax
mov rax, qword [0x140066018]
xor rax, rsp
mov qword [rsp + 0x41e0], rax
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x40], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x4208]
mov rcx, qword [rsp + 0x4200]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14001fb0c
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
cmp eax, 1
je 0x14001faf8
mov dword [rsp + 0x54], 0xff
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xff
jae 0x14001f8e1
jmp 0x14001f8e6
call fcn.140025e34
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0xe0], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x58], eax
mov r9d, dword [rsp + 0x54]
lea r8, [rsp + 0xe0]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x44], 0
jne 0x14001faf1
movzx r8d, byte [rsp + 0x48]
lea rdx, str.Count
lea rcx, [rsp + 0xb8]
call fcn.1400161b0
mov rcx, rax
call fcn.140020570
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140032b50
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14001faeb
xor eax, eax
cmp eax, 1
je 0x14001fade
mov dword [rsp + 0x5c], 0x3fff
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x3fff
jae 0x14001f9cb
jmp 0x14001f9d0
call fcn.140025e34
mov rax, qword [rsp + 0x80]
mov byte [rsp + rax + 0x1e0], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0x1e0]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x44], 0
jne 0x14001fad7
lea rax, [rsp + 0x98]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x88]
call fcn.140019180
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xc0]
call fcn.14001c760
lea rcx, [rsp + 0xc0]
call fcn.14001f680
mov rdx, qword [rsp + 0x4210]
mov rcx, rax
call fcn.14002a018
test rax, rax
je 0x14001fac8
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14001fac8
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0xc0]
call fcn.140019f70
jmp 0x14001fad9
jmp 0x14001fade
jmp 0x14001f997
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001faef
xor al, al
jmp 0x14001fb0e
jmp 0x14001faf3
jmp 0x14001faf8
jmp 0x14001f8b3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x40]
jmp 0x14001fb0e
xor al, al
mov rcx, qword [rsp + 0x41e0]
xor rcx, rsp
call fcn.140025cc0
add rsp, 0x41f8
ret