Function at 0x40cfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4152a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x60], ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREPopCapZuma
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40d1fd
lea ecx, [esp + 0xc]
call fcn.0040d490
mov edx, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0xc], edx
jne 0x40d1fd
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x14
stosw word es:[edi], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
lea eax, [esp + 0x34]
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
push str.CurUser
push edx
mov dword [esp + 0x40], ebx
call edi
test eax, eax
jne 0x40d094
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x30]
push edx
push eax
jmp 0x40d09d
mov ecx, dword [esi + 0x1c]
push str.user
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [esp + 0x28]
push ebp
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push ecx
push ebx
push str.ScreenMode
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], 4
call edi
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp edx, ebx
push ebx
setne al
push eax
push 0xf1
push ecx
call ebp
lea edx, [esp + 0x30]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push str.Muted
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 4
call edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2c]
xor eax, eax
cmp edx, ebx
setne al
push ebx
push eax
push 0xf1
push ecx
call ebp
lea edx, [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push str.CustomCursors
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 4
call edi
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp edx, ebx
setne al
push ebx
push eax
push 0xf1
push ecx
call ebp
lea edx, [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 4
push edx
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push str.MusicVolume
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
push eax
push 1
push 0x405
push ecx
call ebp
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push str.SfxVolume
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 4
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x28]
push eax
push 1
push 0x405
push ecx
call ebp
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, ebx
je 0x40d24c
jmp 0x40d245
mov edx, dword [esi + 0x1c]
push str.user
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x14
push 1
push 0x405
push ecx
call edi
mov edx, dword [esi + 0x28]
push 0x14
push 1
push 0x405
push edx
call edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x40d24c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret