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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x664618
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2e0], 0
jne 0x663ec9
mov edx, 0x664628
lea eax, [ebp - 0x60]
call fcn.004039c4
mov eax, dword [ebp - 4]
lea edx, [eax + 0x15]
lea eax, [ebp - 0x60]
mov cl, 0x2c
call fcn.00403994
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x30]
call fcn.004055f8
mov eax, dword [ebp - 0x30]
call fcn.0049fdd4
jmp 0x6645d8
mov dword [ebp - 0x24], 1
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x663f4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x663f29
inc eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
mov edx, ebx
call fcn.0041fbf0
mov edx, dword [0x48b5bc]
call fcn.00406490
inc ebx
dec dword [ebp - 0x28]
jne 0x663f08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x663f91
xor eax, eax
push ebp
push 0x663fe9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x663fd8
inc eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov edx, ebx
call fcn.0041fbf0
xor edx, edx
mov dword [eax + 4], edx
inc ebx
dec dword [ebp - 0x28]
jne 0x663fbd
mov dword [ebp - 0x24], 5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66402b
mov dword [ebp - 0x24], 6
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x24]
mov edx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
sub edx, eax
add ecx, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x28]
mov esi, ebx
sub esi, eax
mov dword [ebp - 8], esi
add ebx, eax
mov dword [ebp - 0xc], ebx
xor eax, eax
push ebp
push 0x6643a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 7
sub ecx, edx
jl 0x66439b
inc ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], 8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub edx, eax
jl 0x66438f
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 9
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00673738
test al, al
je 0x664383
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x664383
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x18], 1
xor esi, esi
mov dword [ebp - 0x24], 0xb
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 4]
test edi, edi
je 0x664104
cmp dword [edi + 8], 0
jg 0x664104
mov eax, dword [ebp - 0x1c]
add eax, 4
call fcn.004114f8
jmp 0x664383
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
jge 0x664383
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041fbf0
mov ebx, eax
mov dword [ebp - 0x24], 0xc
test ebx, ebx
je 0x66437d
mov dword [ebp - 0x24], 0xd
cmp byte [ebx], 1
jne 0x6642fa
mov dword [ebp - 0x24], 0xe
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 5]
cmp eax, 0x2bf20
jb 0x664190
mov edx, 0xa
mov eax, ebx
call fcn.00402fb0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041fa94
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x6640dd
mov eax, dword [ebp - 0x1c]
add eax, 4
call fcn.004114f8
jmp 0x664383
mov dword [ebp - 0x24], 0xf
mov eax, dword [ebx + 1]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x66437d
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 4]
jne 0x664216
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x10]
jne 0x6641dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
cmp eax, dword [ebp - 0x14]
jne 0x6641dd
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 5], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3cc], eax
jmp 0x664216
mov edx, 0xa
mov eax, ebx
call fcn.00402fb0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041fa94
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x6640dd
mov eax, dword [ebp - 0x1c]
add eax, 4
call fcn.004114f8
jmp 0x664383
mov dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2e4], 0
jne 0x66437d
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2a5], 0
jne 0x66437d
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x31f], 0
jne 0x66437d
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xbbe], 0
je 0x66437d
mov dword [ebp - 0x24], 0x11
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22a], 0x32
jb 0x6642dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
jne 0x6642dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c0], 0
jne 0x6642dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 0
jne 0x6642dc
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x278], 0
je 0x6642cc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x6642cc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jle 0x6642dc
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x22a], 0
jne 0x66437d
mov dword [ebp - 0x24], 0x12
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.006639e4
mov dword [ebp - 0x24], 0x13
jmp 0x66437d
cmp byte [ebx], 2
jne 0x66437d
mov dword [ebp - 0x24], 0x15
mov eax, dword [ebx + 1]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
movzx edx, byte [edx + 0x118]
cmp eax, edx
jne 0x664339
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 5]
mov edx, dword [select]
cmp eax, dword [edx + 0x1ab4]
jbe 0x66437d
mov eax, dword [ebx + 1]
mov edx, dword [0x48b59c]
call fcn.00406490
mov edx, 0xa
mov eax, ebx
call fcn.00402fb0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041fa94
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x6640dd
mov eax, dword [ebp - 0x1c]
add eax, 4
call fcn.004114f8
jmp 0x664383
inc esi
jmp 0x6640dd
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x664099
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x66407d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66446a
mov dword [ebp - 0x24], 0x28
mov dword [ebp - 0x18], 2
xor edx, edx
push ebp
push 0x664514
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x414]
mov eax, dword [esi + 8]
cmp eax, dword [ebp - 0x10]
jle 0x664507
mov dword [ebp - 0x24], 0x29
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.0041fbf0
mov ebx, eax
mov dword [ebp - 0x24], 0x2a
cmp dword [ebx + 4], 0
jne 0x664502
mov dword [ebp - 0x24], 0x2b
mov edi, dword [ebx]
test edi, edi
je 0x6644d5
cmp byte [ebx + 8], 0
je 0x6644d5
dec dword [edi + 0x40c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov edx, dword [ebp - 0x10]
call fcn.0041fa94
mov dword [ebp - 0x24], 0x30
mov edx, 9
mov eax, ebx
call fcn.00402fb0
mov dword [ebp - 0x24], 0x31
jmp 0x66448b
inc dword [ebp - 0x10]
jmp 0x66448b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6645d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66461f
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x30]
call fcn.00405394
ret