Function at 0x10006c00
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004fbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100668d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0
push 1
mov eax, dword [ebp - 0x6c]
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10006c44
xor eax, eax
jmp 0x10006f00
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
call fcn.10006f20
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 4], 2
jne 0x10006cdc
lea ecx, [ebp - 0x40]
call fcn.10006fa0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
lea ecx, [ebp - 0x40]
call fcn.10007000
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x10], 1
jne 0x10006cbd
cmp dword [ebp + 0xc], 0
je 0x10006ca5
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10006f20
push 1
push 2
mov edx, dword [ebp - 0x6c]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10006fe0
mov eax, dword [ebp - 0x68]
jmp 0x10006f00
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 4], 1
jne 0x10006d09
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x1c], 0
jne 0x10006d09
xor eax, eax
jmp 0x10006f00
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x6c]
call fcn.10006950
push 0
push 0
mov ecx, dword [ebp - 0x6c]
push ecx
push 0x10007b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10006d4c
mov ecx, dword [ebp - 0x6c]
call fcn.10006970
jmp 0x10006ec0
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 4], 4
jne 0x10006d61
mov dword [ebp - 0x10], 1
jmp 0x10006eb8
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 4], 3
jne 0x10006d95
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
xor edx, edx
cmp dword [ebp - 0x44], 0
sete dl
mov dword [ebp - 0x10], edx
jmp 0x10006eb8
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 4], 1
jne 0x10006eb8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x60], 0x1f4
mov dword [ebp - 0x50], 2
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jb 0x10006e39
mov ecx, dword [ebp - 0x50]
sub ecx, 1
cmp dword [ebp - 0x54], ecx
ja 0x10006e39
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
jne 0x10006e2f
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x10], 1
jne 0x10006e07
jmp 0x10006e82
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x14], 3
jne 0x10006e12
jmp 0x10006e82
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x14], 1
je 0x10006e24
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 2
jne 0x10006e2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
jmp 0x10006e37
cmp dword [ebp - 0x64], 1
jne 0x10006e37
jmp 0x10006e82
jmp 0x10006e7d
cmp dword [ebp - 0x54], 0x102
jne 0x10006e7b
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x2c], 0xffffffff
je 0x10006e6b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.10006f70
add esp, 0xc
test eax, eax
je 0x10006e6b
jmp 0x10006e82
mov ecx, dword [ebp - 0x6c]
call fcn.10007a20
test eax, eax
jne 0x10006e79
jmp 0x10006e82
jmp 0x10006e7d
jmp 0x10006e82
jmp 0x10006dab
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x10], 1
jne 0x10006eb8
cmp dword [ebp + 0xc], 0
je 0x10006ea0
mov eax, dword [ebp - 0x6c]
add eax, 0x30
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10006f20
push 1
push 2
mov ecx, dword [ebp - 0x6c]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [ebp - 0x10], 1
xor edx, edx
jne 0x10006d10
cmp dword [ebp - 0x14], 0
je 0x10006ed0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x24], 0
je 0x10006efd
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10006efd
push 0
push 0
push 0x12
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8