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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x689b58
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x68a171
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x383c], 1
cmp dword [ebx + 0x3830], 0
je 0x68a156
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x382c]
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x1ba0]
jb 0x689bbf
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x3830]
sub eax, dword [edx + 0x382c]
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x1ba0]
jae 0x689bde
push 1
mov edx, dword [0x7080b0]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006a6c7c
mov eax, ebx
call fcn.0067dc48
jmp 0x68a156
mov eax, dword [ebx + 0x3830]
cmp byte [eax + 0x383c], 0
je 0x68a132
mov byte [ebp - 5], 1
mov edx, dword [ebx + 0x4a8]
mov edx, dword [edx + 8]
mov ecx, dword [ebx + 0x3834]
add edx, dword [ecx + 8]
mov ecx, dword [ebx + 0x4b0]
sub ecx, edx
mov eax, dword [eax + 0x3834]
cmp ecx, dword [eax + 8]
jge 0x689c31
mov byte [ebp - 5], 0
push 1
mov edx, dword [0x706ffc]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006a6c7c
mov eax, dword [ebx + 0x2e8]
sub eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x3830]
cmp eax, dword [edx + 0x3838]
jge 0x689c5f
push 1
mov edx, dword [0x70723c]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006a6c7c
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0x3830]
mov edx, dword [eax + 0x4a8]
mov edx, dword [edx + 8]
mov ecx, dword [eax + 0x3834]
add edx, dword [ecx + 8]
mov eax, dword [eax + 0x4b0]
sub eax, edx
mov edx, dword [ebx + 0x3834]
cmp eax, dword [edx + 8]
jge 0x689ca1
push 1
mov edx, dword [0x70707c]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006a6c7c
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0x3830]
mov edx, dword [eax + 0x2e8]
sub edx, dword [eax + 0x30]
cmp edx, dword [ebx + 0x3838]
jge 0x689ccf
push 1
mov edx, dword [0x707294]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006a6c7c
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x68a129
mov eax, dword [ebx + 0x3834]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x689dec
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3834]
call fcn.00420a68
mov esi, eax
test esi, esi
je 0x689de0
mov eax, dword [ebx + 0x3830]
mov eax, dword [eax + 0x4a8]
mov edx, esi
call fcn.004208c0
mov edx, esi
mov eax, dword [ebx + 0x3830]
call fcn.0067d468
movzx edx, word [esi + 0x13]
mov eax, dword [0x707bc4]
mov eax, dword [eax]
call fcn.0062e410
mov edi, eax
test edi, edi
je 0x689de0
cmp byte [edi + 0x70], 1
jne 0x689de0
mov eax, dword [esi + 0xf]
push eax
movzx eax, word [esi + 0x1b]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 0x3830]
add edx, 0x15
call fcn.00405744
mov eax, dword [ebp - 0x10]
push eax
push 0x68a188
push 0x68a188
push 0x68a194
push esi
lea eax, [ebp - 0x14]
lea edx, [edi + 2]
call fcn.00405744
mov ecx, dword [ebp - 0x14]
mov edx, 8
mov eax, ebx
call fcn.004e18e0
mov eax, dword [esi + 0xf]
push eax
movzx eax, word [esi + 0x1b]
push eax
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x15]
call fcn.00405744
mov eax, dword [ebp - 0x18]
push eax
push 0x68a188
push 0x68a188
push 0x68a194
push esi
lea eax, [ebp - 0x1c]
lea edx, [edi + 2]
call fcn.00405744
mov ecx, dword [ebp - 0x1c]
mov edx, 7
mov eax, dword [ebx + 0x3830]
call fcn.004e18e0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x689cf6
mov eax, dword [ebx + 0x3838]
test eax, eax
jle 0x689eb0
mov edx, dword [ebx + 0x3830]
add dword [edx + 0x30], eax
mov eax, dword [ebx + 0x3830]
call fcn.006adeb4
mov eax, dword [0x70772c]
cmp byte [eax], 0
je 0x689eb0
push 0
mov eax, dword [ebx + 0x30]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebx + 0x3830]
add edx, 0x15
call fcn.00405744
mov eax, dword [ebp - 0x20]
push eax
push 0x68a1a4
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3838]
call fcn.0040ab6c
mov eax, dword [ebp - 0x24]
push eax
push 0x68a194
push 0
mov ecx, 0x68a1b0
mov edx, 1
mov eax, ebx
call fcn.004e18e0
push 0
mov esi, dword [ebx + 0x3830]
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x15]
call fcn.00405744
mov eax, dword [ebp - 0x28]
push eax
push 0x68a1c0
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x3838]
call fcn.0040ab6c
mov eax, dword [ebp - 0x2c]
push eax
push 0x68a194
push 0
mov ecx, 0x68a1b0
mov edx, 1
mov eax, esi
call fcn.004e18e0
mov eax, dword [ebx + 0x3830]
mov eax, dword [eax + 0x3834]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x689fc5
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x3830]
mov eax, dword [eax + 0x3834]
mov edx, dword [ebp - 4]
call fcn.00420a68
mov esi, eax
test esi, esi
je 0x689fb9
mov edx, esi
mov eax, dword [ebx + 0x4a8]
call fcn.004208c0
mov edx, esi
mov eax, ebx
call fcn.0067d468
movzx edx, word [esi + 0x13]
mov eax, dword [0x707bc4]
mov eax, dword [eax]
call fcn.0062e410
mov edi, eax
test edi, edi
je 0x689fb9
cmp byte [edi + 0x70], 1
jne 0x689fb9
mov eax, dword [esi + 0xf]
push eax
movzx eax, word [esi + 0x1b]
push eax
lea eax, [ebp - 0x30]
lea edx, [ebx + 0x15]
call fcn.00405744
mov eax, dword [ebp - 0x30]
push eax
push 0x68a188
push 0x68a188
push 0x68a194
push esi
lea eax, [ebp - 0x34]
lea edx, [edi + 2]
call fcn.00405744
mov ecx, dword [ebp - 0x34]
mov edx, 8
mov eax, dword [ebx + 0x3830]
call fcn.004e18e0
mov eax, dword [esi + 0xf]
push eax
movzx eax, word [esi + 0x1b]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebx + 0x3830]
add edx, 0x15
call fcn.00405744
mov eax, dword [ebp - 0x38]
push eax
push 0x68a188
push 0x68a188
push 0x68a194
push esi
lea eax, [ebp - 0x3c]
lea edx, [edi + 2]
call fcn.00405744
mov ecx, dword [ebp - 0x3c]
mov edx, 7
mov eax, ebx
call fcn.004e18e0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x689ed3
mov eax, dword [ebx + 0x3830]
mov eax, dword [eax + 0x3838]
test eax, eax
jle 0x68a085
add dword [ebx + 0x30], eax
mov eax, ebx
call fcn.006adeb4
mov eax, dword [0x70772c]
cmp byte [eax], 0
je 0x68a085
push 0
mov esi, dword [ebx + 0x3830]
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x40]
lea edx, [ebx + 0x15]
call fcn.00405744
mov eax, dword [ebp - 0x40]
push eax
push 0x68a1a4
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x3838]
call fcn.0040ab6c
mov eax, dword [ebp - 0x44]
push eax
push 0x68a194
push 0
mov ecx, 0x68a1b0
mov edx, 1
mov eax, esi
call fcn.004e18e0
push 0
mov eax, dword [ebx + 0x30]
push eax
lea eax, [ebp - 0x48]
mov esi, dword [ebx + 0x3830]
lea edx, [esi + 0x15]
call fcn.00405744
mov eax, dword [ebp - 0x48]
push eax
push 0x68a1c0
lea edx, [ebp - 0x4c]
mov eax, dword [esi + 0x3838]
call fcn.0040ab6c
mov eax, dword [ebp - 0x4c]
push eax
push 0x68a194
push 0
mov ecx, 0x68a1b0
mov edx, 1
mov eax, ebx
call fcn.004e18e0
mov esi, dword [ebx + 0x3830]
push 0
push 0
push 0
push 0
xor ecx, ecx
mov edx, 0x141c
mov eax, esi
call fcn.0067dab0
xor eax, eax
mov dword [esi + 0x3830], eax
mov byte [esi + 0x3828], 0
mov eax, dword [esi + 0x3834]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [esi + 0x3838], eax
mov byte [esi + 0x383c], 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov edx, 0x141c
mov eax, ebx
call fcn.0067dab0
xor eax, eax
mov dword [ebx + 0x3830], eax
mov byte [ebx + 0x3828], 0
mov eax, dword [ebx + 0x3834]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [ebx + 0x3838], eax
mov byte [ebx + 0x383c], 0
mov eax, ebx
call fcn.006978c8
mov eax, esi
call fcn.006978c8
xor eax, eax
mov dword [esi + 0x1200], eax
xor eax, eax
mov dword [ebx + 0x1200], eax
jmp 0x68a156
mov eax, ebx
call fcn.0067dc48
jmp 0x68a156
test eax, eax
je 0x68a156
cmp byte [eax + 0x2b6], 0
jne 0x68a156
push 0
push 0
push 0
push 0
mov ecx, 2
mov edx, 0x141c
call fcn.0067dab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68a178
lea eax, [ebp - 0x4c]
mov edx, 0x10
call fcn.004054f4
ret