Function at 0x180030160
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, 0x2c8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x3262071
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffda1
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x2e8]
or eax, 0x2001f
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x2d8]
call fcn.180013930
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x4c]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x180030285
mov eax, 9
mov word [rsp + 0x40], ax
movsx rax, word [rsp + 0x40]
lea rcx, [0x180096a70]
cmp dword [rcx + rax*4], 1
jne 0x18003027b
movsx rax, word [rsp + 0x40]
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x40]
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov eax, 0xffffffff
jmp 0x1800304ad
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180030303
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x88], 0x104
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800303f2
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.18001c140
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x2e0]
call fcn.180025a70
nop
lea rcx, [rsp + 0x68]
call fcn.1800136e0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd6f
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x88], 0x104
jmp 0x180030316
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18003047e
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd58
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18004b890
add rsp, 0x2c8
ret