Function at 0x404ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40eb4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x643c
call fcn.00406850
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
push edi
lea eax, [esp + 0x1340]
push eax
push 0x104
call ebx
test eax, eax
jne 0x404b25
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x244c]
push ecx
push 0xe
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
xor eax, eax
mov ecx, dword [esp + 0x644c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x1448]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x404ea2
cmp edi, 0xbc2
je 0x404ea2
cmp edi, 0x642
jne 0x404b6e
push 0x1000
lea eax, [esp + 0x144c]
push eax
push 0x13
jmp 0x404eb1
lea edx, [esp + 0x30]
push edx
push 0x104
call ebx
push 0x5c
push 0x412fe0
call fcn.00407a30
add esp, 8
inc eax
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1140]
push edx
call fcn.00407929
lea eax, [esp + 0x1144]
push 0x40f390
push eax
call fcn.00407916
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x404c28
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x344c]
push ecx
push 0xf
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x344c]
push ecx
lea edx, [esp + 0x2450]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x2454]
push eax
push 0xffffffffffffffff
call fcn.00404600
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0x644c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [esp + 0x444c]
push 0x2000
push ecx
call fcn.004078a3
add esp, 0xc
test eax, eax
je 0x404e94
jmp 0x404c50
push 0x1000
lea edx, [esp + 0x444c]
push edx
lea eax, [esp + 0x140]
push eax
call fcn.004076e4
lea ecx, [esp + 0x144]
push str.Error
push ecx
call fcn.00407500
lea edx, [esp + 0x14c]
add esp, 0x14
cmp edx, eax
lea eax, [esp + 0x138]
je 0x404d25
push str.Disk_full:
push eax
call fcn.00407500
lea ecx, [esp + 0x140]
add esp, 8
cmp ecx, eax
lea edx, [esp + 0x138]
je 0x404d97
push str.1:_InstallAEV_2:
push edx
call fcn.00407500
lea ecx, [esp + 0x140]
add esp, 8
cmp ecx, eax
jne 0x404cf6
lea edx, [esp + 0x138]
push str.1:_InstallAEV_2:_0
push edx
call fcn.00407500
lea ecx, [esp + 0x140]
add esp, 8
cmp ecx, eax
jne 0x404e10
push ebx
lea edx, [esp + 0x444c]
push 0x2000
push edx
call fcn.004078a3
add esp, 0xc
test eax, eax
jne 0x404c50
push ebx
call fcn.0040760e
mov edi, dword [ebp + 8]
add esp, 4
jmp 0x404ebe
lea edi, [esp + 0x138]
push eax
dec edi
call esi
cmp byte [eax + edi], 0xa
jne 0x404d54
lea ecx, [esp + 0x138]
push ecx
call esi
lea edx, [esp + 0x138]
push edx
mov byte [eax + edi], 0
call esi
cmp byte [eax + edi], 0xa
je 0x404d36
lea eax, [esp + 0x138]
push eax
call esi
cmp byte [eax + edi], 0xd
jne 0x404d82
lea ecx, [esp + 0x138]
push ecx
call esi
lea edx, [esp + 0x138]
push edx
mov byte [eax + edi], 0
call esi
cmp byte [eax + edi], 0xd
je 0x404d64
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x144c]
push ecx
jmp 0x404e8e
lea edi, [esp + 0x138]
push edx
dec edi
call esi
cmp byte [eax + edi], 0xa
jne 0x404dce
jmp 0x404db0
lea eax, [esp + 0x138]
push eax
call esi
lea ecx, [esp + 0x138]
push ecx
mov byte [eax + edi], 0
call esi
cmp byte [eax + edi], 0xa
je 0x404db0
lea edx, [esp + 0x138]
push edx
call esi
cmp byte [eax + edi], 0xd
jne 0x404dfe
mov edi, edi
lea eax, [esp + 0x138]
push eax
call esi
lea ecx, [esp + 0x138]
push ecx
mov byte [eax + edi], 0
call esi
cmp byte [eax + edi], 0xd
je 0x404de0
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x144c]
push eax
jmp 0x404e8e
lea ecx, [esp + 0x138]
lea edi, [esp + 0x138]
push ecx
dec edi
call esi
cmp byte [eax + edi], 0xa
jne 0x404e4e
jmp 0x404e30
lea edx, [esp + 0x138]
push edx
call esi
mov byte [eax + edi], 0
lea eax, [esp + 0x138]
push eax
call esi
cmp byte [eax + edi], 0xa
je 0x404e30
lea ecx, [esp + 0x138]
push ecx
call esi
cmp byte [eax + edi], 0xd
jne 0x404e7e
mov edi, edi
lea edx, [esp + 0x138]
push edx
call esi
mov byte [eax + edi], 0
lea eax, [esp + 0x138]
push eax
call esi
cmp byte [eax + edi], 0xd
je 0x404e60
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x144c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.0040760e
mov edi, dword [ebp + 8]
add esp, 4
jmp 0x404ebe
push 0x1000
lea eax, [esp + 0x144c]
push eax
push 0x11
mov ecx, dword [0x4134e8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x1448]
push edx
call esi
test eax, eax
jne 0x404ee8
mov ecx, dword [0x4134e8]
push 0x1000
lea eax, [esp + 0x144c]
push eax
push 0x12
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x404f20
mov eax, dword [0x4134e8]
push 0x1000
lea edx, [esp + 0x244c]
push edx
push 0xd
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x2448]
push ecx
lea edx, [esp + 0x144c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0xc]
call fcn.00401d40
push 0x4127e0
mov dword [esp + 0x6458], 0
call esi
test eax, eax
jne 0x404f52
lea eax, [esp + 0x1448]
push eax
lea ecx, [esp + 0x10]
call fcn.004024f0
jmp 0x404f71
push 0x4127e0
lea ecx, [esp + 0x144c]
push ecx
lea edx, [esp + 0x14]
push str._s___s_
push edx
call fcn.00402790
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.004018f0
push eax
push edi
call fcn.00404600
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x6454], 0xffffffff
call fcn.00401d70
mov ecx, dword [esp + 0x644c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret