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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov dword [ebp - 0x3c], 0
push 4
push 0x2dfae6c
call fcn.10003990
test eax, eax
jne 0x100129b8
mov eax, dword [0x2dfae6c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jbe 0x10012e06
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x40], 0
push 4
push 0x2d64ca8
call fcn.10003990
test eax, eax
jne 0x100129f0
mov eax, dword [0x2d64ca8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
jbe 0x10012e06
mov edx, dword [ebp - 0x44]
add edx, 0xc
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], 0
push 4
mov eax, dword [ebp - 0x48]
push eax
call fcn.10003990
test eax, eax
jne 0x10012a27
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0x32
jbe 0x10012e06
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 1
jmp 0x10012a51
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 5
ja 0x10012b8a
imul ecx, dword [ebp - 0x2c], 0x4c8
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x50], 0
push 1
mov edx, dword [ebp - 0x30]
push edx
call fcn.10003990
test eax, eax
jne 0x10012aae
lea eax, [ebp - 0x50]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xc], 0
jmp 0x10012a96
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 1
jge 0x10012aae
mov edx, dword [ebp - 0x7c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x10012a8d
cmp dword [ebp - 0x50], 2
jne 0x10012b85
mov edx, dword [ebp - 0x30]
add edx, 0x47
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], 0
push 1
mov eax, dword [ebp - 0x54]
push eax
call fcn.10003990
test eax, eax
jne 0x10012b07
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x10], 0
jmp 0x10012aef
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 1
jge 0x10012b07
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x10012ae6
cmp dword [ebp - 0x58], 0
jne 0x10012b73
mov eax, dword [ebp - 0x30]
add eax, 0x48
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.10003990
test eax, eax
jne 0x10012b62
lea edx, [ebp - 0x60]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x14], 0
jmp 0x10012b47
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10012b62
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x10012b3e
cmp dword [ebp - 0x60], 1
jne 0x10012b71
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x10012b7c
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
jmp 0x10012a48
mov dword [ebp - 0x34], 0
jmp 0x10012b9c
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 6
jae 0x10012e06
imul edx, dword [ebp - 0x34], 0x4c8
add edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x64], 0
push 1
mov eax, dword [ebp - 8]
push eax
call fcn.10003990
test eax, eax
jne 0x10012bff
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x1c], 0
jmp 0x10012be4
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 1
jge 0x10012bff
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x10012bdb
cmp dword [ebp - 0x64], 2
jne 0x10012e01
mov eax, dword [ebp - 8]
add eax, 0x21
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.1000b2c0
add esp, 8
mov dword [ebp - 0x90], eax
mov edx, dword [0x1006be78]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x90]
call fcn.1002f5e0
test eax, eax
jne 0x10012c50
mov dword [ebp - 0x68], 1
jmp 0x10012c57
mov dword [ebp - 0x68], 0
mov cl, byte [ebp - 0x68]
mov byte [ebp - 1], cl
mov edx, dword [ebp - 0x94]
sub edx, 0x10
mov dword [ebp - 0x98], edx
mov ecx, dword [ebp - 0x98]
call fcn.10003260
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10012e01
mov ecx, dword [ebp - 8]
add ecx, 0x47
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], 0
push 1
mov edx, dword [ebp - 0x6c]
push edx
call fcn.10003990
test eax, eax
jne 0x10012cd8
lea eax, [ebp - 0x70]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x20], 0
jmp 0x10012cbd
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 1
jge 0x10012cd8
mov edx, dword [ebp - 0x9c]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x20]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x10012cb4
cmp dword [ebp - 0x70], 0
jne 0x10012dc7
mov edx, dword [ebp - 8]
add edx, 0x48
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], 0
push 1
mov eax, dword [ebp - 0x74]
push eax
call fcn.10003990
test eax, eax
jne 0x10012d37
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x24], 0
jmp 0x10012d1c
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 1
jge 0x10012d37
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x24]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x10012d13
cmp dword [ebp - 0x78], 0
jne 0x10012d72
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bdc0], eax
push 1
push 1
mov eax, dword [ebp - 8]
add eax, 0x48
push eax
push 0xee42b0
call fcn.10005b40
add esp, 0x10
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10012e06
cmp dword [0x1006bdc0], 0
jne 0x10012d86
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bdc0], eax
cmp dword [0x1006bdc0], 0
jbe 0x10012dc5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1006bdc0]
cmp eax, 0x7530
jbe 0x10012dc5
push 1
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x48
push ecx
push 0xee42b0
call fcn.10005b40
add esp, 0x10
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10012e01
mov edx, dword [0x1006be60]
cmp dword [edx + 0x10], 0
jle 0x10012df4
mov eax, dword [0x1006be60]
cmp dword [eax + 0x58], 1
jne 0x10012df4
mov ecx, dword [0x1006be60]
mov edx, dword [ecx + 0x1c8]
add edx, 2
cmp dword [ebp - 0x38], edx
jge 0x10012df4
jmp 0x10012e06
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x38]
jne 0x10012e01
call fcn.100110d0
jmp 0x10012b93
mov esp, ebp
pop ebp
ret