Function at 0x405c50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x194
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
push esi
mov esi, dword [esp + 0x1a4]
push edi
push 0x64
push 0x42a2cc
push 0x67
push esi
call ebp
push 0x64
push 0x42a268
push 0x6d
push esi
call ebp
push esi
call fcn.00405f30
mov eax, dword [esp + 0x1b8]
push eax
push esi
call fcn.00405fc0
add esp, 0xc
test eax, eax
jne 0x405ca7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push 0xc
mov dword [esp + 0x20], eax
call fcn.00413242
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x405cd4
mov dword [eax], 0x421244
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov esi, eax
jmp 0x405cd6
xor esi, esi
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
mov dword [esi + 8], eax
push edx
push edi
push ebx
push 0x20019
push ebx
push str.REG_SZ
push ebx
push str.software_founderPSPNT_4.0_For_Croninstallinfo_
push 0x80000002
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x405db2
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push 0x42a394
push ecx
push ebx
push str.installdir
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov byte [eax + 0x42a394], bl
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x405db2
mov edx, dword [0x42a38c]
lea ecx, [esp + 0x54]
push 0x64
push ecx
push 0x70
push edx
call ebp
mov ecx, dword [0x42a38c]
lea eax, [esp + 0xb8]
push 0x64
push eax
push 0x71
push ecx
call ebp
lea edx, [esp + 0xb8]
push 0x10
lea eax, [esp + 0x58]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, ebx
je 0x405da3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x10
cmp esi, ebx
je 0x405dbe
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [esp + 0x160]
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
sub esp, 0x10
lea edx, [esp + 0x2f]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
push 0x42a394
call fcn.00406b80
call fcn.004062b0
add esp, 0x1c
cmp eax, ebx
jne 0x405dfd
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x405e2f
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x2f]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push 0x42a394
call fcn.00406b80
call fcn.004066f0
add esp, 0x1c
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call esi
test eax, eax
je 0x405e84
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x405e76
lea edx, [esp + 0x20]
push edx
call ebp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call esi
test eax, eax
jne 0x405e4f
mov edx, dword [0x42a194]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x42a190]
push eax
call esi
mov ecx, dword [0x42a184]
push ecx
call esi
mov edx, dword [0x42a180]
push edx
call esi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x42a388]
push 0x42a330
push 2
mov dword [0x42a330], 0x58
mov dword [0x42a334], eax
mov dword [0x42a338], 0x81
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
pop esi
mov eax, dword [esp + 0x20]
pop ebp
pop ebx
add esp, 0x194
ret 0x10