Function at 0x1001cb40
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132efc
mov eax, dword fs:[0]
push eax
sub esp, 0x69c
mov eax, dword [0x10167b84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6a4], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.1010db20
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.liebaoUser_Data
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x680]
call fcn.10015730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x680]
call fcn.10017180
movzx ecx, al
test ecx, ecx
jne 0x1001cbed
lea ecx, [ebp - 0x680]
call fcn.10010af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001cc14
mov dword [ebp - 0x690], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x680]
call fcn.100159b0
mov eax, dword [ebp - 0x690]
jmp 0x1001cdf3
lea ecx, [ebp - 0x67c]
call fcn.1001c790
mov byte [ebp - 4], 1
push 0x101398b8
lea edx, [ebp - 0x680]
push edx
lea eax, [ebp - 0x69c]
push eax
call fcn.1001c810
add esp, 0xc
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
mov dword [ebp - 0x698], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x698]
call fcn.10010af0
push eax
lea ecx, [ebp - 0x67c]
call fcn.1001c980
test eax, eax
jne 0x1001cc7b
mov dword [ebp - 0x68c], 1
jmp 0x1001cc85
mov dword [ebp - 0x68c], 0
mov dl, byte [ebp - 0x68c]
mov byte [ebp - 0x681], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x69c]
call fcn.100159b0
movzx eax, byte [ebp - 0x681]
test eax, eax
je 0x1001cce1
mov dword [ebp - 0x6a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x67c]
call fcn.1001c7d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x680]
call fcn.100159b0
mov eax, dword [ebp - 0x6a0]
jmp 0x1001cdf3
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x680]
call fcn.10015ac0
lea ecx, [ebp - 0x67c]
call fcn.1001d050
test eax, eax
je 0x1001cdaf
lea ecx, [ebp - 0x67c]
call fcn.1001d070
test eax, eax
jne 0x1001cdaf
lea edx, [ebp - 0x688]
push edx
lea ecx, [ebp - 0x67c]
call fcn.1001ce10
mov byte [ebp - 4], 3
push 4
push str.kswl
lea ecx, [ebp - 0x688]
call fcn.10010af0
push eax
call fcn.10121f11
add esp, 0xc
test eax, eax
jne 0x1001cda0
mov eax, dword [ebp - 0x688]
push eax
lea ecx, [ebp - 0x680]
call fcn.10010af0
push eax
push str._s_sHistory
lea ecx, [ebp - 0x680]
push ecx
call fcn.1001a9f0
add esp, 0x10
lea ecx, [ebp - 0x680]
call fcn.10010af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001cda0
lea edx, [ebp - 0x680]
push edx
mov ecx, dword [ebp - 0x6a4]
add ecx, 4
call fcn.1001bca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x688]
call fcn.100159b0
lea ecx, [ebp - 0x67c]
call fcn.1001cae0
test eax, eax
jne 0x1001cce1
mov dword [ebp - 0x6a8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x67c]
call fcn.1001c7d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x680]
call fcn.100159b0
mov eax, dword [ebp - 0x6a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100faee9
mov esp, ebp
pop ebp
ret