Function at 0x4020ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5914
call fcn.004028b0
push ebx
push esi
push edi
push 0x40
pop edx
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x513]
mov byte [ebp - 0x514], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x8ff
xor eax, eax
lea edi, [ebp - 0x2913]
mov byte [ebp - 0x2914], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x2ff
xor eax, eax
lea edi, [ebp - 0x3513]
mov byte [ebp - 0x3514], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40f]
mov byte [ebp - 0x410], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x30b]
mov byte [ebp - 0x30c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x514]
push 5
push eax
call fcn.004019dc
lea eax, [ebp - 0x104]
push eax
call fcn.004027d0
add esp, 0xc
cmp byte [ebp + eax - 0x104], 0x5c
je 0x4021a7
lea eax, [ebp - 0x104]
push eax
call fcn.004027d0
pop ecx
mov byte [ebp + eax - 0x103], 0x5c
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00402b50
lea eax, [ebp - 0x104]
push str..exe
push eax
call fcn.00402b50
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0x410]
push eax
push dword [0x407030]
call fcn.00401074
lea eax, [ebp - 0x410]
push eax
call fcn.004027d0
add esp, 0x28
cmp eax, 0xa
jbe 0x4023c8
mov edi, 0x2400
lea eax, [ebp - 0x2914]
push edi
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00401672
add esp, 0xc
test eax, eax
jne 0x4022cb
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0x30c]
push eax
push dword [0x407034]
call fcn.00401074
lea eax, [ebp - 0x30c]
push eax
call fcn.004027d0
add esp, 0x18
cmp eax, 0xa
jbe 0x4023c8
lea eax, [ebp - 0x2914]
push edi
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.00401672
add esp, 0xc
test eax, eax
jne 0x402340
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0x208]
push eax
push dword [0x407038]
call fcn.00401074
lea eax, [ebp - 0x208]
push eax
call fcn.004027d0
add esp, 0x18
cmp eax, 0xa
jbe 0x4023c8
lea eax, [ebp - 0x2914]
push edi
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00401672
add esp, 0xc
test eax, eax
je 0x4023c8
jmp 0x402340
lea eax, [ebp - 0x2914]
push str._title_
push eax
call fcn.00402c60
mov esi, eax
push edi
lea eax, [ebp - 0x5914]
push ebx
push eax
add esi, 7
call fcn.00402850
mov cl, byte [esi]
add esp, 0x14
cmp cl, 0x20
je 0x40230f
lea edx, [ebp - 0x5914]
mov eax, esi
sub edx, esi
mov byte [edx + eax], cl
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
jne 0x402303
push edi
lea eax, [ebp - 0x2914]
push ebx
push eax
call fcn.00402850
lea eax, [ebp - 0x5914]
push eax
call fcn.004027d0
push eax
lea eax, [ebp - 0x5914]
push eax
lea eax, [ebp - 0x2914]
push eax
call fcn.004026d0
add esp, 0x1c
call fcn.00402043
mov edi, eax
lea eax, [ebp - 0x2914]
push eax
call fcn.004027d0
cmp eax, 0x15
pop ecx
jb 0x4023c8
lea eax, [ebp - 0x2914]
push eax
call fcn.004020a7
test eax, eax
pop ecx
je 0x4023c8
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0x3514]
push eax
lea eax, [ebp - 0x2914]
push eax
call fcn.00401074
lea eax, [ebp - 0x3514]
push 0x3a
push eax
call fcn.00402cf0
mov esi, eax
add esp, 0x1c
cmp esi, ebx
je 0x4023c8
lea eax, [ebp - 0x3514]
mov byte [esi], bl
push eax
call fcn.00402af1
cmp edi, eax
pop ecx
je 0x4023c8
push eax
call fcn.00401fff
lea eax, [ebp - 0x104]
inc esi
push eax
push esi
call fcn.0040171f
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret