Function at 0x4c9d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5df7e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x4c9fe5
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x14], eax
call fcn.004bb5b0
mov ecx, eax
test ecx, ecx
je 0x4ca0de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
call fcn.004ca5c0
add esp, 4
or edi, 0xffffffff
test al, al
je 0x4c9fa2
push ecx
mov esi, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
push eax
call fcn.004bbb10
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
call fcn.004c9960
test al, al
je 0x4c9fa2
call ebx
sub eax, dword [ebp - 0x14]
imul ecx, eax, 0x3e8
mov eax, dword [ebp + 0x28]
cmp ecx, eax
ja 0x4c9e1c
sub eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
lea eax, [ebp + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add eax, 0x10
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004d37a0
add esp, 0x10
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4ca0e8
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c9e9b
test dx, dx
je 0x4c9e97
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c9e9b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c9e75
xor esi, esi
jmp 0x4c9ea0
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9ebe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9edc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9efa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x4c9fa2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x14
add esp, 4
mov esi, esp
mov dword [ebp + 0x28], esp
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x16
mov esi, esp
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
push eax
call fcn.004bbb10
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x18]
call fcn.004c9300
mov bl, al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c]
call fcn.004badd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004badd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004badd0
jmp 0x4c9fc0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4c9fbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c74f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp eax, 1
jne 0x4c9fbe
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4c9ff8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004bb5b0
mov ecx, eax
test ecx, ecx
je 0x4ca0f2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004cae50
test al, al
jne 0x4ca041
mov byte [ebp - 4], al
or eax, 0xffffffff
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x4c9fb4
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x1d
mov edi, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x24], edi
call fcn.004bbb10
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1f
mov edi, esp
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x24], eax
call fcn.004bbb10
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x1d
mov ecx, ebx
call fcn.004c9300
mov bl, al
mov byte [ebp - 4], 0x1a
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ca0bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4c9fc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4c9fc0
push 0x80004005
call fcn.004b95c0
push 0x80004005
call fcn.004b95c0
push 0x80004005
call fcn.004b95c0
int3