Function at 0x14004d250
Capabilities:
Delete file
Get file size
Move file
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd8
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov bl, r9b
mov r14, r8
mov rsi, rdx
mov r13, rcx
mov byte [rcx + 0x41], 1
lea rdx, [rcx + 0x30]
or r9d, 0xffffffff
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
xor edi, edi
test eax, eax
je 0x14004d6af
dec eax
jne 0x14004d6b3
mov byte [r13 + 0x41], dil
lea r15, vtable.micro::utils::QString.0
mov qword [rbp - 1], r15
mov rax, qword [rsi + 8]
mov qword [rbp + 7], rax
test rax, rax
je 0x14004d2d5
lock inc dword [rax - 0xc]
mov r8, r14
lea rdx, [rbp - 1]
mov rcx, r13
call fcn.14004c4bc
test al, al
jne 0x14004d2ed
jmp 0x14004d6c2
lea r12, [0x14012da68]
mov rdx, r12
cmp qword [rsi + 8], rdi
cmovne rdx, qword [rsi + 8]
mov rcx, qword [r13 + 0x58]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rdx, r12
cmp qword [r14 + 8], rdi
cmovne rdx, qword [r14 + 8]
mov rcx, qword [r13 + 0x58]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + 0x20]
test bl, bl
je 0x14004d38d
mov rdi, r12
cmp qword [r14 + 8], 0
cmovne rdi, qword [r14 + 8]
mov rax, r12
cmp qword [rsi + 8], 0
cmovne rax, qword [rsi + 8]
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_CharUpperW]
mov rbx, rax
movzx ecx, word [rdi]
call qword [sym.imp.USER32.dll_CharUpperW]
cmp bx, ax
jne 0x14004d38b
mov rdx, r12
cmp qword [r14 + 8], 0
cmovne rdx, qword [r14 + 8]
cmp qword [rsi + 8], 0
cmovne r12, qword [rsi + 8]
mov r8d, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_MoveFileExW]
jmp 0x14004d2e8
xor edi, edi
lea rbx, vtable.micro::files::QFile.0
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], rdi
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x79], rdi
mov rdx, r12
cmp qword [rsi + 8], rdi
cmovne rdx, qword [rsi + 8]
mov r8d, 0x80000
lea rcx, [rbp - 0x69]
call fcn.1400e82c4
cmp qword [rbp - 0x61], rdi
jne 0x14004d433
cmp dword [r13 + 0x13c], 0x3e9
jne 0x14004d40a
or r8d, 0xffffffff
lea rdx, str.Cannot_open_file_
lea rcx, [rbp - 0x51]
call fcn.1400e6fc8
nop
lea r8, [rbp - 0x51]
mov rdx, rsi
mov rcx, r13
call fcn.14004afb0
mov bl, al
mov qword [rbp - 0x51], r15
lea rcx, [rbp - 0x51]
call fcn.1400e712c
test bl, bl
je 0x14004d3a5
lea rbx, vtable.micro::files::QFile.0
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.1400e8500
nop
mov qword [rbp - 0x69], rbx
lea rcx, [rbp - 0x69]
call fcn.1400e8500
jmp 0x14004d2e8
mov rdx, r12
cmp qword [r14 + 8], rdi
cmovne rdx, qword [r14 + 8]
mov r8d, 0x1000
lea rcx, [rsp + 0x38]
call fcn.1400e82c4
cmp qword [rbp - 0x79], rdi
jne 0x14004d49e
cmp dword [r13 + 0x13c], 0x3e9
jne 0x14004d40a
or r8d, 0xffffffff
lea rdx, str.Cannot_create_file_
lea rcx, [rbp - 0x39]
call fcn.1400e6fc8
nop
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, r13
call fcn.14004afb0
mov bl, al
mov qword [rbp - 0x39], r15
lea rcx, [rbp - 0x39]
call fcn.1400e712c
test bl, bl
je 0x14004d433
jmp 0x14004d40a
mov qword [rbp - 0x51], rdi
lea rdx, [rbp - 0x41]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov edx, 0x100000
lea rcx, [rbp - 0x29]
call fcn.140024ca0
nop
mov dword [rsp + 0x34], edi
mov rbx, qword [rbp - 0x41]
test rbx, rbx
je 0x14004d641
mov dword [rbp + 0x67], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x67]
mov r8d, 0x100000
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [rbp + 0x67]
test rdi, rdi
je 0x14004d641
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x30]
mov rcx, qword [r13 + 0x58]
cmp rdi, rax
jne 0x14004d5ff
mov rdx, qword [rbp - 0x51]
add rdx, rdi
mov qword [rbp - 0x51], rdx
add rcx, 0x48
mov rax, qword [rcx]
mov r8, rbx
call qword [rax + 0x28]
mov rcx, qword [r13 + 0x58]
add rcx, 0x48
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x40]
mov r8d, dword [rsp + 0x34]
inc r8d
mov dword [rsp + 0x34], r8d
mov eax, 0xcccccccd
mul r8d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r8d, ecx
je 0x14004d5a2
mov byte [r13 + 0x41], 1
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [r13 + 0x30]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
xor edi, edi
test eax, eax
je 0x14004d5b3
dec eax
jne 0x14004d5b7
mov byte [r13 + 0x41], dil
jmp 0x14004d5a4
xor edi, edi
cmp qword [rbp - 0x51], rbx
jae 0x14004d641
jmp 0x14004d4d0
mov byte [r13 + 0x40], dil
mov byte [r13 + 0x142], 1
lea rcx, [rsp + 0x38]
call fcn.1400e8500
cmp qword [r14 + 8], rdi
cmovne r12, qword [r14 + 8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
nop
lea rax, vtable.micro::utils::QBaseArray.0
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14004d40a
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
jmp 0x14004d40a
xor r9d, r9d
lea r8, str.Message
lea rdx, str.Error_witting_file__disk_may_be_full__
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x38]
call fcn.1400e8500
cmp qword [r14 + 8], 0
cmovne r12, qword [r14 + 8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [r13 + 0x142], 1
jmp 0x14004d5dc
cmp byte [rbp + 0x7f], dil
je 0x14004d5dc
lea rcx, [rbp - 0x69]
call fcn.1400e8500
mov rdx, rsi
mov rcx, r13
call fcn.14004b230
test al, al
je 0x14004d5dc
mov rcx, r12
cmp qword [rsi + 8], rdi
cmovne rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne al
test al, al
jne 0x14004d5dc
mov eax, dword [r13 + 0x128]
cmp eax, 0x3e9
jne 0x14004d69d
mov rdx, rsi
mov rcx, r13
call fcn.14004b0e0
jmp 0x14004d6a6
cmp eax, 0x3ea
jne 0x14004d663
mov al, 1
test al, al
je 0x14004d663
jmp 0x14004d5dc
mov byte [r13 + 0x40], dil
mov byte [r13 + 0x142], 1
lea r15, vtable.micro::utils::QString.0
mov qword [rsi], r15
mov rcx, rsi
call fcn.1400e712c
nop
mov qword [r14], r15
mov rcx, r14
call fcn.1400e712c
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret