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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5e109c
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x5e191b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405014
mov eax, dword [ebp - 0x28]
call fcn.0049b69c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 8
mov edx, 9
mov eax, dword [ebp - 4]
call fcn.00405014
mov eax, dword [ebp - 0x2c]
call fcn.0049b69c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x5e18f8
cmp dword [ebp - 0x1c], 0
je 0x5e18f8
call fcn.006427cc
mov byte [ebp - 0x11], 4
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x14], 0
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1934
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0x7d0
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov dword [ebp - 0xc], 0x1e
cmp dword [ebp - 0xc], 0
jle 0x5e1207
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.0040a40c
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x5e1958
call fcn.00404e00
mov edx, dword [ebp - 0x30]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
call fcn.00650b04
cmp al, 2
je 0x5e11f5
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0x3e8
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0x3e8
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
jmp 0x5e11fa
xor eax, eax
mov dword [ebp - 0xc], eax
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x5e117c
call fcn.00650ae4
test al, al
jne 0x5e1260
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1978
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.005324bc
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0044e464
xor edx, edx
call fcn.0044e36c
call fcn.0064aed4
call fcn.006427e0
jmp 0x5e18f8
xor eax, eax
mov dword [0xacd584], eax
mov eax, dword [0x669954]
mov dl, byte [0xacd48e]
mov byte [eax + 7], dl
call fcn.005bc6ec
mov edx, dword [0x669954]
mov byte [edx + 8], al
mov eax, dword [0x669954]
mov byte [eax + 9], 0
mov eax, dword [0x669954]
mov edx, 0xc
call fcn.0064afcc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc
je 0x5e13e3
push 0xc8
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e199c
call fcn.0052fa8c
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
inc dword [ebp - 0xc]
call fcn.00650b04
cmp al, 2
jne 0x5e1305
mov eax, dword [0x669954]
mov edx, 0xc
call fcn.0064afcc
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x3c]
mov eax, 0x64
sub eax, dword [ebp - 0xc]
call fcn.0040a40c
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x5e19bc
call fcn.00404e00
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0044e464
pop edx
call fcn.0044e36c
cmp dword [ebp - 0x10], 0xc
je 0x5e1359
cmp dword [ebp - 0xc], 0x64
jne 0x5e12d4
cmp dword [ebp - 0x10], 0xc
je 0x5e13b6
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e19d0
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, 0x7d0
call fcn.0043d1ac
mov byte [ebp - 5], 0
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0044e464
xor edx, edx
call fcn.0044e36c
call fcn.006427e0
jmp 0x5e18f8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0044e464
xor edx, edx
call fcn.0044e36c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 0xc
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax + 0xb], 4
je 0x5e1456
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax + 0xb], 0x80
je 0x5e1436
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1a20
call fcn.0052fa8c
lea edx, [ebp - 0x40]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0053255c
call fcn.0064aed4
call fcn.006427e0
jmp 0x5e18f8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1a4c
call fcn.0052fa8c
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax + 0xb]
mov byte [ebp - 0x11], al
jmp 0x5e1463
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax + 0xb]
mov byte [ebp - 0x11], al
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1a70
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov al, byte [ebp - 0x11]
sub al, 4
je 0x5e148d
sub al, 0x7c
je 0x5e1494
jmp 0x5e149b
call fcn.005c8634
jmp 0x5e14c5
call fcn.005c88cc
jmp 0x5e14c5
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1a98
call fcn.0052fa8c
lea edx, [ebp - 0x44]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0053255c
call fcn.006427e0
jmp 0x5e18f8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0044e464
mov edx, 0x5e1abc
call fcn.0044e36c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
mov edx, 3
call fcn.0044e464
mov edx, 0x5e1ad0
call fcn.0044e36c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, 0x64
call fcn.0043d1ac
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1ae4
call fcn.0052fa8c
push 0
push 0
push 0
mov cl, 0x12
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.005c36e4
test al, al
jne 0x5e1595
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1b08
call fcn.0052fa8c
lea edx, [ebp - 0x48]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0053255c
mov byte [ebp - 5], 0
mov eax, dword [0x66a00c]
mov eax, dword [eax]
xor edx, edx
call fcn.0052fa8c
jmp 0x5e18f8
call fcn.006427e0
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1b38
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
xor edx, edx
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1b54
call fcn.0052fa8c
lea edx, [ebp - 0x50]
mov eax, dword [0xacd584]
call fcn.00642808
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x5e1b68
call fcn.00404e00
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1b80
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
xor edx, edx
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
xor eax, eax
mov dword [0xacd584], eax
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0044e464
xor edx, edx
call fcn.0044e36c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
mov edx, 0x800000
call fcn.004d0930
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x45c]
mov edx, 0x800000
call fcn.004d0930
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
mov edx, 0x64
call fcn.004d0a08
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004d0ab8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0044e464
xor edx, edx
call fcn.0044e36c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov edx, 0x7d0
call fcn.0043d1ac
mov al, byte [ebp - 0x11]
sub al, 4
je 0x5e1749
sub al, 0x7c
jne 0x5e18a2
mov al, byte [ebp - 0x11]
call fcn.005c81bc
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x1f4
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
inc dword [ebp - 0xc]
call fcn.00650b04
cmp al, 2
je 0x5e172d
cmp dword [ebp - 0xc], 0xa
jne 0x5e1705
cmp dword [ebp - 0xc], 0xa
je 0x5e18a2
call fcn.005c8454
mov al, byte [ebp - 0x11]
call fcn.005c81bc
jmp 0x5e18a2
mov al, byte [ebp - 0x11]
call fcn.005c81bc
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x1f4
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
inc dword [ebp - 0xc]
call fcn.00650b04
cmp al, 2
je 0x5e177e
cmp dword [ebp - 0xc], 0xa
jne 0x5e1756
cmp dword [ebp - 0xc], 0xa
je 0x5e178c
mov al, byte [ebp - 0x11]
call fcn.005c81bc
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0x1f4
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0xc8
call sub.KERNEL32.DLL_Sleep_1
inc dword [ebp - 0xc]
lea edx, [ebp - 0x54]
mov eax, 0x64
sub eax, dword [ebp - 0xc]
call fcn.0040a40c
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0044e464
pop edx
call fcn.0044e36c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
call fcn.00650b04
cmp al, 1
jne 0x5e181e
mov dword [ebp - 0xc], 0x64
jmp 0x5e1826
mov al, byte [ebp - 0x11]
call fcn.005c81bc
cmp dword [ebp - 0xc], 0x64
je 0x5e1839
call fcn.00650b04
cmp al, 1
jne 0x5e17b3
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.0044e464
xor edx, edx
call fcn.0044e36c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
cmp dword [ebp - 0xc], 0x64
jne 0x5e18a2
call fcn.00650b04
cmp al, 2
jne 0x5e18a2
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1ba0
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1bbc
call fcn.0052fa8c
call fcn.00586dec
mov byte [ebp - 5], 0
jmp 0x5e18f8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
mov edx, 0xff00000a
call fcn.004718bc
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0xc8
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
mov dl, 1
call fcn.0043d180
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5e1be8
call fcn.0052fa8c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e1922
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.00404b08
lea eax, [ebp - 4]
call fcn.00404ae4
ret