Function at 0x4115d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aff68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x858
push ebx
push esi
push edi
lea eax, [ebp - 0x264]
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
push 0x104
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41180c
xor eax, eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x48], di
mov ecx, str._sdriversidmtdi.sys
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4116f5
lea edx, [ebp - 0x264]
test edx, edx
je 0x4116f5
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x34]
push eax
call fcn.00403bb0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401070
push str._sdriversidmtdi.sys
lea ecx, [ebp - 0x40]
call fcn.00401f30
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x411679
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x38]
push eax
call fcn.00581b1a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x4c], edx
je 0x4116da
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x4c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00581b1a
add esp, 0x14
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x4c]
xor esi, esi
cmp eax, esi
jne 0x4116fe
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.00412110
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], si
mov edx, str._sdriversidmwfp.sys
mov byte [ebp - 4], 4
test edx, edx
je 0x4117e3
lea ecx, [ebp - 0x264]
test ecx, ecx
je 0x4117e3
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x34]
push edx
call fcn.00403bb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401070
push str._sdriversidmwfp.sys
lea ecx, [ebp - 0x40]
call fcn.00401f30
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 6
test eax, eax
jne 0x411767
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x38]
push eax
call fcn.00581b1a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x28], edx
je 0x4117c8
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00581b1a
add esp, 0x14
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00401070
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4117ea
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.00412110
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00401070
xor edi, edi
lea edx, [ebp - 0x264]
push 0x104
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x411b0b
lea eax, [ebp - 0x864]
lea ecx, [ebp - 0x664]
push eax
lea edx, [ebp - 0x464]
push ecx
lea eax, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x264]
push eax
push ecx
call fcn.005828aa
add esp, 0x14
lea edx, [ebp - 0x464]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x264]
push 0x654be8
push edx
push eax
push 0x654bd8
push ecx
call fcn.00582a2e
add esp, 0x14
lea edx, [ebp - 0x264]
mov ecx, ebx
push edx
call fcn.00412110
lea eax, [ebp - 0x464]
push 0x654bbc
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x264]
push 0x654bd8
push edx
call fcn.00582a2e
add esp, 0x14
lea eax, [ebp - 0x264]
mov ecx, ebx
push eax
call fcn.00412110
lea ecx, [ebp - 0x464]
push str.idmmkb.dll
lea edx, [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x264]
push 0x654bd8
push eax
call fcn.00582a2e
add esp, 0x14
lea ecx, [ebp - 0x264]
push ecx
mov ecx, ebx
call fcn.00412110
lea edx, [ebp - 0x464]
push 0x654b90
lea eax, [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x264]
push 0x654bd8
push ecx
call fcn.00582a2e
add esp, 0x14
lea edx, [ebp - 0x264]
mov ecx, ebx
push edx
call fcn.00412110
lea eax, [ebp - 0x464]
push str.IDManTypeInfo.tlb
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x264]
push 0x654bd8
push edx
call fcn.00582a2e
add esp, 0x14
lea eax, [ebp - 0x264]
mov ecx, ebx
push eax
call fcn.00412110
lea ecx, [ebp - 0x464]
push str.Uninstall.exe
lea edx, [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x264]
push 0x654bd8
push eax
call fcn.00582a2e
add esp, 0x14
lea ecx, [ebp - 0x264]
push ecx
mov ecx, ebx
call fcn.00412110
lea edx, [ebp - 0x464]
push str.idmmbc.dll
lea eax, [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x264]
push 0x654bd8
push ecx
call fcn.00582a2e
add esp, 0x14
lea edx, [ebp - 0x264]
mov ecx, ebx
push edx
call fcn.00412110
lea eax, [ebp - 0x464]
push str.IEExt.htm
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x264]
push 0x654bd8
push edx
call fcn.00582a2e
add esp, 0x14
lea eax, [ebp - 0x264]
mov ecx, ebx
push eax
call fcn.00412110
lea ecx, [ebp - 0x464]
push str.IEGetAll.htm
lea edx, [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x264]
push 0x654bd8
push eax
call fcn.00582a2e
add esp, 0x14
lea ecx, [ebp - 0x264]
push ecx
mov ecx, ebx
call fcn.00412110
lea edx, [ebp - 0x464]
push 0x653e0c
lea eax, [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x264]
push 0x654bd8
push ecx
call fcn.00582a2e
add esp, 0x14
lea edx, [ebp - 0x264]
mov ecx, ebx
push edx
call fcn.00412110
lea eax, [ebp - 0x464]
push 0x654b1c
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x264]
push 0x654bd8
push edx
call fcn.00582a2e
add esp, 0x14
lea eax, [ebp - 0x264]
mov ecx, ebx
push eax
call fcn.00412110
lea ecx, [ebp - 0x464]
push str.IDMShellExt64.dll
lea edx, [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x264]
push 0x654bd8
push eax
call fcn.00582a2e
add esp, 0x14
lea ecx, [ebp - 0x264]
push ecx
mov ecx, ebx
call fcn.00412110
lea edx, [ebp - 0x464]
push 0x654adc
lea eax, [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x264]
push 0x654bd8
push ecx
call fcn.00582a2e
add esp, 0x14
lea edx, [ebp - 0x264]
mov ecx, ebx
push edx
call fcn.00412110
lea eax, [ebp - 0x464]
push str.idmbrbtn64.dll
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x264]
push 0x654bd8
push edx
call fcn.00582a2e
add esp, 0x14
lea eax, [ebp - 0x264]
mov ecx, ebx
push eax
call fcn.00412110
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], di
mov esi, dword [0x67e560]
mov byte [ebp - 4], 7
cmp esi, edi
jne 0x411b2a
mov esi, 0x67e564
mov ecx, str._s_scomponentsidmmzcc.dll
test ecx, ecx
je 0x411c2d
cmp esi, edi
je 0x411c2d
mov edx, str.idmmzcc5
test edx, edx
je 0x411c2d
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00403bb0
mov bl, 9
push str.idmmzcc5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00401070
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
call fcn.00581b1a
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.00581b1a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x411c07
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x34]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x411c34
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.00412110
mov esi, dword [0x67e560]
test esi, esi
jne 0x411c4c
mov esi, 0x67e564
mov edx, str._s_scomponents2idmmzcc.dll
test edx, edx
je 0x411d4c
test esi, esi
je 0x411d4c
mov eax, str.idmmzcc5
test eax, eax
je 0x411d4c
push edx
lea ecx, [ebp - 0x4c]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00403bb0
mov bl, 0xc
push str.idmmzcc5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
call fcn.00581b1a
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.00581b1a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x411d29
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x34]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x411d56
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.00412110
mov esi, dword [0x67e560]
test esi, esi
jne 0x411d6e
mov esi, 0x67e564
mov edx, str._s_scomponents2idmmzcc64.dll
test edx, edx
je 0x411e6e
test esi, esi
je 0x411e6e
mov eax, str.idmmzcc5
test eax, eax
je 0x411e6e
push edx
lea ecx, [ebp - 0x4c]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.00403bb0
mov bl, 0xf
push str.idmmzcc5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.00401070
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
call fcn.00581b1a
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.00581b1a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x411e4b
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x34]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x411e78
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.00412110
mov esi, dword [0x67e560]
test esi, esi
jne 0x411e90
mov esi, 0x67e564
mov edx, str._s_scomponents2idmcchandler.dll
test edx, edx
je 0x411f90
test esi, esi
je 0x411f90
mov eax, str.idmmzcc5
test eax, eax
je 0x411f90
push edx
lea ecx, [ebp - 0x5c]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.00403bb0
mov bl, 0x12
push str.idmmzcc5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.00401070
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
call fcn.00581b1a
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.00581b1a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x411f6d
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x34]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x411f9a
lea eax, [ebp - 0x18]
mov esi, dword [ebp - 0x50]
push eax
mov ecx, esi
call fcn.00412110
mov eax, dword [0x67e560]
test eax, eax
jne 0x411fb3
mov eax, 0x67e564
push str.idmmzcc5
push eax
push str._s_scomponents2idmcchandler64.dll
lea ecx, [ebp - 0x1c]
call fcn.004102f0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x411fd0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00412110
mov eax, dword [0x67e560]
test eax, eax
jne 0x411fe6
mov eax, 0x67e564
push str.idmmzcc5
push eax
push str._s_scomponents5idmmzcc.dll
lea ecx, [ebp - 0x1c]
call fcn.004102f0
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
push eax
mov ecx, esi
call fcn.00412110
push str.idmmzcc5
mov ecx, 0x67e560
call fcn.00401fb0
push eax
push str._s_scomponents5idmmzcc64.dll
lea ecx, [ebp - 0x1c]
call fcn.004102f0
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
push eax
mov ecx, esi
call fcn.00412110
push str.idmmzcc5
mov ecx, 0x67e560
call fcn.00401fb0
push eax
push str._s_scomponentsiIDMMzCC.xpt
lea ecx, [ebp - 0x1c]
call fcn.004102f0
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
push eax
mov ecx, esi
call fcn.00412110
push str.idmmzcc5
mov ecx, 0x67e560
call fcn.00401fb0
push eax
push str._s_scomponents2iIDMMzCC.xpt
lea ecx, [ebp - 0x1c]
call fcn.004102f0
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
push eax
mov ecx, esi
call fcn.00412110
push str.idmmzcc5
mov ecx, 0x67e560
call fcn.00401fb0
push eax
push str._s_schromeidmmzcc.jar
lea ecx, [ebp - 0x1c]
call fcn.004102f0
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
push eax
mov ecx, esi
call fcn.00412110
push str.idmmzcc5
mov ecx, 0x67e560
call fcn.00401fb0
push eax
push str._s_schrome.manifest
lea ecx, [ebp - 0x1c]
call fcn.004102f0
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
push eax
mov ecx, esi
call fcn.00412110
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret