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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [0x10214408]
push esi
mov esi, ecx
push edi
cmp byte [eax + 0xa0c], 0
mov dword [esp + 0x34], esi
je 0x1008f5ad
test byte [eax + 0xa38], 1
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm0
je 0x1008e1c7
movss xmm1, dword [0x101eb334]
jmp 0x1008e1ca
xorps xmm1, xmm1
mov ecx, dword [0x10215cf4]
push 6
mov ecx, dword [ecx]
call fcn.10089bb0
mov ecx, esi
call fcn.1008d9f0
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 0x1008e20a
cmp byte [0x1021f708], 0
je 0x1008e2d1
cmp byte [0x1021f6bc], 0
jne case.0x1008e231.2
mov esi, dword [0x10214408]
imul eax, edx, 0x58
mov eax, dword [eax + esi + 0xa3c]
dec eax
cmp eax, 4
ja case.default.0x1008e231
jmp dword [eax*4 + 0x1008f5c4]
mov dword [edi], 0x42b20000
jmp 0x1008e2d1
mov dword [edi], 0xc2b20000
jmp 0x1008e2d1
mov eax, dword [0x10214404]
mov ecx, 0x14
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cdq
idiv ecx
test edx, edx
jne 0x1008e277
movss xmm0, dword [0x101eb740]
mov edx, dword [esp + 0x24]
movss dword [edi], xmm0
jmp 0x1008e2d1
movss xmm0, dword [0x101eb570]
mov edx, dword [esp + 0x24]
movss dword [edi], xmm0
jmp 0x1008e2d1
call fcn.1019bc4b
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101eb698]
mulss xmm0, dword [0x101eb5bc]
subss xmm0, dword [0x101eb570]
movss dword [esp + 0x44], xmm0
fld dword [esp + 0x44]
fstp dword [esp]
call fcn.1019ed26
mov edx, dword [esp + 0x28]
add esp, 4
fstp dword [edi]
jmp 0x1008e2d1
mov dword [edi], 0
mov esi, dword [0x10214408]
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 0x1008e2fa
cmp byte [0x1021f708], 0
je 0x1008f5ad
imul eax, edx, 0x58
mov dword [esp + 0x2c], eax
cmp dword [eax + esi + 0xa40], 0
je 0x1008f269
mov ecx, dword [esi + 0xc74]
cmp ecx, 3
ja case.0x1008e31a.0
jmp dword [ecx*4 + 0x1008f5d8]
mov byte [esp + 0x1b], 1
jmp 0x1008e350
lea ecx, [esi + 0xc74]
call fcn.100c0fe0
mov esi, dword [0x10214408]
mov byte [esp + 0x1b], al
jmp 0x1008e350
mov dl, byte [esi + 0xc94]
mov byte [esp + 0x1b], dl
jmp 0x1008e350
mov byte [esp + 0x1b], 0
mov ecx, dword [esi + 0xc98]
cmp ecx, 3
ja case.0x1008e35b.0
jmp dword [ecx*4 + 0x1008f5e8]
mov byte [esp + 0x1d], 1
jmp 0x1008e391
lea ecx, [esi + 0xc98]
call fcn.100c0fe0
mov esi, dword [0x10214408]
mov byte [esp + 0x1d], al
jmp 0x1008e391
mov dl, byte [esi + 0xcb8]
mov byte [esp + 0x1d], dl
jmp 0x1008e391
mov byte [esp + 0x1d], 0
mov ecx, dword [esi + 0xcbc]
cmp ecx, 3
ja case.0x1008e39c.0
jmp dword [ecx*4 + 0x1008f5f8]
mov byte [esp + 0x1c], 1
jmp 0x1008e3d2
lea ecx, [esi + 0xcbc]
call fcn.100c0fe0
mov esi, dword [0x10214408]
mov byte [esp + 0x1c], al
jmp 0x1008e3d2
mov dl, byte [esi + 0xcdc]
mov byte [esp + 0x1c], dl
jmp 0x1008e3d2
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0xce0]
lea eax, [esi + 0xce0]
cmp ecx, 3
ja case.0x1008e3e3.0
jmp dword [ecx*4 + 0x1008f608]
mov al, 1
jmp 0x1008e404
mov ecx, eax
call fcn.100c0fe0
mov esi, dword [0x10214408]
jmp 0x1008e404
mov al, byte [eax + 0x20]
jmp 0x1008e404
xor al, al
cmp byte [esp + 0x1b], 0
mov byte [esp + 0x1e], al
jne 0x1008e426
cmp byte [esp + 0x1d], 0
jne 0x1008e426
cmp byte [esp + 0x1c], 0
jne 0x1008e426
mov byte [esp + 0x1a], 0
test al, al
je 0x1008e42b
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [0x101eb60c]
movss dword [esp + 0x14], xmm1
cmp byte [eax + esi + 0xa5c], 0
mov byte [esp + 0x1f], 0
movss dword [esp + 0x30], xmm0
je 0x1008e61c
mov eax, dword [0x10215cf4]
mov ecx, 0xc84de670
mov edi, dword [eax]
call fcn.100c68f0
cmp dword [eax + edi + 1], 9
je 0x1008e61c
cmp byte [0x1021f6bc], 0
jne 0x1008e61c
mov eax, dword [edi]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [0x10215cf4]
lea edx, [esp + 0x60]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
mov eax, dword [0x10214410]
mov edi, 1
movss xmm0, dword [0x101eb60c]
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 0x1008e616
mov eax, dword [0x10214410]
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 0x1008e5fe
mov ecx, dword [0x10215cf4]
cmp esi, dword [ecx]
je 0x1008e5fe
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1008e5fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008e5fe
mov eax, dword [0x10215cf4]
mov ecx, dword [eax]
mov eax, dword [0x10214404]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x1008e5fe
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.10087890
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 0x1008e5d5
sqrtsd xmm0, xmm0
jmp 0x1008e5da
call fcn.101b6630
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x1008e5fe
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x28], xmm1
mov eax, dword [0x10214410]
inc edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp edi, eax
jle 0x1008e4e2
mov esi, dword [0x10214408]
mov eax, dword [0x10215cf4]
mov ecx, 0xc84de670
mov edi, dword [eax]
call fcn.100c68f0
cmp dword [eax + edi + 1], 9
jne 0x1008e649
mov ecx, 0xc84de670
call fcn.100c68f0
cmp dword [eax + edi + 1], 8
je 0x1008e8c9
mov eax, dword [edi]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [0x10215cf4]
lea edx, [esp + 0x84]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
mov eax, dword [0x10214410]
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 0x1008e8c3
nop
mov eax, dword [0x10214410]
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 0x1008e89c
mov ecx, dword [0x10215cf4]
cmp edi, dword [ecx]
je 0x1008e89c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1008e89c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1008e89c
mov eax, dword [0x10215cf4]
mov ecx, dword [eax]
mov eax, dword [0x10214404]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x1008e89c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10215cf4]
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 0x1008e767
sqrtsd xmm0, xmm0
jmp 0x1008e76c
call fcn.101b6630
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x101eb65c]
ja 0x1008e89c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x1008e89c
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 0x1008e89c
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.10087890
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 0x1008e7f9
sqrtsd xmm0, xmm0
jmp 0x1008e7fe
call fcn.101b6630
movss xmm1, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1008e821
movss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x30], xmm0
jmp 0x1008e827
movss xmm1, dword [esp + 0x28]
mov eax, dword [0x10214408]
mov ecx, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov eax, dword [ecx + eax + 0xa40]
dec eax
cmp eax, 3
ja case.default.0x1008e843
jmp dword [eax*4 + 0x1008f618]
movaps xmm0, xmm1
mov al, 1
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x14], xmm0
jmp 0x1008e89e
movaps xmm0, xmm1
mov al, 1
subss xmm0, dword [0x101eb5c0]
movss dword [esp + 0x14], xmm0
jmp 0x1008e89e
movaps xmm0, xmm1
mov al, 1
subss xmm0, dword [0x101eb744]
movss dword [esp + 0x14], xmm0
jmp 0x1008e89e
movaps xmm0, xmm1
subss xmm0, dword [0x101eb574]
movss dword [esp + 0x14], xmm0
mov al, 1
jmp 0x1008e89e
xor al, al
mov edi, dword [esp + 0x40]
mov byte [0x1021f6bc], al
inc edi
mov eax, dword [0x10214410]
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 0x1008e6a0
mov esi, dword [0x10214408]
mov edi, dword [esp + 0x2c]
cmp dword [edi + esi + 0xa44], 6
je 0x1008e8e1
mov dword [0x1021f6dc], 0
mov eax, dword [edi + esi + 0xa40]
dec eax
cmp eax, 3
ja case.default.0x1008e8ee
jmp dword [eax*4 + 0x1008f628]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x20]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1008e927
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x101eb5c0]
movss dword [esp + 0x14], xmm0
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [0x101eb574]
cmp byte [0x1021f6bc], 0
jne 0x1008ea19
cmp byte [esp + 0x1d], 0
je 0x1008e9c2
cmp byte [esp + 0x1e], 0
movss xmm0, dword [0x101eb750]
movss dword [esp + 0x14], xmm0
je 0x1008e9ab
movss xmm0, dword [0x101eb754]
movss dword [esp + 0x14], xmm0
jmp 0x1008ea19
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [0x101eb574]
movss xmm1, dword [esp + 0x20]
subss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1008e92f
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [0x101eb574]
movss xmm1, dword [esp + 0x20]
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
jmp 0x1008e92f
cmp byte [esp + 0x1c], 0
je 0x1008ea19
movss xmm0, dword [0x101eb74c]
movss dword [esp + 0x14], xmm0
jmp 0x1008ea19
cmp byte [esp + 0x1e], 0
je 0x1008e9e6
cmp byte [esp + 0x1b], 0
movss dword [esp + 0x14], xmm2
je 0x1008ea19
movss xmm0, dword [0x101eb534]
movss dword [esp + 0x14], xmm0
jmp 0x1008ea19
cmp byte [esp + 0x1c], 0
je 0x1008ea0c
cmp byte [esp + 0x1b], 0
movss xmm1, dword [0x101eb744]
movss dword [esp + 0x14], xmm1
je 0x1008ea19
movss xmm1, dword [0x101eb734]
jmp 0x1008ea13
cmp byte [esp + 0x1b], 0
je 0x1008ea19
movss dword [esp + 0x14], xmm1
cmp byte [edi + esi + 0xa5d], 0
je case.0x1008ea3c.0
mov ecx, dword [esi + 0xd4c]
lea eax, [esi + 0xd4c]
cmp ecx, 3
ja case.0x1008ea3c.0
jmp dword [ecx*4 + 0x1008f638]
mov ecx, eax
call fcn.100c0fe0
mov esi, dword [0x10214408]
jmp 0x1008ea55
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ea3c.0
cmp byte [0x1021f6bc], 0
jne case.0x1008ea3c.0
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cdq
idiv dword [edi + esi + 0xa60]
test edx, edx
jne case.0x1008ea3c.0
mov ecx, dword [esi + 0xd28]
lea eax, [esi + 0xd28]
cmp ecx, 3
ja case.0x1008ea96.0
jmp dword [ecx*4 + 0x1008f648]
mov ecx, eax
call fcn.100c0fe0
mov esi, dword [0x10214408]
jmp 0x1008eaaf
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ea96.0
mov ecx, dword [esi + 0xd28]
lea eax, [esi + 0xd28]
cmp ecx, 3
ja case.0x1008ea3c.0
jmp dword [ecx*4 + 0x1008f658]
mov ecx, eax
call fcn.100c0fe0
mov esi, dword [0x10214408]
jmp 0x1008eadd
mov al, byte [eax + 0x20]
test al, al
je case.0x1008ea3c.0
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x101eb574]
jmp 0x1008eaff
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x101eb574]
movss dword [esp + 0x14], xmm0
cmp byte [edi + esi + 0xa64], 0
je case.0x1008eb28.0
mov ecx, dword [esi + 0xd04]
lea eax, [esi + 0xd04]
cmp ecx, 3
ja case.0x1008eb28.0
jmp dword [ecx*4 + 0x1008f668]
mov ecx, eax
call fcn.100c0fe0
mov esi, dword [0x10214408]
jmp 0x1008eb41
mov al, byte [eax + 0x20]
test al, al
je case.0x1008eb28.0
cmp byte [0x1021f6bc], 0
jne case.0x1008eb28.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 [0x101eb224]
mov word [esp + 0x30], 0
mov byte [esp + 0x32], 0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
call fcn.101b51e0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x48]
call fcn.101b6460
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 [0x101eb580]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
mulss xmm2, dword [0x101eb580]
mulss xmm0, xmm4
movss dword [esp + 0x44], xmm2
subss xmm3, xmm0
movss dword [esp + 0x5c], xmm3
mov eax, dword [0x10215cf4]
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 [0x10214410]
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], 0x101ce3e0
movss dword [esp + 0x94], xmm2
mov dword [esp + 0x54], 0
call fcn.1007c0f0
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 [0x101eb334]
lahf
test ah, 0x44
jnp 0x1008ed80
mov byte [esp + edi + 0x30], 1
inc edi
cmp edi, 3
jb 0x1008ec11
cmp byte [esp + 0x30], 0
je 0x1008edc5
cmp byte [esp + 0x31], 0
je 0x1008edf9
cmp byte [esp + 0x32], 0
jne 0x1008edf9
movss xmm1, dword [0x101eb574]
mov dl, 1
mov esi, dword [0x10214408]
mov edi, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov dword [0x1021f6d8], 0xffffffff
jmp 0x1008ee1b
cmp byte [esp + 0x31], 0
je 0x1008edf9
cmp byte [esp + 0x32], 0
je 0x1008edf9
movss xmm1, dword [0x101eb744]
mov dl, 1
mov esi, dword [0x10214408]
mov edi, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov dword [0x1021f6d8], 1
jmp 0x1008ee1b
mov esi, dword [0x10214408]
xor dl, dl
mov edi, dword [esp + 0x2c]
mov dword [0x1021f6d8], 0
jmp 0x1008ee15
mov dl, byte [esp + 0x1f]
movss xmm1, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
je 0x1008ee3e
cmp byte [0x1021f6c8], 0
jne 0x1008ee3e
mov cl, byte [0x1021f6e2]
xor cl, 1
mov byte [0x1021f6e2], cl
jmp 0x1008ee44
mov cl, byte [0x1021f6e2]
mov eax, dword [edi + esi + 0xa44]
add edi, esi
dec eax
cmp eax, 6
ja case.default.0x1008ee57
jmp dword [eax*4 + 0x1008f678]
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
cmp byte [edi + 0xa78], dl
je 0x1008eebb
cmp dword [edi + 0xa70], 3
jne 0x1008eebb
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
cmp byte [0x10210070], dl
mov eax, dword [eax + esi]
jne 0x1008eea5
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f233
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
test cl, cl
jmp 0x1008ee9e
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
test cl, cl
je 0x1008ef4c
mov ecx, dword [esi + 0xd70]
cmp ecx, 3
ja case.0x1008eef7.0
jmp dword [ecx*4 + 0x1008f694]
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
mov eax, dword [eax + esi]
jmp 0x1008ef4e
lea ecx, [esi + 0xd70]
call fcn.100c0fe0
mov esi, dword [0x10214408]
mov cl, al
jmp 0x1008ef28
mov cl, byte [esi + 0xd90]
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
test cl, cl
je 0x1008ef45
mov eax, dword [eax + esi]
jmp 0x1008ef4e
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul eax, eax, 0x58
mov eax, dword [eax + esi]
neg eax
jmp 0x1008ef4e
xor eax, eax
movss xmm1, dword [esp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f22a
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
mov edi, dword [edi + 0xa58]
mov esi, edi
neg esi
call fcn.1019bc4b
movd xmm0, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
push ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, dword [0x101eb698]
subss xmm0, xmm2
mulss xmm1, xmm0
addss xmm1, xmm2
movss dword [esp + 0x48], xmm1
fld dword [esp + 0x48]
fstp dword [esp]
call fcn.1019ed26
movss xmm1, dword [esp + 0x18]
add esp, 4
mov esi, dword [0x10214408]
fstp dword [esp + 0x44]
addss xmm1, dword [esp + 0x44]
movss dword [esp + 0x14], xmm1
jmp 0x1008f22a
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
mov eax, dword [0x1021f6cc]
test eax, eax
jne 0x1008f04b
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021f6cc], 1
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f233
cmp eax, 1
jne 0x1008f06b
addss xmm1, dword [esp + 0x20]
mov dword [0x1021f6cc], 2
movss dword [esp + 0x14], xmm1
jmp 0x1008f233
cmp eax, 2
jne 0x1008f233
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021f6cc], 0
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
jmp 0x1008f239
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
mov eax, dword [0x1021f6c0]
test eax, eax
jne 0x1008f0ec
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021f6c0], 1
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1008f233
cmp eax, 1
jne 0x1008f123
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021f6c0], 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 0x1008f233
cmp eax, 2
jne 0x1008f143
addss xmm1, dword [esp + 0x20]
mov dword [0x1021f6c0], 3
movss dword [esp + 0x14], xmm1
jmp 0x1008f233
cmp eax, 3
jne 0x1008f174
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021f6c0], 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 0x1008f239
cmp eax, 4
jne 0x1008f233
mov eax, dword [esp + 0x24]
add eax, 0x1e
mov dword [0x1021f6c0], 0
imul eax, eax, 0x58
movd xmm0, dword [eax + esi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
jmp 0x1008f239
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
movss xmm0, dword [0x1021f6dc]
addss xmm0, dword [edi + 0xa4c]
movss dword [0x1021f6dc], xmm0
addss xmm1, xmm0
jmp 0x1008f239
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], dl
jne 0x1008f24d
mov eax, dword [esp + 0x24]
add eax, 0x1e
imul ecx, eax, 0x58
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cdq
idiv dword [edi + 0xa54]
mov eax, dword [ecx + esi]
sub edx, 1
je 0x1008eea5
jmp 0x1008eea3
cmp byte [esp + 0x1a], 0
jne 0x1008f24d
test dl, dl
jne 0x1008f24d
cmp byte [0x1021f6bc], 0
jne 0x1008f24d
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 [0x10214408]
mov eax, dword [esp + 0x2c]
cmp byte [eax + esi + 0xa78], 0
je 0x1008f5ad
cmp byte [0x1021f708], 0
jne 0x1008f5ad
cmp byte [eax + esi + 0xa7c], 0
je 0x1008f301
mov ecx, 0xad2bbff4
call fcn.100c68f0
mov ecx, dword [0x10215cf4]
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 0x1008f2c7
sqrtsd xmm0, xmm0
jmp 0x1008f2cc
call fcn.101b6630
movss xmm1, dword [0x101eb580]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1008f301
cmp byte [0x10210070], 0
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + esi + 0xa88]
jne 0x1008f2fb
mulss xmm0, dword [0x101eb6e4]
movss dword [esp + 0x20], xmm0
mov eax, dword [esp + 0x34]
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x14], xmm0
mov ecx, dword [0x10214408]
add ecx, 0xd70
mov eax, dword [ecx]
cmp eax, 3
ja case.0x1008f323.3440
jmp dword [eax*4 + 0x1008f6a4]
mov cl, 1
jmp 0x1008f33e
call fcn.100c0fe0
mov cl, al
jmp 0x1008f33e
mov cl, byte [ecx + 0x20]
jmp 0x1008f33e
xor cl, cl
mov esi, dword [esp + 0x2c]
add esi, dword [0x10214408]
mov eax, dword [esi + 0xa70]
cmp eax, 3
je 0x1008f359
mov byte [0x10210070], cl
movd xmm2, dword [esi + 0xa68]
movd xmm3, dword [esi + 0xa6c]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
addss xmm2, xmm2
mulss xmm3, dword [0x101eb700]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x28], xmm3
sub eax, 1
je 0x1008f481
sub eax, 1
je 0x1008f3e1
mov edx, dword [esp + 0x38]
sub eax, 1
jne 0x1008f411
cmp byte [edx], 0
je 0x1008f411
cmp dword [esi + 0xa44], 7
je 0x1008f3bc
cmp byte [0x10210070], 0
sete byte [0x10210070]
jmp 0x1008f411
mov eax, dword [0x10214404]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cdq
idiv dword [esi + 0xa54]
sub edx, 1
cmp byte [0x10210070], 0
sete byte [0x10210070]
jmp 0x1008f40d
movss xmm0, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi + 8]
test cl, cl
jne 0x1008f497
call fcn.1008dce0
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x3c]
mov byte [0x10210070], al
mov edx, dword [esp + 0x38]
mov eax, dword [0x10214408]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax + 0xa74]
sub eax, 0
je 0x1008f521
sub eax, 1
je 0x1008f4e1
sub eax, 1
jne 0x1008f58e
cmp byte [0x1021f6e0], al
je 0x1008f4a3
mov cl, byte [0x1021f6d0]
test cl, cl
je 0x1008f451
movaps xmm2, xmm3
mov eax, dword [esp + 0x34]
test cl, cl
sete byte [0x1021f6d0]
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.1018e27a
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 0x1008f3f7
call fcn.1008dce0
xor al, 1
jmp 0x1008f3fc
cmp byte [edx], 0
jne 0x1008f5ad
cmp byte [0x1021f6d0], 0
je 0x1008f4cb
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x10]
movss dword [ecx + 0x10], xmm0
jmp 0x1008f592
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm3
addss xmm0, dword [ecx + 0x10]
movss dword [ecx + 0x10], xmm0
jmp 0x1008f592
cmp byte [0x1021f6e0], 0
je 0x1008f58e
cmp byte [0x10210070], 0
je 0x1008f4fa
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.1018e27a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x34]
movss xmm0, dword [0x101eb478]
movss xmm1, dword [ecx + 0x28]
andps xmm1, xmmword [0x101ebc30]
comiss xmm0, xmm1
jbe 0x1008f592
mov eax, dword [ecx + 8]
and eax, 1
test byte [ecx + 0x30], 4
je 0x1008f56c
test eax, eax
je 0x1008f55d
movss xmm0, dword [0x101eb440]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f592
movss xmm0, dword [0x101eb710]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f592
test eax, eax
je 0x1008f57f
movss xmm0, dword [0x101eb338]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f592
movss xmm0, dword [0x101eb6e8]
movss dword [ecx + 0x28], xmm0
jmp 0x1008f592
mov ecx, dword [esp + 0x34]
cmp byte [edx], 0
jne 0x1008f5ad
cmp byte [0x10210070], 0
jne 0x1008f5a3
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.1018e27a
mov esp, ebp
pop ebp
ret 8