Function at 0x413210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d8c4
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4bc8c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x120]
xorps xmm0, xmm0
mov dword [ebp - 0x140], eax
movups xmmword [0x4cb7cc], xmm0
mov dword [ebp - 0x140], 0x4cb7c0
mov dword [ebp - 0x120], 0x4cb7c8
mov dword [0x4cb7c8], 0x4a8960
mov dword [0x4cb7dc], 0
mov dword [0x4cb7e0], 0xf
mov byte [0x4cb7cc], 0
mov dword [ebp - 4], 0
movups xmmword [0x4cb7e4], xmm0
mov dword [0x4cb7f4], 0
mov dword [0x4cb7f8], 0xf
mov byte [0x4cb7e4], 0
mov dword [0x4cb814], 0
mov byte [0x4cb818], 0
mov dword [0x4cb844], 0
push 0
push 0x4a86d1
mov ecx, 0x4cb7cc
mov byte [ebp - 4], 3
call fcn.00408ca0
mov dword [0x4cb80c], 0
mov dword [0x4cb7fc], 0
mov dword [0x4cb800], 0
mov dword [0x4cb808], 0
mov dword [0x4cb804], 0
mov dword [0x4cb810], 0
mov dword [ebp - 4], 4
mov dword [0x4cb848], 0
mov dword [0x4cb84c], 0
mov dword [0x4cb850], 0
xorps xmm0, xmm0
mov dword [0x4cb864], 0
movups xmmword [0x4cb854], xmm0
mov dword [0x4cb868], 0xf
mov byte [0x4cb854], 0
movups xmmword [0x4cb86c], xmm0
mov dword [0x4cb87c], 0
mov dword [0x4cb880], 0xf
mov byte [0x4cb86c], 0
mov al, byte [ebp - 0x119]
mov byte [ebp - 0x160], al
lea eax, [ebp - 0x168]
mov byte [0x4cb894], 0
mov dword [0x4cb7c0], 0
mov dword [0x4cb884], 0
mov dword [0x4cb888], 0
mov dword [0x4cb890], 0
mov dword [0x4cb88c], 0
mov dword [ebp - method.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8VersionControl__AEX_N_ZPAV3_ABU___Ph__00_2__std__X_N_std__.virtual_0], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8VersionControl__AEX_N_ZPAV3_ABU___Ph__00_2__std__X_N_std__.0
mov dword [ebp - 0x164], 0x414a70
mov dword [ebp - 0x15c], 0x4cb7c0
mov dword [ebp - 0x144], eax
push eax
mov ecx, 0x4cb820
mov byte [ebp - 4], 8
call fcn.00406d80
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x41342b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x168]
cmp ecx, eax
setne al
push eax
call edx
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0046b870
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413480
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.0040cfd0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x128]
mov eax, edx
mov ecx, dword [ebp - 0x12c]
sub eax, ecx
push 0x15
push str.LostTale_Launcher.tmp
cmp eax, 0x15
jb 0x4134ec
cmp edx, 0xf
lea esi, [ebp - 0x13c]
lea eax, [ecx + 0x15]
cmova esi, dword [ebp - 0x13c]
add esi, ecx
mov dword [ebp - 0x12c], eax
push esi
call fcn.0046b2f0
add esp, 0xc
mov byte [esi + 0x15], 0
lea eax, [ebp - 0x13c]
jmp 0x413506
mov byte [ebp - 0x120], 0
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x120]
push 0x15
call fcn.0040abf0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x4bd3b4]
movq qword [ebp - 0x124], xmm1
movups xmmword [ebp - 0x178], xmm0
cmp ecx, 0xf
jbe 0x413572
mov eax, dword [0x4bd3a0]
inc ecx
cmp ecx, 0x1000
jb 0x413559
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4135d6
mov eax, edx
push ecx
push eax
call fcn.004697ab
movups xmm0, xmmword [ebp - 0x178]
add esp, 8
movq xmm1, qword [ebp - 0x124]
mov ecx, dword [ebp - 0x128]
movq qword [0x4bd3b0], xmm1
movups xmmword [0x4bd3a0], xmm0
cmp ecx, 0xf
jbe 0x4135b7
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4135ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4135d6
push ecx
push edx
call fcn.004697ab
add esp, 8
mov eax, 0x4cb7c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046977a
mov esp, ebp
pop ebp
ret
call fcn.0046e96f
int3