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

Disassembly:
push rdi
sub rsp, 0x390
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 8
lea rcx, [rsp + 0x158]
call fcn.14000c8b0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x158]
call fcn.14000fff0
nop
mov edx, 8
lea rcx, [rsp + 0x148]
call fcn.14000c8b0
lea r8, str._baidu
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x148]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x148]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006f074
lea rcx, [rsp + 0x148]
call fcn.140010050
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x148]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006f0ae
lea rcx, [rsp + 0x148]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x158]
call fcn.14000ffc0
jmp 0x14006f38e
mov edx, 8
lea rcx, [rsp + 0x160]
call fcn.14000c8b0
lea r8, str._baiduBaiduBrowser
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x160]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x160]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14006f139
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x160]
call fcn.140010050
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14000fff0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.140036a00
mov edx, 8
lea rcx, [rsp + 0x150]
call fcn.14000c8b0
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x150]
call fcn.140010d70
nop
lea rdx, str.BaiduBrowser.zip
lea rcx, [rsp + 0x150]
call fcn.1400229e0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea rdx, [0x1401d3a78]
mov rcx, qword [rsp + 0x50]
call fcn.14000fff0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x60]
call fcn.140010d70
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov dx, reloc.WS2_32.dll_WSAGetLastError
mov rcx, qword [rsp + 0x78]
call fcn.14001bdc0
mov edx, 8
lea rcx, [rsp + 0x168]
call fcn.14000c8b0
lea rdx, [0x1401b4f04]
lea rcx, [rsp + 0x30]
call fcn.140022af0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x168]
call fcn.140022670
nop
lea rcx, [rsp + 0x30]
call fcn.14000ffc0
lea rcx, [rsp + 0x168]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140023080
nop
lea rcx, [rsp + 0x150]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140023080
nop
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x128]
call fcn.14001ab50
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x108]
call fcn.14001ab50
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400097a0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400097a0
xor r8d, r8d
mov rcx, qword [rsp + 0xa0]
mov rdx, rcx
mov rcx, rax
call fcn.14008c6b0
nop
lea rcx, [rsp + 0x108]
call fcn.140009960
nop
lea rcx, [rsp + 0x128]
call fcn.140009960
nop
lea rcx, [rsp + 0xc8]
call fcn.140010220
nop
lea rcx, [rsp + 0xe8]
call fcn.140010220
lea rcx, [rsp + 0x150]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x168]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x150]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x160]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x148]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x158]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140138320
add rsp, 0x390
pop rdi
ret