Function at 0x42e2c0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d90df
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
push 4
lea ecx, [ebp - 0x18]
call fcn.0040fc00
lea eax, [esi + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42e310
mov eax, dword [eax]
test eax, eax
je 0x42e310
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp + 8]
cmp eax, ecx
je 0x42e33f
nop dword [eax]
cmp edx, dword [eax]
je 0x42e635
add eax, 0x18
cmp eax, ecx
jne 0x42e330
xorps xmm0, xmm0
mov dword [ebp - 0x58], edx
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
cmp dword [esi + 8], ecx
je 0x42e36d
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ecx + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x42e379
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esi
call fcn.00430a70
mov edi, dword [esi + 0x10]
test edi, edi
je 0x42e3ce
push 0
mov ecx, edi
call fcn.0048ada0
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x42e39e
cmp byte [eax + 8], 0
je 0x42e39e
mov edi, dword [esi + 0x10]
jmp 0x42e3c6
mov edi, dword [esi + 0x10]
test edi, edi
je 0x42e3ce
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x42e3bd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0x10], 0
xor edi, edi
test edi, edi
jne 0x42e62f
mov ecx, dword [esi + 0x38]
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
test ecx, ecx
je 0x42e3e2
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x42e3ec
push ecx
call eax
push 0xc
call fcn.004b40fd
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], vtable.RC::RCRefCounted.0
mov dword [eax + 4], 0
mov byte [ebp - 4], 2
push 0x44
mov dword [eax], vtable.RC::RCThread.0
call fcn.004b40fd
mov edi, eax
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 3
push 0x18
call fcn.004b40fd
add esp, 0xc
mov dword [edi + 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
lea esi, [edi + 0x24]
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
push eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
push 0x50788c
mov byte [edi + 8], al
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.0040a960
mov byte [ebp - 4], 7
lea eax, [ebp - 0x38]
push 0
push 1
push eax
mov ecx, esi
call fcn.0047c4e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.0040a900
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [ecx + 8], edi
mov dword [edi], esi
mov eax, dword [ecx + 8]
mov dword [eax + 4], 0x42e970
mov byte [ebp - 4], 0
mov edi, dword [esi + 0x10]
cmp edi, ecx
je 0x42e528
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [ecx + 4]
push 1
push eax
call edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42e520
push 0xffffffffffffffff
add eax, 4
push eax
call edi
sub eax, 1
jne 0x42e520
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov edi, eax
mov dword [esi + 0x10], eax
cmp dword [edi + 8], 0
je 0x42e62f
push 4
lea ecx, [ebp - 0x14]
call fcn.0040fc00
mov eax, dword [edi + 8]
add eax, 0x20
mov dword [ebp - 0x14], eax
je 0x42e554
mov eax, dword [eax]
test eax, eax
je 0x42e554
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
jne 0x42e58b
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42e62f
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x42e57f
push eax
call edi
mov dword [ebp - 0x14], 0
jmp 0x42e635
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [edi + 4]
push 1
push eax
call esi
mov eax, dword [edi + 8]
add eax, 0xc
push eax
push 4
push edi
push 0x48aa70
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [edi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 8]
cmp dword [eax + 0x10], 0
jne 0x42e5e5
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call esi
sub eax, 1
jne 0x42e5d8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [edi + 8]
call fcn.0048ac30
jmp 0x42e561
mov byte [eax + 8], 1
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x42e5fd
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x42e561
push eax
lea eax, [edi + 4]
push eax
call esi
sub eax, 1
jne 0x42e622
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [edi + 8]
call fcn.0048ac30
jmp 0x42e561
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42e653
mov eax, dword [eax]
test eax, eax
je 0x42e64c
push eax
call edi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b40ec
mov esp, ebp
pop ebp
ret 4