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

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0xc8
mov eax, 0x1017b3b9
call fcn.1008546d
mov esi, dword [ebp + 0x470]
mov edi, dword [ebp + 0x474]
mov dword [ebp - 0x14], ecx
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 7
call fcn.10001b40
mov ecx, dword [ebp - 0x14]
push edi
push esi
mov dword [ebp - 4], ebx
call fcn.1000b563
mov esi, eax
cmp esi, ebx
je 0x1000c6c1
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edi, dword [sym.imp.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, eax
mov byte [ebp - 4], 1
call edi
push eax
lea ecx, [ebp + 0x1c]
call fcn.10003610
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], bl
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push 0x101ebf0c
lea ecx, [ebp + 0x1c]
call fcn.100059c8
test eax, eax
jne 0x1000c4a3
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, esi
call dword [eax + 0x98]
mov ecx, eax
mov byte [ebp - 4], 2
call edi
push eax
lea ecx, [ebp + 0x1c]
call fcn.10003610
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], bl
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b8]
cmp eax, 1
je 0x1000c4b5
cmp eax, ebx
jne 0x1000c4d3
sub esp, 0x1c
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.100035e0
mov ecx, dword [ebp - 0x14]
call fcn.1000e580
jmp 0x1000c6ab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
mov ecx, eax
call edi
push eax
lea ecx, [ebp]
call fcn.100015f0
mov edi, 0x206
push edi
lea eax, [ebp + 0x25e]
push ebx
push eax
mov byte [ebp - 4], 3
mov word [ebp + 0x25c], bx
call fcn.10085bc0
push edi
lea eax, [ebp + 0x56]
push ebx
push eax
mov word [ebp + 0x54], bx
call fcn.10085bc0
add esp, 0x18
lea eax, [ebp + 0x25c]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x38]
call fcn.100015f0
push str.Face_
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 4
call fcn.10003640
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.10003be0
mov eax, dword [ebp + 0x3c]
push 8
pop edi
cmp dword [ebp + 0x50], edi
jae 0x1000c579
lea eax, [ebp + 0x3c]
push eax
call fcn.1001c251
cmp dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x3c]
pop ecx
jae 0x1000c58b
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000c5a8
cmp dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x3c]
jae 0x1000c5a1
lea eax, [ebp + 0x3c]
push eax
call fcn.1001fd64
pop ecx
cmp dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x3c]
jae 0x1000c5b3
lea eax, [ebp + 0x3c]
push ecx
mov ecx, esp
mov dword [ecx], eax
cmp dword [ebp + 0x18], edi
mov eax, dword [ebp + 4]
mov dword [ebp - 0x18], esp
jae 0x1000c5c6
lea eax, [ebp + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
call dword [sym.imp.DuiLib32.dll_public:_static_int___cdecl_DuiLib::CRenderEngine::SaveFileFrmZip_class_DuiLib::STRINGorID__class_DuiLib::STRINGorID_]
cmp eax, ebx
pop ecx
pop ecx
je 0x1000c695
lea ecx, [ebp - 0xd]
call fcn.100403ee
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
call dword [eax + 0x98]
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
lea ecx, [ebp - 0x34]
call fcn.100015f0
cmp dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x3c]
mov byte [ebp - 4], 7
jae 0x1000c61f
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x50]
call fcn.100015f0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 8
call fcn.1001c0ca
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.100017c0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push ebx
push ebx
push ebx
mov edi, 0xa2
push edi
call esi
push ebx
push ebx
push ebx
push 0x56
call esi
push ebx
push 2
push ebx
push 0x56
call esi
push ebx
push 2
push ebx
push edi
call esi
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 4
call sym.Plugin.dll_CleanUpPluginSystemManager
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp]
call fcn.100017c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x398]
cmp eax, ebx
je 0x1000c6c1
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x468
leave
ret 8