Function at 0x40d8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553e90
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 0x40d971
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x120]
push str.idmmbc.dll
push edx
lea eax, [ebp - 0x1c]
push 0x5a4824
push eax
mov byte [ebp - 4], 1
call fcn.0053afda
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040dcb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.005421be
lea edx, [ebp - 0x120]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40dbda
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.0052776a
add esp, 0x14
lea edx, [ebp - 0x220]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x120]
push str.IDMIECC.dll
push edx
push eax
push 0x5a47ec
push ecx
call fcn.00527718
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040dcb0
lea eax, [ebp - 0x220]
push str.IDMGetAll.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x5a47ec
push edx
call fcn.00527718
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040dcb0
lea ecx, [ebp - 0x220]
push str.idmmkb.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x120]
push 0x5a47ec
push eax
call fcn.00527718
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040dcb0
lea edx, [ebp - 0x220]
push str.IDMan.exe
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x120]
push 0x5a47ec
push ecx
call fcn.00527718
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040dcb0
lea eax, [ebp - 0x220]
push 0x5a5638
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x5a47ec
push edx
call fcn.00527718
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040dcb0
lea ecx, [ebp - 0x220]
push str.Uninstall.exe
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x120]
push 0x5a47ec
push eax
call fcn.00527718
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040dcb0
lea edx, [ebp - 0x220]
push str.idmmbc.dll
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x120]
push 0x5a47ec
push ecx
call fcn.00527718
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040dcb0
lea eax, [ebp - 0x220]
push str.IEExt.htm
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x5a47ec
push edx
call fcn.00527718
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040dcb0
lea ecx, [ebp - 0x220]
push str.IEGetAll.htm
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x120]
push 0x5a47ec
push eax
call fcn.00527718
add esp, 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040dcb0
lea edx, [ebp - 0x220]
push str.idmmzcc.xpi
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x120]
push 0x5a47ec
push ecx
call fcn.00527718
add esp, 0x14
lea edx, [ebp - 0x120]
mov ecx, esi
push edx
call fcn.0040dcb0
lea eax, [ebp - 0x220]
push str.NP_IDM.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x120]
push 0x5a47ec
push edx
call fcn.00527718
add esp, 0x14
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0040dcb0
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x5c7498]
push str.idmmzcc2
push edx
lea eax, [ebp - 0x18]
push str._s_scomponentsidmmzcc.dll
push eax
mov byte [ebp - 4], 2
call fcn.0053afda
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040dcb0
mov edx, dword [0x5c7498]
push str.idmmzcc2
push edx
lea eax, [ebp - 0x18]
push str._s_scomponentsiIDMMzCC.xpt
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040dcb0
mov edx, dword [0x5c7498]
push str.idmmzcc2
push edx
lea eax, [ebp - 0x18]
push str._s_schromeidmmzcc.jar
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040dcb0
mov edx, dword [0x5c7498]
push str.idmmzcc2
push edx
lea eax, [ebp - 0x18]
push str._s_schrome.manifest
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040dcb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005421be
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret