Function at 0x6e19d590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x14], 0
jl 0x6e19d5b0
je 0x6e19d624
lea ebx, [ebp - 0x1c]
mov dword [esp + 4], 0x16
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e19d600
mov ebx, 0xffffffff
mov esi, 0xffffffff
mov eax, ebx
mov edx, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov ebx, 0xffffffff
mov esi, 0xffffffff
mov eax, ebx
mov edx, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov edx, dword [edi + 0x58]
test edx, edx
je 0x6e19d748
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [edi + 0x58]
test byte [edx + 0xc], 0x10
jne 0x6e19d6c0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
add ebx, dword [ebp - 0x38]
adc esi, dword [ebp - 0x34]
test eax, eax
je 0x6e19d6e8
xor eax, eax
cmp eax, esi
jge 0x6e19d6d8
mov eax, esi
or eax, ebx
jne 0x6e19d5f2
call sub.msvcrt.dll__errno
lea ebx, [ebp - 0x20]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov dword [esp], ebx
call method.QString.QString__
jmp 0x6e19d5e8
test eax, eax
je 0x6e19d6fc
xor edx, edx
add ebx, eax
adc esi, edx
mov eax, ebx
mov edx, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
jg 0x6e19d633
cmp dword [ebp - 0x2c], ebx
jbe 0x6e19d678
jmp 0x6e19d633
call sub.msvcrt.dll__errno
cmp dword [eax], 4
jne 0x6e19d678
mov edx, dword [edi + 0x58]
jmp 0x6e19d633
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_fgetpos
test eax, eax
je 0x6e19d740
mov eax, 0xffffffff
mov edx, 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x58]
mov dword [esp], eax
call fcn.6e22bde0
mov eax, ebx
mov edx, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x6e19d719
mov edx, dword [edi + 0x70]
cmp edx, 0xffffffff
je 0x6e19d682
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x38], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esp + 8], eax
lea eax, [edi + ebx]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll__read_1
mov ecx, eax
cmp eax, 0xffffffff
je 0x6e19d79c
test eax, eax
jle 0x6e19d7ac
cdq
add ebx, eax
adc esi, edx
xor eax, eax
cmp eax, esi
jl 0x6e19d7ac
jg 0x6e19d793
cmp dword [ebp - 0x2c], ebx
jbe 0x6e19d7ac
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x70]
jmp 0x6e19d75e
mov dword [ebp - 0x3c], eax
call sub.msvcrt.dll__errno
cmp dword [eax], 4
mov ecx, dword [ebp - 0x3c]
je 0x6e19d793
inc ecx
jne 0x6e19d5f2
jmp 0x6e19d678