Function at 0x4d9bd0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bbab3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x78efc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
push 0x14
call fcn.00677616
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [ebp - 4], 1
lea esi, [edi + 8]
push 0x7c
mov dword [ebp - 0x2c], esi
call fcn.00677616
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.004661e0
mov dword [esi], eax
mov byte [esi + 4], 0
mov byte [esi + 8], 0
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
add eax, 4
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.004dceb0
test al, al
je 0x4d9f09
mov edi, dword [ebp - 0x34]
xor ecx, ecx
xor edx, edx
test edi, edi
je 0x4d9caa
mov ecx, dword [ebp - 0x38]
mov edx, edi
lock inc dword [edi + 8]
mov eax, dword [ebp - 0x1c]
or esi, 0xffffffff
mov dword [eax], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
test ecx, ecx
je 0x4d9cca
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4d9cca
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4d9ced
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4d9ced
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4d9ced
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 8
mov ecx, dword [eax]
test ecx, ecx
je 0x4d9ef6
cmp byte [eax + 4], 0
je 0x4d9d0d
cmp byte [ecx + 0x6c], 0
jne 0x4d9ef6
cmp byte [eax + 8], 0
jne 0x4d9f0e
xor edi, edi
mov byte [eax + 8], 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
cmp ecx, eax
je 0x4d9d3a
mov ecx, dword [eax]
test ecx, ecx
je 0x4d9d35
lock inc dword [ecx + 4]
mov edi, dword [eax]
jmp 0x4d9d37
xor edi, edi
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x40], 1
push 8
mov byte [ebp - 4], 4
call fcn.00677616
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
push 8
mov byte [ebp - 4], 5
call fcn.00677616
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov dword [ecx], eax
mov dword [ecx + 4], 0x4da080
mov eax, dword [ebp - 0x24]
add eax, 4
mov byte [ebp - 4], 6
push eax
push 0
push ecx
push 0x4d6b50
push 0
push 0
mov dword [ebp - 0x28], eax
call fcn.0068b6e8
mov ecx, dword [ebp - 0x24]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x4d9f21
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
add edx, 0xdc
mov byte [ebp - 4], 4
cmp edx, eax
je 0x4d9dcb
mov eax, dword [edx]
mov dword [edx], ecx
test eax, eax
je 0x4d9de0
cmp dword [eax + 4], 0
jne 0x4d9f31
push 8
push eax
jmp 0x4d9dd8
cmp dword [ecx + 4], 0
jne 0x4d9f31
push 8
push ecx
call fcn.006779b1
add esp, 8
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 3
call fcn.004dcb40
cmp eax, 1
jne 0x4d9e14
call fcn.004486f0
push 0x744ac0
push str.Outprocess_managing_thread_need_more_time_than__0_to_start.
push 2
mov ecx, eax
call fcn.004d11f0
mov byte [ebp - 4], 9
test edi, edi
je 0x4d9e38
lock xadd dword [edi + 4], esi
dec esi
jne 0x4d9e38
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x4d9e30
mov eax, dword [ecx]
push edi
jmp 0x4d9e36
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, 4
lea ecx, [ebp - 0x54]
call fcn.00448240
push eax
call fcn.006622af
call fcn.004dd3e0
mov edx, 2
lea ecx, [ebp - 0x4c]
call fcn.00448240
push eax
call fcn.006622af
mov eax, dword [ebp - 0x28]
push 6
mov dword [eax], 0
call fcn.0066234e
call fcn.00683cca
int3