Function at 0x6b786c
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 0x6b81f9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6d68e8], 0
je 0x6b78bd
xor eax, eax
call fcn.006ae6f8
mov byte [ebp - 0x21], 0
mov eax, dword [0x6cdda8]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x6cd8dc]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x6b813a
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x6d68f8], 0
je 0x6b78fb
mov dl, 1
mov eax, dword [0x6d68f8]
call fcn.006153ac
cmp byte [0x6d68e6], 0
je 0x6b7968
xor eax, eax
push ebp
push 0x6b793b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6d68ec], 0
jne 0x6b7927
mov eax, 0x6b8214
call fcn.00615ef0
jmp 0x6b7931
mov eax, dword [0x6d68ec]
call fcn.006160d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b7968
mov eax, 0x6b827c
call fcn.00616130
lea eax, [ebp - 0x2c]
mov ecx, dword [0x6d68d0]
mov edx, 0x6b82d8
call fcn.0040b4c8
mov eax, dword [ebp - 0x2c]
call fcn.00616130
lea eax, [ebp - 0x30]
mov ecx, dword [0x6d68d4]
mov edx, 0x6b8318
call fcn.0040b4c8
mov eax, dword [ebp - 0x30]
call fcn.00616130
lea eax, [ebp - 0x38]
call fcn.005c6e90
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x6b8344
call fcn.0040b4c8
mov eax, dword [ebp - 0x34]
call fcn.00616130
call fcn.006ae8a8
xor eax, eax
call fcn.006b7198
mov dword [0x6d68dc], eax
mov dl, 1
mov eax, dword [0x6b63e8]
call fcn.006292dc
mov dword [0x6cd888], eax
mov ecx, dword [0x6d68d4]
mov edx, dword [0x6d68dc]
mov eax, dword [0x6cd888]
call fcn.0062c5d0
lea ecx, [ebp - 0x3c]
mov eax, dword [0x6cd888]
mov edx, dword [eax + 0x18]
mov ax, 0xd9
call fcn.005cd508
mov edx, dword [ebp - 0x3c]
mov eax, 0x6d68e0
call fcn.0040a5a8
mov eax, dword [0x6cd888]
test byte [eax + 0x1d], 0x20
je 0x6b7a65
mov eax, dword [0x6cda20]
cmp byte [eax], 0
jne 0x6b7a65
push 1
push 1
mov eax, dword [0x6d68e0]
call fcn.0040b278
push eax
mov eax, dword [0x6cded8]
mov eax, dword [eax + 0x39c]
call fcn.0040b278
mov ecx, 0x30
pop edx
call fcn.006af190
call fcn.00428fdc
mov eax, dword [0x6cd888]
test byte [eax + 0x1d], 1
je 0x6b7aa9
mov eax, dword [0x6cdcc4]
cmp byte [eax], 0
jne 0x6b7aa9
push 1
push 1
mov eax, dword [0x6d68e0]
call fcn.0040b278
push eax
mov eax, dword [0x6cded8]
mov eax, dword [eax + 0x23c]
call fcn.0040b278
mov ecx, 0x30
pop edx
call fcn.006af190
call fcn.00428fdc
mov eax, dword [0x6d68dc]
xor edx, edx
mov dword [0x6d68dc], edx
call fcn.00408444
mov al, 2
call fcn.006b7198
mov dword [0x6d68dc], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86020000
mov dx, 0x20
mov eax, dword [0x6cd888]
call fcn.00629794
test al, al
jne 0x6b7aee
mov eax, 0x6b8384
call fcn.0060cd28
cmp dword [0x6d68f8], 0
je 0x6b7b09
lea eax, [ebp - 4]
mov edx, dword [0x6cdd4c]
mov edx, dword [edx]
call fcn.0040a68c
jmp 0x6b7b14
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.006b780c
mov eax, dword [0x6cd888]
test byte [eax + 0x1d], 0x80
setne al
call fcn.006af854
mov eax, dword [0x6cd888]
cmp byte [eax + 0x10], 0
je 0x6b7b4d
mov eax, dword [0x6cda20]
cmp byte [eax], 0
jne 0x6b7b44
mov eax, 0x6b841c
call fcn.0060cd28
mov al, 1
call fcn.006af97c
jmp 0x6b7b54
xor eax, eax
call fcn.006af97c
call fcn.006ac8cc
cmp dword [ebp - 4], 0
je 0x6b7c8e
call fcn.006ac23c
call fcn.006acc08
mov eax, dword [0x6cd904]
mov edx, dword [0x6d68d0]
call fcn.0040a5a8
mov eax, dword [0x6cde04]
mov edx, dword [0x6cd888]
mov edx, dword [edx + 0x14]
call fcn.0040a5a8
movzx eax, byte [0x6d68e7]
or al, byte [0x6d68e8]
mov edx, dword [0x6cdae0]
mov byte [edx], al
mov eax, dword [0x6ce0cc]
mov edx, dword [ebp - 0x18]
call fcn.0040a5a8
mov eax, dword [0x6cdc60]
mov edx, dword [ebp - 0x14]
call fcn.0040a5a8
mov eax, dword [0x6cda3c]
mov edx, dword [ebp - 0x10]
call fcn.0040a5a8
mov eax, dword [0x6cdb14]
mov edx, dword [ebp - 0xc]
call fcn.0040a5a8
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x6b7be7
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.006b7754
mov dl, 1
mov eax, dword [0x6a1c0c]
call fcn.006a30c8
mov edx, dword [0x6cdb4c]
mov dword [edx], eax
mov eax, dword [0x6cdb4c]
mov eax, dword [eax]
add eax, 4
mov edx, 0x6b84b0
call fcn.0040a5a8
mov eax, 0x6ae118
mov edx, dword [0x6cdb4c]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x6ae120
mov edx, dword [0x6cdb4c]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x6ae128
mov edx, dword [0x6cdb4c]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x6ae348
mov edx, dword [0x6cdb4c]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x6ae360
mov edx, dword [0x6cdb4c]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x6ae36c
mov edx, dword [0x6cdb4c]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x6cdc10]
mov ecx, dword [ecx]
mov eax, dword [0x6cdb4c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006a31c0
xor edx, edx
push ebp
push 0x6b80e6
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6b8019
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6cdb4c]
cmp dword [eax], 0
je 0x6b7d1f
xor edx, edx
push ebp
push 0x6b7cf3
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 [0x6cdb4c]
mov eax, dword [eax]
mov edx, 0x6b84c8
call fcn.006a3828
pop dword fs:[0]
add esp, 8
jmp 0x6b7d0c
test al, al
jne 0x6b7d1f
mov eax, 0x6b8558
call fcn.00616130
call fcn.00428fdc
cmp byte [0x6d68e7], 0
jne 0x6b7d5b
cmp byte [0x6d68e8], 0
jne 0x6b7d5b
push 0x124
push 1
push 6
mov eax, dword [0x6cd888]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d68e0]
mov ax, 0x2d
call fcn.006b6874
cmp eax, 6
je 0x6b7d5b
call fcn.00428fdc
xor edx, edx
xor eax, eax
call fcn.006b700c
jmp 0x6b7d8b
push 0x31
push 1
push 2
mov eax, dword [0x6cd888]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d68e0]
mov ax, 0xe5
call fcn.006b6874
dec eax
je 0x6b7d8b
call fcn.00428fdc
mov eax, dword [0x6cd888]
call fcn.006297dc
test al, al
jne 0x6b7d66
jmp 0x6b7dae
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
call fcn.005b8704
mov eax, dword [0x6ce170]
cmp byte [eax], 0
jne 0x6b7d9b
mov eax, dword [0x6cd8dc]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6cd888]
mov edx, dword [eax + 0x18]
mov ax, 0xc8
call fcn.005cd508
mov edx, dword [ebp - 0x48]
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005c8790
call fcn.006b66a8
xor edx, edx
mov al, 1
call fcn.006b700c
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x6cd888]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x6b6afc
mov dl, 1
mov eax, dword [0x6cd888]
call fcn.0062a5f4
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x6cdda0]
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, 0x6b85c0
call fcn.006163b4
mov eax, dword [0x6cd888]
cmp byte [eax + 0x1c], 0
jne 0x6b7e5b
mov eax, dword [0x6cd888]
test byte [eax + 0x1d], 8
jne 0x6b7e5b
xor eax, eax
jmp 0x6b7e5d
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x6cdb4c]
cmp dword [eax], 0
je 0x6b7eff
mov eax, dword [0x6cdb4c]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x6b85ec
call fcn.006a341c
test al, al
je 0x6b7eff
cmp byte [ebp - 0x23], 0
jne 0x6b7ef5
xor eax, eax
push ebp
push 0x6b7eda
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 [0x6cdb4c]
mov eax, dword [eax]
mov edx, 0x6b85ec
call fcn.006a3828
test al, al
je 0x6b7ed0
mov byte [ebp - 0x23], 1
mov eax, 0x6b8610
call fcn.00616130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b7eff
mov eax, 0x6b86f0
call fcn.00616130
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x6cdda0]
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, 0x6b87a8
call fcn.006163b4
cmp byte [0x6d68e8], 0
jne 0x6b7f5a
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
call fcn.005b8704
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x6b7f5a
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x6b7f2b
mov eax, dword [0x6cda5c]
mov eax, dword [eax]
mov edx, dword [0x6cda5c]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
mov dl, 1
mov al, 2
call fcn.006b700c
cmp byte [ebp - 0x23], 0
jne 0x6b7fbb
cmp byte [0x6d68e7], 0
jne 0x6b8006
cmp byte [0x6d68e8], 0
jne 0x6b8006
push 0x10040
push 1
push 1
mov eax, dword [0x6cd888]
mov edx, dword [eax + 0x18]
movzx eax, byte [ebp - 0x22]
movzx eax, word [eax*2 + 0x6cd894]
mov ecx, dword [0x6d68e0]
call fcn.006b6874
jmp 0x6b8006
cmp byte [0x6d68e9], 0
jne 0x6b7ff6
cmp byte [0x6d68e8], 0
jne 0x6b7ff2
push 0x10024
push 1
push 6
mov eax, dword [0x6cd888]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6d68e0]
mov ax, 0xe3
call fcn.006b6874
cmp eax, 6
jne 0x6b7ff6
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x6b8006
mov eax, 0x6b87ec
call fcn.00616130
mov dl, 1
mov al, 3
call fcn.006b700c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b802d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b80f0
xor edx, edx
push ebp
push 0x6b8068
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6cda5c]
mov eax, dword [eax]
mov edx, dword [0x6cda5c]
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 0x6b8077
mov eax, dword [0x6cdb4c]
cmp dword [eax], 0
je 0x6b80d3
xor eax, eax
push ebp
push 0x6b80ba
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 [0x6cdb4c]
mov eax, dword [eax]
mov edx, 0x6b8848
call fcn.006a35c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b80d3
mov eax, dword [0x6cdec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005c8820
ret