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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x648bc0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x6491d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x3684], 1
cmp dword [ebx + 0x3678], 0
je 0x6491b7
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x3674]
mov edx, dword [select]
cmp eax, dword [edx + 0x1b84]
jb 0x648c27
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x3678]
sub eax, dword [edx + 0x3674]
mov edx, dword [select]
cmp eax, dword [edx + 0x1b84]
jae 0x648c46
push 1
mov edx, dword [0x6c1390]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006658ec
mov eax, ebx
call fcn.0063cfc4
jmp 0x6491b7
mov eax, dword [ebx + 0x3678]
cmp byte [eax + 0x3684], 0
je 0x649194
mov byte [ebp - 5], 1
mov edx, dword [ebx + 0x418]
mov edx, dword [edx + 8]
mov ecx, dword [ebx + 0x367c]
add edx, dword [ecx + 8]
mov ecx, dword [ebx + 0x420]
sub ecx, edx
mov eax, dword [eax + 0x367c]
cmp ecx, dword [eax + 8]
jge 0x648c99
mov byte [ebp - 5], 0
push 1
mov edx, dword [0x6c035c]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006658ec
mov eax, dword [ebx + 0x25c]
sub eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x3678]
cmp eax, dword [edx + 0x3680]
jge 0x648cc7
push 1
mov edx, dword [0x6c0584]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006658ec
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0x3678]
mov edx, dword [eax + 0x418]
mov edx, dword [edx + 8]
mov ecx, dword [eax + 0x367c]
add edx, dword [ecx + 8]
mov eax, dword [eax + 0x420]
sub eax, edx
mov edx, dword [ebx + 0x367c]
cmp eax, dword [edx + 8]
jge 0x648d09
push 1
mov edx, dword [0x6c03d4]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006658ec
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0x3678]
mov edx, dword [eax + 0x25c]
sub edx, dword [eax + 0x30]
cmp edx, dword [ebx + 0x3680]
jge 0x648d37
push 1
mov edx, dword [0x6c05d8]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.006658ec
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x64918b
mov eax, dword [ebx + 0x367c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x648e52
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x367c]
call fcn.0041fbf0
mov esi, eax
test esi, esi
je 0x648e46
mov eax, dword [ebx + 0x3678]
mov eax, dword [eax + 0x418]
mov edx, esi
call fcn.0041fa48
mov edx, esi
mov eax, dword [ebx + 0x3678]
call fcn.0063c7cc
movzx edx, word [esi + 4]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005eed6c
mov edi, eax
test edi, edi
je 0x648e46
cmp byte [edi + 0x58], 1
jne 0x648e46
mov eax, dword [esi]
push eax
movzx eax, word [esi + 0xc]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 0x3678]
add edx, 0x15
call fcn.004055f8
mov eax, dword [ebp - 0x10]
push eax
push 0x6491e8
push 0x6491e8
push 0x6491f4
push esi
lea eax, [ebp - 0x14]
lea edx, [edi + 2]
call fcn.004055f8
mov ecx, dword [ebp - 0x14]
mov edx, 8
mov eax, ebx
call fcn.004a0a40
mov eax, dword [esi]
push eax
movzx eax, word [esi + 0xc]
push eax
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x15]
call fcn.004055f8
mov eax, dword [ebp - 0x18]
push eax
push 0x6491e8
push 0x6491e8
push 0x6491f4
push esi
lea eax, [ebp - 0x1c]
lea edx, [edi + 2]
call fcn.004055f8
mov ecx, dword [ebp - 0x1c]
mov edx, 7
mov eax, dword [ebx + 0x3678]
call fcn.004a0a40
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x648d5e
mov eax, dword [ebx + 0x3680]
test eax, eax
jle 0x648f16
mov edx, dword [ebx + 0x3678]
add dword [edx + 0x30], eax
mov eax, dword [ebx + 0x3678]
call fcn.0066c290
mov eax, dword [0x6c0a58]
cmp byte [eax], 0
je 0x648f16
push 0
mov eax, dword [ebx + 0x30]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebx + 0x3678]
add edx, 0x15
call fcn.004055f8
mov eax, dword [ebp - 0x20]
push eax
push 0x649204
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3680]
call fcn.0040a784
mov eax, dword [ebp - 0x24]
push eax
push 0x6491f4
push 0
mov ecx, 0x649210
mov edx, 1
mov eax, ebx
call fcn.004a0a40
push 0
mov esi, dword [ebx + 0x3678]
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x15]
call fcn.004055f8
mov eax, dword [ebp - 0x28]
push eax
push 0x649220
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x3680]
call fcn.0040a784
mov eax, dword [ebp - 0x2c]
push eax
push 0x6491f4
push 0
mov ecx, 0x649210
mov edx, 1
mov eax, esi
call fcn.004a0a40
mov eax, dword [ebx + 0x3678]
mov eax, dword [eax + 0x367c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x649029
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x3678]
mov eax, dword [eax + 0x367c]
mov edx, dword [ebp - 4]
call fcn.0041fbf0
mov esi, eax
test esi, esi
je 0x64901d
mov edx, esi
mov eax, dword [ebx + 0x418]
call fcn.0041fa48
mov edx, esi
mov eax, ebx
call fcn.0063c7cc
movzx edx, word [esi + 4]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005eed6c
mov edi, eax
test edi, edi
je 0x64901d
cmp byte [edi + 0x58], 1
jne 0x64901d
mov eax, dword [esi]
push eax
movzx eax, word [esi + 0xc]
push eax
lea eax, [ebp - 0x30]
lea edx, [ebx + 0x15]
call fcn.004055f8
mov eax, dword [ebp - 0x30]
push eax
push 0x6491e8
push 0x6491e8
push 0x6491f4
push esi
lea eax, [ebp - 0x34]
lea edx, [edi + 2]
call fcn.004055f8
mov ecx, dword [ebp - 0x34]
mov edx, 8
mov eax, dword [ebx + 0x3678]
call fcn.004a0a40
mov eax, dword [esi]
push eax
movzx eax, word [esi + 0xc]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebx + 0x3678]
add edx, 0x15
call fcn.004055f8
mov eax, dword [ebp - 0x38]
push eax
push 0x6491e8
push 0x6491e8
push 0x6491f4
push esi
lea eax, [ebp - 0x3c]
lea edx, [edi + 2]
call fcn.004055f8
mov ecx, dword [ebp - 0x3c]
mov edx, 7
mov eax, ebx
call fcn.004a0a40
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x648f39
mov eax, dword [ebx + 0x3678]
mov eax, dword [eax + 0x3680]
test eax, eax
jle 0x6490e9
add dword [ebx + 0x30], eax
mov eax, ebx
call fcn.0066c290
mov eax, dword [0x6c0a58]
cmp byte [eax], 0
je 0x6490e9
push 0
mov esi, dword [ebx + 0x3678]
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x40]
lea edx, [ebx + 0x15]
call fcn.004055f8
mov eax, dword [ebp - 0x40]
push eax
push 0x649204
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x3680]
call fcn.0040a784
mov eax, dword [ebp - 0x44]
push eax
push 0x6491f4
push 0
mov ecx, 0x649210
mov edx, 1
mov eax, esi
call fcn.004a0a40
push 0
mov eax, dword [ebx + 0x30]
push eax
lea eax, [ebp - 0x48]
mov esi, dword [ebx + 0x3678]
lea edx, [esi + 0x15]
call fcn.004055f8
mov eax, dword [ebp - 0x48]
push eax
push 0x649220
lea edx, [ebp - 0x4c]
mov eax, dword [esi + 0x3680]
call fcn.0040a784
mov eax, dword [ebp - 0x4c]
push eax
push 0x6491f4
push 0
mov ecx, 0x649210
mov edx, 1
mov eax, ebx
call fcn.004a0a40
mov esi, dword [ebx + 0x3678]
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0x141c
mov eax, esi
call fcn.0063ce1c
xor eax, eax
mov dword [esi + 0x3678], eax
mov byte [esi + 0x3670], 0
mov eax, dword [esi + 0x367c]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [esi + 0x3680], eax
mov byte [esi + 0x3684], 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0x141c
mov eax, ebx
call fcn.0063ce1c
xor eax, eax
mov dword [ebx + 0x3678], eax
mov byte [ebx + 0x3670], 0
mov eax, dword [ebx + 0x367c]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [ebx + 0x3680], eax
mov byte [ebx + 0x3684], 0
mov eax, ebx
call fcn.006569c8
mov eax, esi
call fcn.006569c8
xor eax, eax
mov dword [esi + 0x1078], eax
xor eax, eax
mov dword [ebx + 0x1078], eax
jmp 0x6491b7
mov eax, ebx
call fcn.0063cfc4
jmp 0x6491b7
test eax, eax
je 0x6491b7
cmp byte [eax + 0x22a], 0
jne 0x6491b7
push 0
push 0
push 0
push 0
mov ecx, 2
mov dx, 0x141c
call fcn.0063ce1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6491d9
lea eax, [ebp - 0x4c]
mov edx, 0x10
call fcn.004053b8
ret