Function at 0x1400859e4
Capabilities:
Create directory
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 - 0x628]
sub rsp, 0x700
mov qword [rbp - 8], 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 + 0x5f0], rax
mov rdi, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43c
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xc8]
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 + 0xc8]
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 + 0xc8]
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 + 0xc8]
mov qword [rax + 0xd8], rdi
lea esi, [r14 + 0x5b]
mov edx, esi
lea rcx, [rdi + 0x48]
call fcn.1400ea6c0
lea r12, [rdi + 0x58]
mov edx, esi
mov rcx, r12
call fcn.1400ea6c0
lea rdx, [0x14012da68]
cmp qword [rdi + 0x50], 0
cmovne rdx, qword [rdi + 0x50]
mov r8d, esi
mov byte [rsp + 0x20], r14b
lea rcx, [rbp]
call fcn.1400ee030
nop
xor ebx, ebx
movsxd rsi, dword [rdi + 0x78]
test rsi, rsi
jle 0x140085b2d
mov rax, qword [rdi + 0x88]
mov rcx, qword [rax + rbx*8]
lea rdx, [0x14012da68]
cmp qword [rcx + 8], 0
cmovne rdx, qword [rcx + 8]
lea rcx, [rbp]
call fcn.1400ee560
add rbx, r14
cmp rbx, rsi
jl 0x140085b00
lea rdx, [0x14012da68]
cmp qword [r12 + 8], 0
cmovne rdx, qword [r12 + 8]
mov rcx, qword [rdi + 0xc8]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rdi + 0xc8]
add rcx, 0x48
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x98]
call qword [rax + 0x38]
mov edx, 0x40010
lea rcx, [rbp - 0x30]
call fcn.140024ca0
nop
and qword [rbp - 0x50], 0
and qword [rbp - 0x48], 0
mov qword [rbp - 0x40], r14
xor esi, esi
mov qword [rbp - 0x38], rsi
lea rax, vtable.micro::utils::QBuffer.0
mov qword [rbp - 0x58], rax
mov ebx, 0x40000
cmp dword [rdi + 0x90], 5
jne 0x140085bd2
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov rsi, rax
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_memmove]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
or r8d, 0xffffffff
lea rdx, str.Decode_error
lea rcx, [rbp - 0x70]
call fcn.1400e6fc8
nop
xor r14d, r14d
movsxd rax, dword [rbp + 0x28]
mov qword [rbp - 0x60], rax
lea rbx, vtable.micro::utils::QString.0
test rax, rax
jle 0x140085fa5
mov r13, qword [rbp - 0x68]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + r14*8]
mov eax, dword [rcx]
shr eax, 4
test al, 1
je 0x140085c5a
mov rax, qword [rbp + 0x60]
mov r8, qword [rax + r14*8]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.140011d2c
lea rcx, [0x14012da68]
mov rax, qword [rbp - 0x80]
test rax, rax
cmovne rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x78]
call fcn.1400e712c
jmp 0x140085f98
lea rcx, [rbp + 0xb0]
call fcn.140046878
nop
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x140085c79
mov r9d, dword [rax - 8]
jmp 0x140085c7c
xor r9d, r9d
lea r8, [0x14012da68]
test rax, rax
cmovne r8, rax
add r9d, r9d
mov edx, dword [rdi + 0x90]
lea rcx, [rbp + 0xb0]
call fcn.1400469d8
mov rax, qword [rbp + 0x38]
mov rbx, qword [rax + r14*8]
mov rcx, qword [rdi + 0xc8]
add rcx, 0x48
mov rax, qword [rcx]
lea rdx, [rbx + 0x2c]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rax, qword [rbp + 0x60]
mov r15, qword [rax + r14*8]
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x48], rax
and qword [rsp + 0x50], 0
xor r8d, r8d
lea rdx, [rbx + 0x2c]
lea rcx, [rsp + 0x48]
call fcn.1400e82c4
cmp qword [rsp + 0x50], 0
jne 0x140085d17
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.1400e8500
nop
lea rcx, [rbp + 0xb0]
call fcn.140046968
jmp 0x140085f91
mov r8, r15
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.140011d2c
nop
mov edx, 0x2e
lea rcx, [rsp + 0x38]
call fcn.1400e78b8
test eax, eax
js 0x140085d47
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400e71c4
lea rdx, [0x14012da68]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
mov rcx, qword [rdi + 0xc8]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + 0x20]
lea rbx, vtable.micro::files::QFile.0
mov qword [rsp + 0x60], rbx
and qword [rsp + 0x68], 0
lea rdx, [0x14012da68]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
call fcn.1400e82c4
cmp qword [rsp + 0x68], 0
jne 0x140085dd9
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.1400e8500
nop
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400e712c
nop
mov qword [rsp + 0x48], rbx
jmp 0x140085cfb
lea rdx, [rbp - 0x78]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
xor r12d, r12d
mov rbx, qword [rbp - 0x78]
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x40000
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r15d, dword [rsp + 0x30]
test r15, r15
je 0x140085f43
add r12, r15
mov r8d, r15d
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0xb0]
cmp dword [rdi + 0x90], 5
jne 0x140085e65
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x30], eax
cmp r12, rbx
sete al
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rsi
call fcn.140046aa0
mov rdx, rsi
jmp 0x140085e95
mov dword [rsp + 0x30], 0x40000
cmp r12, rbx
sete al
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rdx
call fcn.140046aa0
test al, al
je 0x140085f19
mov rdx, qword [rbp - 0x10]
and qword [rsp + 0x20], 0
and dword [rsp + 0x34], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jne 0x140085f19
mov rcx, qword [rdi + 0xc8]
add rcx, 0x48
mov rax, qword [rcx]
mov r8, rbx
mov rdx, r12
call qword [rax + 0x28]
mov rcx, qword [rdi + 0xc8]
add rcx, 0x48
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x40]
mov byte [rdi + 0x41], 1
lea rdx, [rdi + 0x30]
or r9d, 0xffffffff
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
test eax, eax
je 0x140085f13
dec eax
jne 0x140085f43
mov byte [rdi + 0x41], al
jmp 0x140085def
mov byte [rdi + 0x40], 0
jmp 0x140085f43
lea rdx, [0x14012da68]
test r13, r13
cmovne rdx, r13
mov rcx, qword [rdi + 0xc8]
xor r9d, r9d
lea r8, str.Message
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rbx, vtable.micro::files::QFile.0
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.1400e8500
nop
lea rax, vtable.micro::utils::QString.0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400e712c
nop
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x48]
call fcn.1400e8500
nop
lea rcx, [rbp + 0xb0]
call fcn.140046968
lea r12, [rdi + 0x58]
lea rbx, vtable.micro::utils::QString.0
inc r14
cmp r14, qword [rbp - 0x60]
jl 0x140085c06
xor r9d, r9d
xor r8d, r8d
mov edx, 0x414
mov rcx, qword [rdi + 0xb8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x41e
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x70]
call fcn.1400e712c
nop
test rsi, rsi
je 0x140085ff3
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
lea rax, vtable.micro::utils::QBaseArray.0
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14008600e
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
lea rcx, [rbp]
call fcn.1400ee138
xor eax, eax
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x700]
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