Function at 0x14002509c
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80010]
mov eax, 0x80110
call fcn.140001a50
sub rsp, rax
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x80168], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80000], rax
mov r15, r8
mov rdi, rcx
lea rsi, vtable.micro::utils::QString.0
mov qword [rsp + 0x50], rsi
xor r13d, r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], r13d
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
lea rcx, [rsp + 0x38]
call fcn.1400ea694
nop
lea rcx, [rdi + 0x48]
cmp qword [rcx + 8], r13
jne 0x14002513e
mov bl, r13b
jmp 0x14002514f
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.1400e9958
mov bl, al
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x38]
call fcn.1400e712c
test bl, bl
jne 0x140025188
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
call fcn.1400e712c
nop
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call fcn.1400e712c
xor al, al
jmp 0x140025317
lea rcx, [rdi + 0x20]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x30]
lea rsi, [0x14012da68]
mov rdx, rsi
cmp qword [r15 + 8], r13
cmovne rdx, qword [r15 + 8]
mov r8d, 0x1000
lea rcx, [rbp - 0x30]
call fcn.1400e825c
nop
mov r12, qword [rsp + 0x70]
mov rbx, r12
mov r14b, r13b
test r12, r12
je 0x140025277
mov r8d, 0x80000
cmp rbx, r8
cmovb r8d, ebx
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x30]
lea rdx, [rbp]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x140025277
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140025277
mov r8d, eax
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x48]
lea rdx, [rbp]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x30]
sub rbx, rax
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x14002526a
mov rax, qword [rcx]
mov rdx, r12
sub rdx, rbx
mov r8, r12
call qword [rax + 0x28]
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
mov edx, dword [rsp + 0x30]
call qword [rax + 0x40]
mov rcx, qword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x48]
test al, al
jne 0x140025274
test rbx, rbx
je 0x1400252da
jmp 0x1400251d0
mov r14b, 1
test rbx, rbx
je 0x1400252da
cmp qword [r15 + 8], r13
cmovne rsi, qword [r15 + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test r14b, r14b
jne 0x1400252da
or r8d, 0xffffffff
lea rdx, str.Write_Error
lea rcx, [rbp - 0x18]
call fcn.1400e6fc8
nop
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r13
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x38]
call fcn.1400e7b9c
nop
lea rdx, [0x14016bc48]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, vtable.micro::files::QFile.0
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x30]
call fcn.1400e8500
nop
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.1400e712c
nop
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.1400e712c
mov al, 1
mov rcx, qword [rbp + 0x80000]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x80168]
add rsp, 0x80110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret