Function at 0x401340
Capabilities:
Get common file path

Disassembly:
sub esp, 0x558
lea eax, [esp + 0x44]
push ebx
push esi
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4013a0
mov eax, dword [0x40bb10]
test eax, eax
je 0x40137a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempPath___failed:__d_n
call fcn.004017f5
add esp, 8
mov edi, 0x409240
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.installation.exe
lea ecx, [esp + 0x54]
push 0x66
push ecx
call fcn.00401000
mov ecx, 0x80000000
mov eax, 0x80000002
add esp, 0xc
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], str..VTX
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], str.SOFTWAREClasses.VTX
mov dword [esp + 0x1c], 0x80000001
mov dword [esp + 0x20], str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts.vtx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], str..vtx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], str.vtxfile
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], str.SOFTWAREClasses_vtxfile
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], str.SOFTWARE_vtxfile
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], str.SOFTWAREClasses.vtx
lea esi, [esp + 0xc]
mov edi, 8
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
call fcn.004011f0
add esp, 8
add esi, 8
dec edi
jne 0x40142b
mov edi, str.installation.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x50]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040183f
push str.start__MAX_iexplore_http:__www.e_convention_collective.fr_consultation
call fcn.0040183f
or ecx, 0xffffffff
mov edi, 0x408100
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x154]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x35c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.dummy
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x258]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40bb14
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x460]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.http:__www.e_convention_collective.fr_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
mov edi, str.bdpl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x558
ret