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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov eax, 0x52b604
call fcn.00503ebc
mov edx, dword [0x54e58c]
cmp edx, 5
ja case.0x42e090.0
jmp dword [edx*4 + 0x42e097]
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, 0x120
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 - 0x60]
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 - 0x60]
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 - 0x50], 0x54e592
mov eax, dword [ebp - 0x50]
cmp word [eax], 0
je 0x42e1ef
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 - 0x80]
add eax, 0x18
mov ecx, 0x18
push eax
push edx
mov edx, dword [ebp - 0x44]
xor eax, eax
call fcn.00475718
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x70]
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 - 0x70]
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], 0xb
jl 0x42e174
inc dword [ebp - 0x38]
add dword [ebp - 0x50], 2
cmp dword [ebp - 0x38], 0x60
jl 0x42e156
mov dword [ebp - 0x40], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x38], 1
mov dword [0x541e90], eax
mov edx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
call fcn.0042ec58
test al, al
jne 0x42e237
mov edx, 0x3c
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne 0x42e249
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x6c
jl 0x42e218
xor ecx, ecx
mov dword [0x54e658], ecx
mov dword [0x54e654], ecx
mov eax, dword [0x54e56c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je case.0x42e090.0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
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.0x42e090.0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x38], 0x4f
mov dword [0x541e90], eax
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x90]
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 - 0x90]
mov eax, dword [0x54e574]
push ecx
call fcn.004c1eb4
pop edx
call fcn.004bd398
push 0xc0
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, 0x120
xor edx, edx
xor eax, eax
call fcn.00475718
lea eax, [ebp - 0xb0]
mov edx, 0xc0
push eax
lea ecx, [ebp - 0xa0]
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 - 0xa0]
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 0x42e376
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0
jge 0x42e2a0
xor edx, edx
mov dword [0x54e658], edx
mov dword [0x54e654], edx
jmp case.0x42e090.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 dword [ebp - 0x38], 1
mov eax, dword [0x54e574]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea ecx, [ebp - 0xc0]
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 - 0xc0]
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 - 0xe0]
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 - 0xe0]
lea edx, [ebp - 0xd0]
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 - 0xd0]
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 0x42e3f1
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.0x42e090.0
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x18
jle 0x42e3ae
jmp case.0x42e090.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 - 0xf0]
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 - 0xf0]
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
xor edx, edx
mov dword [ebp - 0x38], edx
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 - 0x100]
push eax
mov ecx, 0x120
xor edx, edx
xor eax, eax
call fcn.00475718
lea edx, [ebp - 0x100]
mov eax, dword [0x54e574]
push edx
call fcn.004c1eb4
pop edx
call fcn.004bd398
push 0xc0
lea ecx, [ebp - 0x120]
push ecx
mov ecx, 0x120
xor edx, edx
xor eax, eax
call fcn.00475718
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x110]
push eax
push 0xc0
push edx
xor edx, edx
xor eax, eax
mov ecx, 0x120
call fcn.00475718
lea ecx, [ebp - 0x110]
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 0x42e5ef
add dword [ebp - 0x38], 8
cmp dword [ebp - 0x38], 0x100
jl 0x42e50e
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.0x42e090.0
mov dword [ebp - 0x40], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x38], 1
mov dword [0x541e90], eax
mov edx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
call fcn.0042ed90
test al, al
jne 0x42e64d
mov edx, 0x3c
mov eax, dword [ebp - 0x30]
call fcn.00425c60
cmp byte [0x54e590], 0
jne 0x42e65f
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x3c
jl 0x42e62e
xor ecx, ecx
mov dword [0x54e658], ecx
mov dword [0x54e654], ecx
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret