Function at 0x1400b8140
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 r12, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
lea rbx, [rbp + 0x370]
mov esi, 0x104
mov edi, esi
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400b8194
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x70]
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 0x1400b81c3
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 r13, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400b8233
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b822e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b822e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402b2268
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
cmp r13, 0xffffffffffffffff
je 0x1400b8528
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, r13
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 0x1400b82d7
lea rdx, [0x1402f2d48]
lea rcx, [rbp + 0x26f]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400b82f2
mov rcx, r13
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 0x1400b8533
cmp al, 0x20
jne 0x1400b82f2
lea rdx, [0x1402f2d78]
lea rcx, [rbp + 0x26f]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400b82bd
lea rdx, [0x1402f2da8]
lea rcx, [rbp + 0x2ef]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400b82bd
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, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
lea rbx, [rbp - 0x70]
mov r14d, 0x20
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub r14, 1
jne 0x1400b8350
lea rbx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rsi, 1
jne 0x1400b8367
lea rax, [rbp - 0x70]
lea rcx, [rbp + 0x920]
lea edx, [rsi + 4]
nop dword [rax + rax]
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 0x1400b8390
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], 0xc
jne 0x1400b82bd
lea rdx, [0x1402c8037]
lea rcx, [r12 + 0x170]
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_PEBD_Z]
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
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 0x1400b847d
inc r14d
inc ebx
add rsi, 2
cmp ebx, 0xff
jb 0x1400b8450
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]
mov rdx, rax
lea rcx, [r12 + 0x170]
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]
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 0x1400b84ec
inc edi
inc ebx
add rsi, 2
cmp ebx, 0xff
jb 0x1400b84c0
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]
mov rcx, qword [rsp + 0x60]
add rcx, 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, r13
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