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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004da000
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 6
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 5
ja case.default.0x4d21cd
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x4d24bc]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 0xfffffffa
jmp 0x4d24b3
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x80], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x6c]
push ecx
push 4
mov ecx, dword [ebp - 0x10]
call fcn.004d5d50
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00404ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], eax
push 0
push 0x64
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004d9fd0
jmp 0x4d24b3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x6c]
push eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004d5d50
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00404ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
push 0
push 0x64
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004d9fd0
jmp 0x4d24b3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8c], 0xfffffffd
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x6c]
push edx
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004d5d50
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00404ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
push 0
push 0x64
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004d9fd0
jmp 0x4d24b3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8c], 0xfffffffc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x84], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x6c]
push edx
push 5
mov ecx, dword [ebp - 0x10]
call fcn.004d5d50
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00404ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
push 0
push 0x64
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004d9fd0
jmp 0x4d24b3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8c], 0xfffffffb
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x6c]
push edx
push 7
mov ecx, dword [ebp - 0x10]
call fcn.004d5d50
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00404ba0
jmp 0x4d24b3
mov ecx, dword [ebp - 0x10]
call fcn.00533b7f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x40
je 0x4d239a
mov ecx, dword [ebp + 0xc]
and ecx, 8
jne 0x4d239a
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x54], 0
jne 0x4d23b5
mov eax, dword [ebp - 4]
and eax, 0x80
je 0x4d23de
mov ecx, dword [ebp + 0xc]
and ecx, 8
je 0x4d23de
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x58], 0
je 0x4d23de
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x8c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], 0xfffffffa
push 0
push 0x12c
push 2
mov ecx, dword [ebp - 0x10]
call fcn.004d9fd0
jmp 0x4d23eb
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 0xfffffffa
mov ecx, dword [ebp - 0x10]
call fcn.00533b7f
and eax, 0x10
je 0x4d2417
mov ecx, dword [ebp + 0xc]
and ecx, 8
je 0x4d2417
mov edx, dword [ebp + 0xc]
and edx, 8
push edx
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d5a90
jmp 0x4d245c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, dword [ecx + 0x6c]
setne al
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
and ecx, 8
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004d5c70
cmp dword [ebp - 8], 0
je 0x4d245c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x6c]
push eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004d24e0
mov dword [ebp - 0xc], 0
jmp 0x4d246e
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a0
call fcn.005088c0
cmp dword [ebp - 0xc], eax
jge 0x4d24b3
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a0
call fcn.004fca30
mov eax, dword [eax]
cmp dword [eax + 0x3c], 0
je 0x4d24b1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004d24e0
jmp 0x4d2465
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0x10