Function at 0x4061e0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x469ba7
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x47f1f4]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f1f4]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c0]
push 0x206
xor esi, esi
lea edx, [esp + 0xaa]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0xb0], cx
call fcn.00449de0
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
push 1
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.KuaiZip
lea ecx, [esp + 0xa8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4062a8
push esi
lea eax, [esp + 0xa8]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4062a8
lea ecx, [esp + 0xa4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor edx, edx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
mov word [esp + 0x70], dx
mov dword [esp + 0x2b8], esi
lea esi, [esp + 0x18]
call fcn.00406600
mov ebx, eax
lea esi, [esp + 0x88]
mov byte [esp + 0x2b8], 1
call fcn.004050a0
mov bl, 3
mov byte [esp + 0x2b8], bl
cmp dword [esp + 0x30], 0x10
jb 0x406304
mov eax, dword [esp + 0x1c]
push eax
call fcn.00446286
add esp, 4
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov ebp, 8
je 0x4063af
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x54]
call fcn.00406e00
add esp, 4
mov ecx, eax
lea edi, [esp + 0x34]
mov byte [esp + 0x2b8], 4
call fcn.00406ec0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c4], 5
call fcn.00401b10
cmp dword [esp + 0x4c], ebp
jb 0x40637c
mov edx, dword [esp + 0x38]
push edx
call fcn.00446286
add esp, 4
xor eax, eax
mov byte [esp + 0x2b8], bl
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
cmp dword [esp + 0x68], ebp
jb 0x4063bf
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00446286
add esp, 4
jmp 0x4063bf
push 0x12
push str.KuaizipPackage.exe
lea ecx, [esp + 0x74]
call fcn.00401a20
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], ebp
jae 0x4063d0
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0xa8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xa4]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4063f0
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa8]
push eax
add ecx, 4
call fcn.00401a20
cmp dword [esp + 0xa0], ebp
jb 0x40642d
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00446286
add esp, 4
xor edx, edx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], dx
cmp dword [esp + 0x84], ebp
jb 0x406463
mov eax, dword [esp + 0x70]
push eax
call fcn.00446286
add esp, 4
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.004461e8
add esp, 0x2a8
ret 4