Function at 0x6e0dacd8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [0x6e345278]
test byte [edx + 4], 1
jne 0x6e0daebc
xor eax, eax
mov ecx, 1
lock cmpxchg dword [edx], ecx
sete cl
test cl, cl
je 0x6e0dae68
mov eax, 0x6e345278
or eax, 1
mov dword [ebp - 0xc], eax
call fcn.6e227634
cmp eax, dword [0x6e345288]
je 0x6e0daef0
mov eax, dword [0x6e345258]
mov edx, dword [eax]
dec edx
je 0x6e0daea4
mov edx, dword [eax + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
inc edx
mov dword [esp + 4], edx
mov dword [esp], 0x14
call method.QVectorData.grow_int__int__int__bool_
mov dword [esp + 8], eax
mov eax, dword [0x6e345258]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x6e345258
call fcn.6e2500dc
mov eax, dword [0x6e345258]
mov edx, dword [eax + 8]
mov dword [eax + edx*4 + 0x10], ebx
mov eax, dword [0x6e345258]
inc dword [eax + 8]
mov eax, dword [0x6e345268]
mov edx, dword [eax]
dec edx
je 0x6e0dae8c
mov edx, dword [eax + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
inc edx
mov dword [esp + 4], edx
mov dword [esp], 0x14
call method.QVectorData.grow_int__int__int__bool_
mov edx, eax
mov eax, dword [0x6e345268]
mov eax, dword [eax + 8]
call fcn.6e0d9964
mov eax, dword [0x6e345268]
mov edx, dword [eax + 8]
mov dword [eax + edx*4 + 0x10], esi
mov eax, dword [0x6e345268]
inc dword [eax + 8]
mov ecx, dword [0x6e345288]
test ecx, ecx
jne 0x6e0dae7c
mov edx, dword [0x6e345298]
test edx, edx
je 0x6e0daf0c
mov dword [esp + 0x14], 0x6e345288
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6e0d9fe0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov ecx, dword [ebp - 0xc]
test cl, 1
je 0x6e0dae5e
and ecx, 0xfffffffe
mov dword [ebp - 0xc], ecx
mov edx, dword [ecx]
test byte [edx + 4], 1
jne 0x6e0daee0
mov eax, 1
xor ebx, ebx
lock cmpxchg dword [edx], ebx
sete bl
test bl, bl
je 0x6e0daed0
lea esp, [ebp - 8]
pop ebx
pop esi
leave
ret
mov dword [esp], 0x6e345278
call method.QMutex.lockInternal__
jmp 0x6e0dad0c
mov eax, dword [0x6e345298]
mov dword [esp], eax
call sub.KERNEL32.dll_SetEvent
push eax
jmp 0x6e0dae32
mov edx, dword [eax + 8]
cmp edx, dword [eax + 4]
jge 0x6e0dad9b
mov dword [eax + edx*4 + 0x10], esi
jmp 0x6e0daddc
mov edx, dword [eax + 8]
cmp edx, dword [eax + 4]
jge 0x6e0dad39
mov dword [eax + edx*4 + 0x10], ebx
jmp 0x6e0dad87
mov dword [esp], 0x6e345278
call method.QMutex.lock__
jmp 0x6e0dad0c
mov dword [esp], ecx
call method.QMutex.unlockInternal__
lea esp, [ebp - 8]
pop ebx
pop esi
leave
ret
mov dword [esp], ecx
call method.QMutex.unlock__
lea esp, [ebp - 8]
pop ebx
pop esi
leave
ret
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
push ebx
mov ecx, dword [ebp - 0xc]
test cl, 1
jne 0x6e0dae3a
jmp 0x6e0dae5e
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventW
sub esp, 0x10
mov ebx, eax
mov dword [0x6e345298], eax
mov eax, dword [0x6e345258]
mov edx, dword [eax]
dec edx
je 0x6e0daf64
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x6e345258
call fcn.6e2500dc
mov ebx, dword [0x6e345298]
mov esi, dword [0x6e345258]
mov eax, dword [esi]
dec eax
je 0x6e0dafe4
mov eax, dword [esi + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
inc eax
mov dword [esp + 4], eax
mov dword [esp], 0x14
call method.QVectorData.grow_int__int__int__bool_
mov dword [esp + 8], eax
mov eax, dword [0x6e345258]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x6e345258
call fcn.6e2500dc
mov esi, dword [0x6e345258]
mov eax, dword [esi + 8]
lea edx, [esi + 0x10]
shl eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], edx
lea eax, [esi + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov dword [esi + 0x10], ebx
mov eax, dword [0x6e345258]
inc dword [eax + 8]
jmp 0x6e0dadfb
mov eax, dword [esi + 8]
cmp eax, dword [esi + 4]
jl 0x6e0dafb8
jmp 0x6e0daf72