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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [0x102e3c2d], 0
je 0x100d57cc
mov eax, dword [0x10129bac]
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 [0x10120028]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
call esi
movd xmm1, dword [0x879340c]
mov ebx, eax
movss xmm0, dword [0x102e3df8]
mov edi, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 8], ebx
comiss xmm0, xmm1
ja 0x100d534a
comiss xmm1, dword [0x102e3e00]
ja 0x100d534a
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e3dfc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d534a
comiss xmm1, dword [0x102e3e04]
ja 0x100d534a
cmp edi, 0x201
jne 0x100d52fe
pop edi
pop esi
mov byte [0x102e3e0c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
sub eax, dword [0x102e3e08]
mov byte [0x102e3e0c], 0
cmp eax, 0x1f4
jb 0x100d57c9
call esi
cmp byte [0x102e3c2d], 1
mov dword [0x102e3e08], eax
jne 0x100d5339
mov byte [0x102e3c2d], 0
mov dword [0xe8cb3c], 0
jmp 0x100d534a
mov byte [0x102e3c2d], 1
mov dword [0xe8cb3c], 1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102e3bb8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d542b
comiss xmm1, dword [0x102e3bc0]
ja 0x100d542b
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e3bbc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d542b
comiss xmm1, dword [0x102e3bc4]
ja 0x100d542b
cmp edi, 0x201
jne 0x100d53b4
pop edi
pop esi
mov byte [0x102e3bcc], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102e3bcc], 0
sub eax, dword [0x102e3bc8]
cmp eax, 0x3e8
jb 0x100d57c9
call esi
cmp byte [0x102e3c2d], 1
mov dword [0x102e3bc8], eax
jne 0x100d53e9
mov byte [0x102e3c2d], 0
xor eax, eax
jmp 0x100d53f5
mov byte [0x102e3c2d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
mov word [ebp - 0xf], 0
movq qword [ebp - 0x17], xmm0
mov edx, 0xc
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0xe8f30cc1
mov byte [ebp - 0x14], 2
mov dword [ebp - 0x10], 0xffffffff
call fcn.100e16c0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102e3b58]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d5508
comiss xmm1, dword [0x102e3b60]
ja 0x100d5508
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e3b5c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d5508
comiss xmm1, dword [0x102e3b64]
ja 0x100d5508
cmp edi, 0x201
jne 0x100d5495
pop edi
pop esi
mov byte [0x102e3b6c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102e3b6c], 0
sub eax, dword [0x102e3b68]
cmp eax, 0x1f4
jb 0x100d57c9
call esi
cmp byte [0x102e3c2d], 1
mov dword [0x102e3b68], eax
jne 0x100d54ca
mov byte [0x102e3c2d], 0
xor eax, eax
jmp 0x100d54d6
mov byte [0x102e3c2d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
cmp byte [0x102e31ad], 1
jne 0x100d54f7
mov byte [0x102e31ad], 0
mov dword [0xe8cb3c], 0
jmp 0x100d5508
mov byte [0x102e31ad], 1
mov dword [0xe8cb3c], 1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102e3978]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d559e
comiss xmm1, dword [0x102e3980]
ja 0x100d559e
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e397c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d559e
comiss xmm1, dword [0x102e3984]
ja 0x100d559e
mov ecx, dword [0x1151d634]
lea eax, [ecx + 1]
cmp eax, 1
jle 0x100d55a4
cmp edi, 0x201
jne 0x100d5570
pop edi
pop esi
mov byte [0x102e398c], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov byte [0x102e398c], 0
sub eax, dword [0x102e3988]
cmp eax, 0x64
jb 0x100d57c9
call esi
mov ecx, dword [0x1151d634]
dec ecx
mov dword [0x102e3988], eax
mov dword [0x1151d634], ecx
jmp 0x100d55a4
mov ecx, dword [0x1151d634]
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102e39d8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d5622
comiss xmm1, dword [0x102e39e0]
ja 0x100d5622
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102e39dc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100d5622
comiss xmm1, dword [0x102e39e4]
ja 0x100d5622
lea eax, [ecx + 1]
cmp eax, dword [0x1151d638]
jge 0x100d5622
cmp edi, 0x201
je 0x100d57c2
mov eax, ebx
mov byte [0x102e39ec], 0
sub eax, dword [0x102e39e8]
cmp eax, 0x64
jb 0x100d57c9
call esi
inc dword [0x1151d634]
mov dword [0x102e39e8], eax
xor esi, esi
cmp dword [0x1151d630], esi
jle 0x100d57c9
movss xmm0, dword [ebp - 4]
xor ebx, ebx
addss xmm0, dword [0x101205e0]
cvttss2si ecx, xmm0
mov dword [ebp - 4], ecx
movss xmm0, dword [0x1012045c]
mov edx, 0x790b10
movss xmm1, dword [0x102e3c1c]
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 0x100d57ae
cmp edi, 0x201
je 0x100d57c2
mov eax, dword [ebp - 8]
sub eax, dword [0x102e39e8]
mov byte [0x102e39ec], 0
cmp eax, 0x64
jb 0x100d57c9
mov eax, dword [0x1151d634]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x1151c210], 0
je 0x100d57c9
call dword [ebp - 0xc]
mov dword [0x102e39e8], eax
mov eax, dword [0x1151d634]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x1151c20b], 0
je 0x100d5741
cmp byte [0x102e3c2d], 1
jne 0x100d56f4
mov byte [0x102e3c2d], 0
xor eax, eax
jmp 0x100d5700
mov byte [0x102e3c2d], 1
mov eax, 1
mov dword [0xe8cb3c], eax
cmp byte [0x102e3e6d], 1
mov eax, dword [0x1151d634]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x1151d63c], eax
jne 0x100d572e
xor eax, eax
mov byte [0x102e3e6d], 0
mov dword [0xe8cb3c], eax
jmp 0x100d57ab
mov eax, 1
mov byte [0x102e3e6d], 1
mov dword [0xe8cb3c], eax
jmp 0x100d57ab
push edi
mov ecx, 0x1151c1e0
call fcn.100d6030
mov ecx, eax
test ecx, ecx
je 0x100d57ab
xorps xmm0, xmm0
mov dword [0x1151d63c], edi
mov ax, word [ecx + 0xc]
mov dl, 0x24
movups xmmword [ebp - 0x3b], xmm0
mov word [ebp - 0x30], ax
mov al, byte [ecx + 0xe]
movups xmmword [ebp - 0x2b], xmm0
mov word [ebp - 0x1b], 0
movq xmm0, qword [ecx + 4]
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x38], xmm0
xorps xmm0, xmm0
mov byte [ebp - 0x19], 0
movzx edx, dl
mov dword [ebp - 0x3c], 0x5ff24c1
mov byte [ebp - 0x2e], al
mov byte [ebp - 0x2d], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100e16c0
mov edi, dword [ebp + 8]
inc esi
add ebx, 0x14
cmp esi, dword [0x1151d630]
jge 0x100d57c9
mov ecx, dword [ebp - 4]
jmp 0x100d5646
mov byte [0x102e39ec], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4