Function at 0x14002a080
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 [0x140041018]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov rax, qword [rsp + 0x8f0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x14002a0b5
jmp 0x14002a383
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 0x14002a14f
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14002a120
cmp qword [rsp + 0x40], 0
je 0x14002a11e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14002a14f
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x410
jae 0x14002a13b
jmp 0x14002a140
call fcn.14001fc50
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 0x14002a162
mov rax, qword [rsp + 0x20]
lea rcx, [0x140032e48]
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 0x14002a19f
mov rax, qword [rsp + 0x28]
lea rcx, [0x140031dc8]
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 0x14002a20b
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x410
jae 0x14002a1f7
jmp 0x14002a1fc
call fcn.14001fc50
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 0x14002a235
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x14002a325
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 0x14002a28b
mov rax, qword [rsp + 0x50]
test rax, rax
jbe 0x14002a325
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 0x14002a2be
mov rax, qword [rsp + 0x30]
lea rcx, [0x140032e48]
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 0x14002a2fb
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.1400114c0
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 0x14002a34b
mov rax, qword [rsp + 0x58]
test rax, rax
jbe 0x14002a383
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x88]
call fcn.1400115c0
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.14001f5c0
add rsp, 0x8d8
pop rdi
pop rsi
ret