Function at 0x140027094
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80010]
mov eax, 0x80110
call fcn.140001a50
sub rsp, rax
mov qword [rbp - 8], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80000], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea r12, vtable.micro::utils::QString.0
mov qword [rsp + 0x50], r12
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
lea rcx, [rsp + 0x38]
call fcn.1400ea694
nop
lea rcx, [rdi + 0x48]
cmp qword [rcx + 8], r15
jne 0x140027130
mov bl, r15b
jmp 0x140027141
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.1400e9958
mov bl, al
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x38]
call fcn.1400e712c
test bl, bl
jne 0x14002717a
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.1400e712c
nop
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.1400e712c
xor al, al
jmp 0x140027307
lea rcx, [rdi + 0x20]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x30]
lea rbx, [0x14012da68]
mov rdx, rbx
cmp qword [r14 + 8], r15
cmovne rdx, qword [r14 + 8]
mov r8d, 0x1000
lea rcx, [rbp - 0x30]
call fcn.1400e825c
nop
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1400271cc
cmp qword [rsi + 8], r15
cmovne rbx, qword [rsi + 8]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rsp + 0x70]
mov rbx, rsi
mov r14b, r15b
test rsi, rsi
je 0x140027287
mov r8d, 0x80000
cmp rbx, r8
cmovb r8d, ebx
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
lea rdx, [rbp]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x140027287
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140027287
mov r8d, eax
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x20], r15
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 0x14002727a
mov rax, qword [rcx]
mov rdx, rsi
sub rdx, rbx
mov r8, rsi
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 0x140027284
test rbx, rbx
je 0x1400272d1
jmp 0x1400271e0
mov r14b, 1
test rbx, rbx
je 0x1400272d1
test r14b, r14b
jne 0x1400272d1
or r8d, 0xffffffff
lea rdx, str.Write_Error
lea rcx, [rbp - 0x18]
call fcn.1400e6fc8
nop
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r15
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
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.1400e712c
nop
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.1400e712c
mov al, 1
mov rcx, qword [rbp + 0x80000]
xor rcx, rsp
call fcn.140001010
add rsp, 0x80110
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret