Function at 0x4078fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
xor bl, bl
call fcn.0040fb4a
mov byte [ebp - 1], al
call fcn.0040fce8
mov byte [ebp - 4], al
call fcn.0040fd36
mov byte [ebp - 3], al
call fcn.0040fdd2
mov byte [ebp - 2], al
call fcn.0040fba7
and dword [ebp - 0xc], 0
mov byte [ebp - 5], al
cmp byte [0x4395db], bl
je 0x407a9e
cmp byte [ebp - 1], bl
jne 0x407a9e
cmp byte [ebp - 4], bl
je 0x407aa4
cmp byte [ebp - 3], bl
je 0x407a9e
test al, al
je 0x407a9e
cmp byte [ebp - 2], bl
je 0x407a9e
push 0x103
lea eax, [ebp - 0x14f]
push 0
push eax
mov byte [ebp - 0x150], bl
call fcn.00416e30
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
mov ebx, 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
push 0x437398
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_StrNCatA]
push 0x407877
push edi
lea eax, [ebp - 0x150]
push eax
push 0x43cd38
call fcn.00406495
add esp, 0x10
mov bl, al
neg bl
sbb bl, bl
inc bl
je 0x407a23
push 0x407877
push edi
lea eax, [ebp - 0x150]
push eax
push 0x43cd00
call fcn.00406495
add esp, 0x10
mov bl, al
neg bl
sbb bl, bl
inc bl
je 0x407a23
mov eax, dword [esi]
push 0x43cf84
push dword [eax*4 + 0x4394bc]
call fcn.00417e70
pop ecx
pop ecx
push 1
push 0x4394a8
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [esi]
jmp 0x407a9e
inc dword [esi]
mov eax, dword [esi]
push 0x43cfb0
push dword [eax*4 + 0x4394bc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
push 0x4394a8
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [esi]
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00416e30
lea eax, [ebp - 0x150]
mov dword [ebp - 0x38], eax
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], 0x43cfd8
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x43ca40
mov dword [ebp - 0x44], 0x440
mov dword [ebp - 0x2c], 9
call dword [0x4394f0]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
cmp byte [ebp - 4], 0
jne 0x407ab1
mov eax, dword [0x439548]
mov esi, dword [eax + 0x64]
mov edi, dword [eax + 0x10]
jmp 0x407b1c
cmp byte [ebp - 3], 0
mov eax, dword [0x439548]
jne 0x407ac4
mov esi, dword [eax + 0x64]
mov edi, dword [eax + 0x28]
jmp 0x407b1c
cmp byte [ebp - 2], 0
jne 0x407ad2
mov esi, dword [eax + 0x64]
mov edi, dword [eax + 0x2c]
jmp 0x407b1c
cmp byte [ebp - 5], 0
jne 0x407ae0
mov esi, dword [eax + 0x64]
mov edi, dword [eax + 0x30]
jmp 0x407b1c
cmp byte [ebp - 1], 0
je 0x407aee
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 4]
jmp 0x407b1c
test bl, bl
je 0x407af7
mov edi, dword [eax + 8]
jmp 0x407b19
cmp byte [0x4395db], 0
jne 0x407b08
mov esi, dword [eax + 0x78]
mov edi, dword [eax + 0x14]
jmp 0x407b1c
cmp dword [ebp - 0xc], 0x20
jle 0x407b16
mov esi, dword [eax + 0x70]
mov edi, dword [eax + 0x1c]
jmp 0x407b1c
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x74]
mov ebx, 0x8a
push ebx
push dword [0x439544]
call fcn.00401041
test eax, eax
je 0x407b3c
push edi
push esi
push ebx
call fcn.00406311
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret