Function at 0x419833
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x664e94]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x24
mov eax, 0x5b9bb5
call fcn.0058f985
mov eax, dword [ebp + 0x41c]
mov esi, ecx
mov dword [ebp - 0x2c], eax
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x24]
call fcn.0040141e
and dword [ebp - 4], 0
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x14]
call fcn.0040141e
mov byte [ebp - 4], 1
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x18]
call fcn.0040141e
mov ecx, dword [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.00401b39
mov ecx, eax
call fcn.00413ffd
push eax
lea ecx, [ebp - 0x24]
call fcn.00401287
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 0xc], 0
je 0x419b4c
push 0x2f
lea ecx, [ebp - 0x24]
call fcn.00403913
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402192
push 0x2e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00403913
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402192
push 0x2e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00403913
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f0b
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 0x20]
mov dword [ebp - 0x30], eax
mov dword [eax], edi
mov eax, dword [esi + 0x60]
xor ecx, ecx
mov byte [ebp - 4], 5
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], 1
cmp eax, ecx
je 0x419952
push 0x3e9
push eax
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2b8a
push dword [esi + 0x60]
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x38], eax
jmp 0x41995b
mov dword [esi + 0x34], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], ecx
push ebx
push edi
lea eax, [ebp - 0x14]
push str.___Downloading__s_from__s
push eax
call fcn.00401518
push dword [ebp - 0x14]
call fcn.004437b6
add esp, 0x14
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x419a07
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push str.___Unable_to_retrieve_temp_folder_path__s
push eax
call fcn.00401518
mov esi, dword [ebp - 0x14]
push esi
call fcn.004437b6
mov ecx, dword [ebp - 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [edi - 0x10]
call fcn.00401019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [esi - 0x10]
call fcn.00401019
lea ecx, [ebx - 0x10]
call fcn.00401019
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0058f976
add ebp, 0x414
leave
ret 4
mov esi, dword [ebp - 0x28]
lea eax, [ebp + 0x208]
push eax
push 0
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
lea eax, [ebp + 0x208]
push eax
jne 0x419a73
lea eax, [ebp - 0x14]
push str.___Unable_to_create_temporary_file__s
push eax
call fcn.00401518
push dword [ebp - 0x14]
call fcn.004437b6
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00401019
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [edi - 0x10]
call fcn.00401019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x4199d3
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.00439baf
test al, al
jne 0x419aa3
lea eax, [ebp + 0x208]
push eax
push ebx
lea eax, [ebp - 0x14]
push str.___Failed_downloading_from__s_to__s.__Error_code___d
push eax
call fcn.00401518
push dword [ebp - 0x14]
call fcn.004437b6
add esp, 0x14
jmp 0x419a42
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push 0x5d4ea8
push eax
call fcn.00401518
add esp, 0x10
push 1
push dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push eax
call fcn.0043c728
test eax, eax
jne 0x419b3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x14]
push str.Failed_to_convert_downloaded_file__s_to_an_executable__error_code___d
push eax
call fcn.00401518
push dword [ebp - 0x14]
call fcn.004437b6
add esp, 0x14
mov byte [ebp - 0xd], 0
lea ecx, [esi - 0x10]
call fcn.00401019
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [edi - 0x10]
call fcn.00401019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [ebx - 0x10]
call fcn.00401019
mov al, byte [ebp - 0xd]
jmp 0x4199e2
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
call fcn.0040227d
mov byte [ebp - 0xd], 1
jmp 0x419af9
push str.No_download_location_specified_for_Windows_Installer.
call fcn.004437b6
pop ecx
mov byte [ebp - 0xd], 0
jmp 0x419b14