Function at 0x4c6b9b
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate thread

Disassembly:
mov eax, 0x53f7a0
call fcn.004eec88
sub esp, 0x444
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x1c], esi
cmp dword [esi + 0x14], ebx
mov dword [ebp - 0x10], esp
je 0x4c6bc5
or eax, 0xffffffff
jmp 0x4c6e5c
mov eax, dword [0x5927d4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.00522338
cmp eax, ebx
je 0x4c6c05
cmp dword [ebp - 0x18], 3
je 0x4c6c0c
cmp dword [ebp - 0x18], 0x100b
je 0x4c6c0c
push ebx
call fcn.004c812d
pop ecx
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
lea ecx, [esi + 0x10]
mov dword [esi + 0x20], eax
call fcn.0050a119
mov ecx, dword [esi + 0x20]
push 1
pop edi
push edi
call fcn.005225cb
mov ecx, dword [esi + 0x20]
push esi
call fcn.004c822d
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call fcn.00522564
cmp dword [ebp - 0x18], 0x100b
mov dword [esi + 0x28], eax
mov dword [ebp + 0xc], 0x20000000
jne 0x4c6c5c
mov dword [ebp + 0xc], 0x2080f000
push dword [ebp + 0xc]
mov ecx, eax
push ebx
push ebx
push edi
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0x10]
call fcn.00522f55
cmp dword [ebp - 0x18], 0x100b
mov dword [esi + 0x24], eax
jne 0x4c6ca4
lea ecx, [ebp + 0xc]
push ecx
push 0x1f
mov ecx, eax
call fcn.005226f0
or byte [ebp + 0xd], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x24]
mov dword [ebp + 0x14], eax
push ebx
lea eax, [ebp + 0x14]
push 4
push eax
push 0x1f
call fcn.00522712
mov eax, dword [ebp + 0x1c]
push eax
mov dword [esi + 0xc], eax
call fcn.00509cd1
pop ecx
mov dword [esi + 8], eax
push dword [esi + 0xc]
push dword [ebp + 0x18]
push eax
call fcn.004ef020
add esp, 0xc
jmp 0x4c6d35
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edi
push eax
push ebx
push esi
push 0x4c6e6d
push ebx
push ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp dword [ebp + 0x20], ebx
mov dword [esi + 0x14], eax
mov dword [ebp + 0xc], ebx
je 0x4c6dcb
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 4], eax
push edi
push ebx
push ebx
lea eax, [ebp - 0x50]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4c6d88
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0xa
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x4c6e0a
cmp dword [esi + 4], ebx
je 0x4c6d62
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esi + 4]
cmp eax, dword [esi + 0x18]
jbe 0x4c6d62
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, esi
call fcn.004c6b1c
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi + 4], ebx
mov dword [ebp + 0xc], edi
jmp 0x4c6d62
push dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push eax
call edi
cmp eax, 0x102
jne 0x4c6dfd
mov ecx, esi
call fcn.004c6b1c
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0xffffffffffffffff
push dword [esi + 0x14]
call edi
mov dword [ebp + 0xc], 1
jmp 0x4c6e0a
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x4c6e3d
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4c6e3d
or dword [ebp - 0x14], 0xffffffff
cmp dword [ecx + 0x14], ebx
mov eax, dword [ecx]
je 0x4c6e31
push 0x58b1e4
jmp 0x4c6e36
push 0x58b1d4
push 7
push 4
call dword [eax + 0x14]
mov dword [esi + 0x14], ebx
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00509f90
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c