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, 0x414a80
call fcn.00405e00
xor eax, eax
push ebp
push 0x415156
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, 0x41a950
call fcn.00404158
mov eax, 0x41a950
mov edx, 0x41516c
call fcn.004043a8
mov eax, dword [0x41a950]
call fcn.004076e4
test al, al
jne 0x414bbb
mov eax, 0x41a950
mov edx, 0xff
call fcn.004046d0
mov eax, dword [0x41a950]
call fcn.004045a0
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, 0x41a950
xchg edx, eax
call fcn.004046d0
lea edx, [ebp - 0x1c]
mov eax, dword [0x41a950]
call fcn.004147d8
mov edx, dword [ebp - 0x1c]
mov eax, 0x41a950
call fcn.00404158
lea eax, [ebp - 0x20]
call fcn.004149c4
mov edx, dword [ebp - 0x20]
mov eax, 0x41a958
call fcn.00404158
mov eax, 0x41a95c
mov edx, pe_nt_image_headers32
call fcn.004046d0
push pe_nt_image_headers32
mov eax, dword [0x41a95c]
call fcn.004045a0
push eax
mov eax, dword [0x41a958]
call fcn.004045a0
push eax
call sub.kernel32.dll_GetShortPathNameA
mov edx, 0x41a95c
xchg edx, eax
call fcn.004046d0
mov edx, dword [0x41a95c]
mov eax, 0x41517c
call fcn.004149f4
mov eax, 0x41a95c
xor edx, edx
call fcn.004046d0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x413084]
call fcn.00413124
mov dword [0x41a8d8], eax
mov eax, dword [0x41a8d8]
mov byte [eax + 4], 1
mov eax, dword [0x41a8d8]
mov byte [eax + 5], 1
mov eax, dword [0x41a8d8]
add eax, 6
mov edx, 0x41518c
call fcn.00404158
mov dl, 1
mov eax, dword [0x40fd10]
call fcn.00403450
mov dword [0x41a8f0], eax
mov dl, 1
mov eax, dword [0x40fd10]
call fcn.00403450
mov dword [0x41a8ec], eax
mov dl, 1
mov eax, dword [0x410000]
call fcn.00403450
mov dword [0x41a8e0], eax
xor edx, edx
push ebp
push 0x41511c
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 [0x41a8e0]
call fcn.004148d4
test al, al
je 0x4150e6
mov dl, 1
mov eax, dword [0x410000]
call fcn.00403450
mov dword [0x41a8dc], eax
mov dl, 1
mov eax, dword [0x410000]
call fcn.00403450
mov dword [0x41a8e4], eax
xor edx, edx
push ebp
push 0x414e8e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [0x41a8e0]
mov eax, dword [0x41a8d8]
call fcn.0041325c
mov ecx, dword [0x41a8dc]
mov edx, 0x4151b0
mov eax, dword [0x41a8d8]
call fcn.00413174
mov edx, dword [0x41a8dc]
mov eax, dword [0x41a8ec]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x41a8dc]
call fcn.0041241c
mov ecx, dword [0x41a8dc]
mov edx, 0x4151bc
mov eax, dword [0x41a8d8]
call fcn.00413174
xor ecx, ecx
xor edx, edx
mov eax, dword [0x41a8dc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, 0x41a850
mov ecx, 0x85
mov eax, dword [0x41a8dc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [0x41a8e4]
mov edx, 0x4151cc
mov eax, dword [0x41a8d8]
call fcn.00413174
mov edx, dword [0x41a8e4]
mov eax, dword [0x41a8f0]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x41a8f0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x414e6c
inc eax
mov dword [ebp - 0x14], eax
mov dword [0x41a8f4], 0
mov dl, 1
mov eax, dword [0x410000]
call fcn.00403450
mov dword [0x41a8e8], eax
xor eax, eax
push ebp
push 0x414e56
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [0x41a8f4]
call fcn.004072a0
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x41a8e8]
mov eax, dword [0x41a8d8]
call fcn.00413174
push dword [0x41a958]
push 0x4151dc
lea ecx, [ebp - 0x30]
mov edx, dword [0x41a8f4]
mov eax, dword [0x41a8f0]
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 [0x41a8e8]
call fcn.00412398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e5d
mov eax, dword [0x41a8e8]
call fcn.00403480
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e95
mov eax, dword [0x41a8e4]
call fcn.00403480
mov eax, dword [0x41a8dc]
call fcn.00403480
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415123
mov eax, dword [0x41a8f0]
call fcn.00403480
mov eax, dword [0x41a8ec]
call fcn.00403480
mov eax, dword [0x41a8e0]
call fcn.00403480
mov eax, dword [0x41a8d8]
call fcn.00403480
ret