Function at 0x45ec00
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a27c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x4cc854]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x140], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
mov byte [esp + 0x144], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0048c471
lea edx, [esp + 0x2c]
mov bl, 4
push 1
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], bl
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
setne byte [esp + 0x27]
call fcn.0048c403
mov al, byte [esp + 0x27]
test al, al
je 0x45ecc2
push 0x4c2288
lea ecx, [esp + 0x2c]
call fcn.0048c7df
mov eax, dword [esp + 0x148]
cmp eax, 0x15
jg 0x45f0a8
je case.0x45f0cd.33
cmp eax, 0xb
ja case.0x45f0cd.38
jmp dword [eax*4 + 0x45f564]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsWinword.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.WINWORD.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea eax, [esp + 0x18]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 5
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsWinword.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.WINWORD.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 6
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsExcel.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.EXCEL.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 7
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsPowerPnt.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.POWERPNT.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 8
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAuthorware_7.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.Authorware_7.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 9
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.IEXPLORE.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xa
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsmsimn.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.msimn.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xc
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsFlash.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push 0x4d0e20
lea ecx, [esp + 0x14]
call fcn.0048c58c
push 0x4d0e20
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xd
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsMSACCESS.EXE
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.MSACCESS.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xe
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsPhotoshop.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.PhotoShop.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0x16
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
cmp eax, 0x82
jg 0x45f339
je 0x45f2d9
add eax, 0xffffffe1
cmp eax, 0x62
ja case.0x45f0cd.38
xor ecx, ecx
mov cl, byte [eax + 0x45f5b4]
jmp dword [ecx*4 + 0x45f594]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_frontpg.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.FRONTPG.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xf
call fcn.00409e90
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
jmp 0x45f44d
lea eax, [esp + 0x28]
push str.mspaint.exe
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0048c698
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x10
call fcn.0048c53c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], bl
call fcn.0048c403
jmp 0x45f46d
push str.SOFTWAREMicrosoftVisualStudio6.0SetupMicrosoft_Visual_Basic
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.ProductDir
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.VB6.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0x11
call fcn.00409e90
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
jmp 0x45f44d
lea eax, [esp + 0x28]
push str.notepad.exe
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0048c698
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0x12
call fcn.0048c53c
lea ecx, [esp + 0x30]
mov byte [esp + 0x140], bl
call fcn.0048c403
jmp 0x45f46d
push str.SOFTWARESyntrilliumCEPro2
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.INIDIR
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.coolpro2.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0x13
call fcn.00409e90
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
jmp 0x45f44d
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAdobe_Premiere.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.Adobe_Premiere_Pro.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea eax, [esp + 0x18]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0x14
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsPhotoshop.exe
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.PhotoShop.exe
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0x15
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
cmp eax, 0x8e
jg 0x45f368
je case.0x45f0cd.33
sub eax, 0x83
je case.0x45f0cd.33
sub eax, 9
je case.0x45f0cd.33
dec eax
jne case.0x45f0cd.38
push 0x4d0e20
lea ecx, [esp + 0x1c]
call fcn.0048c58c
jmp 0x45f46d
sub eax, 0x96
je 0x45f3ed
dec eax
je 0x45f390
sub eax, 0x383
jne case.0x45f0cd.38
push str.explorer
lea ecx, [esp + 0x1c]
call fcn.0048c58c
jmp 0x45f46d
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.IEXPLORE.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xb
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
jmp 0x45f448
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
lea ecx, [esp + 0x10]
call fcn.0048c58c
push str.Path
lea ecx, [esp + 0x14]
call fcn.0048c58c
push str.IEXPLORE.EXE
lea ecx, [esp + 0x18]
call fcn.0048c58c
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0x17
call fcn.00409e90
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
lea eax, [esp + 0x20]
push eax
call fcn.0048c178
push reloc.imgsimul.dll_Ordinal_2
mov ecx, esi
mov byte [esp + 0x158], bl
call fcn.0045f620
test al, al
je case.0x45f0cd.38
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x140], 3
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.0048c403
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 1
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 0
call fcn.0048c403
lea ecx, [esp + 0xc]
mov dword [esp + 0x140], 0xffffffff
call fcn.0048c403
mov al, 1
jmp 0x45f549
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 3
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.0048c403
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 1
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 0
call fcn.0048c403
lea ecx, [esp + 0xc]
mov dword [esp + 0x140], 0xffffffff
call fcn.0048c403
xor al, al
mov ecx, dword [esp + 0x138]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret 8