Function at 0x140007fb0
Capabilities:
Copy file
Delete file
Enumerate files on windows
Get common file path
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x388
mov rax, qword [0x1400f1290]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov edx, 0xf4240
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400084c3
call fcn.140007f20
mov qword [rsp + 0x50], rax
mov r8d, 3
lea rdx, [0x1400d7f58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x140008479
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
call fcn.140007e30
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140008477
mov qword [rsp + 0x68], 0
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14000846c
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140008461
mov r9, qword [rsp + 0x60]
lea r8, str._s_storage
mov edx, 0x7fff
mov rcx, qword [rsp + 0x70]
call fcn.1400c2880
mov qword [rsp + 0x78], 0
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140008456
mov r9, qword [rsp + 0x70]
lea r8, str._s.
mov edx, 0x7fff
mov rcx, qword [rsp + 0x78]
call fcn.1400c2880
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0xffffffffffffffff
je 0x14000844b
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
je 0x14000841f
lea rdx, [0x1400d680c]
lea rcx, [rsp + 0xbc]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008176
lea rdx, [0x1400d8018]
lea rcx, [rsp + 0xbc]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000817b
jmp 0x14000841f
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
lea r8, str._s_sAccountsAccount.rec0
mov edx, 0x7fff
mov rcx, qword [rsp + 0x68]
call fcn.1400c2880
mov qword [rsp + 0x2e0], 0
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x2e0], rax
cmp qword [rsp + 0x2e0], 0
je 0x14000841f
mov rdx, qword [rsp + 0x2e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140008411
mov qword [rsp + 0x2e8], 0
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x2e8], rax
cmp qword [rsp + 0x2e8], 0
je 0x140008411
call qword [0x1400f4eb8]
mov dword [rsp + 0x2f0], eax
mov r9d, dword [rsp + 0x2f0]
lea r8, [0x1400d8058]
mov edx, 0x27
lea rcx, [rsp + 0x300]
call fcn.1400c2880
lea rax, [rsp + 0x300]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2e0]
lea r8, [0x1400d8060]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x2e8]
call fcn.1400c2880
xor r8d, r8d
mov rdx, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x140008403
mov qword [rsp + 0x350], 0xffffffffffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x350], rax
cmp qword [rsp + 0x350], 0xffffffffffffffff
je 0x1400083f5
xor edx, edx
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x358], eax
cmp dword [rsp + 0x358], 0xffffffff
je 0x1400083dc
cmp dword [rsp + 0x358], 0x64
jbe 0x1400083dc
mov eax, dword [rsp + 0x358]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x360], rax
cmp qword [rsp + 0x360], 0
je 0x1400083dc
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x368]
mov r8d, dword [rsp + 0x358]
mov rdx, qword [rsp + 0x360]
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400083ce
mov eax, dword [rsp + 0x358]
cmp dword [rsp + 0x368], eax
jne 0x1400083ce
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x350], 0xffffffffffffffff
mov r9d, dword [rsp + 0x358]
mov r8, qword [rsp + 0x360]
mov edx, 0x7a120
mov rcx, qword [rsp + 0x40]
call fcn.1400084f0
mov rcx, qword [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x350], 0xffffffffffffffff
je 0x1400083f5
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140008132
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400084a7
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2]
lea r8, str.Current_version_supports_FoxMail_7.2_which_was_not_found._r_n_r_n
mov edx, 0x186a0
mov rcx, rax
call fcn.1400c2880
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x390]
mov dword [rcx], eax
mov rax, qword [rsp + 0x40]
jmp 0x1400084c5
xor eax, eax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1400c2a80
add rsp, 0x388
ret