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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov eax, 0x52b634
call fcn.00503ebc
mov edx, dword [0x54e58c]
cmp edx, 6
ja case.0x42e6a4.0
jmp dword [edx*4 + 0x42e6ab]
mov dl, 1
mov eax, dword [0x4bb520]
call fcn.004c18ec
mov dword [0x54e56c], eax
mov dl, 6
mov eax, dword [0x54e56c]
call fcn.004c2fa4
mov edx, 0x900
mov eax, dword [0x54e56c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x108
mov eax, dword [0x54e56c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x54e56c]
call fcn.004c1eb4
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004bccb8
mov eax, dword [0x54e56c]
call fcn.004c1eb4
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004bcdd4
mov eax, dword [0x54e56c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov eax, dword [0x54e56c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0x58]
mov eax, dword [0x54e56c]
push ecx
call fcn.004c1eb4
pop edx
call fcn.004bd398
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], 0x54e592
mov eax, dword [ebp - 0x48]
cmp word [eax], 0
je 0x42e807
mov edx, dword [ebp - 0x38]
shl edx, 3
xor ecx, ecx
lea edx, [edx + edx*2]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x78]
add eax, 0x18
mov ecx, 0x18
push eax
push edx
mov edx, dword [ebp - 0x44]
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x68]
push ecx
mov eax, dword [ebp - 0x44]
add eax, 0x18
sub eax, dword [ebp - 0x3c]
push eax
push edx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
shl ecx, 3
mov edx, dword [ebp - 0x44]
shl eax, 3
add edx, dword [ebp - 0x3c]
lea ecx, [ecx + ecx*2]
add ecx, 0x18
lea eax, [eax + eax*2]
sub ecx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x3c]
call fcn.00475718
lea ecx, [ebp - 0x68]
mov eax, dword [0x54e570]
push ecx
call fcn.004c1eb4
push eax
mov eax, dword [0x54e56c]
call fcn.004c1eb4
pop ecx
pop edx
call fcn.004bd1e8
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0x13
jl 0x42e78c
inc dword [ebp - 0x38]
add dword [ebp - 0x48], 2
cmp dword [ebp - 0x38], 0x60
jl 0x42e76e
call sub.kernel32.dll_GetTickCount
mov dword [0x541e90], eax
xor eax, eax
mov dword [ebp - 0x40], 0x6c
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x40]
add dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x30]
call fcn.0042ec58
test al, al
jne 0x42e84e
mov edx, 0x3c
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne 0x42e860
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x6c
jl 0x42e82e
mov edx, dword [0x54e56c]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je case.0x42e6a4.0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov dword [ebp - 4], eax
mov word [ebp - 0x1c], 0x14
mov edx, 3
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x1c], 8
jmp case.0x42e6a4.0
call sub.kernel32.dll_GetTickCount
mov dword [0x541e90], eax
xor edx, edx
mov dword [ebp - 0x38], edx
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0x88]
mov eax, dword [0x54e574]
push ecx
call fcn.004c1eb4
pop edx
call fcn.004bd398
push 0xc0
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, 0x120
xor edx, edx
xor eax, eax
call fcn.00475718
lea eax, [ebp - 0xa8]
mov edx, 0xc0
push eax
lea ecx, [ebp - 0x98]
sub edx, dword [ebp - 0x38]
push edx
push ecx
mov eax, dword [ebp - 0x38]
mov ecx, 0x120
add eax, eax
mov edx, dword [ebp - 0x38]
sub ecx, eax
mov eax, dword [ebp - 0x38]
add eax, eax
call fcn.00475718
lea ecx, [ebp - 0x98]
mov eax, dword [0x54e570]
push ecx
call fcn.004c1eb4
push eax
mov eax, dword [0x54e574]
call fcn.004c1eb4
pop ecx
pop edx
call fcn.004bd1e8
mov eax, dword [ebp - 0x30]
call fcn.0042ef24
mov edx, 0x3c
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne 0x42e97e
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x50
jle 0x42e8a8
xor edx, edx
mov dword [0x54e658], edx
mov dword [0x54e654], edx
jmp case.0x42e6a4.0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x38], 0x5f
mov dword [0x541e90], eax
mov eax, dword [0x54e574]
mov ecx, dword [eax]
call dword [ecx + 0x20]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0xb8]
mov eax, dword [0x54e574]
push ecx
call fcn.004c1eb4
pop edx
call fcn.004bd398
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0xd8]
add eax, dword [ebp - 0x38]
mov ecx, 0x120
push eax
push edx
mov edx, dword [ebp - 0x3c]
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0xd8]
lea edx, [ebp - 0xc8]
push ecx
mov ecx, 0x120
mov eax, dword [ebp - 0x3c]
add eax, 0x18
push eax
push edx
mov edx, dword [ebp - 0x3c]
add edx, 0x18
sub edx, dword [ebp - 0x38]
xor eax, eax
call fcn.00475718
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [0x54e570]
call fcn.004c1eb4
push eax
mov eax, dword [0x54e574]
call fcn.004c1eb4
pop ecx
pop edx
call fcn.004bd1e8
add dword [ebp - 0x3c], 0x18
cmp dword [ebp - 0x3c], 0xc0
jl 0x42e9e5
mov eax, dword [ebp - 0x30]
call fcn.0042ef24
mov edx, 0x3c
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne case.0x42e6a4.0
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0
jge 0x42e9a2
jmp case.0x42e6a4.0
call sub.kernel32.dll_GetTickCount
mov dword [0x541e90], eax
mov eax, dword [0x54e574]
call fcn.004c1eb4
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004bccb8
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea ecx, [ebp - 0xe8]
push ecx
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0xe8]
mov eax, dword [0x54e574]
push ecx
call fcn.004c1eb4
pop edx
call fcn.004bd398
mov eax, dword [0x54e574]
call fcn.004c1eb4
mov dword [eax + 0x20], 0x8800c6
mov dword [ebp - 0x38], 0xf8
mov eax, dword [0x54e574]
call fcn.004c1eb4
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
shl edx, 0x10
mov ecx, dword [ebp - 0x38]
shl ecx, 8
add edx, ecx
add edx, dword [ebp - 0x38]
call fcn.004bccb8
push 0xc0
lea eax, [ebp - 0xf8]
push eax
mov ecx, 0x120
xor edx, edx
xor eax, eax
call fcn.00475718
lea edx, [ebp - 0xf8]
mov eax, dword [0x54e574]
push edx
call fcn.004c1eb4
pop edx
call fcn.004bd398
push 0xc0
lea ecx, [ebp - 0x118]
push ecx
mov ecx, 0x120
xor edx, edx
xor eax, eax
call fcn.00475718
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x108]
push eax
push 0xc0
push edx
xor edx, edx
xor eax, eax
mov ecx, 0x120
call fcn.00475718
lea ecx, [ebp - 0x108]
mov eax, dword [0x54e570]
push ecx
call fcn.004c1eb4
push eax
mov eax, dword [0x54e574]
call fcn.004c1eb4
pop ecx
pop edx
call fcn.004bd1e8
mov eax, dword [ebp - 0x30]
call fcn.0042ef24
mov edx, 0x28
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne 0x42ebe2
sub dword [ebp - 0x38], 8
cmp dword [ebp - 0x38], 0
jge 0x42eb04
mov eax, dword [0x54e574]
call fcn.004c1eb4
mov dword [eax + 0x20], 0xcc0020
mov eax, dword [0x54e574]
call fcn.004c1eb4
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004bccb8
jmp case.0x42e6a4.0
mov dword [ebp - 0x40], 0x3c
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x40]
add dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x30]
call fcn.0042ed90
test al, al
jne 0x42ec35
mov edx, 0x3c
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne case.0x42e6a4.0
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x3c
jl 0x42ec15
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret