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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov ebp, ecx
movzx eax, byte [0x101af134]
add eax, dword [ebp + 0x1fa]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
xor eax, eax
mov byte [esp + 0x12], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 5
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], al
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
movzx ecx, byte [0x101af135]
sub eax, dword [ebp + 0x1bfc]
imul ecx, ecx, 0x7530
cmp eax, ecx
jbe 0x1006cf34
mov byte [esp + 0x13], 1
cmp dword [ebp + 0x1bf8], 0x32
ja 0x1006d26e
lea ebx, [ebp + 0x2c]
jmp 0x1006cf4a
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 4]
test eax, eax
je 0x1006d234
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006d234
mov eax, dword [ebx + 4]
test eax, eax
je 0x1006cf90
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x1006cf95
call fcn.10149775
mov eax, dword [ebx + 4]
test eax, eax
mov esi, dword [ebx + 4]
mov ecx, 0xa
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
je 0x1006cfc2
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1006cfc7
call fcn.10149775
mov esi, dword [ebx + 4]
add esi, 4
mov ecx, 8
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x1006cfe6
call fcn.10149775
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [ebx + 8]
push edx
push eax
push esi
push ecx
add esi, 0x28
push esi
call fcn.100369e0
add dword [ebx + 8], 0xffffffd8
xor eax, eax
add esp, 0x18
cmp dword [ebp + 0x10], eax
jbe 0x1006d01b
mov byte [esp + 0x12], 1
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
add ebp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov edi, ebp
mov eax, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], eax
jmp 0x1006d040
test edi, edi
je 0x1006d048
cmp edi, ebp
je 0x1006d04d
call fcn.10149775
cmp esi, dword [esp + 0x48]
je 0x1006d0c0
test edi, edi
jne 0x1006d05c
call fcn.10149775
cmp esi, dword [edi + 4]
jne 0x1006d066
call fcn.10149775
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esi + 0x34]
je 0x1006cf46
cmp esi, dword [edi + 4]
jne 0x1006d07d
call fcn.10149775
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
jne 0x1006d0ad
add dword [esp + 0x24], 1
cmp esi, dword [edi + 4]
jne 0x1006d09a
call fcn.10149775
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
test al, al
je 0x1006d0ad
add dword [esp + 0x14], 1
lea ecx, [esp + 0x38]
call fcn.100655d0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x1006d040
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 5]
cmp eax, 0x1e
ja 0x1006d0d1
mov eax, 0x1e
cmp dword [esp + 0x24], eax
ja 0x1006d230
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x1006d1c4
movzx ecx, byte [0x101af134]
cmp dword [esp + 0x2c], ecx
jae 0x1006d210
cmp byte [esp + 0x13], 0
je 0x1006d210
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.10065e10
test al, al
jne 0x1006d210
mov ecx, esi
call fcn.10065d40
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.10066770
mov eax, dword [esp + 0x30]
test eax, eax
mov edi, dword [ebp + 4]
je 0x1006d141
cmp eax, ebp
je 0x1006d146
call fcn.10149775
cmp dword [esp + 0x34], edi
je 0x1006d210
lea ecx, [esp + 0x30]
call fcn.10065f00
add eax, 0x5c
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
test eax, eax
jne 0x1006d210
lea ecx, [esp + 0x30]
call fcn.10065f00
add eax, 0x5c
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x90]
call eax
movzx ecx, byte [0x101af136]
shl ecx, 0xa
cmp eax, ecx
jae 0x1006d210
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add dword [esp + 0x2c], 1
lea ecx, [esp + 0x30]
mov dword [esi + 0x1bfc], eax
call fcn.10065f00
add eax, 0x5c
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
jmp 0x1006d1d2
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x1c], eax
ja 0x1006d1d2
mov dword [esp + 0x1c], eax
push 0
sub esp, 0x24
mov edi, esp
mov ecx, 8
lea esi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
movsb byte es:[edi], byte [esi]
call fcn.1006afb0
test al, al
je 0x1006d1fc
add dword [esp + 0x28], 1
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
jae 0x1006d230
cmp eax, 5
jae 0x1006d230
jmp 0x1006cf46
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x1006d21d
call fcn.10149775
lea ecx, [esp + 0x70]
push ecx
push esi
push ebx
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
call fcn.10037890
mov ebp, dword [esp + 0x18]
cmp byte [esp + 0x12], 0
mov ecx, ebp
jne 0x1006d257
mov eax, dword [ebp + 0x194]
push 1
push eax
push 2
push 0
call fcn.10065250
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x3e8
push 0
push 0
mov byte [ebp + 0x1c00], 0
call fcn.10065250
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret