Function at 0x18001ee40
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, 0x168
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov edx, 1
lea rcx, [rsp + 0xf0]
call fcn.18001b1e0
lea rcx, [rsp + 0xf0]
call fcn.18001c1b0
nop
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18001ef17
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x178], 0
je 0x18001ef62
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0xc8]
call fcn.18001c140
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call fcn.18001c620
nop
lea rcx, [rsp + 0xc8]
call fcn.1800136e0
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
add eax, 0xbaebd1a
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
mov qword [rsp + 0xe0], 0
mov eax, dword [rsp + 0x180]
or eax, 0x2001f
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0xf0]
call fcn.180013930
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x8c]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18001f2ff
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff768
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x40], 2
jne 0x18001f21f
movzx eax, byte [rsp + 0x188]
test eax, eax
je 0x18001f21f
mov edx, 1
lea rcx, [rsp + 0x138]
call fcn.18001b1e0
lea rcx, [rsp + 0xf0]
call fcn.180013930
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.180024960
nop
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff758
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x120]
call fcn.18001b1e0
lea rcx, [rsp + 0xf0]
call fcn.180013930
mov rcx, rax
call fcn.180023cd0
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18001c140
nop
lea rcx, [rsp + 0x138]
call fcn.180025700
movzx eax, al
test eax, eax
jne 0x18001f204
lea rcx, [rsp + 0x120]
call fcn.180025700
movzx eax, al
test eax, eax
jne 0x18001f204
lea rcx, [rsp + 0x120]
call fcn.180013930
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x138]
call fcn.180013930
mov r9d, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x170]
call fcn.18001d850
test eax, eax
jne 0x18001f186
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x120]
call fcn.1800136e0
nop
lea rcx, [rsp + 0x138]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xf0]
call fcn.1800136e0
mov eax, dword [rsp + 0x68]
jmp 0x18001f786
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18001f204
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x120]
call fcn.1800136e0
nop
lea rcx, [rsp + 0x138]
call fcn.1800136e0
cmp dword [rsp + 0x40], 2
je 0x18001f2bc
cmp dword [rsp + 0x40], 3
je 0x18001f2bc
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff73e
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
cmp eax, 0x2b3fb5f9
jne 0x18001f294
lea r8, [0x180099b48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xb8], rax
jmp 0x18001f2bc
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0xf0]
call fcn.1800136e0
mov eax, dword [rsp + 0x70]
jmp 0x18001f786
lea rax, [0x180099704]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18001f36e
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18001f36e
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096980]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x108]
call fcn.18001b1e0
lea rcx, [rsp + 0x108]
call fcn.18001c1b0
nop
mov eax, SafeArrayGetDim
mov word [rsp + 0x48], ax
movsx rax, word [rsp + 0x48]
lea rcx, [0x180096980]
cmp dword [rcx + rax*4], 1
jne 0x18001f3cd
movsx rax, word [rsp + 0x48]
lea rcx, [0x180096980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x48]
lea rdx, [0x180096980]
mov dword [rdx + rcx*4], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18001f44b
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
mov edx, 0x8000
lea rcx, [rsp + 0x108]
call fcn.180026530
lea rcx, [rsp + 0x108]
call fcn.18001c8a0
mov qword [rsp + 0x80], rax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
xor eax, 0xfffff6ec
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x108]
call fcn.180006a80
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0xe8], 0
je 0x18001f4c6
cmp qword [rsp + 0x80], 0
jne 0x18001f4f2
mov dword [rsp + 0x78], 8
lea rcx, [rsp + 0x108]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xf0]
call fcn.1800136e0
mov eax, dword [rsp + 0x78]
jmp 0x18001f786
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001f6b5
xor r9d, r9d
mov r8d, dword [rsp + 0x180]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe0]
call fcn.18001ee40
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18001f59f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0x108]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xf0]
call fcn.1800136e0
mov eax, dword [rsp + 0x90]
jmp 0x18001f786
mov dword [rsp + 0x6c], 9
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x6c]
movsxd rcx, ecx
lea rdx, [0x180096980]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0x108]
call fcn.180006a80
mov dword [rsp + 0xe8], eax
lea rax, [0x180099704]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18001f641
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18001f641
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096980]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
lea rax, [0x180099704]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18001f6b0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x18001f6b0
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096980]
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, [0x180096980]
mov dword [rdx + rcx], eax
jmp 0x18001f4f2
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0xf0]
call fcn.180013930
mov r8d, dword [rsp + 0x180]
mov rdx, rax
mov rcx, qword [rsp + 0x170]
call fcn.18001d790
mov dword [rsp + 0x4c], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096980]
mov eax, dword [rcx + rax]
add eax, 0x3a29d38
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x4c], 0
je 0x18001f720
jmp 0x18001f75f
mov eax, 5
mov word [rsp + 0x44], ax
movsx rax, word [rsp + 0x44]
lea rcx, [0x180096980]
cmp dword [rcx + rax*4], 1
jne 0x18001f75f
movsx rax, word [rsp + 0x44]
lea rcx, [0x180096980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x44]
lea rdx, [0x180096980]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x108]
call fcn.1800136e0
nop
lea rcx, [rsp + 0xf0]
call fcn.1800136e0
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.18004b890
add rsp, 0x168
ret