Function at 0x4014d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x45c4d0]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x14], esi
call fcn.00404ac2
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [esp + 0x80], ax
lea eax, [esp + 0x82]
push eax
call fcn.0042e7e0
add esp, 0xc
lea eax, [esp + 0x78]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x401594
xor eax, eax
push edi
mov word [esp + 0x694], ax
xor edi, edi
lea eax, [esp + 0x696]
push edi
push eax
call fcn.0042e7e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.12au_x
lea eax, [esp + 0x698]
push 0x104
push eax
call fcn.0042bfcb
lea eax, [esp + 0x6a0]
push eax
lea eax, [esp + 0x8c]
push 0x104
push eax
call fcn.0042c16e
add esp, 0x1c
jmp 0x401596
xor edi, edi
push 0x44f998
lea ecx, [esp + 0x1c]
call fcn.00403d75
push 0x44f998
lea ecx, [esp + 0x4c]
call fcn.00403d75
push ebx
lea ecx, [esp + 0x34]
call fcn.00403d75
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
push edi
push 1
call fcn.004012e8
add esp, 0x18
lea ecx, [esp + 0x30]
push edi
push 1
call fcn.004040c8
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.004040c8
push edi
push 1
lea ecx, [esp + 0x20]
call fcn.004040c8
xor eax, eax
push 0x206
mov word [esp + 0x48c], ax
lea eax, [esp + 0x48e]
push edi
push eax
call fcn.0042e7e0
add esp, 0xc
lea eax, [esp + 0x488]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x64]
call fcn.00403d75
mov edi, str._setupdata
push edi
call fcn.00403d4e
pop ecx
push eax
push edi
lea ecx, [esp + 0x68]
call fcn.004024bd
and dword [esp + 0x10], 0
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00427896
cmp dword [eax + 4], 0x696e696d
jne 0x401739
lea esi, [eax + 8]
mov byte [esp + 0xf], 1
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004019a7
test al, al
jne 0x401715
mov esi, 0x44f998
lea ecx, [esp + 0x30]
push esi
call fcn.00403d75
push esi
lea ecx, [esp + 0x4c]
call fcn.00403d75
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403d75
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
push ecx
push 1
push 2
call fcn.004012e8
add esp, 0x18
lea ecx, [esp + 0x18]
xor ebx, ebx
push ebx
push 1
call fcn.004040c8
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004040c8
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.004040c8
call fcn.00401443
or esi, 0xffffffff
jmp 0x401982
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00401a3b
lea ecx, [esp + 0x90]
call fcn.004277f1
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x40175f
and dword [esp + 0x10], 0
lea edx, [esp + 0x10]
mov ecx, esi
mov byte [esp + 0xf], 0
call fcn.00427896
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.00427853
pop ecx
test eax, eax
jne 0x4017f6
call fcn.00401463
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403d75
lea ecx, [esp + 0x18]
call fcn.00405123
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.004040c8
mov esi, 0x44f998
lea ecx, [esp + 0x30]
push esi
call fcn.00403d75
push esi
lea ecx, [esp + 0x4c]
call fcn.00403d75
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403d75
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
movzx eax, byte [esp + 0x1b]
push ecx
push eax
push 3
call fcn.004012e8
add esp, 0x18
lea ecx, [esp + 0x18]
xor ebx, ebx
push ebx
push 1
call fcn.004040c8
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004040c8
lea ecx, [esp + 0x30]
jmp 0x401973
push 0x204
lea eax, [esp + 0x288]
mov dword [esp + 0x284], 0x30
push 0
push eax
call fcn.0042e7e0
add esp, 0xc
lea eax, [esp + 0x78]
mov edi, 0x104
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x288]
push edi
push eax
call fcn.0042b791
push 0x44f96c
lea eax, [esp + 0x294]
push edi
push eax
call fcn.0042c16e
add esp, 0x1c
lea eax, [esp + 0x280]
push str.QBInstaller.dll
push edi
push eax
call fcn.0042c16e
add esp, 0xc
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4018ea
push str.InstallerModuleEntry
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x4018ad
cmp dword [esp + 0x74], 8
lea ecx, [esp + 0x60]
movzx eax, byte [esp + 0xf]
cmovae ecx, dword [esp + 0x60]
push ecx
push eax
push ebx
lea eax, [esp + 0x84]
push eax
push esi
call edx
add esp, 0x14
xor ebx, ebx
jmp 0x401958
mov esi, 0x44f998
lea ecx, [esp + 0x30]
push esi
call fcn.00403d75
push esi
lea ecx, [esp + 0x4c]
call fcn.00403d75
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403d75
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
movzx eax, byte [esp + 0x1b]
push ecx
push eax
push 4
jmp 0x401925
mov esi, 0x44f998
lea ecx, [esp + 0x30]
push esi
call fcn.00403d75
push esi
lea ecx, [esp + 0x4c]
call fcn.00403d75
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403d75
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
movzx eax, byte [esp + 0x1b]
push ecx
push eax
push 5
call fcn.004012e8
add esp, 0x18
lea ecx, [esp + 0x18]
xor ebx, ebx
push ebx
push 1
call fcn.004040c8
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004040c8
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.004040c8
call fcn.00401463
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403d75
lea ecx, [esp + 0x18]
call fcn.00405123
lea ecx, [esp + 0x18]
push ebx
push 1
call fcn.004040c8
call fcn.00401443
mov esi, ebx
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.004040c8
mov ecx, dword [esp + 0x89c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b782
mov esp, ebp
pop ebp
ret 0x10