Function at 0x14027d210
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [0x1411dcbc0]
test rcx, rcx
je 0x14027d253
nop word [rax + rax]
mov qword [0x1411dcbc8], rcx
mov rax, qword [rcx]
mov qword [0x1411dcbc0], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1411dcbc0]
test rcx, rcx
jne 0x14027d230
xor r14d, r14d
mov qword [0x1411dcbc8], r14
mov qword [0x1411dcbc0], r14
xor edx, edx
lea rcx, [0x1402c8037]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x78], rax
mov edi, r14d
lea rdx, [0x1411dcb98]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QFile::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public_virtual:_long_long___int64____cdecl_QFile::size_void_const___ptr64]
mov rsi, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll__toUtf8_QString__QEGBA_AVQByteArray__XZ]
nop
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::operator_char_const____ptr64_void_const___ptr64]
mov rcx, rax
lea rdx, [0x1402e1fa4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbp, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
test rbp, rbp
je 0x14027d404
test esi, esi
je 0x14027d404
mov edx, 0x151
mov ecx, 1
cmp qword [0x1411dcbc0], 0
jne 0x14027d384
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [0x1411dcbc8], rax
mov qword [0x1411dcbc0], rax
xor edx, edx
mov r8d, 0x151
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rbp
mov edx, 1
mov r8d, 0x151
mov rcx, qword [0x1411dcbc8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 0x151
jne 0x14027d404
cmp byte [0x1411dd028], 0
jne 0x14027d371
mov rdx, qword [0x1411dcbc8]
lea rcx, [0x1411dc830]
call fcn.14007bc60
mov rax, qword [0x1411dcbc0]
mov qword [rax], r14
mov rbx, qword [0x1411dcbc8]
jmp 0x14027d3e5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
xor edx, edx
mov r8d, 0x151
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rbp
mov edx, 1
mov r8d, 0x151
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 0x151
jne 0x14027d404
cmp byte [0x1411dd028], 0
jne 0x14027d3d4
mov rdx, rbx
lea rcx, [0x1411dc830]
call fcn.14007bc60
mov rax, qword [0x1411dcbc8]
mov qword [rax], rbx
mov qword [0x1411dcbc8], rbx
mov word [rbx + 0x142], di
inc edi
mov rax, qword [0x1411dcbc8]
mov qword [rax], r14
add esi, 0xfffffeaf
jne 0x14027d2f6
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QFile::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret