Function at 0x180032c80
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, 0x2f8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, dword [rsp + 0x318]
or eax, 0x2001f
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x308]
call fcn.18000be20
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x58]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x300]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
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, [0x18009aa70]
mov dword [rdx + rcx*4], eax
cmp dword [rsp + 0x44], 0
je 0x180032dbe
mov eax, 0xffffffff
jmp 0x180032ffb
mov dword [rsp + 0xb8], 0x104
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd9f
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd97
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0xd0]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180032f4d
mov dword [rsp + 0x64], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x64]
movsxd rcx, ecx
lea rdx, [0x18009aa70]
mov dword [rdx + rcx*4], eax
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x98]
call fcn.18001ec10
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x310]
call fcn.180028290
nop
lea rcx, [rsp + 0x98]
call fcn.180013e90
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
xor eax, 0xfffffd7f
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0xb8], 0x104
mov dword [rsp + 0x60], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x60]
movsxd rcx, ecx
lea rdx, [0x18009aa70]
mov dword [rdx + rcx*4], eax
jmp 0x180032e27
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x18009d674]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180032fca
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180032fca
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009aa70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x40]
jmp 0x180032ffb
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0x2f8
ret