Function at 0x14008432c
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4a8]
sub rsp, 0x580
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rdi, rcx
mov rcx, qword [rcx + 0xc0]
mov edx, 0x3f7
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r14d, 1
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xc0]
mov edx, r14d
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xc0]
lea edx, [r14 + 1]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rax, qword [rdi + 0xc0]
mov qword [rax + 0xd8], rdi
lea rbx, [rdi + 0x88]
lea esi, [r14 + 0x5b]
mov edx, esi
mov rcx, rbx
call fcn.1400ea6c0
lea r15, [0x14012da68]
mov rdx, r15
xor r12d, r12d
cmp qword [rbx + 8], r12
cmovne rdx, qword [rbx + 8]
mov r8d, esi
mov byte [rsp + 0x20], r12b
lea rcx, [rbp + 0x30]
call fcn.1400ee030
nop
mov ebx, r12d
movsxd rsi, dword [rdi + 0x70]
test rsi, rsi
jle 0x140084456
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + rbx*8]
mov rdx, r15
cmp qword [rcx + 8], r12
cmovne rdx, qword [rcx + 8]
lea rcx, [rbp + 0x30]
call fcn.1400ee560
add rbx, r14
cmp rbx, rsi
jl 0x14008442e
lea rcx, [rbp + 0xe0]
call fcn.140038e08
nop
mov eax, dword [rdi + 0x48]
mov dword [rbp + 0xe0], eax
lea rcx, [rbp + 0xe0]
call fcn.14003918c
lea rsi, vtable.micro::utils::QString.0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r12
lea rbx, vtable.micro::files::QFile.0
mov qword [rbp - 0x28], rbx
mov r14, r12
mov qword [rbp - 0x20], r12
cmp byte [rdi + 0xa8], r12b
jne 0x140084520
mov rax, qword [rdi + 0xa0]
mov rdx, r15
test rax, rax
cmovne rdx, rax
mov r8d, 0x1000
lea rcx, [rbp - 0x28]
call fcn.1400e82c4
test al, al
jne 0x1400844ed
mov rcx, qword [rdi + 0xc0]
xor r9d, r9d
lea r8, str.Message
lea rdx, str.Cannot_create_crc_file__
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140084a5b
mov word [rsp + 0x34], 0xbbef
mov byte [rsp + 0x36], 0xbf
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 3
lea rdx, [rsp + 0x34]
mov r14, qword [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rax, qword [rdi + 0xa0]
mov rdx, r15
test rax, rax
cmovne rdx, rax
mov rcx, qword [rdi + 0xc0]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rdi + 0xc0]
add rcx, 0x48
mov rax, qword [rcx]
mov rdx, qword [rbp + 0xc8]
call qword [rax + 0x38]
mov edx, 0x200000
lea rcx, [rbp]
call fcn.140024ca0
nop
mov r13, r12
movsxd rax, dword [rbp + 0x58]
mov qword [rbp - 8], rax
lea r15, [0x14010ea73]
test rax, rax
jle 0x1400849d9
mov rax, qword [rbp + 0x68]
mov rdx, qword [rax + r13*8]
add rdx, 0x2c
or r8d, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400e6fc8
nop
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + r13*8]
mov qword [rbp - 0x10], rax
lea rdx, [0x14012da68]
cmp qword [rax + 8], r12
cmovne rdx, qword [rax + 8]
mov rcx, qword [rdi + 0xc0]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r12
lea rdx, [0x14012da68]
mov rax, qword [rsp + 0x50]
test rax, rax
cmovne rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.1400e82c4
mov r12, qword [rsp + 0x60]
test r12, r12
jne 0x140084627
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1400e8500
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.1400e712c
jmp 0x140084937
lea rcx, [rbp + 0xe0]
call fcn.14003918c
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov rbx, qword [rbp - 0x30]
mov qword [rbp - 0x58], rbx
jmp 0x1400846c2
mov r8d, esi
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0xe0]
call fcn.140039260
mov byte [rdi + 0x41], 1
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rdi + 0x30]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
test eax, eax
je 0x14008494e
dec eax
jne 0x140084949
mov byte [rdi + 0x41], al
mov r8, qword [rbp - 0x58]
sub r8, rsi
mov qword [rbp - 0x58], r8
mov rcx, qword [rdi + 0xc0]
add rcx, 0x48
mov rax, qword [rcx]
mov rdx, rbx
sub rdx, r8
mov r8, rbx
call qword [rax + 0x28]
mov rcx, qword [rdi + 0xc0]
add rcx, 0x48
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x40]
and qword [rsp + 0x20], 0
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
mov r8d, 0x200000
mov rdx, qword [rbp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, dword [rsp + 0x30]
test rsi, rsi
jne 0x14008464a
lea rsi, vtable.micro::utils::QString.0
mov qword [rsp + 0x38], rsi
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xe0]
call fcn.1400393b4
lea rdx, [0x140111d4c]
lea rcx, [rsp + 0x38]
call fcn.1400e7ce0
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140084745
cmp dword [rdx - 8], r12d
je 0x140084745
lea rcx, [rsp + 0x38]
call fcn.1400e7ce0
lea rdx, [0x140111d54]
lea rcx, [rsp + 0x38]
call fcn.1400e7ce0
cmp byte [rdi + 0xa8], r12b
je 0x1400848e8
lea rbx, vtable.micro::files::QFile.0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], r12
lea r8, [rdi + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140011d2c
nop
lea rdx, [0x14012da68]
mov rax, qword [rsp + 0x78]
test rax, rax
cmovne rdx, rax
mov r8d, 0x1000
lea rcx, [rbp - 0x70]
call fcn.1400e82c4
test al, al
jne 0x140084838
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], r12
lea r8, [0x14012da68]
mov rax, qword [rsp + 0x78]
test rax, rax
cmovne r8, rax
lea rdx, str.Cannot_create__s_file____nContinue__
lea rcx, [rbp - 0x80]
call fcn.1400e7a18
lea rdx, [0x14012da68]
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne rdx, rax
mov rcx, qword [rdi + 0xc0]
mov r9d, 1
lea r8, [0x14010f168]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov qword [rbp - 0x80], rsi
lea rcx, [rbp - 0x80]
cmp eax, 1
jne 0x140084984
call fcn.1400e712c
nop
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x70]
call fcn.1400e712c
nop
jmp 0x1400848d9
mov word [rsp + 0x34], 0xbbef
mov byte [rsp + 0x36], 0xbf
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 3
lea rdx, [rsp + 0x34]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.14002e0cc
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x14008488a
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_strlen]
jmp 0x14008488d
mov rax, r12
mov rdx, r15
test rbx, rbx
cmovne rdx, rbx
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, eax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test rbx, rbx
je 0x1400848c2
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x70]
call fcn.1400e712c
nop
lea rbx, vtable.micro::files::QFile.0
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x70]
call fcn.1400e8500
jmp 0x140084908
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140084901
cmp dword [rdx - 8], r12d
je 0x140084901
lea rcx, [rbp - 0x50]
call fcn.1400e7ce0
lea rbx, vtable.micro::files::QFile.0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x38]
call fcn.1400e712c
nop
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1400e8500
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.1400e712c
inc r13
cmp r13, qword [rbp - 8]
jge 0x1400849d9
jmp 0x140084584
xor r12d, r12d
jmp 0x140084955
xor r12d, r12d
mov byte [rdi + 0x40], r12b
lea rbx, vtable.micro::files::QFile.0
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1400e8500
nop
lea rsi, vtable.micro::utils::QString.0
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.1400e712c
jmp 0x1400849d9
call fcn.1400e712c
nop
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x70]
call fcn.1400e712c
nop
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x70]
call fcn.1400e8500
nop
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x38]
call fcn.1400e712c
nop
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1400e8500
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.1400e712c
jmp 0x140084a40
cmp byte [rdi + 0xa8], r12b
jne 0x140084a40
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.14002e0cc
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x140084a03
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_strlen]
jmp 0x140084a06
mov rax, r12
test rbx, rbx
cmovne r15, rbx
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, eax
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test rbx, rbx
je 0x140084a39
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
lea rbx, vtable.micro::files::QFile.0
lea rax, vtable.micro::utils::QBaseArray.0
mov qword [rbp], rax
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140084a5b
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov qword [rbp - 0x28], rbx
lea rcx, [rbp - 0x28]
call fcn.1400e8500
nop
mov qword [rbp - 0x50], rsi
lea rcx, [rbp - 0x50]
call fcn.1400e712c
nop
lea rcx, [rbp + 0xe0]
call fcn.140038f84
nop
lea rcx, [rbp + 0x30]
call fcn.1400ee138
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret