Function at 0x18002f530
Capabilities:
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
cmp eax, 0xff67ca1
jne 0x18002f597
lea r8, [0x1800986d8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x98], rax
jmp 0x18002f5bf
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x328]
or eax, 0x2001f
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x318]
call fcn.18000bd00
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x68]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x310]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x18002f644
mov eax, 0xffffffff
jmp 0x18002f96d
mov eax, 3
mov word [rsp + 0x40], ax
movsx rax, word [rsp + 0x40]
lea rcx, [0x180093a70]
cmp dword [rcx + rax*4], 1
jne 0x18002f683
movsx rax, word [rsp + 0x40]
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x40]
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18002f701
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0xd0], 0x104
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
cmp eax, 0xe3d2049
jne 0x18002f73a
lea r8, [0x180098720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x90], rax
jmp 0x18002f762
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xe0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18002f95b
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
cmp eax, 0x56cd871
jne 0x18002f7ea
lea r8, [0x180098768]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xa8], rax
jmp 0x18002f812
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xb0]
call fcn.18001c1b0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x320]
call fcn.180024ce0
nop
lea rcx, [rsp + 0xb0]
call fcn.180013670
lea rax, [0x180096a14]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18002f8cc
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18002f8cc
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
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, [0x180093a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x5c], 0xa
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x5c]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0xd0], 0x104
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
cmp eax, 0x55265761
jne 0x18002f92e
lea r8, [0x1800987b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xa0], rax
jmp 0x18002f956
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
jmp 0x18002f76a
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0x308
ret