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

Disassembly:
mov ecx, dword [0x10061f94]
mov eax, dword [0x1005e718]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001ad11
cmp dword [0x100623dc], 0
je 0x1001ad11
mov eax, dword [0x1005e718]
push esi
mov ecx, dword [eax + 0x298]
mov eax, dword [0x1005d098]
mov ecx, dword [eax + ecx]
call fcn.1000e880
mov esi, eax
test esi, esi
je 0x1001ad05
mov ecx, dword [0x10061f94]
push 0x1005d49c
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x1001ad05
mov edx, dword [0x10062548]
add edx, eax
cmp edx, eax
jbe 0x1001ad05
mov ecx, esi
call edx
test eax, eax
jle 0x1001ad05
mov eax, dword [0x1005e718]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x1005d098]
mov ecx, dword [eax + ecx]
call fcn.1000e880
test eax, eax
je 0x1001aaa7
mov edx, dword [0x1005e718]
movss xmm0, dword [0x10052e1c]
mov ecx, dword [edx + 0x258]
comiss xmm0, dword [eax + ecx]
ja 0x1001aad0
push 0
push 0
push 0
push 0
push 4
mov dword [0x1005def4], 0x1000bbd0
call fcn.1000bbd0
mov edx, dword [0x1005e718]
mov dword [0x10061af8], 0
mov ecx, dword [edx + 0x298]
mov eax, dword [0x1005d098]
mov esi, dword [eax + ecx]
call fcn.1000e020
mov edx, dword [0x1005e718]
mov ecx, dword [edx + 0x290]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x294]
xor edx, edx
mov eax, dword [eax + ecx + 0x9c]
mov ecx, 0x186a0
div ecx
sub edx, 0x1388
cmp edx, 0x3e8
jae 0x1001ac97
mov ecx, dword [0x100623dc]
cmp ecx, 1
jne 0x1001ab33
mov dword [0x10064350], 0x1f4
jmp 0x1001ab8c
cmp ecx, 2
jne 0x1001ab44
mov dword [0x10064350], 0xc8
jmp 0x1001ab8c
cmp ecx, 3
jne 0x1001ab55
mov dword [0x10064350], 0x96
jmp 0x1001ab8c
cmp ecx, 4
jne 0x1001ab66
mov dword [0x10064350], 0x64
jmp 0x1001ab8c
cmp ecx, 5
jne 0x1001ab77
mov dword [0x10064350], 0x32
jmp 0x1001ab8c
mov eax, dword [0x10064350]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x10064350], eax
push 2
mov dword [0x10062660], 0x1000bc30
call fcn.1000bc30
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x1001abe7
cmp byte [0x10062d40], 0
je 0x1001abc7
cmp dword [0x10062d44], 0
je 0x1001abee
call esi
cmp dword [0x10062d44], eax
ja 0x1001abee
mov byte [0x10062d40], 1
call esi
add eax, dword [0x10064350]
mov dword [0x1006259c], eax
mov dword [0x10061af8], 1
jmp 0x1001abee
mov byte [0x10062d40], 0
call esi
cmp dword [0x1006259c], eax
ja 0x1001ac2e
cmp dword [0x10061af8], 1
jne 0x1001ac2e
push 0
push 0
push 0
push 0
push 2
mov dword [0x1005def4], 0x1000bbd0
call fcn.1000bbd0
call esi
add eax, 0x32
mov dword [0x10061af8], 2
mov dword [0x1006259c], eax
call esi
cmp dword [0x1006259c], eax
mov eax, dword [0x10061af8]
ja 0x1001ac71
cmp eax, 2
jne 0x1001ac71
push 0
push 0
push 0
push 0
push 4
mov dword [0x1005def4], 0x1000bbd0
call fcn.1000bbd0
call esi
add eax, 0x64
mov dword [0x10061af8], 3
mov dword [0x1006259c], eax
jmp 0x1001ac76
cmp eax, 3
jne 0x1001ac99
push 0
push 1
push 0x45
push 0x33
mov dword [0x1005e6bc], 0x1000bc00
call fcn.1000bc00
mov dword [0x10061af8], 4
pop esi
ret
cmp eax, 4
jne 0x1001acc1
push 0
push 3
push 0x45
push 0x33
mov dword [0x1005e6bc], 0x1000bc00
call fcn.1000bc00
mov dword [0x10061af8], 5
jmp 0x1001acc6
cmp eax, 5
jne 0x1001ace9
push 0
push 1
push 0x45
push 0x31
mov dword [0x1005e6bc], 0x1000bc00
call fcn.1000bc00
mov dword [0x10061af8], 6
pop esi
ret
cmp eax, 6
jne 0x1001ac97
push 0
push 3
push 0x45
push 0x31
mov dword [0x1005e6bc], 0x1000bc00
call fcn.1000bc00
mov dword [0x10061af8], 0
pop esi
ret
mov dword [0x10061af8], 0
ret