Function at 0x4d5020
Capabilities:
Create thread
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bb2df
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
lea eax, [esi + 0x30]
mov dword [ebp - 0x58], esi
push 4
mov dword [ebp - 0x4c], eax
call fcn.00677616
mov edi, eax
add esp, 4
lea eax, [esi + 0x30]
mov dword [ebp - 0x34], edi
mov dword [edi], eax
push eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x40], eax
call eax
push dword [edi]
lea eax, [esi + 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [eax]
test eax, eax
jne 0x4d50a0
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x44], eax
call eax
push 4
push edi
call fcn.006779b1
add esp, 8
jmp 0x4d50c3
mov esi, dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x44], eax
call eax
push 4
push edi
call fcn.006779b1
add esp, 8
test esi, esi
jne 0x4d5422
mov esi, dword [ebp - 0x38]
mov ecx, esi
call fcn.004d57c0
test al, al
je 0x4d546a
push 0x30
call fcn.00677616
mov ecx, eax
mov dword [ebp - 0x30], ecx
lea edi, [ecx + 8]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ebp - 0x54], ecx
push 4
mov dword [ebp - 4], 0
add esi, 0x4c
call fcn.00677616
add esp, 8
mov dword [ebp - 0x3c], eax
mov dword [eax], esi
push esi
call dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
lea edx, [esi + 0x64]
push edx
call fcn.00491630
lea eax, [esi + 0x6c]
mov ecx, edi
push eax
mov dword [ebp - 0x34], eax
call fcn.00491630
mov edi, dword [ebp - 0x30]
lea eax, [esi + 0x74]
push eax
mov dword [ebp - 0x64], eax
lea ecx, [edi + 0x10]
call fcn.00491630
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x4d51c5
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x30], eax
lock inc dword [eax + 8]
mov edx, dword [edi + 0x24]
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x20], ecx
or ecx, 0xffffffff
mov dword [edi + 0x24], eax
test edx, edx
je 0x4d51eb
mov eax, ecx
lock xadd dword [edx + 8], eax
jne 0x4d51eb
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
or ecx, 0xffffffff
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4d5205
lock inc dword [eax + 4]
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x7c]
mov edx, dword [edi + 0x2c]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], edx
mov dword [edi + 0x2c], eax
test edx, edx
je 0x4d523c
mov eax, ecx
lock xadd dword [edx + 4], eax
jne 0x4d523c
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x48]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4d523c
mov eax, dword [ecx]
call dword [eax + 4]
push 4
add esi, 4
call fcn.00677616
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [eax], esi
push esi
call dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
xor edx, edx
xor esi, esi
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4d5269
mov edx, dword [eax + 0x1c]
mov esi, ecx
lock inc dword [ecx + 8]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], esi
test ecx, ecx
je 0x4d5286
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x4d5286
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
push dword [eax]
call esi
push 4
push dword [ebp - 0x30]
call fcn.006779b1
mov eax, dword [ebp - 0x3c]
add esp, 8
mov byte [ebp - 4], 0
push dword [eax]
call esi
push 4
push dword [ebp - 0x3c]
call fcn.006779b1
push 4
call fcn.00677616
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
push eax
mov dword [esi], eax
call dword [ebp - 0x40]
mov dword [ebp - 0x4c], esi
push 8
mov byte [ebp - 4], 3
call fcn.00677616
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
push 8
mov byte [ebp - 4], 4
call fcn.00677616
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [eax], edi
mov dword [eax + 4], 0x4d5a80
lea edi, [esi + 4]
mov byte [ebp - 4], 5
push edi
push 0
push eax
push 0x4d6b50
push 0
push 0
call fcn.0068b6e8
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4d5488
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x4d5345
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x4d5359
cmp dword [eax + 4], 0
jne 0x4d5495
push 8
push eax
jmp 0x4d5351
cmp dword [edi], 0
jne 0x4d5495
push 8
push esi
call fcn.006779b1
add esp, 8
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x34]
push eax
mov ecx, dword [ecx]
sub esp, 8
mov edx, esp
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0x3e8
mov dword [ebp - 0x58], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4d539e
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
call fcn.004f6e70
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4d540f
call fcn.004486f0
lea edx, [ebp - 0x34]
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.0049d390
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
push ecx
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0044fb00
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
push str.Async_event_processor_thread_wasnt_started_during_timeout:__0
push 2
mov ecx, esi
call fcn.004dd4f0
lea ecx, [ebp - 0x74]
call fcn.0044d720
push fcn.0044bb60
push 1
push 0x18
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
call fcn.00677646
mov esi, dword [ebp - 0x48]
push dword [esi]
call dword [ebp - 0x44]
push 4
push esi
call fcn.006779b1
add esp, 8
mov al, 1
jmp 0x4d546c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.0066234e
call fcn.00683cca
int3