Function at 0x1008e360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [0x10213408]
push esi
mov esi, ecx
push edi
cmp byte [eax + 0xa0c], 0
mov dword [esp + 0x34], esi
je 0x1008f79d
test byte [eax + 0xa38], 1
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm0
je 0x1008e3b7
movss xmm1, dword [0x101ea2dc]
jmp 0x1008e3ba
xorps xmm1, xmm1
mov ecx, dword [0x10214cf4]
push 6
mov ecx, dword [ecx]
call fcn.10089ce0
mov ecx, esi
call fcn.1008dc00
mov ecx, dword [ebp + 8]
lea edi, [esi + 0xc]
movss xmm0, dword [edi]
mov edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], edi
ucomiss xmm0, dword [ecx]
lahf
test ah, 0x44
jnp 0x1008e3fa
cmp byte [0x1021e708], 0
je 0x1008e4c1
cmp byte [0x1021e6bc], 0
jne case.0x1008e421.2
mov esi, dword [0x10213408]
imul eax, edx, 0x58
mov eax, dword [eax + esi + 0xa3c]
dec eax
cmp eax, 4
ja case.default.0x1008e421
jmp dword [eax*4 + 0x1008f7b4]
mov dword [edi], 0x42b20000
jmp 0x1008e4c1
mov dword [edi], 0xc2b20000
jmp 0x1008e4c1
mov eax, dword [0x10213404]
mov ecx, 0x14
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
cdq
idiv ecx
test edx, edx
jne 0x1008e467
movss xmm0, dword [0x101ea6e8]
mov edx, dword [esp + 0x24]
movss dword [edi], xmm0
jmp 0x1008e4c1
movss xmm0, dword [0x101ea518]
mov edx, dword [esp + 0x24]
movss dword [edi], xmm0
jmp 0x1008e4c1
call fcn.1019b47b
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101ea640]
mulss xmm0, dword [0x101ea564]
subss xmm0, dword [0x101ea518]
movss dword [esp + 0x44], xmm0
fld dword [esp + 0x44]
fstp dword [esp]
call fcn.1019e556
mov edx, dword [esp + 0x28]
add esp, 4
fstp dword [edi]
jmp 0x1008e4c1
mov dword [edi], 0
mov esi, dword [0x10213408]
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp + 8]
ucomiss xmm0, dword [eax + 4]
lahf
test ah, 0x44
jnp 0x1008e4ea
cmp byte [0x1021e708], 0
je 0x1008f79d
imul eax, edx, 0x58
mov dword [esp + 0x2c], eax
cmp dword [eax + esi + 0xa40], 0
je 0x1008f459
mov ecx, dword [esi + 0xc74]
cmp ecx, 3
ja case.0x1008e50a.0
jmp dword [ecx*4 + 0x1008f7c8]
mov byte [esp + 0x1b], 1
jmp 0x1008e540
lea ecx, [esi + 0xc74]
call fcn.100c0ca0
mov esi, dword [0x10213408]
mov byte [esp + 0x1b], al
jmp 0x1008e540
mov dl, byte [esi + 0xc94]
mov byte [esp + 0x1b], dl
jmp 0x1008e540
mov byte [esp + 0x1b], 0
mov ecx, dword [esi + 0xc98]
cmp ecx, 3
ja case.0x1008e54b.0
jmp dword [ecx*4 + 0x1008f7d8]
mov byte [esp + 0x1d], 1
jmp 0x1008e581
lea ecx, [esi + 0xc98]
call fcn.100c0ca0
mov esi, dword [0x10213408]
mov byte [esp + 0x1d], al
jmp 0x1008e581
mov dl, byte [esi + 0xcb8]
mov byte [esp + 0x1d], dl
jmp 0x1008e581
mov byte [esp + 0x1d], 0
mov ecx, dword [esi + 0xcbc]
cmp ecx, 3
ja case.0x1008e58c.0
jmp dword [ecx*4 + 0x1008f7e8]
mov byte [esp + 0x1c], 1
jmp 0x1008e5c2
lea ecx, [esi + 0xcbc]
call fcn.100c0ca0
mov esi, dword [0x10213408]
mov byte [esp + 0x1c], al
jmp 0x1008e5c2
mov dl, byte [esi + 0xcdc]
mov byte [esp + 0x1c], dl
jmp 0x1008e5c2
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0xce0]
lea eax, [esi + 0xce0]
cmp ecx, 3
ja case.0x1008e5d3.0
jmp dword [ecx*4 + 0x1008f7f8]
mov al, 1
jmp 0x1008e5f4
mov ecx, eax
call fcn.100c0ca0
mov esi, dword [0x10213408]
jmp 0x1008e5f4
mov al, byte [eax + 0x20]
jmp 0x1008e5f4
xor al, al
cmp byte [esp + 0x1b], 0
mov byte [esp + 0x1e], al
jne 0x1008e616
cmp byte [esp + 0x1d], 0
jne 0x1008e616
cmp byte [esp + 0x1c], 0
jne 0x1008e616
mov byte [esp + 0x1a], 0
test al, al
je 0x1008e61b
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [0x101ea5b4]
movss dword [esp + 0x14], xmm1
cmp byte [eax + esi + 0xa5c], 0
mov byte [esp + 0x1f], 0
movss dword [esp + 0x30], xmm0
je 0x1008e80c
mov eax, dword [0x10214cf4]
mov ecx, 0xc84de670
mov edi, dword [eax]
call fcn.100c6820
cmp dword [eax + edi + 1], 9
je 0x1008e80c
cmp byte [0x1021e6bc], 0
jne 0x1008e80c
mov eax, dword [edi]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [0x10214cf4]
lea edx, [esp + 0x60]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
mov eax, dword [0x10213410]
mov edi, 1
movss xmm0, dword [0x101ea5b4]
movss xmm1, dword [esp + 0x20]
movss dword [esp + 0x28], xmm0
mov ecx, dword [eax + 0x10]
movss dword [esp + 0x14], xmm1
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, edi
jl 0x1008e806
mov eax, dword [0x10213410]
push edi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1008e7ee
mov ecx, dword [0x10214cf4]
cmp esi, dword [ecx]
je 0x1008e7ee
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1008e7ee
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008e7ee
mov eax, dword [0x10214cf4]
mov ecx, dword [eax]
mov eax, dword [0x10213404]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x1008e7ee
mov eax, dword [esp + 0x3c]
mov ecx, esi
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [eax]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
movss dword [esp + 0x74], xmm0
call eax
lea ecx, [esp + 0x6c]
mov edx, eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.100879c0
movss dword [esp + 0x4c], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm1, xmm1
mulss xmm0, xmm0
movss dword [esp + 0x50], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1008e7c5
sqrtsd xmm0, xmm0
jmp 0x1008e7ca
call fcn.101b5e60
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x1008e7ee
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x28], xmm1
mov eax, dword [0x10213410]
inc edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp edi, eax
jle 0x1008e6d2
mov esi, dword [0x10213408]
mov eax, dword [0x10214cf4]
mov ecx, 0xc84de670
mov edi, dword [eax]
call fcn.100c6820
cmp dword [eax + edi + 1], 9
jne 0x1008e839
mov ecx, 0xc84de670
call fcn.100c6820
cmp dword [eax + edi + 1], 8
je 0x1008eab9
mov eax, dword [edi]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [0x10214cf4]
lea edx, [esp + 0x84]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
mov eax, dword [0x10213410]
mov edi, 1
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x40], edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, edi
jl 0x1008eab3
nop
mov eax, dword [0x10213410]
push edi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x1008ea8c
mov ecx, dword [0x10214cf4]
cmp edi, dword [ecx]
je 0x1008ea8c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1008ea8c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008ea8c
mov eax, dword [0x10214cf4]
mov ecx, dword [eax]
mov eax, dword [0x10213404]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x1008ea8c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10214cf4]
mov esi, eax
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
movss xmm1, dword [esi]
movss xmm2, dword [esi + 4]
movss xmm0, dword [esi + 8]
subss xmm2, dword [eax + 4]
subss xmm1, dword [eax]
subss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x1008e957
sqrtsd xmm0, xmm0
jmp 0x1008e95c
call fcn.101b5e60
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x101ea604]
ja 0x1008ea8c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008ea8c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x71c]
mov ecx, eax
call edx
test eax, eax
jne 0x1008ea8c
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x3c]
mov eax, dword [eax + 0x28]
call eax
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.100879c0
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x48], xmm0
mulss xmm1, xmm1
mulss xmm0, xmm0
movss dword [esp + 0x50], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1008e9e9
sqrtsd xmm0, xmm0
jmp 0x1008e9ee
call fcn.101b5e60
movss xmm1, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1008ea11
movss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x30], xmm0
jmp 0x1008ea17
movss xmm1, dword [esp + 0x28]
mov eax, dword [0x10213408]
mov ecx, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov eax, dword [ecx + eax + 0xa40]
dec eax
cmp eax, 3
ja case.default.0x1008ea33
jmp dword [eax*4 + 0x1008f808]
movaps xmm0, xmm1
mov al, 1
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x14], xmm0
jmp 0x1008ea8e
movaps xmm0, xmm1
mov al, 1
subss xmm0, dword [0x101ea568]
movss dword [esp + 0x14], xmm0
jmp 0x1008ea8e
movaps xmm0, xmm1
mov al, 1
subss xmm0, dword [0x101ea6ec]
movss dword [esp + 0x14], xmm0
jmp 0x1008ea8e
movaps xmm0, xmm1
subss xmm0, dword [0x101ea51c]
movss dword [esp + 0x14], xmm0
mov al, 1
jmp 0x1008ea8e
xor al, al
mov edi, dword [esp + 0x40]
mov byte [0x1021e6bc], al
inc edi
mov eax, dword [0x10213410]
mov dword [esp + 0x40], edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp edi, eax
jle 0x1008e890
mov esi, dword [0x10213408]
mov edi, dword [esp + 0x2c]
cmp dword [edi + esi + 0xa44], 6
je 0x1008ead1
mov dword [0x1021e6dc], 0
mov eax, dword [edi + esi + 0xa40]
dec eax
cmp eax, 3
ja case.default.0x1008eade
jmp dword [eax*4 + 0x1008f818]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x20]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1008eb17
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x101ea568]
movss dword [esp + 0x14], xmm0
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [0x101ea51c]
cmp byte [0x1021e6bc], 0
jne 0x1008ec09
cmp byte [esp + 0x1d], 0
je 0x1008ebb2
cmp byte [esp + 0x1e], 0
movss xmm0, dword [0x101ea6f8]
movss dword [esp + 0x14], xmm0
je 0x1008eb9b
movss xmm0, dword [0x101ea6fc]
movss dword [esp + 0x14], xmm0
jmp 0x1008ec09
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [0x101ea51c]
movss xmm1, dword [esp + 0x20]
subss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1008eb1f
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [0x101ea51c]
movss xmm1, dword [esp + 0x20]
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1008eb1f
cmp byte [esp + 0x1c], 0
je 0x1008ec09
movss xmm0, dword [0x101ea6f4]
movss dword [esp + 0x14], xmm0
jmp 0x1008ec09
cmp byte [esp + 0x1e], 0
je 0x1008ebd6
cmp byte [esp + 0x1b], 0
movss dword [esp + 0x14], xmm2
je 0x1008ec09
movss xmm0, dword [0x101ea4dc]
movss dword [esp + 0x14], xmm0
jmp 0x1008ec09
cmp byte [esp + 0x1c], 0
je 0x1008ebfc
cmp byte [esp + 0x1b], 0
movss xmm1, dword [0x101ea6ec]
movss dword [esp + 0x14], xmm1
je 0x1008ec09
movss xmm1, dword [0x101ea6dc]
jmp 0x1008ec03
cmp byte [esp + 0x1b], 0
je 0x1008ec09
movss dword [esp + 0x14], xmm1
cmp byte [edi + esi + 0xa5d], 0
je case.0x1008ec2c.0
mov ecx, dword [esi + 0xd4c]
lea eax, [esi + 0xd4c]
cmp ecx, 3
ja case.0x1008ec2c.0
jmp dword [ecx*4 + 0x1008f828]
mov ecx, eax
call fcn.100c0ca0
mov esi, dword [0x10213408]
jmp 0x1008ec45
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ec2c.0
cmp byte [0x1021e6bc], 0
jne case.0x1008ec2c.0
mov eax, dword [0x10213404]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
cdq
idiv dword [edi + esi + 0xa60]
test edx, edx
jne case.0x1008ec2c.0
mov ecx, dword [esi + 0xd28]
lea eax, [esi + 0xd28]
cmp ecx, 3
ja case.0x1008ec86.0
jmp dword [ecx*4 + 0x1008f838]
mov ecx, eax
call fcn.100c0ca0
mov esi, dword [0x10213408]
jmp 0x1008ec9f
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ec86.0
mov ecx, dword [esi + 0xd28]
lea eax, [esi + 0xd28]
cmp ecx, 3
ja case.0x1008ec2c.0
jmp dword [ecx*4 + 0x1008f848]
mov ecx, eax
call fcn.100c0ca0
mov esi, dword [0x10213408]
jmp 0x1008eccd
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ec2c.0
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x101ea51c]
jmp 0x1008ecef
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x101ea51c]
movss dword [esp + 0x14], xmm0
cmp byte [edi + esi + 0xa64], 0
je case.0x1008ed18.0
mov ecx, dword [esi + 0xd04]
lea eax, [esi + 0xd04]
cmp ecx, 3
ja case.0x1008ed18.0
jmp dword [ecx*4 + 0x1008f858]
mov ecx, eax
call fcn.100c0ca0
mov esi, dword [0x10213408]
jmp 0x1008ed31
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ed18.0
cmp byte [0x1021e6bc], 0
jne case.0x1008ed18.0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], 0xc1f00000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x41f00000
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x101ea1cc]
mov word [esp + 0x30], 0
mov byte [esp + 0x32], 0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call fcn.101b4a10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x48]
call fcn.101b5c90
movss xmm4, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x28]
xor edi, edi
cvtsd2ss xmm2, xmm0
movaps xmm3, xmm1
movaps xmm0, xmm2
mulss xmm3, xmm4
subss xmm0, xmm4
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
mulss xmm1, dword [0x101ea528]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
mulss xmm2, dword [0x101ea528]
mulss xmm0, xmm4
movss dword [esp + 0x44], xmm2
subss xmm3, xmm0
movss dword [esp + 0x5c], xmm3
mov eax, dword [0x10214cf4]
lea edx, [esp + 0x60]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2a4]
call eax
movss xmm2, dword [esp + edi*4 + 0x6c]
lea ecx, [esp + 0xf0]
mov eax, dword [0x10213410]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x58]
movaps xmm1, xmm2
mov dword [esp + 0xb0], 0
mulss xmm1, dword [esp + 0x40]
mov dword [esp + 0xb4], 0
addss xmm0, dword [esp + 0x64]
mulss xmm2, dword [esp + 0x5c]
mov dword [esp + 0xb8], 0
addss xmm1, dword [esp + 0x60]
mov dword [esp + 0xc4], 0
addss xmm2, dword [esp + 0x68]
movss dword [esp + 0x7c], xmm0
addss xmm0, dword [esp + 0x44]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
movss dword [esp + 0x78], xmm1
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x88], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xbc], xmm0
movq qword [esp + 0xcc], xmm0
movq qword [esp + 0xdc], xmm0
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x84]
movss dword [esp + 0x80], xmm2
addss xmm2, dword [esp + 0x20]
push eax
lea eax, [esp + 0x7c]
movss dword [esp + 0x88], xmm1
push eax
mov dword [esp + 0x50], 0x101cd3cc
movss dword [esp + 0x94], xmm2
mov dword [esp + 0x54], 0
call fcn.1007c220
mov eax, dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0xf8]
push 3
push ecx
mov ecx, esi
call eax
movss xmm0, dword [esp + 0xbc]
ucomiss xmm0, dword [0x101ea2dc]
lahf
test ah, 0x44
jnp 0x1008ef70
mov byte [esp + edi + 0x30], 1
inc edi
cmp edi, 3
jb 0x1008ee01
cmp byte [esp + 0x30], 0
je 0x1008efb5
cmp byte [esp + 0x31], 0
je 0x1008efe9
cmp byte [esp + 0x32], 0
jne 0x1008efe9
movss xmm1, dword [0x101ea51c]
mov dl, 1
mov esi, dword [0x10213408]
mov edi, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov dword [0x1021e6d8], 0xffffffff
jmp 0x1008f00b
cmp byte [esp + 0x31], 0
je 0x1008efe9
cmp byte [esp + 0x32], 0
je 0x1008efe9
movss xmm1, dword [0x101ea6ec]
mov dl, 1
mov esi, dword [0x10213408]
mov edi, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov dword [0x1021e6d8], 1
jmp 0x1008f00b
mov esi, dword [0x10213408]
xor dl, dl
mov edi, dword [esp + 0x2c]
mov dword [0x1021e6d8], 0
jmp 0x1008f005
mov dl, byte [esp + 0x1f]
movss xmm1, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
je 0x1008f02e
cmp byte [0x1021e6c8], 0
jne 0x1008f02e
mov cl, byte [0x1021e6e2]
xor cl, 1
mov byte [0x1021e6e2], cl
jmp 0x1008f034
mov cl, byte [0x1021e6e2]
mov eax, dword [edi + esi + 0xa44]
add edi, esi
dec eax
cmp eax, 6
ja case.default.0x1008f047
jmp dword [eax*4 + 0x1008f868]
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
cmp byte [edi + 0xa78], dl
je 0x1008f0ab
cmp dword [edi + 0xa70], 3
jne 0x1008f0ab
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
cmp byte [0x1020f070], dl
mov eax, dword [eax + esi]
jne 0x1008f095
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f423
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
test cl, cl
jmp 0x1008f08e
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
test cl, cl
je 0x1008f13c
mov ecx, dword [esi + 0xd70]
cmp ecx, 3
ja case.0x1008f0e7.0
jmp dword [ecx*4 + 0x1008f884]
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
mov eax, dword [eax + esi]
jmp 0x1008f13e
lea ecx, [esi + 0xd70]
call fcn.100c0ca0
mov esi, dword [0x10213408]
mov cl, al
jmp 0x1008f118
mov cl, byte [esi + 0xd90]
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
test cl, cl
je 0x1008f135
mov eax, dword [eax + esi]
jmp 0x1008f13e
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
mov eax, dword [eax + esi]
neg eax
jmp 0x1008f13e
xor eax, eax
movss xmm1, dword [esp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f41a
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
mov edi, dword [edi + 0xa58]
mov esi, edi
neg esi
call fcn.1019b47b
movd xmm0, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
push ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, dword [0x101ea640]
subss xmm0, xmm2
mulss xmm1, xmm0
addss xmm1, xmm2
movss dword [esp + 0x48], xmm1
fld dword [esp + 0x48]
fstp dword [esp]
call fcn.1019e556
movss xmm1, dword [esp + 0x18]
add esp, 4
mov esi, dword [0x10213408]
fstp dword [esp + 0x44]
addss xmm1, dword [esp + 0x44]
movss dword [esp + 0x14], xmm1
jmp 0x1008f41a
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
mov eax, dword [0x1021e6cc]
test eax, eax
jne 0x1008f23b
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021e6cc], 1
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f423
cmp eax, 1
jne 0x1008f25b
addss xmm1, dword [esp + 0x20]
mov dword [0x1021e6cc], 2
movss dword [esp + 0x14], xmm1
jmp 0x1008f423
cmp eax, 2
jne 0x1008f423
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021e6cc], 0
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
jmp 0x1008f429
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
mov eax, dword [0x1021e6c0]
test eax, eax
jne 0x1008f2dc
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021e6c0], 1
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f423
cmp eax, 1
jne 0x1008f313
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021e6c0], 2
imul eax, eax, 0x58
mov eax, dword [eax + esi]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f423
cmp eax, 2
jne 0x1008f333
addss xmm1, dword [esp + 0x20]
mov dword [0x1021e6c0], 3
movss dword [esp + 0x14], xmm1
jmp 0x1008f423
cmp eax, 3
jne 0x1008f364
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021e6c0], 4
imul eax, eax, 0x58
mov eax, dword [eax + esi]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
jmp 0x1008f429
cmp eax, 4
jne 0x1008f423
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021e6c0], 0
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
jmp 0x1008f429
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
movss xmm0, dword [0x1021e6dc]
addss xmm0, dword [edi + 0xa4c]
movss dword [0x1021e6dc], xmm0
addss xmm1, xmm0
jmp 0x1008f429
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], dl
jne 0x1008f43d
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul ecx, eax, 0x58
mov eax, dword [0x10213404]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
cdq
idiv dword [edi + 0xa54]
mov eax, dword [ecx + esi]
sub edx, 1
je 0x1008f095
jmp 0x1008f093
cmp byte [esp + 0x1a], 0
jne 0x1008f43d
test dl, dl
jne 0x1008f43d
cmp byte [0x1021e6bc], 0
jne 0x1008f43d
movss xmm1, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
movd xmm0, dword [eax + esi + 0xa48]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
addss xmm1, dword [eax + 0x10]
movss dword [eax + 0x10], xmm1
mov esi, dword [0x10213408]
mov eax, dword [esp + 0x2c]
cmp byte [eax + esi + 0xa78], 0
je 0x1008f79d
cmp byte [0x1021e708], 0
jne 0x1008f79d
cmp byte [eax + esi + 0xa7c], 0
je 0x1008f4f1
mov ecx, 0xad2bbff4
call fcn.100c6820
mov ecx, dword [0x10214cf4]
add eax, dword [ecx]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1008f4b7
sqrtsd xmm0, xmm0
jmp 0x1008f4bc
call fcn.101b5e60
movss xmm1, dword [0x101ea528]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1008f4f1
cmp byte [0x1020f070], 0
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + esi + 0xa88]
jne 0x1008f4eb
mulss xmm0, dword [0x101ea68c]
movss dword [esp + 0x20], xmm0
mov eax, dword [esp + 0x34]
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x14], xmm0
mov ecx, dword [0x10213408]
add ecx, 0xd70
mov eax, dword [ecx]
cmp eax, 3
ja case.0x1008f513.3440
jmp dword [eax*4 + 0x1008f894]
mov cl, 1
jmp 0x1008f52e
call fcn.100c0ca0
mov cl, al
jmp 0x1008f52e
mov cl, byte [ecx + 0x20]
jmp 0x1008f52e
xor cl, cl
mov esi, dword [esp + 0x2c]
add esi, dword [0x10213408]
mov eax, dword [esi + 0xa70]
cmp eax, 3
je 0x1008f549
mov byte [0x1020f070], cl
movd xmm2, dword [esi + 0xa68]
movd xmm3, dword [esi + 0xa6c]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
addss xmm2, xmm2
mulss xmm3, dword [0x101ea6a8]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x28], xmm3
sub eax, 1
je 0x1008f671
sub eax, 1
je 0x1008f5d1
mov edx, dword [esp + 0x38]
sub eax, 1
jne 0x1008f601
cmp byte [edx], 0
je 0x1008f601
cmp dword [esi + 0xa44], 7
je 0x1008f5ac
cmp byte [0x1020f070], 0
sete byte [0x1020f070]
jmp 0x1008f601
mov eax, dword [0x10213404]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
cdq
idiv dword [esi + 0xa54]
sub edx, 1
cmp byte [0x1020f070], 0
sete byte [0x1020f070]
jmp 0x1008f5fd
movss xmm0, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi + 8]
test cl, cl
jne 0x1008f687
call fcn.1008dee0
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x3c]
mov byte [0x1020f070], al
mov edx, dword [esp + 0x38]
mov eax, dword [0x10213408]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax + 0xa74]
sub eax, 0
je 0x1008f711
sub eax, 1
je 0x1008f6d1
sub eax, 1
jne 0x1008f77e
cmp byte [0x1021e6e0], al
je 0x1008f693
mov cl, byte [0x1021e6d0]
test cl, cl
je 0x1008f641
movaps xmm2, xmm3
mov eax, dword [esp + 0x34]
test cl, cl
sete byte [0x1021e6d0]
addss xmm2, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov byte [edx], 0
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 8
movss xmm0, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi + 8]
test cl, cl
jne 0x1008f5e7
call fcn.1008dee0
xor al, 1
jmp 0x1008f5ec
cmp byte [edx], 0
jne 0x1008f79d
cmp byte [0x1021e6d0], 0
je 0x1008f6bb
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x10]
movss dword [ecx + 0x10], xmm0
jmp 0x1008f782
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm3
addss xmm0, dword [ecx + 0x10]
movss dword [ecx + 0x10], xmm0
jmp 0x1008f782
cmp byte [0x1021e6e0], 0
je 0x1008f77e
cmp byte [0x1020f070], 0
je 0x1008f6ea
movaps xmm2, xmm3
mov eax, dword [esp + 0x34]
addss xmm2, dword [eax + 0x10]
movss dword [eax + 0x10], xmm2
mov byte [edx], 0
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x34]
movss xmm0, dword [0x101ea420]
movss xmm1, dword [ecx + 0x28]
andps xmm1, xmmword [0x101eac00]
comiss xmm0, xmm1
jbe 0x1008f782
mov eax, dword [ecx + 8]
and eax, 1
test byte [ecx + 0x30], 4
je 0x1008f75c
test eax, eax
je 0x1008f74d
movss xmm0, dword [0x101ea3e8]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f782
movss xmm0, dword [0x101ea6b8]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f782
test eax, eax
je 0x1008f76f
movss xmm0, dword [0x101ea2e0]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f782
movss xmm0, dword [0x101ea690]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f782
mov ecx, dword [esp + 0x34]
cmp byte [edx], 0
jne 0x1008f79d
cmp byte [0x1020f070], 0
jne 0x1008f793
movaps xmm2, xmm3
addss xmm2, dword [ecx + 0x10]
movss dword [ecx + 0x10], xmm2
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret 8