Function at 0x1401d23a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov rax, qword [0x1411d99d8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13d, r9d
mov qword [rbp - 0x21], r8
mov qword [rbp - 0x31], rdx
mov rdi, rcx
mov qword [rbp - 0x41], rcx
lea r15, [rcx + 0x74]
xor esi, esi
mov r14d, esi
cmp byte [0x1411ec733], sil
je 0x1401d2528
test r15, r15
je 0x1401d243e
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, esi
mov rdi, r15
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rbp - 0x59], ax
mov word [rbp - 0x51], ax
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x1401d243a
inc r14d
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x1401d2410
mov rdi, qword [rbp - 0x41]
mov r8d, r14d
mov rdx, r15
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x1401d2467
mov rax, qword [rax]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1401d24d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d24d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d24d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402b2268
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], si
mov eax, dword [rdi + 0x10]
shl eax, 9
imul r13d, eax
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov r8d, r13d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp r14, 0xffffffffffffffff
je 0x1401d2523
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1401d267f
mov r12d, dword [rcx + 0x10]
imul r12d, r13d
shl r12d, 9
test r15, r15
je 0x1401d257e
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, esi
mov rdi, r15
nop dword [rax + rax]
movzx eax, word [rdi]
mov word [rbp - 0x51], ax
mov word [rbp - 0x59], ax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x1401d257a
inc r14d
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x1401d2550
mov rdi, qword [rbp - 0x41]
mov r8d, r14d
mov rdx, r15
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x1401d25a7
mov rax, qword [rax]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1401d2617
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d2612
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d2612
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402b2268
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], si
cmp rbx, 0xffffffffffffffff
je 0x1401d267f
mov eax, dword [rdi + 0x10]
shl eax, 9
imul rax, qword [rbp - 0x31]
mov qword [rbp - 0x29], rax
xor r9d, r9d
lea r8, [rbp - 0x25]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x39]
mov r8d, r12d
mov rdx, qword [rbp - 0x21]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov al, 1
jmp 0x1401d268b
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1402b25d0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret