Function at 0x4f9d70
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c372d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x72b01c]
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 0x4f9dc9
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x4f9dc4
mov ecx, edi
call fcn.004f7360
mov al, 1
mov byte [ebp - 0x14], al
cmp byte [esi + 0x4a], 0
mov dword [ebp - 4], 0
je 0x4f9e3c
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x4f9ded
mov ecx, edi
call fcn.004f7500
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.004fa1d0
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x4f9e37
mov ecx, edi
call fcn.004f7360
mov al, 1
mov byte [ebp - 0x14], al
cmp byte [esi + 0x48], 0
jne 0x4f9fad
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4f9e94
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 0x4f9e6c
mov eax, 1
lock xadd dword [edx], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x74]
call fcn.0048dbb0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4f9ed7
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4f9ed7
push 4
push 2
push dword [ebp - 0x24]
jmp 0x4f9ecf
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.0048dbb0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4f9ed7
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4f9ed7
push 4
push 2
push dword [ebp - 0x30]
call fcn.0045fe90
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 0x4fa000
push dword [esi + 0x54]
push 0
call fcn.005a11fc
add esp, 0x18
mov dword [esi + 0x5c], eax
test eax, eax
jne 0x4f9f26
push str.QThread::start:_Failed_to_create_thread
call fcn.0049f9e0
mov word [esi + 0x48], 0x100
jmp 0x4f9fa7
mov ecx, dword [ebp + 8]
mov dword [esi + 0x58], ecx
cmp ecx, 7
ja case.0x4f9f31.7
jmp dword [ecx*4 + 0x4f9fdc]
mov ecx, 0xfffffff1
jmp 0x4f9f76
mov ecx, 0xfffffffe
jmp 0x4f9f76
or ecx, 0xffffffff
jmp 0x4f9f76
xor ecx, ecx
jmp 0x4f9f76
mov ecx, 1
jmp 0x4f9f76
mov ecx, 2
jmp 0x4f9f76
mov ecx, 0xf
jmp 0x4f9f76
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 0x4f9f8f
push str.QThread::start:_Failed_to_set_thread_priority
call fcn.0049f9e0
add esp, 4
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4f9faa
push str.QThread::start:_Failed_to_resume_new_thread
call fcn.0049f9e0
add esp, 4
mov al, byte [ebp - 0x14]
test al, al
je 0x4f9fc8
xor edx, edx
mov eax, 1
lock cmpxchg dword [edi], edx
cmp eax, 1
je 0x4f9fc8
mov ecx, edi
call fcn.004f7500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4