Function at 0x40ef20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bf90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push esi
push edi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x104
mov esi, ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40efa1
mov ecx, dword [0x639ad4]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x120]
push str.idmmbc.dll
push edx
lea eax, [ebp - 0x1c]
push 0x6168fc
push eax
mov byte [ebp - 4], 1
call fcn.00562ecb
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040f2e0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0056a100
lea edx, [ebp - 0x120]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40f20a
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x320]
push eax
lea edx, [ebp - 0x220]
push ecx
lea eax, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x120]
push eax
push ecx
call fcn.0054ea7c
add esp, 0x14
lea edx, [ebp - 0x220]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x120]
push str.IDMIECC.dll
push edx
push eax
push 0x6168c4
push ecx
call fcn.0054ea2a
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040f2e0
lea eax, [ebp - 0x220]
push str.IDMGetAll.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x6168c4
push edx
call fcn.0054ea2a
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040f2e0
lea ecx, [ebp - 0x220]
push str.idmmkb.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x120]
push 0x6168c4
push eax
call fcn.0054ea2a
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040f2e0
lea edx, [ebp - 0x220]
push str.IDMan.exe
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x120]
push 0x6168c4
push ecx
call fcn.0054ea2a
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040f2e0
lea eax, [ebp - 0x220]
push 0x617720
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x6168c4
push edx
call fcn.0054ea2a
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040f2e0
lea ecx, [ebp - 0x220]
push str.Uninstall.exe
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x120]
push 0x6168c4
push eax
call fcn.0054ea2a
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040f2e0
lea edx, [ebp - 0x220]
push str.idmmbc.dll
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x120]
push 0x6168c4
push ecx
call fcn.0054ea2a
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040f2e0
lea eax, [ebp - 0x220]
push str.IEExt.htm
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x6168c4
push edx
call fcn.0054ea2a
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040f2e0
lea ecx, [ebp - 0x220]
push str.IEGetAll.htm
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x120]
push 0x6168c4
push eax
call fcn.0054ea2a
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040f2e0
lea edx, [ebp - 0x220]
push str.idmmzcc.xpi
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x120]
push 0x6168c4
push ecx
call fcn.0054ea2a
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040f2e0
lea eax, [ebp - 0x220]
push str.NP_IDM.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x6168c4
push edx
call fcn.0054ea2a
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040f2e0
mov ecx, dword [0x639ad4]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x63e500]
push str.idmmzcc3
push edx
lea eax, [ebp - 0x18]
push str._s_scomponentsidmmzcc.dll
push eax
mov byte [ebp - 4], 2
call fcn.00562ecb
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040f2e0
mov edx, dword [0x63e500]
push str.idmmzcc3
push edx
lea eax, [ebp - 0x18]
push str._s_scomponentsiIDMMzCC.xpt
push eax
call fcn.00562ecb
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040f2e0
mov edx, dword [0x63e500]
push str.idmmzcc3
push edx
lea eax, [ebp - 0x18]
push str._s_schromeidmmzcc.jar
push eax
call fcn.00562ecb
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040f2e0
mov edx, dword [0x63e500]
push str.idmmzcc3
push edx
lea eax, [ebp - 0x18]
push str._s_schrome.manifest
push eax
call fcn.00562ecb
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040f2e0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0056a100
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret