Function at 0x6b7ed0
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 0x6b885d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6d78e8], 0
je 0x6b7f21
xor eax, eax
call fcn.006aed14
mov byte [ebp - 0x21], 0
mov eax, dword [0x6ceda8]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x6ce8dc]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x6b879e
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x6d78f8], 0
je 0x6b7f5f
mov dl, 1
mov eax, dword [0x6d78f8]
call fcn.006159c8
cmp byte [0x6d78e6], 0
je 0x6b7fcc
xor eax, eax
push ebp
push 0x6b7f9f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6d78ec], 0
jne 0x6b7f8b
mov eax, 0x6b8878
call fcn.0061650c
jmp 0x6b7f95
mov eax, dword [0x6d78ec]
call fcn.006166f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b7fcc
mov eax, 0x6b88e0
call fcn.0061674c
lea eax, [ebp - 0x2c]
mov ecx, dword [0x6d78d0]
mov edx, 0x6b893c
call fcn.0040b4c8
mov eax, dword [ebp - 0x2c]
call fcn.0061674c
lea eax, [ebp - 0x30]
mov ecx, dword [0x6d78d4]
mov edx, 0x6b897c
call fcn.0040b4c8
mov eax, dword [ebp - 0x30]
call fcn.0061674c
lea eax, [ebp - 0x38]
call fcn.005c6ea8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x6b89a8
call fcn.0040b4c8
mov eax, dword [ebp - 0x34]
call fcn.0061674c
call fcn.006aeec4
xor eax, eax
call fcn.006b77b4
mov dword [0x6d78dc], eax
mov dl, 1
mov eax, dword [0x6b6a04]
call fcn.006298f8
mov dword [0x6ce888], eax
mov ecx, dword [0x6d78d4]
mov edx, dword [0x6d78dc]
mov eax, dword [0x6ce888]
call fcn.0062cbec
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6ce888]
mov edx, dword [eax + 0x18]
mov ax, 0xd9
call fcn.005cd844
mov edx, dword [ebp - 0x3c]
mov eax, 0x6d78e0
call fcn.0040a5a8
mov eax, dword [0x6ce888]
test byte [eax + 0x1d], 0x20
je 0x6b80c9
mov eax, dword [0x6cea20]
cmp byte [eax], 0
jne 0x6b80c9
push 1
push 1
mov eax, dword [0x6d78e0]
call fcn.0040b278
push eax
mov eax, dword [0x6ceed8]
mov eax, dword [eax + 0x39c]
call fcn.0040b278
mov ecx, 0x30
pop edx
call fcn.006af7ac
call fcn.00428ff4
mov eax, dword [0x6ce888]
test byte [eax + 0x1d], 1
je 0x6b810d
mov eax, dword [0x6cecc4]
cmp byte [eax], 0
jne 0x6b810d
push 1
push 1
mov eax, dword [0x6d78e0]
call fcn.0040b278
push eax
mov eax, dword [0x6ceed8]
mov eax, dword [eax + 0x23c]
call fcn.0040b278
mov ecx, 0x30
pop edx
call fcn.006af7ac
call fcn.00428ff4
mov eax, dword [0x6d78dc]
xor edx, edx
mov dword [0x6d78dc], edx
call fcn.00408444
mov al, 2
call fcn.006b77b4
mov dword [0x6d78dc], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86020100
mov dx, 0x20
mov eax, dword [0x6ce888]
call fcn.00629db0
test al, al
jne 0x6b8152
mov eax, 0x6b89e8
call fcn.0060d064
cmp dword [0x6d78f8], 0
je 0x6b816d
lea eax, [ebp - 4]
mov edx, dword [0x6ced4c]
mov edx, dword [edx]
call fcn.0040a68c
jmp 0x6b8178
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.006b7e70
mov eax, dword [0x6ce888]
test byte [eax + 0x1d], 0x80
setne al
call fcn.006afe70
mov eax, dword [0x6ce888]
cmp byte [eax + 0x10], 0
je 0x6b81b1
mov eax, dword [0x6cea20]
cmp byte [eax], 0
jne 0x6b81a8
mov eax, 0x6b8a80
call fcn.0060d064
mov al, 1
call fcn.006aff98
jmp 0x6b81b8
xor eax, eax
call fcn.006aff98
call fcn.006acee8
cmp dword [ebp - 4], 0
je 0x6b82f2
call fcn.006ac858
call fcn.006ad224
mov eax, dword [0x6ce904]
mov edx, dword [0x6d78d0]
call fcn.0040a5a8
mov eax, dword [0x6cee04]
mov edx, dword [0x6ce888]
mov edx, dword [edx + 0x14]
call fcn.0040a5a8
movzx eax, byte [0x6d78e7]
or al, byte [0x6d78e8]
mov edx, dword [0x6ceae0]
mov byte [edx], al
mov eax, dword [0x6cf0cc]
mov edx, dword [ebp - 0x18]
call fcn.0040a5a8
mov eax, dword [0x6cec60]
mov edx, dword [ebp - 0x14]
call fcn.0040a5a8
mov eax, dword [0x6cea3c]
mov edx, dword [ebp - 0x10]
call fcn.0040a5a8
mov eax, dword [0x6ceb14]
mov edx, dword [ebp - 0xc]
call fcn.0040a5a8
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x6b824b
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.006b7db8
mov dl, 1
mov eax, dword [0x6a2228]
call fcn.006a36e4
mov edx, dword [0x6ceb4c]
mov dword [edx], eax
mov eax, dword [0x6ceb4c]
mov eax, dword [eax]
add eax, 4
mov edx, 0x6b8b14
call fcn.0040a5a8
mov eax, 0x6ae734
mov edx, dword [0x6ceb4c]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x6ae73c
mov edx, dword [0x6ceb4c]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x6ae744
mov edx, dword [0x6ceb4c]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x6ae964
mov edx, dword [0x6ceb4c]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x6ae97c
mov edx, dword [0x6ceb4c]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x6ae988
mov edx, dword [0x6ceb4c]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6cec10]
mov ecx, dword [ecx]
mov eax, dword [0x6ceb4c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006a37dc
xor edx, edx
push ebp
push 0x6b874a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6b867d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6ceb4c]
cmp dword [eax], 0
je 0x6b8383
xor edx, edx
push ebp
push 0x6b8357
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 [0x6ceb4c]
mov eax, dword [eax]
mov edx, 0x6b8b2c
call fcn.006a3e44
pop dword fs:[0]
add esp, 8
jmp 0x6b8370
test al, al
jne 0x6b8383
mov eax, 0x6b8bbc
call fcn.0061674c
call fcn.00428ff4
cmp byte [0x6d78e7], 0
jne 0x6b83bf
cmp byte [0x6d78e8], 0
jne 0x6b83bf
push 0x124
push 1
push 6
mov eax, dword [0x6ce888]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d78e0]
mov ax, 0x2d
call fcn.006b6e90
cmp eax, 6
je 0x6b83bf
call fcn.00428ff4
xor edx, edx
xor eax, eax
call fcn.006b7628
jmp 0x6b83ef
push 0x31
push 1
push 2
mov eax, dword [0x6ce888]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d78e0]
mov ax, 0xe5
call fcn.006b6e90
dec eax
je 0x6b83ef
call fcn.00428ff4
mov eax, dword [0x6ce888]
call fcn.00629df8
test al, al
jne 0x6b83ca
jmp 0x6b8412
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x6ceec4]
mov eax, dword [eax]
call fcn.005b871c
mov eax, dword [0x6cf170]
cmp byte [eax], 0
jne 0x6b83ff
mov eax, dword [0x6ce8dc]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6ce888]
mov edx, dword [eax + 0x18]
mov ax, 0xc8
call fcn.005cd844
mov edx, dword [ebp - 0x48]
mov eax, dword [0x6ceec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005c8acc
call fcn.006b6cc4
xor edx, edx
mov al, 1
call fcn.006b7628
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6ce888]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x6b7118
mov dl, 1
mov eax, dword [0x6ce888]
call fcn.0062ac10
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x6ceda0]
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, 0x6b8c24
call fcn.006169d0
mov eax, dword [0x6ce888]
cmp byte [eax + 0x1c], 0
jne 0x6b84bf
mov eax, dword [0x6ce888]
test byte [eax + 0x1d], 8
jne 0x6b84bf
xor eax, eax
jmp 0x6b84c1
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x6ceb4c]
cmp dword [eax], 0
je 0x6b8563
mov eax, dword [0x6ceb4c]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x6b8c50
call fcn.006a3a38
test al, al
je 0x6b8563
cmp byte [ebp - 0x23], 0
jne 0x6b8559
xor eax, eax
push ebp
push 0x6b853e
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 [0x6ceb4c]
mov eax, dword [eax]
mov edx, 0x6b8c50
call fcn.006a3e44
test al, al
je 0x6b8534
mov byte [ebp - 0x23], 1
mov eax, 0x6b8c74
call fcn.0061674c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b8563
mov eax, 0x6b8d54
call fcn.0061674c
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x6ceda0]
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, 0x6b8e0c
call fcn.006169d0
cmp byte [0x6d78e8], 0
jne 0x6b85be
mov eax, dword [0x6ceec4]
mov eax, dword [eax]
call fcn.005b871c
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x6b85be
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x6b858f
mov eax, dword [0x6cea5c]
mov eax, dword [eax]
mov edx, dword [0x6cea5c]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
mov dl, 1
mov al, 2
call fcn.006b7628
cmp byte [ebp - 0x23], 0
jne 0x6b861f
cmp byte [0x6d78e7], 0
jne 0x6b866a
cmp byte [0x6d78e8], 0
jne 0x6b866a
push 0x10040
push 1
push 1
mov eax, dword [0x6ce888]
mov edx, dword [eax + 0x18]
movzx eax, byte [ebp - 0x22]
movzx eax, word [eax*2 + 0x6ce894]
mov ecx, dword [0x6d78e0]
call fcn.006b6e90
jmp 0x6b866a
cmp byte [0x6d78e9], 0
jne 0x6b865a
cmp byte [0x6d78e8], 0
jne 0x6b8656
push 0x10024
push 1
push 6
mov eax, dword [0x6ce888]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d78e0]
mov ax, 0xe3
call fcn.006b6e90
cmp eax, 6
jne 0x6b865a
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x6b866a
mov eax, 0x6b8e50
call fcn.0061674c
mov dl, 1
mov al, 3
call fcn.006b7628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b8691
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8754
xor edx, edx
push ebp
push 0x6b86cc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6cea5c]
mov eax, dword [eax]
mov edx, dword [0x6cea5c]
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 0x6b86db
mov eax, dword [0x6ceb4c]
cmp dword [eax], 0
je 0x6b8737
xor eax, eax
push ebp
push 0x6b871e
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 [0x6ceb4c]
mov eax, dword [eax]
mov edx, 0x6b8eac
call fcn.006a3bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b8737
mov eax, dword [0x6ceec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005c8b5c
ret