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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov ecx, 7
lea eax, [ebp - 0x20]
mov edx, dword [0x4012b8]
call fcn.0040bf08
xor eax, eax
push ebp
push 0x6b6fb5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6d58e8], 0
je 0x6b6679
xor eax, eax
call fcn.006ad4b4
mov byte [ebp - 0x21], 0
mov eax, dword [0x6ccda4]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x6cc8d8]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x6b6ef6
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x6d58f8], 0
je 0x6b66b7
mov dl, 1
mov eax, dword [0x6d58f8]
call fcn.00614168
cmp byte [0x6d58e6], 0
je 0x6b6724
xor eax, eax
push ebp
push 0x6b66f7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6d58ec], 0
jne 0x6b66e3
mov eax, 0x6b6fd0
call fcn.00614cac
jmp 0x6b66ed
mov eax, dword [0x6d58ec]
call fcn.00614e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b6724
mov eax, 0x6b7038
call fcn.00614eec
lea eax, [ebp - 0x2c]
mov ecx, dword [0x6d58d0]
mov edx, 0x6b7094
call fcn.0040b4c8
mov eax, dword [ebp - 0x2c]
call fcn.00614eec
lea eax, [ebp - 0x30]
mov ecx, dword [0x6d58d4]
mov edx, 0x6b70d4
call fcn.0040b4c8
mov eax, dword [ebp - 0x30]
call fcn.00614eec
lea eax, [ebp - 0x38]
call fcn.005c715c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x6b7100
call fcn.0040b4c8
mov eax, dword [ebp - 0x34]
call fcn.00614eec
call fcn.006ad664
xor eax, eax
call fcn.006b5f54
mov dword [0x6d58dc], eax
mov dl, 1
mov eax, dword [0x6b51a4]
call fcn.00628098
mov dword [0x6cc884], eax
mov ecx, dword [0x6d58d4]
mov edx, dword [0x6d58dc]
mov eax, dword [0x6cc884]
call fcn.0062b38c
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6cc884]
mov edx, dword [eax + 0x18]
mov ax, 0xd9
call fcn.005cd7d4
mov edx, dword [ebp - 0x3c]
mov eax, 0x6d58e0
call fcn.0040a5a8
mov eax, dword [0x6cc884]
test byte [eax + 0x1d], 0x20
je 0x6b6821
mov eax, dword [0x6cca1c]
cmp byte [eax], 0
jne 0x6b6821
push 1
push 1
mov eax, dword [0x6d58e0]
call fcn.0040b278
push eax
mov eax, dword [0x6cced4]
mov eax, dword [eax + 0x39c]
call fcn.0040b278
mov ecx, 0x30
pop edx
call fcn.006adf4c
call fcn.00428fdc
mov eax, dword [0x6cc884]
test byte [eax + 0x1d], 1
je 0x6b6865
mov eax, dword [0x6cccc0]
cmp byte [eax], 0
jne 0x6b6865
push 1
push 1
mov eax, dword [0x6d58e0]
call fcn.0040b278
push eax
mov eax, dword [0x6cced4]
mov eax, dword [eax + 0x23c]
call fcn.0040b278
mov ecx, 0x30
pop edx
call fcn.006adf4c
call fcn.00428fdc
mov eax, dword [0x6d58dc]
xor edx, edx
mov dword [0x6d58dc], edx
call fcn.00408444
mov al, 2
call fcn.006b5f54
mov dword [0x6d58dc], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86020000
mov dx, 0x20
mov eax, dword [0x6cc884]
call fcn.00628550
test al, al
jne 0x6b68aa
mov eax, 0x6b7140
call fcn.0060bae4
cmp dword [0x6d58f8], 0
je 0x6b68c5
lea eax, [ebp - 4]
mov edx, dword [0x6ccd48]
mov edx, dword [edx]
call fcn.0040a68c
jmp 0x6b68d0
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.006b65c8
mov eax, dword [0x6cc884]
test byte [eax + 0x1d], 0x80
setne al
call fcn.006ae610
mov eax, dword [0x6cc884]
cmp byte [eax + 0x10], 0
je 0x6b6909
mov eax, dword [0x6cca1c]
cmp byte [eax], 0
jne 0x6b6900
mov eax, 0x6b71d8
call fcn.0060bae4
mov al, 1
call fcn.006ae738
jmp 0x6b6910
xor eax, eax
call fcn.006ae738
call fcn.006ab688
cmp dword [ebp - 4], 0
je 0x6b6a4a
call fcn.006aaff8
call fcn.006ab9c4
mov eax, dword [0x6cc900]
mov edx, dword [0x6d58d0]
call fcn.0040a5a8
mov eax, dword [0x6cce00]
mov edx, dword [0x6cc884]
mov edx, dword [edx + 0x14]
call fcn.0040a5a8
movzx eax, byte [0x6d58e7]
or al, byte [0x6d58e8]
mov edx, dword [0x6ccadc]
mov byte [edx], al
mov eax, dword [0x6cd0c8]
mov edx, dword [ebp - 0x18]
call fcn.0040a5a8
mov eax, dword [0x6ccc5c]
mov edx, dword [ebp - 0x14]
call fcn.0040a5a8
mov eax, dword [0x6cca38]
mov edx, dword [ebp - 0x10]
call fcn.0040a5a8
mov eax, dword [0x6ccb10]
mov edx, dword [ebp - 0xc]
call fcn.0040a5a8
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x6b69a3
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.006b6510
mov dl, 1
mov eax, dword [0x6a09c8]
call fcn.006a1e84
mov edx, dword [0x6ccb48]
mov dword [edx], eax
mov eax, dword [0x6ccb48]
mov eax, dword [eax]
add eax, 4
mov edx, 0x6b726c
call fcn.0040a5a8
mov eax, 0x6aced4
mov edx, dword [0x6ccb48]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x6acedc
mov edx, dword [0x6ccb48]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x6acee4
mov edx, dword [0x6ccb48]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x6ad104
mov edx, dword [0x6ccb48]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x6ad11c
mov edx, dword [0x6ccb48]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x6ad128
mov edx, dword [0x6ccb48]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6ccc0c]
mov ecx, dword [ecx]
mov eax, dword [0x6ccb48]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006a1f7c
xor edx, edx
push ebp
push 0x6b6ea2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6b6dd5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6ccb48]
cmp dword [eax], 0
je 0x6b6adb
xor edx, edx
push ebp
push 0x6b6aaf
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 2
push 0
push 1
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x6ccb48]
mov eax, dword [eax]
mov edx, 0x6b7284
call fcn.006a25e4
pop dword fs:[0]
add esp, 8
jmp 0x6b6ac8
test al, al
jne 0x6b6adb
mov eax, 0x6b7314
call fcn.00614eec
call fcn.00428fdc
cmp byte [0x6d58e7], 0
jne 0x6b6b17
cmp byte [0x6d58e8], 0
jne 0x6b6b17
push 0x124
push 1
push 6
mov eax, dword [0x6cc884]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d58e0]
mov ax, 0x2d
call fcn.006b5630
cmp eax, 6
je 0x6b6b17
call fcn.00428fdc
xor edx, edx
xor eax, eax
call fcn.006b5dc8
jmp 0x6b6b47
push 0x31
push 1
push 2
mov eax, dword [0x6cc884]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d58e0]
mov ax, 0xe5
call fcn.006b5630
dec eax
je 0x6b6b47
call fcn.00428fdc
mov eax, dword [0x6cc884]
call fcn.00628598
test al, al
jne 0x6b6b22
jmp 0x6b6b6a
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
call fcn.005b89d0
mov eax, dword [0x6cd16c]
cmp byte [eax], 0
jne 0x6b6b57
mov eax, dword [0x6cc8d8]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6cc884]
mov edx, dword [eax + 0x18]
mov ax, 0xc8
call fcn.005cd7d4
mov edx, dword [ebp - 0x48]
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005c8a5c
call fcn.006b5464
xor edx, edx
mov al, 1
call fcn.006b5dc8
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6cc884]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x6b58b8
mov dl, 1
mov eax, dword [0x6cc884]
call fcn.006293b0
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x6ccd9c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x6b737c
call fcn.00615170
mov eax, dword [0x6cc884]
cmp byte [eax + 0x1c], 0
jne 0x6b6c17
mov eax, dword [0x6cc884]
test byte [eax + 0x1d], 8
jne 0x6b6c17
xor eax, eax
jmp 0x6b6c19
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x6ccb48]
cmp dword [eax], 0
je 0x6b6cbb
mov eax, dword [0x6ccb48]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x6b73a8
call fcn.006a21d8
test al, al
je 0x6b6cbb
cmp byte [ebp - 0x23], 0
jne 0x6b6cb1
xor eax, eax
push ebp
push 0x6b6c96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x6ccb48]
mov eax, dword [eax]
mov edx, 0x6b73a8
call fcn.006a25e4
test al, al
je 0x6b6c8c
mov byte [ebp - 0x23], 1
mov eax, 0x6b73cc
call fcn.00614eec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b6cbb
mov eax, 0x6b74ac
call fcn.00614eec
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x6ccd9c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x6b7564
call fcn.00615170
cmp byte [0x6d58e8], 0
jne 0x6b6d16
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
call fcn.005b89d0
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x6b6d16
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x6b6ce7
mov eax, dword [0x6cca58]
mov eax, dword [eax]
mov edx, dword [0x6cca58]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
mov dl, 1
mov al, 2
call fcn.006b5dc8
cmp byte [ebp - 0x23], 0
jne 0x6b6d77
cmp byte [0x6d58e7], 0
jne 0x6b6dc2
cmp byte [0x6d58e8], 0
jne 0x6b6dc2
push 0x10040
push 1
push 1
mov eax, dword [0x6cc884]
mov edx, dword [eax + 0x18]
movzx eax, byte [ebp - 0x22]
movzx eax, word [eax*2 + 0x6cc890]
mov ecx, dword [0x6d58e0]
call fcn.006b5630
jmp 0x6b6dc2
cmp byte [0x6d58e9], 0
jne 0x6b6db2
cmp byte [0x6d58e8], 0
jne 0x6b6dae
push 0x10024
push 1
push 6
mov eax, dword [0x6cc884]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d58e0]
mov ax, 0xe3
call fcn.006b5630
cmp eax, 6
jne 0x6b6db2
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x6b6dc2
mov eax, 0x6b75a8
call fcn.00614eec
mov dl, 1
mov al, 3
call fcn.006b5dc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b6de9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b6eac
xor edx, edx
push ebp
push 0x6b6e24
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6cca58]
mov eax, dword [eax]
mov edx, dword [0x6cca58]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b6e33
mov eax, dword [0x6ccb48]
cmp dword [eax], 0
je 0x6b6e8f
xor eax, eax
push ebp
push 0x6b6e76
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x6ccb48]
mov eax, dword [eax]
mov edx, 0x6b7604
call fcn.006a237c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b6e8f
mov eax, dword [0x6ccec0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005c8aec
ret