Function at 0x410470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598ae8
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 0x41052b
mov ecx, dword [0x65ca8c]
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.0057f8fb
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00410920
mov edx, dword [0x65ca8c]
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.0057f8fb
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov ecx, esi
push edx
call fcn.00410920
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00586b33
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00586b33
lea eax, [ebp - 0x124]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41082b
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.0056b52c
add esp, 0x14
lea eax, [ebp - 0x224]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x124]
push str.IDMIECC.dll
push eax
push ecx
push 0x6379c4
push edx
call fcn.0056b4da
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410920
lea ecx, [ebp - 0x224]
push str.IDMGetAll.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6379c4
push eax
call fcn.0056b4da
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410920
lea edx, [ebp - 0x224]
push str.idmmkb.dll
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6379c4
push ecx
call fcn.0056b4da
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410920
lea eax, [ebp - 0x224]
push 0x638984
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6379c4
push edx
call fcn.0056b4da
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410920
lea ecx, [ebp - 0x224]
push 0x638970
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6379c4
push eax
call fcn.0056b4da
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410920
lea edx, [ebp - 0x224]
push str.Uninstall.exe
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6379c4
push ecx
call fcn.0056b4da
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410920
lea eax, [ebp - 0x224]
push str.idmmbc.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6379c4
push edx
call fcn.0056b4da
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410920
lea ecx, [ebp - 0x224]
push str.IEExt.htm
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6379c4
push eax
call fcn.0056b4da
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410920
lea edx, [ebp - 0x224]
push str.IEGetAll.htm
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6379c4
push ecx
call fcn.0056b4da
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410920
lea eax, [ebp - 0x224]
push str.idmmzcc.xpi
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6379c4
push edx
call fcn.0056b4da
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410920
lea ecx, [ebp - 0x224]
push str.IDMShellExt.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6379c4
push eax
call fcn.0056b4da
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410920
lea edx, [ebp - 0x224]
push str.IDMShellExt64.dll
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x124]
push 0x6379c4
push ecx
call fcn.0056b4da
add esp, 0x14
lea edx, [ebp - 0x124]
mov ecx, esi
push edx
call fcn.00410920
lea eax, [ebp - 0x224]
push str.idmbrbtn.dll
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x124]
push 0x6379c4
push edx
call fcn.0056b4da
add esp, 0x14
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.00410920
lea ecx, [ebp - 0x224]
push str.idmbrbtn64.dll
lea edx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x124]
push 0x6379c4
push eax
call fcn.0056b4da
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
call fcn.00410920
mov edx, dword [0x65ca8c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x6614c8]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_scomponentsidmmzcc.dll
push ecx
mov byte [ebp - 4], 3
call fcn.0057f8fb
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410920
mov eax, dword [0x6614c8]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_scomponents2idmmzcc.dll
push ecx
call fcn.0057f8fb
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410920
mov eax, dword [0x6614c8]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_scomponentsiIDMMzCC.xpt
push ecx
call fcn.0057f8fb
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410920
mov eax, dword [0x6614c8]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_schromeidmmzcc.jar
push ecx
call fcn.0057f8fb
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410920
mov eax, dword [0x6614c8]
push str.idmmzcc3
push eax
lea ecx, [ebp - 0x18]
push str._s_schrome.manifest
push ecx
call fcn.0057f8fb
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00410920
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret