Function at 0x67110fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67278975
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 dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x20], esi
test eax, eax
jl 0x67111164
mov ebx, dword [ebp + 0xc]
jg 0x67111164
test ebx, ebx
jb 0x67111164
test eax, eax
jne 0x67111164
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
cmp dword [ecx + 0x60], eax
je 0x671110c0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
nop dword [eax]
push dword [ecx + 0x60]
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
mov edx, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
setne al
mov byte [ebp - 0xd], al
test al, al
je 0x6711104b
test edx, edx
je 0x6711108c
xor ecx, ecx
mov eax, edx
add esi, eax
adc edi, ecx
cmp byte [ebp - 0xd], cl
jne 0x6711114c
test edx, edx
jne 0x67111074
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
jne 0x6711111a
mov ecx, dword [ebp - 0x14]
jmp 0x67111010
cmp edi, dword [ebp + 0x10]
jg 0x6711111a
jl 0x67111087
cmp esi, ebx
jae 0x6711111a
mov ecx, dword [ebp - 0x14]
jmp 0x67111010
mov ebx, dword [ebp - 0x14]
push dword [ebx + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
push 0
push edx
push eax
push dword [ebx + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
add esp, 0x14
mov eax, esi
mov edx, edi
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
cmp dword [ecx + 0x78], 0xffffffff
je 0x67111120
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
nop dword [eax]
mov ecx, ebx
mov edx, 0x7fffffff
sub ecx, esi
sbb eax, edi
test eax, eax
ja 0x671110e7
jb 0x671110e5
cmp ecx, edx
jae 0x671110e7
mov edx, ecx
mov eax, dword [ebp + 8]
push edx
add eax, esi
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x78]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jle 0x67111115
cdq
add esi, eax
mov eax, dword [ebp + 0x10]
adc edi, edx
cmp edi, eax
jl 0x671110d0
jg 0x67111115
cmp esi, ebx
jb 0x671110d0
cmp ecx, 0xffffffff
jne 0x6711114c
mov eax, esi
or eax, edi
jne 0x6711114c
or esi, 0xffffffff
lea eax, [ebp + 0x10]
push esi
push eax
or edi, esi
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSystemError::stdString_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 + 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, esi
mov edx, edi
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
lea eax, [ebp + 8]
push 0x16
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__
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x671111a3
cmp eax, 0xffffffff
je 0x671111b2
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671111b2
push 4
push 2
push dword [ebp + 8]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
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