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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405960
mov eax, dword [ebp + 0xc]
call fcn.00405960
xor eax, eax
push ebp
push 0x64ba7b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3ac], 0
jne 0x64b7ac
cmp byte [ebx + 0x3ad], 0
je 0x64ba2a
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0040adf8
mov esi, eax
or edx, 0xffffffff
mov eax, dword [ebp + 0xc]
call fcn.0040adf8
mov edi, eax
mov eax, dword [ebx + 0x36c]
cmp byte [eax + 0x52], 0
jne 0x64ba02
mov eax, dword [0x7070f8]
movzx eax, byte [eax + 0x5f9c]
push eax
mov eax, dword [0x7070f8]
movzx eax, byte [eax + 0x5f9d]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebx + 0x36c]
call fcn.006b5a2c
test al, al
je 0x64b987
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x428]
mov edx, dword [0x7070f8]
imul edx, dword [edx + 0x5fa0], 0x3e8
cmp eax, edx
jbe 0x64b8e5
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x428], eax
cmp byte [ebx + 0x3ac], 0
jne 0x64b8b7
cmp word [ebx + 0x950], 0
jbe 0x64b8b7
cmp word [ebx + 0x958], 0
jbe 0x64b8b7
cmp word [ebx + 0x958], 1
jbe 0x64b865
dec word [ebx + 0x958]
jmp 0x64b86e
mov word [ebx + 0x958], 0
movzx eax, word [ebx + 0x95a]
push eax
movzx ecx, word [ebx + 0x958]
mov edx, 9
mov eax, ebx
call fcn.006a2f58
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0xd0
mov eax, ebx
call fcn.006a4724
push edi
push 0
mov ecx, esi
mov edx, dword [ebx + 0x36c]
mov eax, ebx
call fcn.006b27c0
jmp 0x64ba50
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0xd0
mov eax, ebx
call fcn.006a4724
push edi
push 0
mov ecx, esi
mov edx, dword [ebx + 0x36c]
mov eax, ebx
call fcn.006b27c0
jmp 0x64ba50
cmp byte [ebp + 8], 0
je 0x64b938
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x428]
mov ecx, 0x3e8
xor edx, edx
div ecx
push eax
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x5fa0]
pop edx
sub eax, edx
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.0040ad3c
lea eax, [ebp - 8]
mov edx, 0x64ba94
call fcn.004057ac
mov edx, dword [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.006a6bb0
jmp 0x64ba50
push 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x428]
mov ecx, 0x3e8
xor edx, edx
div ecx
push eax
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x5fa0]
pop edx
sub eax, edx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.0040ad3c
lea eax, [ebp - 0xc]
mov edx, 0x64ba94
call fcn.004057ac
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.006a6c7c
jmp 0x64ba50
cmp byte [ebp + 8], 0
je 0x64b9c8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x64bab8
call fcn.0040bf74
mov edx, dword [ebp - 0x10]
mov cl, 1
mov eax, ebx
call fcn.006a6bb0
jmp 0x64ba50
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x64bab8
call fcn.0040bf74
mov edx, dword [ebp - 0x24]
mov cl, 1
mov eax, ebx
call fcn.006a6c7c
jmp 0x64ba50
cmp byte [ebp + 8], 0
je 0x64ba18
xor ecx, ecx
mov edx, 0x64badc
mov eax, ebx
call fcn.006a6bb0
jmp 0x64ba50
push 1
xor ecx, ecx
mov edx, 0x64badc
mov eax, ebx
call fcn.006a6c7c
jmp 0x64ba50
cmp byte [ebp + 8], 0
je 0x64ba40
xor ecx, ecx
mov edx, 0x64bafc
mov eax, ebx
call fcn.006a6bb0
jmp 0x64ba50
push 1
xor ecx, ecx
mov edx, 0x64bafc
mov eax, ebx
call fcn.006a6c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64ba82
lea eax, [ebp - 0x24]
call fcn.004054d0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004054f4
lea eax, [ebp + 0xc]
call fcn.004054d0
ret