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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push 0
push 0
call fcn.00401060
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov eax, dword [0x10ce358]
sub eax, dword [0x10ce35c]
mov dword [0x10ce358], eax
cmp dword [ebp + 8], 0
jne 0x402afa
xor eax, eax
jmp 0x402d09
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xffffffff
push 0x40
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.004f83c0
add esp, 0xc
movzx ecx, word [ebp - 0x158]
cmp ecx, 0x5a4d
je 0x402b32
xor eax, eax
jmp 0x402d09
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
push 0xf8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.004f83c0
add esp, 0xc
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00402040
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
cmp dword [eax + 4], 0
jne 0x402ba4
xor eax, eax
jmp 0x402d09
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x402bc4
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0
jne 0x402bcb
xor eax, eax
jmp 0x402d09
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x14], 0
jmp 0x402c28
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 0x18]
jae 0x402c7d
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f8de0
add esp, 8
test eax, eax
jne 0x402c5d
mov ecx, dword [ebp - 0x118]
movzx edx, word [ecx]
mov dword [ebp - 4], edx
jmp 0x402c7d
mov eax, dword [ebp - 0x15c]
add eax, 4
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x118]
add ecx, 2
mov dword [ebp - 0x118], ecx
jmp 0x402c1f
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
cmp dword [ebp - 4], 0xffffffff
je 0x402cbe
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
sub ecx, 1
cmp dword [ebp - 4], ecx
jbe 0x402cc2
xor eax, eax
jmp 0x402d09
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [ecx]
mov esp, ebp
pop ebp
ret 8