Function at 0x47db40
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d1bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
lea eax, [esi + 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47db8c
mov ecx, eax
call fcn.0047a990
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
cmp byte [esi + 0x3a], 0
mov dword [ebp - 4], 0
je 0x47dbfd
test al, 1
je 0x47dbad
and eax, 0xfffffffe
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.0047ae40
sub esp, 0x10
mov dword [ebp - 0x28], 0xffffffff
mov eax, esp
mov dword [ebp - 0x24], 0x7fffffff
mov dword [ebp - 0x20], 0
mov ecx, edi
mov dword [ebp - 0x1c], 1
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
call fcn.0047df50
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x47dbfd
test al, 1
jne 0x47dbfd
and eax, 0xfffffffe
mov ecx, eax
call fcn.0047a990
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
cmp byte [esi + 0x38], 0
jne 0x47dd24
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00473d60
mov edx, dword [esi + 0x60]
mov ecx, dword [eax]
mov dword [esi + 0x60], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x47dc3c
cmp eax, 0xffffffff
je 0x47dc4b
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x47dc4b
push 4
push 2
push dword [ebp - 0x10]
call fcn.00425140
add esp, 0xc
mov word [esi + 0x38], 1
lea eax, [esi + 0x3b]
mov byte [esi + 0x3c], 0
xor cl, cl
mov dword [esi + 0x40], 0
xchg byte [eax], cl
lea eax, [esi + 0x50]
push eax
push 4
push edi
push 0x47dd70
push dword [esi + 0x44]
push 0
call fcn.0055ed38
add esp, 0x18
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x47dc9e
push str.QThread::start:_Failed_to_create_thread
call fcn.004555c0
add esp, 4
mov word [esi + 0x38], 0x100
mov eax, dword [ebp - 0x14]
jmp 0x47dd27
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
cmp eax, 7
ja case.0x47dca9.7
jmp dword [eax*4 + 0x47dd48]
mov eax, 0xfffffff1
jmp 0x47dce9
mov eax, 0xfffffffe
jmp 0x47dce9
or eax, 0xffffffff
jmp 0x47dce9
xor eax, eax
jmp 0x47dce9
mov eax, 1
jmp 0x47dce9
mov eax, 2
jmp 0x47dce9
mov eax, 0xf
jmp 0x47dce9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push eax
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x47dd04
push str.QThread::start:_Failed_to_set_thread_priority
call fcn.004555c0
add esp, 4
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x47dc96
push str.QThread::start:_Failed_to_resume_new_thread
call fcn.004555c0
mov eax, dword [ebp - 0x14]
add esp, 4
jmp 0x47dd27
mov eax, dword [ebp - 0x10]
test al, 1
je 0x47dd35
and eax, 0xfffffffe
mov ecx, eax
call fcn.0047ae40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4