Function at 0x67138d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727c0e5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x60]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x20], esi
test eax, eax
jne 0x67138e89
cmp dword [ebx + 0x78], 0xffffffff
jne 0x67138f00
cmp dword [ebx + 0x64], 0xffffffff
je 0x67138ee7
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
nop dword [eax]
test eax, eax
jg 0x67138de2
jl 0x67138dde
cmp edi, 0x2000000
jae 0x67138de2
mov eax, edi
jmp 0x67138de7
mov eax, 0x2000000
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [ebx + 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x67138e42
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x67138e2a
add esi, eax
adc ecx, 0
sub edi, eax
mov eax, dword [ebp - 0x14]
sbb eax, 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
cmp ecx, dword [ebp + 0x10]
jg 0x67138e2a
jl 0x67138dd0
cmp esi, dword [ebp + 0xc]
jb 0x67138dd0
mov eax, esi
mov edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
or eax, ecx
jne 0x67138e2a
lea eax, [ebp + 8]
push 0xffffffffffffffff
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [ebp - 0x20]
push eax
push 1
mov dword [ebp - 4], 1
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
add esp, 8
cmp eax, 0xffffffff
je 0x67138f00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x67138eb0
cmp eax, 3
jne 0x67138f00
push dword [ebx + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
add esp, 4
test eax, eax
je 0x67138f00
lea eax, [ebp + 0x10]
push 0xffffffffffffffff
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSystemError::stdString_int_
add esp, 8
push eax
push 1
mov ecx, esi
mov dword [ebp - 4], 0
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.67110fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc