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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp byte [0x102c0b3d], 0
je 0x100baaf6
mov eax, dword [0x1010bba8]
cdq
sub eax, edx
sar eax, 1
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push edi
mov dword [ebp - 0xc], esi
subsd xmm0, qword [0x10102bb0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
call esi
movd xmm1, dword [0x879340c]
mov ebx, eax
movss xmm0, dword [0x102c0d08]
mov edi, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 8], ebx
comiss xmm0, xmm1
ja 0x100ba68a
comiss xmm1, dword [0x102c0d10]
ja 0x100ba68a
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102c0d0c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba68a
comiss xmm1, dword [0x102c0d14]
ja 0x100ba68a
cmp edi, 0x201
jne 0x100ba63e
pop edi
pop esi
mov byte [0x102c0d1c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
sub eax, dword [0x102c0d18]
mov byte [0x102c0d1c], 0
cmp eax, 0x1f4
jb 0x100baaf3
call esi
cmp byte [0x102c0b3d], 1
mov dword [0x102c0d18], eax
jne 0x100ba679
mov byte [0x102c0b3d], 0
mov dword [0xe8cb3c], 0
jmp 0x100ba68a
mov byte [0x102c0b3d], 1
mov dword [0xe8cb3c], 1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102c0ac8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba755
comiss xmm1, dword [0x102c0ad0]
ja 0x100ba755
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102c0acc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba755
comiss xmm1, dword [0x102c0ad4]
ja 0x100ba755
cmp edi, 0x201
jne 0x100ba6f0
pop edi
pop esi
mov byte [0x102c0adc], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102c0adc], 0
sub eax, dword [0x102c0ad8]
cmp eax, 0x3e8
jb 0x100baaf3
call esi
cmp byte [0x102c0b3d], 1
mov dword [0x102c0ad8], eax
jne 0x100ba725
mov byte [0x102c0b3d], 0
xor eax, eax
jmp 0x100ba731
mov byte [0x102c0b3d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x13], 0
mov edx, 5
mov dword [ebp - 0x14], 0xe8f305c1
mov byte [ebp - 0x10], 2
call fcn.100c6710
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102c0a68]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba832
comiss xmm1, dword [0x102c0a70]
ja 0x100ba832
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102c0a6c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba832
comiss xmm1, dword [0x102c0a74]
ja 0x100ba832
cmp edi, 0x201
jne 0x100ba7bf
pop edi
pop esi
mov byte [0x102c0a7c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102c0a7c], 0
sub eax, dword [0x102c0a78]
cmp eax, 0x1f4
jb 0x100baaf3
call esi
cmp byte [0x102c0b3d], 1
mov dword [0x102c0a78], eax
jne 0x100ba7f4
mov byte [0x102c0b3d], 0
xor eax, eax
jmp 0x100ba800
mov byte [0x102c0b3d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
cmp byte [0x102c00bd], 1
jne 0x100ba821
mov byte [0x102c00bd], 0
mov dword [0xe8cb3c], 0
jmp 0x100ba832
mov byte [0x102c00bd], 1
mov dword [0xe8cb3c], 1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102c0888]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba8c8
comiss xmm1, dword [0x102c0890]
ja 0x100ba8c8
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102c088c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba8c8
comiss xmm1, dword [0x102c0894]
ja 0x100ba8c8
mov ecx, dword [0x114f5204]
lea eax, [ecx + 1]
cmp eax, 1
jle 0x100ba8ce
cmp edi, 0x201
jne 0x100ba89a
pop edi
pop esi
mov byte [0x102c089c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102c089c], 0
sub eax, dword [0x102c0898]
cmp eax, 0x64
jb 0x100baaf3
call esi
mov ecx, dword [0x114f5204]
dec ecx
mov dword [0x102c0898], eax
mov dword [0x114f5204], ecx
jmp 0x100ba8ce
mov ecx, dword [0x114f5204]
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102c08e8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba94c
comiss xmm1, dword [0x102c08f0]
ja 0x100ba94c
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102c08ec]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ba94c
comiss xmm1, dword [0x102c08f4]
ja 0x100ba94c
lea eax, [ecx + 1]
cmp eax, dword [0x114f5208]
jge 0x100ba94c
cmp edi, 0x201
je 0x100baaec
mov eax, ebx
mov byte [0x102c08fc], 0
sub eax, dword [0x102c08f8]
cmp eax, 0x64
jb 0x100baaf3
call esi
inc dword [0x114f5204]
mov dword [0x102c08f8], eax
xor esi, esi
cmp dword [0x114f5200], esi
jle 0x100baaf3
movss xmm0, dword [ebp - 4]
xor ebx, ebx
addss xmm0, dword [0x10103158]
cvttss2si ecx, xmm0
mov dword [ebp - 4], ecx
movss xmm0, dword [0x10102fd8]
mov edx, 0x790b10
movss xmm1, dword [0x102c0b2c]
addss xmm1, xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
push 0xf
push 0x10
addss xmm1, xmm0
cvttss2si eax, xmm1
push eax
push ecx
call edx
add esp, 0x10
test al, al
je 0x100baad8
cmp edi, 0x201
je 0x100baaec
mov eax, dword [ebp - 8]
sub eax, dword [0x102c08f8]
mov byte [0x102c08fc], 0
cmp eax, 0x64
jb 0x100baaf3
mov eax, dword [0x114f5204]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x114f3de0], 0
je 0x100baaf3
call dword [ebp - 0xc]
mov dword [0x102c08f8], eax
mov eax, dword [0x114f5204]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x114f3ddb], 0
je 0x100baa6b
cmp byte [0x102c0b3d], 1
jne 0x100baa1e
mov byte [0x102c0b3d], 0
xor eax, eax
jmp 0x100baa2a
mov byte [0x102c0b3d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
cmp byte [0x102c0d7d], 1
mov eax, dword [0x114f5204]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x114f520c], eax
jne 0x100baa58
xor eax, eax
mov byte [0x102c0d7d], 0
mov dword [0xe8cb3c], eax
jmp 0x100baad5
mov eax, 1
mov byte [0x102c0d7d], 1
mov dword [0xe8cb3c], eax
jmp 0x100baad5
push edi
mov ecx, 0x114f3db0
call fcn.100bb350
mov ecx, eax
test ecx, ecx
je 0x100baad5
xorps xmm0, xmm0
mov dword [0x114f520c], edi
mov ax, word [ecx + 0xc]
mov dl, 0x24
movups xmmword [ebp - 0x37], xmm0
mov word [ebp - 0x2c], ax
mov al, byte [ecx + 0xe]
movups xmmword [ebp - 0x27], xmm0
mov word [ebp - 0x17], 0
movq xmm0, qword [ecx + 4]
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x34], xmm0
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
movzx edx, dl
mov dword [ebp - 0x38], 0x5ff24c1
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x29], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
call fcn.100c6710
mov edi, dword [ebp + 8]
inc esi
add ebx, 0x14
cmp esi, dword [0x114f5200]
jge 0x100baaf3
mov ecx, dword [ebp - 4]
jmp 0x100ba970
mov byte [0x102c08fc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4