Function at 0x180020e70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x38], 0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd0f
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x1b0]
call fcn.1800368b0
lea rcx, [rsp + 0x1b0]
call fcn.18001ec60
nop
mov eax, 5
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x18009a980]
cmp dword [rcx + rax*4], 1
jne 0x180020f3b
movsx rax, word [rsp + 0x34]
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x18009a980]
mov dword [rdx + rcx*4], eax
cmp qword [rsp + 0x1f0], 0
je 0x180020f86
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x100]
call fcn.18001ec10
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x1b0]
call fcn.18001f260
nop
lea rcx, [rsp + 0x100]
call fcn.180013e90
mov dword [rsp + 0x74], 1
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x74]
movsxd rcx, ecx
lea rdx, [0x18009a980]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x200]
or eax, 0x20019
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1b0]
call fcn.18000be20
lea rcx, [rsp + 0x170]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x54]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
cmp eax, 0x2c347dc1
jne 0x18002101c
lea r8, [0x18009d870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x118], rax
jmp 0x180021044
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x44], 0
je 0x1800210d9
mov r8, 0xffffffffffffffff
lea rdx, [0x18009d864]
mov rcx, qword [rsp + 0x1e0]
call fcn.18001ec10
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x1b0]
call fcn.180013e90
mov rax, qword [rsp + 0x1e0]
jmp 0x1800219fd
mov edx, 1
lea rcx, [rsp + 0x198]
call fcn.1800368b0
lea rcx, [rsp + 0x198]
call fcn.18001ec60
nop
mov dword [rsp + 0x168], 0
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
cmp eax, 0xb74f6495
jne 0x180021132
lea r8, [0x18009d8c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xf0], rax
jmp 0x18002115a
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009a980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009a980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x1800211d8
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
lea rax, [rsp + 0x168]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x178]
xor r8d, r8d
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x44], eax
lea rax, [0x18009d674]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180021282
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x180021282
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x168], 0
ja 0x180021297
mov dword [rsp + 0x168], 0x20000
mov dword [rsp + 0x64], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x64]
movsxd rcx, ecx
lea rdx, [0x18009a980]
mov dword [rdx + rcx*4], eax
mov edx, 1
lea rcx, [rsp + 0x180]
call fcn.1800368b0
lea rcx, [rsp + 0x180]
call fcn.18001ec60
nop
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
cmp eax, 0x5b74f531
jne 0x180021304
lea r8, [0x18009d910]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xf8], rax
jmp 0x18002132c
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x168]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x180]
call fcn.180028f80
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
xor eax, 0xfffffc7a
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x18009a980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x18009a980]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x1800213ef
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x180]
call fcn.180016da0
mov dword [rsp + 0x168], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
add eax, 0xa08ba0
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x58], 5
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x58]
movsxd rcx, ecx
lea rdx, [0x18009a980]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0x180]
call fcn.18000be20
lea rcx, [rsp + 0x168]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x178]
xor r8d, r8d
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
cmp eax, 0xa397011
jne 0x1800214bf
lea r8, [0x18009d950]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xe8], rax
jmp 0x1800214e7
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x44], 0
je 0x180021558
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, 0xffffffffffffffff
lea rdx, [0x18009d864]
mov rcx, qword [rsp + 0x1e0]
call fcn.18001ec10
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x180]
call fcn.180013e90
nop
lea rcx, [rsp + 0x198]
call fcn.180013e90
nop
lea rcx, [rsp + 0x1b0]
call fcn.180013e90
mov rax, qword [rsp + 0x1e0]
jmp 0x1800219fd
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jbe 0x18002199e
cmp dword [rsp + 0x48], 3
jbe 0x18002158c
cmp dword [rsp + 0x48], 4
je 0x18002193b
cmp dword [rsp + 0x48], 7
je 0x18002158c
jmp 0x18002199e
movzx eax, byte [rsp + 0x208]
test eax, eax
je 0x180021673
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
add eax, 0x2852950
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x168]
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x180]
call fcn.18000be20
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.18001ec10
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x198]
call fcn.18001f260
nop
lea rcx, [rsp + 0x150]
call fcn.180013e90
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
add eax, 0x52cd9bb
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
jmp 0x180021939
cmp dword [rsp + 0x178], 7
jne 0x1800217f2
mov eax, dword [rsp + 0x168]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x168], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
xor eax, 0xfffffc17
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
cmp eax, 0x25fd5571
jne 0x1800216fd
lea r8, [0x18009d998]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xd8], rax
jmp 0x180021725
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x3c], 0
jbe 0x18002177e
lea rcx, [rsp + 0x180]
call fcn.18000be20
mov ecx, dword [rsp + 0x3c]
dec ecx
mov ecx, ecx
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x18002177e
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
xor eax, 0xfffffbfb
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x180]
call fcn.18000be20
mov rcx, qword [rsp + 0x88]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.18001ec10
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x198]
call fcn.18001f260
nop
lea rcx, [rsp + 0x138]
call fcn.180013e90
jmp 0x180021939
mov dword [rsp + 0x40], 0
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
add eax, 0x172f460
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x168]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x168], eax
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
cmp eax, 0x19aedc1
jne 0x18002186b
lea r8, [0x18009d9d8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xe0], rax
jmp 0x180021893
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009a980]
mov dword [rdx + rcx], eax
jmp 0x18002189f
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x168]
cmp dword [rsp + 0x40], eax
jae 0x1800218ca
mov eax, dword [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x180]
call fcn.18001f3e0
movzx eax, word [rax]
test eax, eax
jne 0x1800218c8
jmp 0x1800218ca
jmp 0x180021895
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x180]
call fcn.18000be20
mov rcx, qword [rsp + 0xb8]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18001ec10
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x198]
call fcn.18001f260
nop
lea rcx, [rsp + 0x120]
call fcn.180013e90
jmp 0x18002199e
lea rcx, [rsp + 0x180]
call fcn.18000be20
mov r8d, dword [rax]
lea rdx, [0x18009da18]
lea rcx, [rsp + 0x198]
call fcn.180029200
mov eax, 1
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x18009a980]
cmp dword [rcx + rax*4], 1
jne 0x18002199e
movsx rax, word [rsp + 0x30]
lea rcx, [0x18009a980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x18009a980]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x1e0]
call fcn.18001eb20
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x180]
call fcn.180013e90
nop
lea rcx, [rsp + 0x198]
call fcn.180013e90
nop
lea rcx, [rsp + 0x1b0]
call fcn.180013e90
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0x1d8
ret