Function at 0x1004a2e0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x1010c040]
xor eax, esp
mov dword [esp + 0x54], eax
cmp dword [0x102e187c], 0
push esi
push edi
mov edi, ecx
movss dword [esp + 0x30], xmm1
mov edx, dword [edi + 0x1d8]
mov dword [esp + 0x10], edx
je 0x1004a462
mov ecx, dword [0x1010cb8c]
cmp ecx, 0xffffffff
jne 0x1004a799
xor eax, eax
mov esi, 0x81f6c7c
mov dword [esp + 0xc], eax
nop
cmp byte [esi - 8], 0
je 0x1004a44b
cmp byte [esi], 0
je 0x1004a44b
movss xmm1, dword [edx + 0xfc]
movss xmm0, dword [edx + 0x100]
subss xmm0, dword [esi + 0xf4]
subss xmm1, dword [esi + 0xf0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1004a381
sqrtsd xmm0, xmm0
jmp 0x1004a386
call fcn.100f4510
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0xfc]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x100]
subss xmm1, dword [esi + 0xf0]
movss dword [esp + 0x28], xmm0
subss xmm0, dword [esi + 0xf4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1004a3dd
sqrtsd xmm0, xmm0
jmp 0x1004a3e2
call fcn.100f4510
mov ecx, dword [esi + 0x24]
mov eax, dword [0x1025d810]
sub ecx, 0x493
mov edx, dword [0x1025d814]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x24], xmm0
cmp eax, edx
je 0x1004a443
cmp dword [eax], ecx
je 0x1004a411
add eax, 4
cmp eax, edx
jne 0x1004a404
jmp 0x1004a443
cmp dword [0x1010cb8c], 0
jge 0x1004a443
movsd xmm1, qword [0x10103a90]
cvtss2sd xmm0, xmm0
comisd xmm1, xmm0
ja 0x1004a77f
movss xmm0, dword [0x10104228]
comiss xmm0, dword [esp + 0x2c]
ja 0x1004a4ef
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
inc eax
add esi, 0x350
mov dword [esp + 0xc], eax
cmp esi, 0x82c5cfc
jl 0x1004a330
movss xmm7, dword [edx + 0xfc]
movss xmm5, dword [edx + 0x100]
movaps xmm1, xmm7
movss xmm6, dword [edi + 0xfc]
movaps xmm2, xmm5
comiss xmm7, xmm6
movss xmm3, dword [edi + 0x100]
subss xmm1, xmm6
subss xmm2, xmm3
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x1c], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movaps xmm4, xmm2
mulss xmm0, xmm1
mulss xmm4, xmm2
movss dword [esp + 0x28], xmm2
addss xmm4, xmm0
movss dword [esp + 0x14], xmm4
ja 0x1004a4d2
movaps xmm1, xmm6
subss xmm1, xmm7
comiss xmm5, xmm3
movss dword [esp + 0xc], xmm1
jbe 0x1004a7fd
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm2
jmp 0x1004a80a
movss xmm1, dword [esi + 0xf0]
xorps xmm3, xmm3
subss xmm1, dword [esp + 0x14]
movss xmm0, dword [esi + 0xf4]
subss xmm0, dword [esp + 0x28]
movss xmm5, dword [0x10104770]
comiss xmm3, xmm1
movss dword [esp + 0x30], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x14], xmm0
jbe 0x1004a52d
xorps xmm2, xmm5
movss xmm4, dword [0x10103570]
comiss xmm4, xmm2
jbe 0x1004a557
comiss xmm3, xmm0
movss xmm5, dword [0x1010410c]
jbe 0x1004a54f
xorps xmm1, xmm1
jmp 0x1004a5d9
movaps xmm1, xmm5
jmp 0x1004a5d9
comiss xmm3, xmm0
movaps xmm2, xmm0
jbe 0x1004a562
xorps xmm2, xmm5
comiss xmm4, xmm2
jbe 0x1004a588
comiss xmm3, xmm1
movss xmm5, dword [0x1010410c]
jbe 0x1004a57e
movss xmm1, dword [0x101041e0]
jmp 0x1004a5d9
movss xmm1, dword [0x10103fdc]
jmp 0x1004a5d9
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.100f3c00
xorps xmm1, xmm1
movss xmm5, dword [0x1010410c]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
xorps xmm3, xmm3
comiss xmm3, xmm0
divss xmm1, dword [0x10103a98]
movss xmm2, dword [esp + 0x14]
mulss xmm1, xmm5
addss xmm1, dword [0x10103fdc]
jbe 0x1004a5d9
comiss xmm2, xmm3
jae 0x1004a5d5
comiss xmm3, xmm2
jbe 0x1004a5d9
addss xmm1, xmm5
movss xmm4, dword [edi + 0x110]
comiss xmm3, xmm4
movss xmm7, dword [0x10104284]
jbe 0x1004a5f2
addss xmm4, xmm7
comiss xmm3, xmm1
jbe 0x1004a5fb
addss xmm1, xmm7
comiss xmm5, xmm4
movaps xmm2, xmm4
movaps xmm6, xmm4
addss xmm2, dword [0x10103ea4]
subss xmm6, dword [0x10103ea4]
jbe 0x1004a65e
comiss xmm1, xmm2
jb 0x1004a627
movaps xmm0, xmm4
addss xmm0, xmm5
comiss xmm0, xmm1
ja 0x1004a6a4
comiss xmm6, xmm3
jb 0x1004a642
movaps xmm0, xmm4
addss xmm0, xmm5
comiss xmm1, xmm0
jae 0x1004a63d
comiss xmm6, xmm1
jbe 0x1004a642
movaps xmm2, xmm6
jmp 0x1004a6a4
comiss xmm3, xmm6
jbe 0x1004a6a1
addss xmm4, xmm5
comiss xmm1, xmm4
jb 0x1004a6a1
movaps xmm2, xmm6
addss xmm2, xmm7
comiss xmm2, xmm1
ja 0x1004a6a4
jmp 0x1004a6a1
comiss xmm6, xmm1
jbe 0x1004a674
movaps xmm0, xmm4
subss xmm0, xmm5
comiss xmm1, xmm0
jb 0x1004a674
movaps xmm2, xmm6
jmp 0x1004a6a4
comiss xmm7, xmm2
jbe 0x1004a68a
movaps xmm0, xmm4
subss xmm0, xmm5
comiss xmm0, xmm1
ja 0x1004a6a4
comiss xmm1, xmm2
jae 0x1004a6a4
comiss xmm2, xmm7
jb 0x1004a6a1
subss xmm4, xmm5
comiss xmm4, xmm1
jbe 0x1004a6a1
subss xmm2, xmm7
comiss xmm1, xmm2
jae 0x1004a6a4
movaps xmm2, xmm1
lea esi, [edi + 0x174]
movss dword [edi + 0x110], xmm2
lea eax, [edi + 0x108]
push esi
push eax
mov eax, 0x959ce0
call eax
lea ecx, [esp + 0x50]
push ecx
lea eax, [edi + 0xa8]
push esi
push eax
mov eax, 0x95a1e0
call eax
movss xmm0, dword [esp + 0x5c]
add esp, 0x14
addss xmm0, dword [edi + 0xfc]
movss xmm1, dword [esp + 0x24]
movss dword [edi + 0xfc], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [edi + 0x100]
movss dword [edi + 0x100], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [edi + 0x104]
movss dword [edi + 0x104], xmm0
movss xmm0, dword [0x10103ee0]
comiss xmm0, xmm1
jb 0x1004a732
xorps xmm0, xmm0
jmp 0x1004a742
movaps xmm0, xmm1
call fcn.1004bbb0
mulss xmm0, dword [0x10103818]
xorps xmm0, xmmword [0x10104770]
mov eax, 2
mov dword [edi + 0xa8], 0
movss dword [edi + 0xac], xmm0
mov dword [edi + 0xb0], 0
mov word [edi + 0x12], ax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100d2be8
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [0x1010cb8c], eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100d2be8
mov esp, ebp
pop ebp
ret
test ecx, ecx
js 0x1004a462
mov dword [esp + 0x1d], 0
mov eax, ecx
mov dword [0x81c0420], ecx
mov edx, 5
mov dword [0xe61fc8], ecx
shr eax, 8
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], 0x5c3
mov byte [esp + 0x1e], 0x22
mov byte [esp + 0x1f], al
call fcn.100c6fd0
xor eax, eax
mov dword [0x1010cb8c], 0xffffffff
mov word [edi + 0x12], ax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100d2be8
mov esp, ebp
pop ebp
ret
movaps xmm0, xmm3
subss xmm0, xmm5
movss dword [esp + 0x18], xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.100f3c00
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm2, xmm0
mulss xmm2, dword [0x1010410c]
cvtps2pd xmm2, xmm2
divsd xmm2, qword [0x10103938]
cvtpd2ps xmm0, xmm2
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xc]
call fcn.1004bb70
mulss xmm0, dword [0x1010410c]
movsd xmm3, qword [0x10103938]
movss xmm2, dword [esp + 0x30]
cvtss2sd xmm0, xmm0
movss xmm1, dword [esp + 0x14]
divsd xmm0, xmm3
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1004aab0
movaps xmm0, xmm2
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm1, xmm0
jb 0x1004a8aa
movss xmm0, dword [0x10103ec4]
mov dword [edi + 0x78], 0x3f63d70b
jmp 0x1004a8e2
movaps xmm0, xmm2
mulss xmm0, dword [0x10103664]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm1, xmm0
jb 0x1004a8d3
movss xmm0, dword [0x10103eb4]
mov dword [edi + 0x78], 0x3f30a3d7
jmp 0x1004a8e2
movss xmm0, dword [0x10103ea4]
mov dword [edi + 0x78], 0x3ecccccd
movss xmm1, dword [esp + 0x38]
cvtps2pd xmm1, xmm1
movss dword [esp + 0xc], xmm0
mulsd xmm1, xmm3
divsd xmm1, qword [0x10103bf8]
movaps xmm0, xmm1
movsd qword [esp + 0x48], xmm1
call fcn.100f3ef0
movss xmm2, dword [esp + 0xc]
cvtps2pd xmm1, xmm2
mulsd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x48]
call fcn.100f4340
movss xmm1, dword [esp + 0xc]
movaps xmm3, xmm0
movss xmm4, dword [edi + 0xfc]
movss xmm2, dword [esp + 0x2c]
cvtps2pd xmm0, xmm1
mulsd xmm3, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm4
jbe 0x1004a9f5
movss xmm1, dword [edi + 0x100]
comiss xmm2, xmm1
jbe 0x1004a99f
movsd xmm0, qword [esp + 0x38]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [edi + 0xfc], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
addss xmm0, xmm1
movss dword [edi + 0x100], xmm0
movss xmm0, dword [0x1010410c]
subss xmm0, dword [esp + 0x18]
jmp 0x1004aa9a
comiss xmm1, xmm2
jbe 0x1004a9fb
movsd xmm0, qword [esp + 0x38]
mov eax, 2
movss xmm1, dword [edi + 0x100]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x12], ax
addss xmm0, dword [edi + 0xfc]
movss dword [edi + 0xfc], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
subss xmm1, xmm0
movss dword [edi + 0x100], xmm1
movss xmm1, dword [esp + 0x18]
movss dword [edi + 0x110], xmm1
jmp 0x1004ab7c
movss xmm1, dword [esp + 0x1c]
comiss xmm4, xmm0
jbe 0x1004aaa2
comiss xmm1, xmm2
jbe 0x1004aa52
movsd xmm0, qword [esp + 0x38]
movss xmm1, dword [edi + 0xfc]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
movss dword [edi + 0xfc], xmm1
movss xmm1, dword [edi + 0x100]
subss xmm1, xmm0
movss xmm0, dword [0x10104284]
subss xmm0, dword [esp + 0x18]
movss dword [edi + 0x100], xmm1
jmp 0x1004aa9a
comiss xmm2, xmm1
jbe 0x1004aaa2
movsd xmm0, qword [esp + 0x38]
movss xmm1, dword [edi + 0xfc]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
movss dword [edi + 0xfc], xmm1
addss xmm0, dword [edi + 0x100]
movss dword [edi + 0x100], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1010410c]
movss dword [edi + 0x110], xmm0
mov eax, 2
mov word [edi + 0x12], ax
jmp 0x1004ab7c
movss xmm0, dword [0x10104364]
comiss xmm0, xmm1
jbe 0x1004ab38
mov esi, dword [esp + 0x10]
movzx eax, word [esi + 0x12]
cmp ax, 0xf
jl 0x1004aad5
cmp ax, 0x25
jle 0x1004ab80
mov eax, 2
lea esi, [edi + 0x174]
mov word [edi + 0x12], ax
lea eax, [edi + 0x108]
push esi
push eax
mov eax, 0x959ce0
call eax
lea eax, [esp + 0x40]
push eax
lea eax, [edi + 0xa8]
push esi
push eax
mov eax, 0x95a1e0
call eax
movss xmm0, dword [esp + 0x4c]
add esp, 0x14
addss xmm0, dword [edi + 0xfc]
movss dword [edi + 0xfc], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [edi + 0x100]
movss dword [edi + 0x100], xmm0
jmp 0x1004ab7c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x114edc48]
add ecx, 0x320
cmp eax, ecx
ja 0x1004ab5b
mov eax, 1
mov word [edi + 0x12], ax
jmp 0x1004ab7c
call esi
mov ecx, dword [0x114edc48]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x1004ab75
xor eax, eax
mov word [edi + 0x12], ax
jmp 0x1004ab7c
call esi
mov dword [0x114edc48], eax
mov esi, dword [esp + 0x10]
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x10104370]
jb 0x1004acad
movss xmm1, dword [edi + 0xfc]
movss xmm0, dword [esi + 0xfc]
comiss xmm0, xmm1
jbe 0x1004abdb
call fcn.100dc14a
cdq
mov ecx, 0x168
idiv ecx
movss xmm2, dword [esp + 0x24]
movaps xmm1, xmm2
addss xmm1, dword [edi + 0xfc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [edi + 0xfc], xmm1
jmp 0x1004abe1
movss xmm2, dword [esp + 0x24]
comiss xmm1, dword [esi + 0xfc]
jbe 0x1004ac1a
addss xmm2, xmm1
movss dword [esp + 0x24], xmm2
call fcn.100dc14a
cdq
mov ecx, 0x168
idiv ecx
movss xmm1, dword [esp + 0x24]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0xfc], xmm1
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [esi + 0x100]
comiss xmm0, xmm1
jbe 0x1004ac62
call fcn.100dc14a
cdq
mov ecx, 0x168
idiv ecx
movss xmm2, dword [esp + 0x28]
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x100]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [edi + 0x100], xmm1
jmp 0x1004ac68
movss xmm2, dword [esp + 0x28]
movss xmm0, dword [esi + 0x100]
addss xmm0, dword [0x101041c0]
comiss xmm1, xmm0
jbe 0x1004acad
addss xmm2, xmm1
movss dword [esp + 0x28], xmm2
call fcn.100dc14a
cdq
mov ecx, 0x168
idiv ecx
movss xmm1, dword [esp + 0x28]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x100], xmm1
mov eax, dword [esi + 0x104]
mov dword [edi + 0x104], eax
call fcn.100dc14a
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jne 0x1004ad82
movss xmm1, dword [esp + 0x30]
mulss xmm1, xmm1
comiss xmm1, dword [esp + 0x14]
jbe 0x1004ad14
call fcn.100dc14a
mov esi, eax
and esi, 0x8000003f
jns 0x1004acf3
dec esi
or esi, 0xffffffc0
inc esi
add esi, 0x10
call fcn.100dc14a
cdq
mov ecx, 0x168
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x110], xmm0
jmp 0x1004ad2b
call fcn.100dc14a
mov esi, eax
and esi, 0x8000003f
jns 0x1004ad28
dec esi
or esi, 0xffffffc0
inc esi
sub esi, 0xffffff80
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [edi + 0xa8], 0
xorps xmm0, xmmword [0x10104770]
mulss xmm0, dword [0x10103634]
movss dword [edi + 0xac], xmm0
call fcn.100dc14a
and eax, 0x8000003f
jns 0x1004ad64
dec eax
or eax, 0xffffffc0
inc eax
mov esi, dword [esp + 0x10]
sub eax, 0x20
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10103634]
movss dword [edi + 0xb0], xmm0
movss xmm0, dword [esi + 0x104]
addss xmm0, dword [0x10104004]
movss xmm2, dword [edi + 0x104]
movss xmm1, dword [0x10103818]
comiss xmm0, xmm2
jbe 0x1004adbb
movss xmm0, dword [edi + 0xb0]
addss xmm0, xmm1
movss dword [edi + 0xb0], xmm0
movss xmm0, dword [esi + 0x104]
addss xmm0, dword [0x1010413c]
comiss xmm2, xmm0
jbe 0x1004ade4
movss xmm0, dword [edi + 0xb0]
subss xmm0, xmm1
movss dword [edi + 0xb0], xmm0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.100d2be8
mov esp, ebp
pop ebp
ret