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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e18ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
dec eax
mov ecx, 0xe
cdq
idiv ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0
jge 0x4e16de
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x38c]
cmp eax, 0x32
jb 0x4e1887
mov eax, dword [ebp - 4]
cmp dword [eax + 0x374], 0
jle 0x4e16c7
mov eax, dword [ebp - 4]
dec dword [eax + 0x374]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov edx, dword [ebp - 4]
mov dword [edx + 0x37c], eax
jmp 0x4e177e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jle 0x4e1760
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x38c]
cmp eax, 0x32
jb 0x4e1887
mov eax, dword [ebp - 4]
inc dword [eax + 0x37c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x37c]
jg 0x4e1741
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
xor edx, edx
call fcn.004b4c9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x37c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x37c]
sub eax, dword [ebp - 0x14]
inc eax
xor edx, edx
call fcn.004b4c9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x374], eax
jmp 0x4e177e
mov eax, dword [ebp - 0xc]
dec eax
mov ecx, 0xe
cdq
idiv ecx
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x374]
mov edx, dword [ebp - 4]
mov dword [edx + 0x37c], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x38c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x37c]
jg 0x4e17c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
xor edx, edx
call fcn.004b4c9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x37c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x378], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x37c]
jle 0x4e1887
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x37c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004e2558
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.00405d60
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405dec
je 0x4e1887
mov eax, dword [ebp - 0x10]
call fcn.00405d80
test eax, eax
jle 0x4e1887
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405e70
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.0040565c
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00405d60
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x6e3b68]
mov eax, dword [eax]
mov cl, 1
call fcn.00495f58
cmp eax, dword [ebp - 8]
jg 0x4e1887
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x378], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4e1833
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e18c1
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00405bf4
lea eax, [ebp - 0x24]
call fcn.004053d4
lea eax, [ebp - 0x1c]
call fcn.004053d4
lea eax, [ebp - 0x10]
call fcn.00405bdc
ret