Function at 0x4104c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push edi
lea eax, [ebp - 0x124]
mov dword [ebp - 0x10], esp
push 0x104
mov esi, ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41057b
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x1c]
push edx
mov bl, 1
push str._sdriversidmtdi.sys
push eax
mov byte [ebp - 4], bl
call fcn.0058148b
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00410970
mov edx, dword [0x65ec1c]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x20]
push eax
push str._sdriversidmwfp.sys
push ecx
mov byte [ebp - 4], 2
call fcn.0058148b
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov ecx, esi
push edx
call fcn.00410970
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005886c0
lea eax, [ebp - 0x124]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41087b
lea ecx, [ebp - 0x324]
lea edx, [ebp - 0x424]
push ecx
lea eax, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x124]
push ecx
push edx
call fcn.0056d0ac
add esp, 0x14
lea eax, [ebp - 0x224]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x124]
push str.IDMIECC.dll
push eax
push ecx
push 0x6399cc
push edx
call fcn.0056d05a
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410970
lea ecx, [ebp - 0x224]
push str.IDMGetAll.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6399cc
push eax
call fcn.0056d05a
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410970
lea edx, [ebp - 0x224]
push str.idmmkb.dll
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6399cc
push ecx
call fcn.0056d05a
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410970
lea eax, [ebp - 0x224]
push str.IDMan.exe
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6399cc
push edx
call fcn.0056d05a
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410970
lea ecx, [ebp - 0x224]
push 0x63a984
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6399cc
push eax
call fcn.0056d05a
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410970
lea edx, [ebp - 0x224]
push str.Uninstall.exe
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6399cc
push ecx
call fcn.0056d05a
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410970
lea eax, [ebp - 0x224]
push str.idmmbc.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6399cc
push edx
call fcn.0056d05a
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410970
lea ecx, [ebp - 0x224]
push str.IEExt.htm
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6399cc
push eax
call fcn.0056d05a
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410970
lea edx, [ebp - 0x224]
push str.IEGetAll.htm
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6399cc
push ecx
call fcn.0056d05a
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410970
lea eax, [ebp - 0x224]
push str.idmmzcc.xpi
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6399cc
push edx
call fcn.0056d05a
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410970
lea ecx, [ebp - 0x224]
push str.IDMShellExt.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6399cc
push eax
call fcn.0056d05a
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410970
lea edx, [ebp - 0x224]
push str.IDMShellExt64.dll
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6399cc
push ecx
call fcn.0056d05a
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410970
lea eax, [ebp - 0x224]
push str.idmbrbtn.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6399cc
push edx
call fcn.0056d05a
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410970
lea ecx, [ebp - 0x224]
push str.idmbrbtn64.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6399cc
push eax
call fcn.0056d05a
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410970
mov edx, dword [0x65ec1c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x663660]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_scomponentsidmmzcc.dll
push ecx
mov byte [ebp - 4], 3
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410970
mov eax, dword [0x663660]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_scomponents2idmmzcc.dll
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410970
mov eax, dword [0x663660]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_scomponentsiIDMMzCC.xpt
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410970
mov eax, dword [0x663660]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_schromeidmmzcc.jar
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410970
mov eax, dword [0x663660]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_schrome.manifest
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410970
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret