Function at 0x4fb690
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c50dd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x72cec4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov esi, dword [eax + 4]
xor al, al
mov byte [ebp - 0x14], al
lea edi, [esi + 0x40]
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4fb6e9
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x4fb6e4
mov ecx, edi
call fcn.004f8c80
mov al, 1
mov byte [ebp - 0x14], al
cmp byte [esi + 0x4a], 0
mov dword [ebp - 4], 0
je 0x4fb75c
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x4fb70d
mov ecx, edi
call fcn.004f8e20
mov ecx, dword [ebp - 0x10]
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0x7fffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
movups xmm0, xmmword [ebp - 0x34]
mov byte [ebp - 0x14], 0
movups xmmword [eax], xmm0
call fcn.004fbaf0
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x4fb757
mov ecx, edi
call fcn.004f8c80
mov al, 1
mov byte [ebp - 0x14], al
cmp byte [esi + 0x48], 0
jne 0x4fb8cd
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4fb7b4
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x4fb78c
mov eax, 1
lock xadd dword [edx], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x74]
call fcn.0048f4b0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4fb7f7
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4fb7f7
push 4
push 2
push dword [ebp - 0x24]
jmp 0x4fb7ef
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
lea ecx, [esi + 0x74]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0048f4b0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4fb7f7
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4fb7f7
push 4
push 2
push dword [ebp - 0x30]
call fcn.00461780
add esp, 0xc
mov word [esi + 0x48], 1
lea eax, [esi + 0x4b]
mov byte [esi + 0x4c], 0
xor cl, cl
mov dword [esi + 0x50], 0
xchg byte [eax], cl
lea eax, [esi + 0x60]
push eax
push 4
push dword [ebp - 0x10]
push 0x4fb920
push dword [esi + 0x54]
push 0
call fcn.005a2b9c
add esp, 0x18
mov dword [esi + 0x5c], eax
test eax, eax
jne 0x4fb846
push str.QThread::start:_Failed_to_create_thread
call fcn.004a12e0
mov word [esi + 0x48], 0x100
jmp 0x4fb8c7
mov ecx, dword [ebp + 8]
mov dword [esi + 0x58], ecx
cmp ecx, 7
ja case.0x4fb851.7
jmp dword [ecx*4 + 0x4fb8fc]
mov ecx, 0xfffffff1
jmp 0x4fb896
mov ecx, 0xfffffffe
jmp 0x4fb896
or ecx, 0xffffffff
jmp 0x4fb896
xor ecx, ecx
jmp 0x4fb896
mov ecx, 1
jmp 0x4fb896
mov ecx, 2
jmp 0x4fb896
mov ecx, 0xf
jmp 0x4fb896
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, eax
mov eax, dword [esi + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x4fb8af
push str.QThread::start:_Failed_to_set_thread_priority
call fcn.004a12e0
add esp, 4
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4fb8ca
push str.QThread::start:_Failed_to_resume_new_thread
call fcn.004a12e0
add esp, 4
mov al, byte [ebp - 0x14]
test al, al
je 0x4fb8e8
xor edx, edx
mov eax, 1
lock cmpxchg dword [edi], edx
cmp eax, 1
je 0x4fb8e8
mov ecx, edi
call fcn.004f8e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4