Function at 0x1400b8560
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1730]
mov eax, 0x1830
call fcn.1402b2640
sub rsp, rax
mov rax, qword [0x1411d99d8]
xor rax, rsp
mov qword [rbp + 0x1720], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x60], rdx
lea rbx, [rbp + 0x370]
mov esi, 0x104
mov edi, esi
nop
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400b85b0
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x68]
mov rcx, r15
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 0x1400b85df
mov rax, qword [rax]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400b864f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b864a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b864a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402b2268
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], di
cmp r12, 0xffffffffffffffff
je 0x1400b8923
xor edx, edx
mov r8d, 0xa00
lea rcx, [rbp + 0xd20]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 0xa00
lea rdx, [rbp + 0xd20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [rbp + 0x200]
lea rdx, [rbp + 0xd20]
mov r8d, 0x71d
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [0x1411e99c4]
cmp al, 0x10
jne 0x1400b86f4
lea rdx, [0x1402f2d48]
lea rcx, [rbp + 0x26f]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400b870f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x1400b892e
cmp al, 0x20
jne 0x1400b870f
lea rdx, [0x1402f2d78]
lea rcx, [rbp + 0x26f]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400b86da
lea rdx, [0x1402f2da8]
lea rcx, [rbp + 0x2ef]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400b86da
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x920]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 0x400
lea rdx, [rbp + 0x920]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
lea rbx, [rbp - 0x70]
mov r14d, 0x20
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub r14, 1
jne 0x1400b8765
lea rbx, [rbp - 0x30]
nop dword [rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rsi, 1
jne 0x1400b8780
lea rax, [rbp - 0x70]
lea rcx, [rbp + 0x920]
lea edx, [rsi + 4]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x1400b87a1
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
cmp byte [rbp + 0xb68], 0xb
jne 0x1400b86da
mov r14d, edi
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, edi
lea rsi, [rbp - 0x30]
nop word [rax + rax]
movzx eax, word [rsi]
mov word [rsp + 0x40], ax
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x1400b887d
inc r14d
inc ebx
add rsi, 2
cmp ebx, 0xff
jb 0x1400b8850
mov r8d, r14d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
lea rcx, [r13 + 0x170]
mov rdx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, edi
lea rsi, [rbp - 0x70]
nop dword [rax + rax]
movzx eax, word [rsi]
mov word [rsp + 0x48], ax
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x1400b88ec
inc edi
inc ebx
add rsi, 2
cmp ebx, 0xff
jb 0x1400b88c0
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
lea rcx, [r13 + 0x178]
mov rdx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov al, 1
mov rcx, qword [rbp + 0x1720]
xor rcx, rsp
call fcn.1402b25d0
mov rbx, qword [rsp + 0x1880]
add rsp, 0x1830
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret