Function at 0x100064f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7a40
call fcn.1001ac40
mov eax, dword [0x1004a0f0]
push ebx
push esi
push edi
lea ecx, [ebp - 0x7a40]
mov dword [ebp - 4], eax
call fcn.1000f5f0
lea ecx, [ebp - 0xa14]
call fcn.100016b0
lea eax, [ebp - 0x60c]
push eax
push 0x400
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x60c]
lea edx, [eax + 1]
jmp 0x10006540
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006540
sub eax, edx
cmp byte [ebp + eax - 0x60d], 0x5c
je 0x10006572
lea edi, [ebp - 0x60c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006560
mov cx, word [0x10039b2c]
mov word [edi], cx
push str.Localization.ini
lea edx, [ebp - 0x60c]
push str.Support_s
push edx
call fcn.1001b3f7
lea eax, [ebp - 0x60c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006594
sub eax, edx
push eax
lea eax, [ebp - 0x60c]
push eax
lea ecx, [ebp - 0xa14]
call fcn.10001ed0
push ecx
lea edx, [ebp - 0xa14]
mov ecx, esp
mov dword [ebp - 0xa10], esp
push edx
call fcn.10003290
lea ecx, [ebp - 0x7a40]
call fcn.1000fa90
push 0x1003a2c8
lea ecx, [ebp - 0x7a40]
call fcn.10010bf0
test eax, eax
jne 0x1000675b
lea ecx, [ebp - 0xa10]
call fcn.100016b0
lea ecx, [ebp - 0xa18]
call fcn.100016b0
lea eax, [ebp - 0xa0c]
push eax
call fcn.1000f400
lea eax, [ebp - 0xa0c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006616
sub eax, edx
push eax
lea ecx, [ebp - 0xa0c]
push ecx
lea ecx, [ebp - 0xa10]
call fcn.10001ed0
lea edx, [ebp - 0xa18]
push edx
push ecx
lea eax, [ebp - 0xa10]
mov ecx, esp
mov dword [ebp - 0xa1c], esp
push eax
call fcn.10003290
push ecx
mov ecx, esp
mov dword [ebp - 0xa1c], esp
push str.TITLE
call fcn.100022a0
lea ecx, [ebp - 0x7a40]
call fcn.100101b0
mov eax, dword [ebp - 0xa18]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x1000668f
mov ecx, dword [ebp + 8]
push ecx
push 0x1004b2a0
call fcn.10004cb0
add esp, 8
jmp 0x10006745
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.1001ac40
mov eax, esp
push 0
push esi
push edi
push eax
call fcn.10001000
mov esi, dword [ebp + 8]
push 0
push 0
push 0x104
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push 0x1004b2a0
call fcn.10004cb0
add esp, 8
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0xffffffffffffffff
push 0x1004b2a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
call fcn.1001b82c
add esp, 4
inc eax
test eax, eax
jle 0x10006745
mov ax, word [ebp + esi*2 - 0x20c]
cmp ax, 0x2d
je 0x10006729
cmp ax, 0x20
je 0x10006729
test ax, ax
jne 0x10006740
lea ecx, [ebp - 0x20c]
push ecx
inc esi
call fcn.1001b82c
add esp, 4
inc eax
cmp esi, eax
jl 0x10006710
jmp 0x10006745
mov ebx, 1
lea ecx, [ebp - 0xa18]
call fcn.100015d0
lea ecx, [ebp - 0xa10]
call fcn.100015d0
lea ecx, [ebp - 0xa14]
call fcn.100015d0
lea ecx, [ebp - 0x7a40]
call fcn.10010850
mov eax, ebx
lea esp, [ebp - 0x7a4c]
mov ecx, dword [ebp - 4]
call fcn.1001b3e9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret