Function at 0x6711a890
Capabilities:
Clear file content

Disassembly:
push 0xffffffffffffffff
push 0x67237cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x5c]
cmp esi, 0xffffffff
jne 0x6711a9c8
cmp dword [eax + 0x70], esi
jne 0x6711a996
cmp dword [eax + 0x58], 0
jne 0x6711a996
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.67112ce0
test al, al
jne 0x6711aa3c
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.67112890
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
call sym.Qt5Core.dll_public:_void___thiscall_QFile::constructor_class_QString_const__
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
push ecx
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [eax], 3
call sym.Qt5Core.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__
lea ecx, [esp + 0x20]
test al, al
je 0x6711a984
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call sym.Qt5Core.dll_public_virtual:_bool___thiscall_QFile::resize_long_long___int64__
mov bl, al
test bl, bl
jne 0x6711a96c
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
call sym.Qt5Core.dll_public:_class_QString___thiscall_QIODevice::errorString_void_
push eax
push 0xc
mov ecx, edi
mov byte [esp + 0x38], 3
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [esp + 0x38]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call sym.Qt5Core.dll_public_virtual:_void___thiscall_QFile::destructor_void_
mov al, bl
jmp 0x6711aa3e
mov dword [esp + 0x30], 0xffffffff
call sym.Qt5Core.dll_public_virtual:_void___thiscall_QFile::destructor_void_
jmp 0x6711aa3c
cmp esi, 0xffffffff
jne 0x6711a9c8
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x6711a9b5
push ecx
call dword [0x67248408]
push eax
call dword [0x67248410]
add esp, 8
jmp 0x6711a9c1
push dword [eax + 0x70]
call dword [0x67248410]
add esp, 4
mov esi, eax
cmp esi, 0xffffffff
je 0x6711aa3c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x3c]
mov ebx, eax
mov ebp, edx
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x6711aa33
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x6711aa33
cmp ebp, dword [esp + 0x3c]
jg 0x6711aa1f
jl 0x6711aa0b
cmp ebx, dword [esp + 0x38]
jae 0x6711aa1f
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
call dword [eax + 0x1c]
mov al, 1
jmp 0x6711aa3e
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
call dword [eax + 0x1c]
mov al, 1
jmp 0x6711aa3e
mov eax, dword [edi]
mov ecx, edi
push ebp
push ebx
call dword [eax + 0x1c]
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8