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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xb
je 0x4e1238
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 9
je 0x4e1238
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xd
je 0x4e1238
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 6
je 0x4e1238
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 7
je 0x4e1238
mov eax, dword [ebp - 4]
mov byte [eax + 0x268], 0
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4e0d89
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
cmp dword [eax + 8], 2
jl 0x4e0d89
mov eax, dword [ebp - 4]
mov byte [eax + 0x268], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x23c]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x234]
mov eax, dword [ebp - 4]
mov si, 0xfff8
call fcn.00403fe4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x23c]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x234]
mov eax, dword [ebp - 4]
mov si, 0xfff7
call fcn.00403fe4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
je 0x4e112e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jl 0x4e0e09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jle 0x4e0e1b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
mov edx, dword [ebp - 4]
mov dword [edx + 0x23c], eax
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4e0e59
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
je 0x4e0e59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fild qword [ebp - 0x1c]
fld xword [0x4e1240]
fdivp st(1)
call fcn.00403038
mov dword [ebp - 0xc], eax
jmp 0x4e0e97
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 0
je 0x4e0e8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
add eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fild qword [ebp - 0x1c]
fdiv dword [0x4e124c]
call fcn.00403038
mov dword [ebp - 0xc], eax
jmp 0x4e0e97
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x258]
cmp eax, dword [ebp - 0xc]
jbe 0x4e10e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x238]
jge 0x4e0f8f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
je 0x4e0f76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x148]
sub edx, 2
cmp eax, edx
je 0x4e0efa
push ebp
call fcn.004e0c9c
pop ecx
test al, al
je 0x4e0f3a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14c], 0
jge 0x4e0f15
push ebp
call fcn.004e0c9c
pop ecx
test al, al
je 0x4e0fff
mov eax, dword [ebp - 4]
inc dword [eax + 0x23c]
mov eax, dword [ebp - 4]
inc dword [eax + 0x144]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
jmp 0x4e0fff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
dec edx
cmp eax, edx
jge 0x4e0f5a
mov eax, dword [ebp - 4]
inc dword [eax + 0x23c]
mov eax, dword [ebp - 4]
inc dword [eax + 0x144]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
jmp 0x4e0fff
mov eax, dword [ebp - 4]
inc dword [eax + 0x23c]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
jmp 0x4e0fff
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f], 0
je 0x4e0f9f
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4e0fde
mov eax, dword [0x573bd8]
mov eax, dword [eax]
call fcn.00540aa4
test al, al
je 0x4e0fff
mov eax, dword [ebp - 4]
mov si, 0xfff6
call fcn.00403fe4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x12c], 0
jmp 0x4e0fff
mov eax, dword [ebp - 4]
mov si, 0xfff6
call fcn.00403fe4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x12c], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
je 0x4e10e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x148]
dec edx
cmp eax, edx
jne 0x4e10e3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14c], 0
jle 0x4e10d8
mov eax, dword [ebp - 4]
add eax, 0x14c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [0x573628]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004ba480
cmp byte [ebp - 0xd], 0
je 0x4e10b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
call fcn.004e5790
jmp 0x4e10d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x15c], 0x33
jne 0x4e10ca
mov eax, 0x4e1258
call fcn.004e55cc
jmp 0x4e10d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
call fcn.004e5790
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14c], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x18], 0
je 0x4e1101
mov eax, dword [ebp - 4]
cmp word [eax + 0x18], 1
je 0x4e1101
mov eax, dword [ebp - 4]
cmp word [eax + 0x18], 0x2b
jne 0x4e1110
mov eax, dword [ebp - 4]
mov dword [eax + 0x270], 0xfffffff6
jmp 0x4e111b
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x270], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x274], eax
jmp 0x4e1210
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x32
jne 0x4e11a4
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x18]
add eax, 0xffffffca
sub ax, 5
jae 0x4e11a4
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x254]
jbe 0x4e1196
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x274], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x270]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jl 0x4e1196
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x270], edx
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fe4
jmp 0x4e1210
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x27c]
cmp eax, 0xc8
jbe 0x4e1210
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x274]
cmp eax, 0x1f4
jbe 0x4e1204
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x274], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x270]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x278]
jl 0x4e1204
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x270], edx
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fe4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
cmp eax, dword [ebp - 8]
je 0x4e1238
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
pop esi
mov esp, ebp
pop ebp
ret