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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x4e1c9f
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jle 0x4e198f
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x3c]
cmp eax, 0x7d0
jbe 0x4e1c9f
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x40], edx
jmp 0x4e1c9f
xor eax, eax
push ebp
push 0x4e1aa7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.00411704
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
inc eax
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 8]
jge 0x4e1a9d
mov edx, dword [ebp - 0x10]
inc edx
mov eax, dword [ebp + 8]
call fcn.00411704
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, 4
call fcn.004028fc
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, 4
call fcn.004028fc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov edx, dword [0x4ea100]
cmp eax, dword [edx]
jge 0x4e1a8f
mov edx, dword [ebp - 0x10]
inc edx
mov eax, dword [ebp + 8]
call fcn.004115a4
mov eax, dword [ebp - 0x14]
add eax, 4
add eax, dword [ebp - 0x18]
call fcn.004027a0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov ecx, 4
call fcn.004028fc
mov eax, dword [ebp - 0x28]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 4
mov ecx, dword [ebp - 0x14]
call fcn.004028fc
mov eax, dword [ebp - 0x14]
add eax, 4
mov edx, dword [ebp - 0x28]
add edx, eax
mov eax, dword [ebp - 0x2c]
add eax, 4
mov ecx, dword [ebp - 0x18]
call fcn.004028fc
mov eax, dword [ebp - 0x24]
call fcn.004027b8
mov eax, dword [ebp - 0x2c]
call fcn.004027b8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.00411850
jmp 0x4e19b0
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x4e19b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1abb
xor eax, eax
push ebp
push 0x4e1c8b
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4e1c74
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00411704
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4e1af0
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.004115a4
jmp 0x4e1c74
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, 4
call fcn.004028fc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4e1b75
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x20]
mov edx, dword [0x4ea2ac]
cmp eax, dword [edx]
jl 0x4e1b75
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0
jne 0x4e1b48
mov eax, dword [0x4ea2ac]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
jg 0x4e1b48
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.004115a4
mov eax, dword [ebp - 0x24]
call fcn.004027b8
jmp 0x4e1c81
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov ecx, 7
mov eax, dword [ebp - 4]
call fcn.004e0984
mov eax, dword [ebp - 8]
mov dword [eax + 0x38], 1
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 8]
mov dword [edx + 0x3c], eax
jmp 0x4e1c81
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.004115a4
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0
jle 0x4e1c54
mov eax, dword [0x4ea100]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
jg 0x4e1c05
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4e1bdc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 8], 0
je 0x4e1bc9
mov ecx, dword [0x4ea100]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00451e20
mov eax, dword [ebp - 8]
inc dword [eax + 0x5c]
mov eax, dword [0x4ea100]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
add dword [edx + 0x54], eax
mov eax, dword [0x4ea100]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
add dword [edx + 0x40], eax
mov eax, dword [0x4ea100]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
lea eax, [edx + eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4ea100]
mov eax, dword [eax]
sub dword [ebp - 0x20], eax
jmp 0x4e1c4a
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4e1c43
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 8], 0
je 0x4e1c2b
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x20]
call fcn.00451e20
mov eax, dword [ebp - 8]
inc dword [eax + 0x5c]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
add dword [eax + 0x54], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
add dword [eax + 0x40], edx
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4e1c54
cmp dword [ebp - 0x20], 0
jg 0x4e1b92
mov eax, dword [ebp - 0x24]
call fcn.004027b8
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x30]
mov edx, dword [0x4ea1c0]
cmp eax, dword [edx]
jbe 0x4e1c74
mov byte [ebp - 9], 0
jmp 0x4e1c81
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jg 0x4e1ace
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1c9f
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4