Function at 0x404170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ecx + 0x1c]
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
jne 0x4041b2
lea eax, [ebp - 0x1c]
push 0x426fe0
push eax
mov dword [ebp - 0x1c], 0x42ee60
call fcn.00409136
mov eax, dword [0x42b70c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
push 0xfde8
push 0xfde8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041b7ef
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0041b83e
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00416459
mov al, byte [ebp + 0x10]
test al, al
je 0x404202
push str.__lv_setup.log
lea ecx, [ebp - 0x14]
call fcn.0041b55d
mov al, byte [ebp + 0x14]
test al, al
je 0x404304
push 0x42b52c
lea ecx, [ebp + 0x10]
call fcn.0041b48e
mov ecx, dword [ebp + 0x18]
push 0x42ee60
push ecx
mov byte [ebp - 4], 3
call fcn.00408d42
add esp, 8
lea edx, [ebp + 0x10]
test eax, eax
push edx
push 0x42b528
jne 0x40427a
lea eax, [ebp - 0x20]
push eax
call fcn.0041b6dd
push str._SILENTTRUE
lea ecx, [ebp + 0x14]
mov bl, 4
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.0041b669
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0041b7d7
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.0041b420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
jmp 0x4042f3
lea eax, [ebp - 0x28]
push eax
call fcn.0041b6dd
push str._SILENTTRUE_SILENT_INSTALL_PATH_
lea ecx, [ebp - 0x24]
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.0041b669
lea edx, [ebp + 0x18]
mov byte [ebp - 4], 7
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041b603
push 0x42b43c
lea ecx, [ebp + 0x14]
mov bl, 8
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.0041b669
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0041b7d7
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.0041b420
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0041b420
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0041b420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0041b420
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.0041b420
mov edx, dword [ebp + 8]
lea eax, [ebp + 8]
push edx
push str.__I__
push eax
call fcn.0041b6dd
push 0x42b4e8
lea ecx, [ebp + 0x14]
push eax
push ecx
mov byte [ebp - 4], 0xa
call fcn.0041b669
mov edx, dword [ebp + 0xc]
mov bl, 0xb
push edx
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], bl
push eax
call fcn.0041b669
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0041b7d7
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0041b420
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0041b420
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0041b420
push esi
push ecx
mov bl, 0xd
mov ecx, esp
mov dword [ebp + 0x14], esp
push 0x42ee60
mov byte [ebp - 4], bl
call fcn.0041b48e
lea ecx, [ebp - 0x18]
push str.msiexec.exe
lea edx, [ebp + 0x10]
push ecx
push edx
mov byte [ebp - 4], 0xe
call fcn.0041b669
lea ecx, [ebp - 0x14]
push 1
push ecx
push eax
mov byte [ebp - 4], 0x10
call fcn.00407160
add esp, 0x14
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0041b420
jmp 0x4043c8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0041b420
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0041b420
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b420
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18