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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8d8
mov rax, qword [0x14004f018]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov rax, qword [rsp + 0x8f0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140032295
jmp 0x140032563
mov rax, qword [rsp + 0x8f0]
mov byte [rax + 8], 1
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x14003232f
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140032300
cmp qword [rsp + 0x40], 0
je 0x1400322fe
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14003232f
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x410
jae 0x14003231b
jmp 0x140032320
call fcn.140026220
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx + 0x90], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
sub qword [rsp + 0x20], 2
add qword [rsp + 0x20], 2
mov rax, qword [rsp + 0x20]
cmp word [rax], 0
jne 0x140032342
mov rax, qword [rsp + 0x20]
lea rcx, [0x14003e3f8]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
sub qword [rsp + 0x28], 2
add qword [rsp + 0x28], 2
mov rax, qword [rsp + 0x28]
cmp word [rax], 0
jne 0x14003237f
mov rax, qword [rsp + 0x28]
lea rcx, [0x14003cdf8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400323eb
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x410
jae 0x1400323d7
jmp 0x1400323dc
call fcn.140026220
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x90], ax
lea rax, [rsp + 0x4a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
lea rax, [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x140032415
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x140032505
mov r8d, 0x207
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x14003246b
mov rax, qword [rsp + 0x50]
test rax, rax
jbe 0x140032505
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x30], rax
sub qword [rsp + 0x30], 2
add qword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
cmp word [rax], 0
jne 0x14003249e
mov rax, qword [rsp + 0x30]
lea rcx, [0x14003e3f8]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x38], rax
sub qword [rsp + 0x38], 2
add qword [rsp + 0x38], 2
mov rax, qword [rsp + 0x38]
cmp word [rax], 0
jne 0x1400324db
mov rax, qword [rsp + 0x38]
lea rcx, str.HaoZip.hzv
mov rdi, rax
mov rsi, rcx
mov ecx, 0x16
rep movsb byte [rdi], byte [rsi]
call fcn.140012b10
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x14003252b
mov rax, qword [rsp + 0x58]
test rax, rax
jbe 0x140032563
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x88]
call fcn.140012c10
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.140025ac0
add rsp, 0x8d8
pop rdi
pop rsi
ret