Function at 0x670b9990
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x67144f80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67237378]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov ebx, dword [edi + 0xc]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x18], ebx
jl 0x670b9b70
mov ebp, dword [esp + 0x38]
jg 0x670b99dc
cmp ebp, esi
jb 0x670b9b70
xor eax, eax
cmp ebp, ebp
jne 0x670b9b70
cmp ecx, eax
jne 0x670b9b70
cmp dword [edi + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x670b9aad
mov byte [esp + 0x17], 1
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 0x34]
push eax
mov ecx, ebp
sub ecx, esi
push ecx
lea eax, [esi + edx]
push 1
push eax
call dword [sym.imp.MSVCR80.dll_fread]
mov ecx, dword [edi + 0x1c]
push ecx
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 0x14
test eax, eax
setne al
cmp byte [esp + 0x17], 0
mov byte [esp + 0x16], al
je 0x670b9a67
test al, al
je 0x670b9a67
test ebx, ebx
jne 0x670b9a67
mov edx, dword [edi + 0x1c]
push ebx
push edx
call dword [sym.imp.MSVCR80.dll__ftelli64]
add esp, 4
push edx
push eax
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.MSVCR80.dll__fseeki64]
mov al, byte [esp + 0x26]
add esp, 0x10
mov byte [esp + 0x17], bl
jmp 0x670b9a6e
add esi, ebx
adc dword [esp + 0x20], 0
test al, al
jne 0x670b9b68
test ebx, ebx
jne 0x670b9a94
call dword [sym.imp.MSVCR80.dll__errno]
xor ecx, ecx
cmp dword [eax], 4
sete cl
mov eax, ecx
test eax, eax
jne 0x670b9a00
jmp 0x670b9b08
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x3c]
jg 0x670b9b0c
jl 0x670b9a00
cmp esi, ebp
jae 0x670b9b0c
jmp 0x670b9a00
cmp dword [edi + 0x34], 0xffffffff
je 0x670b9b1c
mov ecx, dword [esp + 0x34]
mov eax, ebp
sub eax, esi
push eax
mov eax, dword [edi + 0x34]
lea edx, [esi + ecx]
push edx
push eax
call dword [sym.imp.MSVCR80.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x670b9ae1
call dword [sym.imp.MSVCR80.dll__errno]
cmp dword [eax], 4
je 0x670b9ab3
jmp 0x670b9b00
test ebx, ebx
jle 0x670b9b00
mov eax, ebx
cdq
add esi, eax
mov eax, dword [esp + 0x20]
adc eax, edx
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
jl 0x670b9ab3
jg 0x670b9b00
cmp esi, ebp
jb 0x670b9ab3
cmp ebx, 0xffffffff
setne byte [esp + 0x16]
mov al, byte [esp + 0x16]
test al, al
jne 0x670b9b68
mov ecx, esi
or ecx, dword [esp + 0x20]
jne 0x670b9b68
mov ebx, dword [esp + 0x18]
or esi, 0xffffffff
mov dword [esp + 0x20], esi
call dword [sym.imp.MSVCR80.dll__errno]
mov edx, dword [eax]
push edx
lea eax, [esp + 0x38]
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 1
mov ecx, ebx
mov dword [esp + 0x34], 1
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
or edx, esi
lock xadd dword [ecx], edx
jne 0x670b9b68
mov eax, dword [esp + 0x34]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, esi
jmp 0x670b9bb4
lea ecx, [esp + 0x38]
push 0x16
push ecx
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 1
mov ecx, ebx
mov dword [esp + 0x34], esi
call sym.QtCore4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670b9baf
mov ecx, dword [esp + 0x38]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc