Function at 0x404450
Capabilities:
Delete registry value
Get common file path
Get file version info
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41a006
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x24]
push ebp
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x12c]
push 0x19
push eax
push ebp
mov dword [esp + 0x540], ebp
mov dword [esp + 0x2c], 0x104
call edi
push ebp
lea ecx, [esp + 0x32c]
push ebp
push ecx
push ebp
call edi
mov edi, dword [esp + 0x538]
lea edx, [esp + 0x128]
push edi
push edx
mov ecx, esi
call fcn.00404340
lea eax, [esp + 0x328]
push edi
push eax
mov ecx, esi
call fcn.00404340
mov dword [esp + 0x18], ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysStringLen
mov byte [esp + 0x544], 1
mov dword [esp + 0x24], ebp
call ebx
cmp eax, ebp
jne 0x40452f
mov edi, dword [esp + 0x10]
push str.InstallAol
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp edi, ebp
je 0x40452f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
push 0xf003f
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAol.exe
push SysStringLen
call ebx
cmp eax, ebp
jne 0x404637
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
push ebp
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp edi, ebp
je 0x404585
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
push str.AOLHostManager.exe
mov ecx, esi
call fcn.004042b0
cmp eax, ebp
jne 0x4045b4
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.AOLHostManager.exe
mov ecx, esi
call fcn.004042b0
cmp eax, ebp
je 0x404637
lea eax, [esp + 0x24]
push ebp
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x404637
add eax, 2
push eax
call fcn.0040c780
mov ecx, dword [esp + 0x20]
add esp, 4
mov edi, eax
lea edx, [esp + 0x24]
push edi
push ecx
push ebp
push edx
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x4215d0
push edi
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
shr eax, 0x10
cmp ax, 9
je 0x404611
cmp ax, 8
jne 0x404637
lea edi, [esi + 0x510]
lea eax, [esp + 0x128]
push edi
push eax
mov ecx, esi
call fcn.00404340
lea ecx, [esp + 0x328]
push edi
push ecx
mov ecx, esi
call fcn.00404340
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x404646
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop edi
pop esi
cmp eax, ebp
pop ebp
pop ebx
je 0x404659
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x518]
mov dword fs:[0], ecx
add esp, 0x524
ret 4