Function at 0x18001f8b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov edx, 1
lea rcx, [rsp + 0xa0]
call fcn.180014b40
lea rcx, [rsp + 0xa0]
call fcn.180006980
nop
cmp qword [rsp + 0x128], 0
je 0x18001f94b
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x70]
call fcn.180006930
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.1800111f0
nop
lea rcx, [rsp + 0x70]
call fcn.180011170
mov qword [rsp + 0x90], 0
mov eax, dword [rsp + 0x130]
or eax, 0x2001f
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xa0]
call fcn.1800072d0
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x54]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18001fb4b
cmp dword [rsp + 0x40], 2
jne 0x18001faf9
movzx eax, byte [rsp + 0x138]
test eax, eax
je 0x18001faf9
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.180014b40
lea rcx, [rsp + 0xa0]
call fcn.1800072d0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.180018560
nop
mov edx, 1
lea rcx, [rsp + 0xe8]
call fcn.180014b40
lea rcx, [rsp + 0xa0]
call fcn.1800072d0
mov rcx, rax
call fcn.180010330
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.180006930
nop
lea rcx, [rsp + 0xd0]
call fcn.1800103f0
movzx eax, al
test eax, eax
jne 0x18001fade
lea rcx, [rsp + 0xe8]
call fcn.1800103f0
movzx eax, al
test eax, eax
jne 0x18001fade
lea rcx, [rsp + 0xe8]
call fcn.1800072d0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xd0]
call fcn.1800072d0
mov r9d, dword [rsp + 0x130]
mov rcx, qword [rsp + 0x68]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.18001bab0
test eax, eax
jne 0x18001fade
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0xe8]
call fcn.180011170
nop
lea rcx, [rsp + 0xd0]
call fcn.180011170
nop
lea rcx, [rsp + 0xa0]
call fcn.180011170
mov eax, dword [rsp + 0x50]
jmp 0x18001fcf2
lea rcx, [rsp + 0xe8]
call fcn.180011170
nop
lea rcx, [rsp + 0xd0]
call fcn.180011170
cmp dword [rsp + 0x40], 2
je 0x18001fb2d
cmp dword [rsp + 0x40], 3
je 0x18001fb2d
lea rcx, [rsp + 0xa0]
call fcn.1800072c0
mov r9, rax
mov r8d, dword [rsp + 0x40]
lea rdx, str.mini::__registry_class_mini::extended_mini_string_wchar_t___::RecurseDeleteKey:_:_E:_d_open_key__s
mov ecx, 4
call fcn.1800284e0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0xa0]
call fcn.180011170
mov eax, dword [rsp + 0x58]
jmp 0x18001fcf2
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.180014b40
lea rcx, [rsp + 0xb8]
call fcn.180006980
nop
mov edx, 0x8000
lea rcx, [rsp + 0xb8]
call fcn.180014b60
lea rcx, [rsp + 0xb8]
call fcn.1800072c0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xb8]
call fcn.18000a210
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
je 0x18001fbb5
cmp qword [rsp + 0x60], 0
jne 0x18001fbe1
mov dword [rsp + 0x48], 8
lea rcx, [rsp + 0xb8]
call fcn.180011170
nop
lea rcx, [rsp + 0xa0]
call fcn.180011170
mov eax, dword [rsp + 0x48]
jmp 0x18001fcf2
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001fc94
xor r9d, r9d
mov r8d, dword [rsp + 0x130]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.18001f8b0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18001fc7b
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0xb8]
call fcn.180011170
nop
lea rcx, [rsp + 0xa0]
call fcn.180011170
mov eax, dword [rsp + 0x5c]
jmp 0x18001fcf2
lea rcx, [rsp + 0xb8]
call fcn.18000a210
mov dword [rsp + 0x98], eax
jmp 0x18001fbe1
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0xa0]
call fcn.1800072d0
mov r8d, dword [rsp + 0x130]
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.18001ba10
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0xb8]
call fcn.180011170
nop
lea rcx, [rsp + 0xa0]
call fcn.180011170
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x118
ret