Function at 0x67111a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67278a35
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x14], ebx
test edx, edx
jl 0x67111c10
mov esi, dword [ebp + 0xc]
jg 0x67111c10
test esi, esi
jb 0x67111c10
test edx, edx
jne 0x67111c10
mov eax, esi
xorps xmm0, xmm0
or eax, edx
movlpd qword [ebp - 0x1c], xmm0
je 0x67111bc9
cmp dword [ecx + 0x60], edx
je 0x67111b14
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
push dword [ecx + 0x60]
mov eax, esi
sub eax, edi
push eax
mov eax, dword [ebp + 8]
add eax, edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
add edi, eax
adc ebx, 0
test eax, eax
jne 0x67111b04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
jne 0x67111b65
mov ecx, dword [ebp - 0x10]
jmp 0x67111ad2
cmp ebx, dword [ebp + 0x10]
jg 0x67111b65
jl 0x67111b0f
cmp edi, esi
jae 0x67111b65
mov ecx, dword [ebp - 0x10]
jmp 0x67111ad2
cmp dword [ecx + 0x78], 0xffffffff
je 0x67111b6f
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, esi
mov eax, edx
sub ecx, edi
mov edx, 0x7fffffff
sbb eax, ebx
test eax, eax
ja 0x67111b39
jb 0x67111b37
cmp ecx, edx
jae 0x67111b39
mov edx, ecx
mov eax, dword [ebp + 8]
push edx
add eax, edi
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x78]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
add esp, 0xc
test eax, eax
jle 0x67111b65
cdq
add edi, eax
adc ebx, edx
mov edx, dword [ebp + 0x10]
cmp ebx, edx
jl 0x67111b20
jg 0x67111b65
cmp edi, esi
jb 0x67111b20
mov eax, edi
or eax, ebx
jne 0x67111bee
or edi, 0xffffffff
lea eax, [ebp + 8]
push edi
push eax
or ebx, edi
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSystemError::stdString_int_
add esp, 8
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [ebp - 0x14]
xor edx, edx
push esi
cmp dword [eax], 0x1c
sete dl
lea edx, [edx*2 + 2]
push edx
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_
mov eax, edi
mov edx, ebx
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 ebx, dword [ebp - 0x18]
mov edx, ebx
mov edi, dword [ebp - 0x1c]
mov eax, edi
and dword [ecx + 0x28], 0xffdfffff
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 ecx, dword [ebp - 0x10]
mov eax, edi
mov edx, ebx
and dword [ecx + 0x28], 0xffdfffff
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 2
mov ecx, ebx
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 0x67111c4f
cmp eax, 0xffffffff
je 0x67111c5e
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67111c5e
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