Function at 0x414b28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x29
push 0
push 0
dec ecx
jne 0x414b30
push ecx
push ebx
mov eax, dword [0x4175a4]
mov byte [eax], 1
mov eax, 0x414a80
call fcn.00405e00
xor eax, eax
push ebp
push 0x4150dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41743c]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x18]
call fcn.00414830
mov edx, dword [ebp - 0x18]
mov eax, 0x41a8bc
call fcn.00404158
mov eax, 0x41a8bc
mov edx, 0x4150f4
call fcn.004043a8
mov eax, dword [0x41a8bc]
call fcn.004076e4
test al, al
jne 0x414bc3
mov eax, 0x41a8bc
mov edx, 0xff
call fcn.004046d0
mov eax, dword [0x41a8bc]
call fcn.004045a0
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, 0x41a8bc
xchg edx, eax
call fcn.004046d0
lea edx, [ebp - 0x1c]
mov eax, dword [0x41a8bc]
call fcn.004147d8
mov edx, dword [ebp - 0x1c]
mov eax, 0x41a8bc
call fcn.00404158
lea eax, [ebp - 0x20]
call fcn.004149c4
mov edx, dword [ebp - 0x20]
mov eax, 0x41a8c4
call fcn.00404158
mov eax, 0x41a8c8
mov edx, pe_nt_image_headers32
call fcn.004046d0
push pe_nt_image_headers32
mov eax, dword [0x41a8c8]
call fcn.004045a0
push eax
mov eax, dword [0x41a8c4]
call fcn.004045a0
push eax
call sub.kernel32.dll_GetShortPathNameA
mov edx, 0x41a8c8
xchg edx, eax
call fcn.004046d0
mov edx, dword [0x41a8c8]
mov eax, 0x415104
call fcn.004149f4
mov eax, 0x41a8c8
xor edx, edx
call fcn.004046d0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x413084]
call fcn.00413124
mov dword [0x41a844], eax
mov eax, dword [0x41a844]
mov byte [eax + 4], 1
mov eax, dword [0x41a844]
mov byte [eax + 5], 1
mov eax, dword [0x41a844]
add eax, 6
mov edx, 0x415114
call fcn.00404158
mov dl, 1
mov eax, dword [0x40fd10]
call main
mov dword [0x41a85c], eax
mov dl, 1
mov eax, dword [0x40fd10]
call main
mov dword [0x41a858], eax
mov dl, 1
mov eax, dword [0x410000]
call main
mov dword [0x41a84c], eax
xor edx, edx
push ebp
push 0x4150a3
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402ce0
mov eax, dword [ebp - 0x24]
mov edx, dword [0x41a84c]
call fcn.004148d4
test al, al
je 0x41506d
mov dl, 1
mov eax, dword [0x410000]
call main
mov dword [0x41a848], eax
mov dl, 1
mov eax, dword [0x410000]
call main
mov dword [0x41a850], eax
xor eax, eax
push ebp
push 0x414e55
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x41a84c]
mov eax, dword [0x41a844]
call fcn.0041325c
mov ecx, dword [0x41a848]
mov edx, 0x415138
mov eax, dword [0x41a844]
call fcn.00413174
mov edx, dword [0x41a848]
mov eax, dword [0x41a858]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov ecx, dword [0x41a850]
mov edx, 0x415144
mov eax, dword [0x41a844]
call fcn.00413174
mov edx, dword [0x41a850]
mov eax, dword [0x41a85c]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x41a85c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x414e33
inc eax
mov dword [ebp - 0x14], eax
mov dword [0x41a860], 0
mov dl, 1
mov eax, dword [0x410000]
call main
mov dword [0x41a854], eax
xor eax, eax
push ebp
push 0x414e1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [0x41a860]
call fcn.004072a0
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x41a854]
mov eax, dword [0x41a844]
call fcn.00413174
push dword [0x41a8c4]
push 0x415154
lea ecx, [ebp - 0x30]
mov edx, dword [0x41a860]
mov eax, dword [0x41a85c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404460
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x41a854]
call fcn.00412398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e24
mov eax, dword [0x41a854]
call fcn.00403480
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e5c
mov eax, dword [0x41a850]
call fcn.00403480
mov eax, dword [0x41a848]
call fcn.00403480
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4150aa
mov eax, dword [0x41a85c]
call fcn.00403480
mov eax, dword [0x41a858]
call fcn.00403480
mov eax, dword [0x41a84c]
call fcn.00403480
mov eax, dword [0x41a844]
call fcn.00403480
ret