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

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x900
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14007e090]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov rdi, rcx
xor ebx, ebx
mov word [rsp + 0x4d0], bx
mov esi, 0x206
mov r8, rsi
xor edx, edx
lea rcx, [r11 - 0x436]
call fcn.1400452b0
mov word [rsp + 0x6e0], bx
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x6e2]
call fcn.1400452b0
mov r9d, 0x104
lea r8, [rsp + 0x4d0]
lea rdx, [0x140066a50]
xor ecx, ecx
call fcn.1400125b8
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
lea rdx, str.cachedump
xor ecx, ecx
call fcn.1400125b8
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x140006f1d
mov word [rsp + 0x2c0], bx
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x2c2]
call fcn.1400452b0
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, [rsp + 0x2c0]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.client_log.zip
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [rsp + 0xb0], bx
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0xb2]
call fcn.1400452b0
lea rdx, [rsp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, str.client_log
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0xb0]
call fcn.140011ce4
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140006cb3
mov r8d, eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x4d0]
call fcn.140012304
mov esi, 8
mov rcx, rsi
call fcn.140042afc
cmp rax, rbx
je 0x140006ccf
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x140006cd2
mov rax, rbx
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140007b50
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.140001ce4
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140007a98
nop
cmp qword [rsp + 0x60], rsi
jb 0x140006d77
mov rcx, qword [rsp + 0x48]
call fcn.140042a98
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x6e0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x40]
call fcn.140001ce4
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140007a98
nop
cmp qword [rsp + 0x60], rsi
jb 0x140006dfd
mov rcx, qword [rsp + 0x48]
call fcn.140042a98
lea rcx, [rsp + 0x40]
call fcn.14002b770
nop
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140007a98
nop
cmp qword [rsp + 0x60], rsi
jb 0x140006e4e
mov rcx, qword [rsp + 0x48]
call fcn.140042a98
lea rcx, [rsp + 0x40]
call fcn.14002b878
nop
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140007a98
nop
cmp qword [rsp + 0x60], rsi
jb 0x140006e9f
mov rcx, qword [rsp + 0x48]
call fcn.140042a98
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x2c0]
call fcn.140035510
cmp eax, ebx
jne 0x140006ee4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x140006efb
lea rcx, [rsp + 0x2c0]
call fcn.1400142dc
jmp 0x140006efb
mov dword [rsp + 0x20], eax
lea r9, [0x140066aa8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140012680
lea rcx, [rsp + 0xb0]
call fcn.1400124fc
nop
lea rcx, [rsp + 0x68]
call fcn.140007b88
mov rcx, qword [rsp + 0x68]
call fcn.140042a98
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.140042a40
lea r11, [rsp + 0x900]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret