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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1006a270
push 0x1004c39f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1006e00c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x30], edi
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x10073e04]
mov edx, dword [ecx]
mov eax, dword [0x10070198]
add eax, 0x1c
push eax
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001e896
cmp dword [0x10074b08], 0
jne 0x1001e43c
cmp dword [0x10073dcc], 0
jne 0x1001e43c
mov dword [0x100777bc], 0
mov dword [0x100777a4], 0
wait
jmp 0x1001e8c0
mov dword [0x1007397c], 0
mov dword [0x100777ac], 0
mov dword [0x10074a50], 0
mov dword [0x10070194], 0
mov dword [0x100777b0], 0
mov dword [0x10074b68], 0
mov dword [0x100776f4], 0
mov dword [0x10075868], 0
mov dword [0x10075ae8], 0
mov eax, dword [0x10070198]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x10074cb8]
mov ecx, dword [eax + ecx]
call fcn.10014ba0
test eax, eax
jle 0x1001e422
call fcn.10015360
test eax, eax
je 0x1001e4c8
cmp eax, 1
jne 0x1001e422
cmp dword [0x10074b08], 1
je 0x1001e4de
cmp dword [0x10073dcc], 1
jne 0x1001e599
mov eax, dword [0x10070198]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x10074cb8]
mov esi, dword [eax + ecx]
call fcn.10014080
mov edx, dword [0x10070198]
mov ecx, dword [edx + 0x290]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x294]
mov esi, dword [eax + ecx + 0x9c]
mov eax, 0x4f8b588f
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x10
imul eax, eax, 0x186a0
sub esi, eax
lea eax, [esi - 0xbb8]
cmp eax, 0x3e8
jb 0x1001e550
lea eax, [esi - 0xfa0]
cmp eax, 0x3e8
jb 0x1001e550
mov ecx, dword [0x10075870]
jmp 0x1001e55b
mov ecx, 0x64
mov dword [0x10075870], ecx
lea eax, [esi - 0x1388]
cmp eax, 0x3e8
jb 0x1001e575
lea eax, [esi - 0x1770]
cmp eax, 0x3e8
jae 0x1001e580
mov ecx, 0x3e8
mov dword [0x10075870], ecx
lea eax, [esi - 0x7d0]
mov edx, 0x1f4
cmp eax, 0x3e8
cmovb ecx, edx
mov dword [0x10075870], ecx
or esi, 0xffffffff
mov dword [ebp - 0x2c], esi
mov ecx, dword [0x100760c0]
mov edx, 8
mov eax, dword [0x1007515c]
test eax, eax
cmove ecx, edx
mov dword [0x100760c0], ecx
mov edx, 0x10
cmp eax, 1
cmove ecx, edx
mov dword [0x100760c0], ecx
mov edx, 0x14
cmp eax, 2
cmove ecx, edx
mov dword [0x100760c0], ecx
mov edx, 0x1e
cmp eax, 3
cmove ecx, edx
mov dword [0x100760c0], ecx
mov edx, 0x28
cmp eax, 4
cmove ecx, edx
mov dword [0x100760c0], ecx
mov eax, dword [0x1006e044]
mov dword [0x10074408], eax
mov ecx, edi
call fcn.1001d280
cmp eax, esi
je 0x1001e622
mov dword [0x10074408], 0xffff0000
mov esi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword [0x10070198]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x10074cb8]
mov ecx, dword [eax + ecx]
call fcn.10014a20
mov ecx, eax
call fcn.100148b0
mov ecx, eax
call fcn.10014850
mov ecx, eax
call fcn.1001d860
mov edi, eax
cmp edi, 0xffffffff
je 0x1001e670
mov ecx, edi
call fcn.100153a0
test al, al
je 0x1001e670
mov dword [0x10074408], 0xffff0000
mov esi, edi
mov dword [ebp - 0x2c], esi
cmp esi, 0xffffffff
je 0x1001e889
mov eax, dword [0x10070198]
mov ecx, dword [eax + 0x298]
mov eax, dword [0x10074cb8]
push dword [0x10073b64]
mov edx, dword [eax + ecx]
lea ecx, [ebp - 0x28]
call fcn.10015a80
add esp, 4
test al, al
je 0x1001e8b4
push dword [0x10073b64]
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.10015a80
add esp, 4
test al, al
je 0x1001e8b4
call fcn.100147e0
mov ecx, eax
call fcn.10014720
mov ebx, eax
call fcn.10014790
mov ecx, eax
call fcn.10014560
mov esi, eax
call fcn.10014790
mov ecx, eax
call fcn.100145d0
mov edi, eax
cmp esi, 1
jg 0x1001e737
test ebx, ebx
jle 0x1001e737
test edi, edi
jle 0x1001e737
cmp edi, ebx
jge 0x1001e71a
push edi
call fcn.10014790
mov ecx, eax
call fcn.10014640
push 0
call fcn.10014790
mov ecx, eax
call fcn.100146b0
cmp edi, ebx
jl 0x1001e737
sub edi, ebx
inc edi
push ebx
call fcn.10014790
mov ecx, eax
call fcn.10014640
push edi
call fcn.10014790
mov ecx, eax
call fcn.100146b0
movss xmm0, dword [ebp - 0x28]
movss dword [0x100777a8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [0x10077704], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [0x100777c4], xmm0
mov dword [0x100777bc], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [0x100769a8], eax
ja 0x1001e7e0
call fcn.10014790
mov ecx, eax
call fcn.10014560
test eax, eax
jle 0x1001e7d3
cmp dword [0x10074b08], 1
je 0x1001e79a
cmp dword [0x10073dcc], 1
jne 0x1001e7d3
call fcn.10014790
mov edi, eax
mov ecx, dword [0x10073e04]
mov esi, dword [ecx]
mov edx, dword [0x10070198]
add edx, 0x2ac
push edx
call dword [esi + 4]
mov esi, eax
mov ecx, dword [0x10073e04]
mov edx, dword [ecx]
push 0x10073dc0
call dword [edx + 4]
add esi, eax
push 0
mov ecx, edi
call esi
call ebx
add eax, dword [0x10075870]
mov dword [0x100769a8], eax
cmp dword [0x100758b0], 0
je 0x1001e8b4
movq xmm0, qword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
push ebx
lea eax, [ebp - 0x28]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.10015220
mov ecx, eax
call fcn.10015050
test al, al
je 0x1001e8b4
push 0xffff0000
movss xmm2, dword [0x10063d78]
movss xmm1, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x28]
call fcn.100122c0
push ebx
push 0xfffffafa
push 1
push 0x14
cvttss2si edx, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x28]
subss xmm0, dword [0x10063d94]
cvttss2si ecx, xmm0
call fcn.10012260
push ebx
push 0xfffffafa
push 0x14
push 1
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [0x10063d94]
cvttss2si edx, xmm0
cvttss2si ecx, dword [ebp - 0x28]
call fcn.10012260
add esp, 0x24
wait
jmp 0x1001e8c0
mov dword [0x100777bc], 0
wait
jmp 0x1001e8c0
mov dword [0x100777bc], 0
mov dword [0x100777c0], 0
mov dword [0x100777a4], 0
wait
jmp 0x1001e8c0
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1004c1e9
mov esp, ebp
pop ebp
ret