Function at 0x14000f2a0
Capabilities:
Delete file
Get file size
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14004d028]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1400013a0
lea rdx, [0x1400454f0]
lea rcx, [rsp + 0x78]
call fcn.14000be30
mov qword [rsp + 0x68], rax
movzx eax, byte [0x14004da8c]
test eax, eax
jne 0x14000f307
lea rcx, [rsp + 0x78]
call fcn.14000a3d0
jmp 0x14000f68b
lea rcx, [rsp + 0x78]
call fcn.140002f00
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14000f334
mov byte [0x14004da8c], 0
lea rcx, [rsp + 0x78]
call fcn.14000a3d0
jmp 0x14000f68b
mov edx, 0x800
mov rcx, qword [rsp + 0x2d0]
call fcn.140009cb0
shl rax, 1
cmp rax, 0x800
jbe 0x14000f360
lea rcx, [rsp + 0x78]
call fcn.14000a3d0
jmp 0x14000f68b
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.1400013a0
lea rcx, [rsp + 0x90]
call fcn.140008f60
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14000f4fe
lea rcx, [rsp + 0xa0]
call fcn.140008e50
xor r9d, r9d
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.140009780
movzx eax, word [rsp + 0x8c]
movzx ecx, word [rsp + 0x8a]
movzx edx, word [rsp + 0x88]
movzx edi, word [rsp + 0x86]
movzx r8d, word [rsp + 0x82]
movzx r9d, word [rsp + 0x80]
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edi
mov r9d, r8d
mov eax, dword [rsp + 0x4c]
mov r8d, eax
lea rdx, [0x1400454d8]
lea rcx, [0x140050620]
call fcn.140009ad0
lea rcx, [rsp + 0x90]
call fcn.1400099d0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x78]
call fcn.1400099d0
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
lea rdx, [0x140045538]
lea rcx, [0x140052ee0]
call fcn.140009970
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
lea rcx, [0x140052ee0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14000f4fe
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
lea rcx, [0x140052ee0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
movzx eax, word [rsp + 0x8c]
movzx ecx, word [rsp + 0x8a]
movzx edx, word [rsp + 0x88]
movzx edi, word [rsp + 0x86]
movzx r8d, word [rsp + 0x82]
movzx r9d, word [rsp + 0x80]
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edi
mov r9d, r8d
mov eax, dword [rsp + 0x50]
mov r8d, eax
lea rdx, [0x140045568]
lea rcx, [0x140050690]
call fcn.140009ad0
mov dword [rsp + 0x48], 0
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x14000f64b
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r8d, 0x100
lea rdx, [0x140051890]
lea rcx, [0x140050690]
call fcn.140009b30
mov eax, dword [0x140050618]
mov dword [rsp + 0x54], eax
mov eax, dword [0x140050618]
inc eax
mov dword [0x140050618], eax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
lea r9, [0x140051890]
lea r8, [0x140045580]
mov edx, 0x800
lea rcx, [0x140050700]
call fcn.140009c30
mov edx, 0x8c8
lea rcx, [0x140050700]
call fcn.140009cb0
mov eax, eax
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
mov r8d, eax
lea rdx, [0x140050700]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000f658
lea rcx, [0x140045598]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x48], 0x4c4b40
jbe 0x14000f670
lea rcx, [0x140052ee0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x90]
call fcn.14000a3d0
nop
lea rcx, [rsp + 0x78]
call fcn.14000a3d0
nop
jmp 0x14000f68b
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140017a80
add rsp, 0x2c0
pop rdi
ret