Function at 0x18002a740
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rbx, rcx
lea rbp, [0x180589ff0]
mov rcx, rbp
call sym.Qt5Core.dll_public:_void___cdecl_QMutex::lock_void____ptr64
mov rax, rbp
or rax, 1
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x180589ff8]
jne 0x18002a79b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002a9c9
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov edx, dword [rax + 8]
btr edx, 0x1f
mov r8d, dword [rax + 4]
inc r8d
mov ecx, dword [rax]
cmp ecx, 1
ja 0x18002a7be
cmp edx, r8d
jb 0x18002a7c1
jmp 0x18002a7ef
cmp edx, r8d
sbb ecx, ecx
and ecx, 8
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
cmp r8d, edx
jbe 0x18002a7d9
mov edx, dword [rax + 4]
inc edx
jmp 0x18002a7e0
mov edx, dword [rax + 8]
btr edx, 0x1f
mov r8d, ecx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call fcn.180014500
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rbx
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
inc dword [rax + 4]
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov edx, dword [rax + 8]
btr edx, 0x1f
mov r8d, dword [rax + 4]
inc r8d
mov ecx, dword [rax]
cmp ecx, 1
ja 0x18002a833
cmp edx, r8d
jb 0x18002a836
jmp 0x18002a864
cmp edx, r8d
sbb ecx, ecx
and ecx, 8
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
cmp r8d, edx
jbe 0x18002a84e
mov edx, dword [rax + 4]
inc edx
jmp 0x18002a855
mov edx, dword [rax + 8]
btr edx, 0x1f
mov r8d, ecx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call fcn.180014500
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rdi
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
inc dword [rax + 4]
cmp dword [0x180589ff8], 0
jne 0x18002a9bb
cmp qword [0x18058a000], 0
jne 0x18002a988
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x18058a000], rax
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x18002a902
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov edx, dword [rax + 8]
and edx, 0x7fffffff
jne 0x18002a8f3
lea r9d, [rdx + 2]
xor r8d, r8d
mov edx, 8
mov ecx, edx
call sym.Qt5Core.dll_public:_static_struct_QArrayData____ptr64___cdecl_QArrayData::allocate_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___class_QFlags_enum_QArrayData::AllocationOption__
mov qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null], rax
jmp 0x18002a902
xor r8d, r8d
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call fcn.180014500
mov rsi, qword [0x18058a000]
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov ecx, dword [rax]
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
cmp ecx, 1
ja 0x18002a931
mov r9d, dword [rax + 8]
btr r9d, 0x1f
mov edx, dword [rax + 4]
inc edx
cmp edx, r9d
jle 0x18002a94f
mov edx, dword [rax + 4]
inc edx
mov r8d, 8
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call fcn.180014500
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov rdi, qword [rax + 0x10]
add rdi, rax
lea rbx, [rdi + 8]
movsxd r8, dword [rax + 4]
shl r8, 3
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
cmp rbx, rdi
je 0x18002a97e
sub rbx, 8
mov qword [rbx], rsi
cmp rbx, rdi
jne 0x18002a972
mov rax, qword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
inc dword [rax + 4]
lea rax, [0x180589ff8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18002a270]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002a9c9
mov rcx, qword [0x18058a000]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
and rbp, 0xfffffffffffffffe
mov rcx, rbp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp sym.Qt5Core.dll_public:_void___cdecl_QMutex::unlock_void____ptr64