Function at 0x45ede0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x62cd61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x6bd8a0]
push ebp
push esi
push edi
mov dword [esp + 0x70], eax
lea eax, [esp + 0x18]
push eax
mov edi, 1
push edi
push 0
push str.SoftwarePlayrix_EntertainmentFishdom
push 0x80000001
mov dword [esp + 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45ee84
push 0xab
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0xa4]
push edx
push str.RegOpenKeyEx_HKEY_CURRENT_USER__SETTINGS_REG_KEY__0__KEY_QUERY_VALUE__settingsKey___ERROR_SUCCESS
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov dword [esp + 0xbc], edi
call fcn.00403db0
mov byte [esp + 0xb4], 0
call fcn.00405c50
add esp, 0x38
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
push 0
push str.InstallPath
push eax
mov dword [esp + 0x34], 0
call esi
test eax, eax
je 0x45ef0b
push 0xae
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xa4]
push edx
push str.RegQueryValueEx_settingsKey___InstallPath___0__type__NULL__dataSize___ERROR_SUCCESS
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov dword [esp + 0xbc], 2
call fcn.00403db0
mov byte [esp + 0xb4], 0
call fcn.00405c50
add esp, 0x38
cmp dword [esp + 0x20], edi
je 0x45ef6c
push 0xaf
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xa4]
push edx
push str.type__REG_SZ
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov dword [esp + 0xbc], 3
call fcn.00403db0
mov byte [esp + 0xb4], 0
call fcn.00405c50
add esp, 0x38
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00450ea0
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push ebp
lea eax, [esp + 0x28]
push eax
push 0
push str.InstallPath
push ecx
mov dword [esp + 0x94], 4
call esi
test eax, eax
je 0x45effe
push 0xb1
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xa4]
push edx
push str.RegQueryValueEx_settingsKey___InstallPath___0__type__data_0___dataSize___ERROR_SUCCESS
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov byte [esp + 0xbc], 5
call fcn.00403db0
mov byte [esp + 0xb4], 4
call fcn.00405c50
add esp, 0x38
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45f065
push 0xb2
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xa4]
push edx
push str.RegCloseKey_settingsKey___ERROR_SUCCESS
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov byte [esp + 0xbc], 6
call fcn.00403db0
mov byte [esp + 0xb4], 4
call fcn.00405c50
add esp, 0x38
mov esi, dword [esp + 0x38]
mov ecx, esi
sub ecx, ebp
cmp ecx, edi
jae 0x45f0c9
push 0xb3
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xa4]
push edx
push str.data.size_____1
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov byte [esp + 0xbc], 7
call fcn.00403db0
mov byte [esp + 0xb4], 4
call fcn.00405c50
add esp, 0x38
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
lea eax, [esp + 0x84]
push eax
dec esi
push esi
push ebp
mov byte [esp + 0x88], 8
call fcn.0041c1a0
push 0x658180
push str.Fishdom_Screensaver.scr
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 9
call fcn.00403e70
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
cmp eax, ecx
lea eax, [esp + 0x40]
je 0x45f120
mov eax, dword [esp + 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
push 0
push eax
call edi
mov esi, eax
test esi, esi
jne 0x45f18b
push 0xb7
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xa4]
push edx
push str.size___0
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xbc]
push eax
push str.Assertion_failed
mov byte [esp + 0xbc], 0xa
call fcn.00403db0
mov byte [esp + 0xb4], 9
call fcn.00405c50
add esp, 0x38
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x1b]
push edx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x23], 0
call fcn.004492e0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
cmp ecx, eax
mov byte [esp + 0x7c], 0xb
lea ecx, [esp + 0x40]
je 0x45f1c0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub edx, eax
push edx
push eax
push ecx
call edi
dec esi
cmp eax, esi
je 0x45f22c
push 0xb9
push str..ScriptMap.cpp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0xa4]
push eax
push str.GetShortPathName_path.c_str____shortPath_0____DWORD_shortPath.size_____size___1
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0xbc]
push edx
push str.Assertion_failed
mov byte [esp + 0xbc], 0xc
call fcn.00403db0
mov byte [esp + 0xb4], 0xb
call fcn.00405c50
add esp, 0x38
lea eax, [esp + 0x58]
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x84]
push edx
dec eax
push eax
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 0xd
call fcn.0041c1a0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x9c]
push edx
push str.Green
mov byte [esp + 0x9c], 0xe
call fcn.00403db0
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x3c], esp
lea ecx, [esp + 0x88]
push ecx
push str.GetRegistryScreensaverPath:_answer_
push eax
mov byte [esp + 0xb8], 0xf
call fcn.00404f30
add esp, 0xc
mov ecx, 0x6bfb60
mov byte [esp + 0xac], 0xe
call fcn.0040e390
mov esi, dword [esp + 0x84]
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.00403e10
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
cmp eax, ecx
mov dword [esp + 0x30], 1
mov byte [esp + 0x7c], 0xb
je 0x45f30e
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x45f30e
sub eax, ecx
cmp eax, 0x80
jbe 0x45f304
push ecx
call fcn.00611869
add esp, 4
jmp 0x45f30e
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov byte [esp + 0x7c], 9
je 0x45f33d
mov eax, dword [esp + 0x2c]
sub eax, ecx
cmp eax, 0x80
jbe 0x45f333
push ecx
call fcn.00611869
add esp, 4
jmp 0x45f33d
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x50]
cmp eax, edx
mov byte [esp + 0x7c], 4
je 0x45f374
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x45f374
sub eax, ecx
cmp eax, 0x80
jbe 0x45f36a
push ecx
call fcn.00611869
add esp, 4
jmp 0x45f374
push eax
push ecx
call fcn.005d6970
add esp, 8
test ebp, ebp
mov byte [esp + 0x7c], 0
je 0x45f39f
mov eax, dword [esp + 0x3c]
sub eax, ebp
cmp eax, 0x80
jbe 0x45f395
push ebp
call fcn.00611869
add esp, 4
jmp 0x45f39f
push eax
push ebp
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x70]
mov eax, esi
call fcn.006122a5
pop edi
pop esi
pop ebp
add esp, 0x74
ret