Function at 0x67139b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727c26d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x674c412c]
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 esi, ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.67112220
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.671129b0
push 0
push 0x80
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
push ecx
push 1
push 0xc0000000
mov ecx, eax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
or edi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, dword [ecx]
test eax, eax
je 0x67139bfb
cmp eax, edi
je 0x67139c0a
mov eax, dword [ebp - 0x3c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67139c0a
push 4
push 2
push dword [ebp - 0x3c]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x67139ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 5]
cmp ecx, 0xb2
ja case.0x67139c2b.6
movzx ecx, byte [ecx + 0x67139d98]
jmp dword [ecx*4 + 0x67139d8c]
mov esi, 1
jmp 0x67139d12
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.671129b0
mov ecx, eax
mov byte [ebp - 4], 2
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
neg eax
lea ecx, [ebp - 0x54]
sbb esi, esi
add esi, 2
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
jmp 0x67139d12
movaps xmm0, xmmword [0x6728ef30]
push 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0x6728e624
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 0x67139d12
lea eax, [ebp - 0x38]
mov dword [esi + 4], ebx
push eax
mov ecx, esi
call fcn.670f5e20
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x58]
xor esi, esi
mov dword [ebp - 0x58], 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 0x67139cdf
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x67139ce4
mov esi, 3
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
test eax, eax
je 0x67139d03
cmp eax, 0xffffffff
je 0x67139d12
mov eax, dword [ebp - 0x38]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67139d12
push 4
push 1
push dword [ebp - 0x38]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
test eax, eax
je 0x67139d31
cmp eax, 0xffffffff
je 0x67139d40
mov eax, dword [ebp - 0x4c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67139d40
push 4
push 2
push dword [ebp - 0x4c]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
test eax, eax
je 0x67139d5d
cmp eax, 0xffffffff
je 0x67139d6c
mov ecx, dword [ebp - 0x50]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
jne 0x67139d6c
push 4
push 2
push dword [ebp - 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
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.67267c3b
mov esp, ebp
pop ebp
ret