Function at 0x18001ead0
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, 0x178
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov edx, 1
lea rcx, [rsp + 0xf8]
call fcn.18001b0e0
lea rcx, [rsp + 0xf8]
call fcn.18001c230
nop
cmp qword [rsp + 0x188], 0
je 0x18001eb74
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0xd0]
call fcn.18001c1b0
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xf8]
call fcn.18001c880
nop
lea rcx, [rsp + 0xd0]
call fcn.180013670
mov qword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x190]
or eax, 0x2001f
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0xf8]
call fcn.18000bd00
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x58]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff7fe
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
cmp eax, 0xe1eba01
jne 0x18001ec28
lea r8, [0x180096d68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xc8], rax
jmp 0x18001ec50
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x40], 0
je 0x18001ee46
cmp dword [rsp + 0x40], 2
jne 0x18001ee28
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x18001ee28
mov edx, 1
lea rcx, [rsp + 0x140]
call fcn.18001b0e0
lea rcx, [rsp + 0xf8]
call fcn.18000bd00
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180023b50
nop
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff7e0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x128]
call fcn.18001b0e0
lea rcx, [rsp + 0xf8]
call fcn.18000bd00
mov rcx, rax
call fcn.180023020
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.18001c1b0
nop
mov dword [rsp + 0x68], SafeArrayCopy
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x68]
movsxd rcx, ecx
lea rdx, [0x180093980]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x90], 7
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x90]
movsxd rcx, ecx
lea rdx, [0x180093980]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0x140]
call fcn.1800248c0
movzx eax, al
test eax, eax
jne 0x18001ee0d
lea rcx, [rsp + 0x128]
call fcn.1800248c0
movzx eax, al
test eax, eax
jne 0x18001ee0d
lea rcx, [rsp + 0x128]
call fcn.18000bd00
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x140]
call fcn.18000bd00
mov r9d, dword [rsp + 0x190]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.18001d8e0
test eax, eax
jne 0x18001ee0d
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x128]
call fcn.180013670
nop
lea rcx, [rsp + 0x140]
call fcn.180013670
nop
lea rcx, [rsp + 0xf8]
call fcn.180013670
mov eax, dword [rsp + 0x8c]
jmp 0x18001f1f2
lea rcx, [rsp + 0x128]
call fcn.180013670
nop
lea rcx, [rsp + 0x140]
call fcn.180013670
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0xf8]
call fcn.180013670
mov eax, dword [rsp + 0x74]
jmp 0x18001f1f2
mov edx, 1
lea rcx, [rsp + 0x110]
call fcn.18001b0e0
lea rcx, [rsp + 0x110]
call fcn.18001c230
nop
mov edx, 0x8000
lea rcx, [rsp + 0x110]
call fcn.180025760
lea rcx, [rsp + 0x110]
call fcn.180025f50
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x110]
call fcn.180001c50
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x18001eeb0
cmp qword [rsp + 0x50], 0
jne 0x18001eee2
mov dword [rsp + 0x84], 8
lea rcx, [rsp + 0x110]
call fcn.180013670
nop
lea rcx, [rsp + 0xf8]
call fcn.180013670
mov eax, dword [rsp + 0x84]
jmp 0x18001f1f2
lea rax, [rsp + 0x158]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xf0]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001eff2
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
cmp eax, 0x30dacdcd
jne 0x18001ef5d
lea r8, [0x180096da8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xa8], rax
jmp 0x18001ef85
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x190]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xe8]
call fcn.18001ead0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18001efd9
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x110]
call fcn.180013670
nop
lea rcx, [rsp + 0xf8]
call fcn.180013670
mov eax, dword [rsp + 0x6c]
jmp 0x18001f1f2
lea rcx, [rsp + 0x110]
call fcn.180001c50
mov dword [rsp + 0xf0], eax
jmp 0x18001eee2
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
add eax, 0x223f74a
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0xf8]
call fcn.18000bd00
mov r8d, dword [rsp + 0x190]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.18001d820
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
cmp eax, 0x1705fd41
jne 0x18001f082
lea r8, [0x180096df0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xb0], rax
jmp 0x18001f0aa
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x44], 0
je 0x18001f0e1
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
add eax, 0x399442e
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
jmp 0x18001f1cb
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
cmp eax, 0x8ffaea6d
jne 0x18001f10f
lea r8, [0x180096e40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xb8], rax
jmp 0x18001f137
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
lea rax, [0x180096a14]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18001f1a6
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x18001f1a6
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093980]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093980]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x80], 0xa
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x80]
movsxd rcx, ecx
lea rdx, [0x180093980]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x110]
call fcn.180013670
nop
lea rcx, [rsp + 0xf8]
call fcn.180013670
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0x178
ret