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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x16], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 9
jne 0x4e1291
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 6
je 0x4e12a9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 7
jne 0x4e12ad
mov byte [ebp - 0x16], 1
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4e1340
cmp byte [ebp - 0x15], 0
jne 0x4e1340
cmp byte [ebp - 0x16], 0
jne 0x4e1340
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xb
je 0x4e1305
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 9
je 0x4e1305
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xd
je 0x4e1305
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 6
je 0x4e1305
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 7
jne 0x4e1340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x234]
dec eax
je 0x4e1321
sub eax, 3
je 0x4e1331
jmp 0x4e1340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b8]
call fcn.004e5790
jmp 0x4e1340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b8]
inc eax
call fcn.004e5790
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x268], 0
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4e1373
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
cmp dword [eax + 8], 2
jl 0x4e1373
mov eax, dword [ebp - 4]
mov byte [eax + 0x268], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xb
je 0x4e13b3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xd
je 0x4e13b3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 6
je 0x4e13b3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 7
jne 0x4e15af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jl 0x4e13db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jle 0x4e13ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x23c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jge 0x4e148b
mov eax, dword [ebp - 4]
inc dword [eax + 0x23c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 0
je 0x4e143e
cmp byte [ebp - 0x16], 0
jne 0x4e143e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jge 0x4e143e
mov eax, dword [ebp - 4]
inc dword [eax + 0x23c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x234]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x234]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x264]
mov eax, dword [ebp - 4]
call fcn.004de3e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jl 0x4e1507
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4e14e0
mov eax, dword [0x573bd8]
mov eax, dword [eax]
call fcn.00540aa4
test al, al
je 0x4e1503
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
jmp 0x4e1503
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 6
jne 0x4e1537
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4e1537
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x574030]
mov dword [edx], eax
mov eax, dword [0x5735d8]
mov dword [eax], 0x12c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 7
jne 0x4e15ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
sub eax, 3
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x23c]
jg 0x4e15ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x294]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0xf8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 9
jne 0x4e1721
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jg 0x4e15e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jge 0x4e15fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x23c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jle 0x4e1699
mov eax, dword [ebp - 4]
dec dword [eax + 0x23c]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x268]
or al, byte [ebp - 0x15]
je 0x4e1646
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jle 0x4e1646
mov eax, dword [ebp - 4]
dec dword [eax + 0x23c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x23c]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x234]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10]
call fcn.004e746c
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x264]
mov eax, dword [ebp - 4]
call fcn.004de3e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jg 0x4e171d
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4e16f6
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x574030]
mov dword [edx], eax
mov eax, dword [0x5735d8]
mov dword [eax], 0x3e8
jmp 0x4e1719
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
mov byte [ebp - 5], 1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x23c]
je 0x4e1749
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x284], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.00403fe4
mov al, byte [ebp - 5]
pop esi
mov esp, ebp
pop ebp
ret