Function at 0x6714d090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67298bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0x54]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
xor eax, eax
mov dword [ebp - 0x50], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
add esp, 8
mov dword [ebp - 0x4c], 0xfffefffe
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
call fcn.67123c70
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [eax]
test eax, eax
je 0x6714d110
cmp eax, 0xffffffff
je 0x6714d110
mov eax, dword [ebp - 0x50]
lock inc dword [eax]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
cmp dword [esi + 0xc], 0x10
je 0x6714d12f
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x38]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp - 0x38]
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x60]
push 0
push 0x80
push 1
push ecx
push 1
add eax, esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov byte [ebp - 4], 0
mov ebx, eax
mov eax, dword [esi]
or edi, 0xffffffff
mov ecx, dword [ebp - 0x38]
test eax, eax
je 0x6714d173
cmp eax, edi
je 0x6714d185
mov eax, edi
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x6714d185
cmp ecx, 0x674c7cb4
je 0x6714d185
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp ebx, 0xffffffff
jne 0x6714d248
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 5]
cmp ecx, 0xb2
ja case.0x6714d1a6.6
movzx ecx, byte [ecx + 0x6714d2f0]
jmp dword [ecx*4 + 0x6714d2e4]
mov esi, 1
jmp 0x6714d2be
lea ecx, [ebp - 0x54]
call fcn.67123c70
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [eax]
test eax, eax
je 0x6714d1d6
cmp eax, 0xffffffff
je 0x6714d1d6
mov eax, dword [ebp - 0x50]
lock inc dword [eax]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xc], 0x10
je 0x6714d1f5
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x38]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x34]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
neg eax
lea ecx, [ebp - 0x38]
sbb esi, esi
add esi, 2
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
jmp 0x6714d2be
movaps xmm0, xmmword [0x6741d630]
push 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0x672aa80c
push str.Got_unexpected_locking_error__llu
push eax
movups xmmword [ebp - 0x24], xmm0
call sym.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const
add esp, 0x10
mov esi, 3
jmp 0x6714d2be
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.67106de0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x44]
xor esi, esi
mov dword [ebp - 0x44], 0
push esi
push edx
mov ecx, dword [eax + 0xc]
push dword [eax + 4]
add ecx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6714d287
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x6714d28c
mov esi, 3
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x6714d2a9
cmp eax, 0xffffffff
je 0x6714d2be
mov eax, dword [ebp - 0x3c]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x6714d2be
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x674c7cb4
je 0x6714d2be
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0x54]
call fcn.670873e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.67284a63
mov esp, ebp
pop ebp
ret