Function at 0x1400711c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Read file on windows
Write file on windows

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0x108]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140071237
movzx eax, byte [rsp + 0x110]
test eax, eax
jne 0x140071225
mov dword [rsp + 0x54], 1
jmp 0x14007122d
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
jmp 0x1400714b9
mov dword [rsp + 0x48], 1
mov rcx, qword [rsp + 0x100]
call fcn.140006930
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x140071296
mov dword [rsp + 0x48], 0
jmp 0x14007149b
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xa8]
call fcn.14003ff60
nop
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xc8]
call fcn.14001a320
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140006930
mov rcx, rax
call fcn.140019a00
nop
lea rcx, [rsp + 0xc8]
call fcn.140006ee0
nop
lea rcx, [rsp + 0xa8]
call fcn.140006ee0
mov rcx, qword [rsp + 0x108]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x108]
call fcn.140006930
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x140071382
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x48], 0
jmp 0x14007149b
mov dword [rsp + 0x4c], 0x100000
mov eax, dword [rsp + 0x4c]
mov ecx, eax
call fcn.1400c7eb0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x40], 0
je 0x140071455
cmp dword [rsp + 0x50], 0
je 0x140071455
cmp dword [rsp + 0x44], 0
je 0x140071455
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140071453
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x50], eax
jmp 0x1400713e9
cmp dword [rsp + 0x50], 0
je 0x140071463
cmp dword [rsp + 0x44], 0
jne 0x14007146b
mov dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400c7ea8
cmp dword [rsp + 0x48], 1
jne 0x1400714ac
mov dword [rsp + 0x58], 1
jmp 0x1400714b4
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0xf8
ret