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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [0x100c353c]
test byte [edi + 8], 0x42
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
jne 0x1000a20b
cmp byte [edi + 0xc0], 0
jg 0x1000a20b
cmp byte [edi + 0xc1], 0
jg 0x1000a20b
cmp byte [edi + 0xa7], 0
je 0x1000a20b
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x100b1aa4]
mulss xmm2, dword [0x100b1a38]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x100b1ac8]
test cl, cl
push 4
addss xmm0, xmm2
mov byte [esp + 0x13], 0
pop esi
cmovne edx, esi
mov dword [esp + 0x50], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100b1a7c]
cvttss2si esi, xmm0
je 0x1000987d
movss xmm0, dword [0x100b1b70]
jmp 0x10009880
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x100b1c98]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x18], xmm0
mov dword [edi + 0x144], 1
call fcn.1000d977
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xc], eax
jle 0x10009c88
movss xmm3, dword [edi + 0x10]
xorps xmm6, xmm6
addss xmm3, dword [edi + 0x18]
movss xmm2, dword [edi + 0x14]
addss xmm2, dword [edi + 0x1c]
imul ecx, eax, 0x18
cvtsi2ss xmm6, esi
add ecx, 0x1009ebe8
subss xmm3, dword [edi + 0x10]
subss xmm2, dword [edi + 0x14]
mov dword [esp + 0x2c], ecx
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
mulss xmm3, dword [ecx]
movaps xmm4, xmm1
mulss xmm2, dword [ecx + 4]
addss xmm3, dword [edi + 0x10]
mulss xmm0, dword [esp + 0x28]
addss xmm2, dword [edi + 0x14]
mulss xmm1, dword [esp + 0x28]
mulss xmm5, xmm6
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x6c], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x70], xmm4
jbe 0x1000996e
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x6c], xmm3
comiss xmm2, xmm4
jbe 0x1000997f
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x70], xmm2
push eax
mov ecx, edi
call fcn.100065ea
mov edi, eax
lea ecx, [esp + 0x64]
push 8
push 0
mov edx, edi
call fcn.1000f96d
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.1004b1cf
mov dl, byte [esp + 0x22]
add esp, 0x14
test dl, dl
jne 0x100099c9
mov cl, byte [esp + 0xd]
test cl, cl
je 0x10009c27
mov edx, dword [esp + 0x14]
mov eax, edx
mov ecx, dword [esp + 0x24]
not eax
and eax, 1
add eax, 5
cmp byte [esp + 0xd], 0
mov dword [ecx + 0x492c], eax
je 0x10009c2d
push 2
pop eax
cmp word [ecx + 0x3702], ax
jne 0x10009a38
test edx, edx
jne 0x10009a38
push dword [esp + 0x30]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.100091c6
pop ecx
xor edx, edx
mov byte [esp + 0xf], 1
xor ecx, ecx
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x18], xmm0
call fcn.100067d4
jmp 0x10009c49
mov edi, dword [esp + 0x2c]
movss xmm1, dword [0x100b1aa4]
mov edx, dword [ebp + 0x14]
movss xmm0, dword [edi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10009a5c
movss xmm5, dword [edx + 4]
jmp 0x10009a64
movss xmm5, dword [0x100b1d0c]
movss xmm2, dword [edi]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10009a77
movss xmm4, dword [edx]
jmp 0x10009a7f
movss xmm4, dword [0x100b1d0c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [0x100b1c98]
lahf
test ah, 0x44
jp 0x10009a9a
movss xmm7, dword [edx + 0xc]
jmp 0x10009a9d
movaps xmm7, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10009aad
movss xmm6, dword [edx + 8]
jmp 0x10009ab0
movaps xmm6, xmm0
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
cvtsi2ss xmm2, esi
movss xmm0, dword [eax + 8]
xorps xmm2, xmmword [0x100b1f10]
mulss xmm0, dword [esp + 0x28]
movaps xmm3, xmm2
mulss xmm3, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mulss xmm2, dword [eax + 0xc]
mulss xmm1, dword [esp + 0x28]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax]
mulss xmm2, dword [eax + 4]
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e88]
addss xmm2, xmm1
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e8c]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x10009b32
movaps xmm5, xmm7
minss xmm5, xmm0
comiss xmm4, xmm3
ja 0x10009b3e
movaps xmm4, xmm6
minss xmm4, xmm3
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x38]
mov edx, edi
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0x14]
movaps xmm2, xmm1
addss xmm1, dword [edi + 0x18]
subss xmm2, xmm4
movaps xmm3, xmm0
addss xmm0, dword [edi + 0x1c]
subss xmm3, xmm5
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
addss xmm2, xmm4
subss xmm4, xmm1
addss xmm3, xmm5
subss xmm5, xmm0
movss dword [esp + 0x1c], xmm2
mulss xmm4, dword [eax]
mulss xmm5, dword [eax + 4]
lea eax, [esp + 0x5c]
push eax
addss xmm4, xmm1
movss dword [esp + 0x24], xmm3
addss xmm5, xmm0
subss xmm4, xmm2
subss xmm5, xmm3
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm5
call fcn.100091c6
pop ecx
mov ecx, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [ecx]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x34], xmm0
lahf
test ah, 0x44
jp 0x10009bf5
subss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x10009c31
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x10009c31
mov edi, dword [esp + 0x10]
jmp 0x10009c39
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0xe]
mov cl, byte [esp + 0xd]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10009c49
test cl, cl
jne 0x10009c49
test dl, dl
je 0x10009c7a
movss xmm1, dword [0x100b1aa4]
xor ecx, ecx
cmp byte [esp + 0xe], cl
push 0x20
setne cl
add ecx, 0x1e
cmp byte [esp + 0x11], 0
pop eax
cmovne ecx, eax
call fcn.1000471a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ebp + 0xc]
jl 0x100098cc
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x50], eax
jbe 0x10009f87
imul ecx, eax, 0x1c
mov dword [esp + 0x48], ecx
test eax, eax
je 0x10009cc6
cmp eax, 1
je 0x10009cc6
mov dword [esp + 0x2c], 3
lea ecx, [esp + 0x60]
mov dword [esp + 0x28], 0xdbc
mov dword [esp + 0x4c], 0x3e8c
jmp 0x10009ce2
mov dword [esp + 0x2c], 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], 0xdb8
mov dword [esp + 0x4c], 0x3e88
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0x40800000
push eax
call fcn.100096c2
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 4
mov ecx, edi
push eax
call fcn.100065ea
mov edi, eax
lea ecx, [esp + 0x64]
push 8
push 0
mov edx, edi
call fcn.1000f96d
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.1004b1cf
mov dl, byte [esp + 0x21]
add esp, 0x14
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x24]
je 0x10009d61
movss xmm0, dword [eax + 0x3e6c]
comiss xmm0, dword [0x100b1a14]
ja 0x10009d69
test dl, dl
je 0x10009f70
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x492c], ecx
test dl, dl
je 0x10009f70
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
cmp ecx, 3
jne 0x10009d9c
mov ecx, dword [ebp + 0x14]
movss xmm4, dword [0x100b1d0c]
movss xmm3, dword [ecx + 4]
jmp 0x10009db6
movss xmm1, dword [0x100b1d0c]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp ecx, 1
jne 0x10009dc3
mov ecx, dword [ebp + 0x14]
movss xmm4, dword [ecx]
movss xmm0, dword [0x100b1c98]
movaps xmm1, xmm0
jmp 0x10009de2
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp ecx, 2
jne 0x10009f53
mov ecx, dword [ebp + 0x14]
movss xmm1, dword [ecx + 0xc]
movss xmm0, dword [0x100b1c98]
movaps xmm5, xmm0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x4c]
subss xmm0, dword [ecx + eax]
mov eax, dword [esp + 0x30]
addss xmm0, dword [0x100b1b70]
movss dword [eax], xmm0
comiss xmm3, dword [esp + 0x60]
ja 0x10009e31
movaps xmm3, xmm1
minss xmm3, dword [esp + 0x60]
comiss xmm4, dword [esp + 0x5c]
ja 0x10009e41
movaps xmm4, xmm5
minss xmm4, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x40]
movss xmm1, dword [edi + 0x10]
mov edx, edi
movss xmm0, dword [edi + 0x14]
movaps xmm5, xmm1
addss xmm1, dword [edi + 0x18]
movss xmm7, dword [eax + 0x1009ea54]
subss xmm5, xmm4
minss xmm7, dword [eax + 0x1009ea5c]
movss xmm2, dword [eax + 0x1009ea50]
movaps xmm6, xmm0
minss xmm2, dword [eax + 0x1009ea58]
addss xmm0, dword [edi + 0x1c]
subss xmm6, xmm3
lea eax, [esp + 0x38]
movss dword [esp + 0x30], xmm7
push eax
mulss xmm5, xmm2
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [esp + 0x4c], xmm2
subss xmm4, xmm1
addss xmm6, xmm3
subss xmm3, xmm0
movss dword [esp + 0x20], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm1
movss dword [esp + 0x24], xmm6
addss xmm3, xmm0
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm3
call fcn.100091c6
movss xmm0, dword [esp + 0x4c]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
pop ecx
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x34], xmm0
lahf
test ah, 0x44
jp 0x10009f20
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [esp + 0x30]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x10009f74
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x10009f74
movss xmm1, dword [0x100b1c98]
test ecx, ecx
jne 0x10009dda
mov ecx, dword [ebp + 0x14]
movss xmm5, dword [ecx + 8]
jmp 0x10009de5
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x50]
jl 0x10009c98
mov eax, dword [0x100c353c]
mov esi, dword [esp + 0x24]
mov eax, dword [eax + 0x3e28]
dec dword [eax + 0xe0]
and dword [edi + 0x144], 0
mov eax, dword [esi + 0x4900]
test eax, eax
je 0x1000a187
cmp dword [eax + 0x308], edi
jne 0x1000a187
mov eax, dword [esi + 0x47dc]
xorps xmm5, xmm5
xorps xmm1, xmm1
xorps xmm4, xmm4
cmp eax, 2
jne 0x10009ff4
cmp byte [esi + 0xdd1], 0
je 0x1000a187
push 0x204
push 0x203
push 0x202
mov edx, 0x201
jmp 0x1000a00d
cmp eax, 3
jne 0x1000a022
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x4c]
call fcn.1000dc9f
add esp, 0xc
movss xmm4, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x1000a038
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x1000a187
movss xmm3, dword [esi + 0x58]
minss xmm3, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100b1c60]
mov eax, dword [ebp + 0x14]
push 0x20
mulss xmm3, xmm0
movaps xmm2, xmm3
mulss xmm3, xmm4
mulss xmm2, xmm1
addss xmm3, dword [esi + 0x4924]
movss xmm1, dword [0x100b1aa4]
addss xmm2, dword [esi + 0x4920]
movss dword [esi + 0x4924], xmm3
movss dword [esi + 0x4920], xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x14]
pop eax
mov ecx, eax
subss xmm0, dword [edi + 0x1c]
movss dword [esi + 0x4920], xmm2
mov byte [esi + 0x4914], 0
mov byte [esi + 0x47e7], 1
maxss xmm3, xmm0
movss dword [esi + 0x4924], xmm3
call fcn.1000471a
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
cvttss2si esi, dword [esi + 0x4920]
mov eax, dword [esp + 0x24]
cvttss2si edi, dword [eax + 0x4924]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm5
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000a110
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x1000a18f
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
addss xmm0, dword [edx + 0x20]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [esp + 0x48], xmm0
call fcn.100091c6
pop ecx
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x24]
movss dword [esp + 0x34], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x4920]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4920], xmm0
movss xmm0, dword [eax + 0x4924]
subss xmm0, xmm1
movss dword [eax + 0x4924], xmm0
jmp 0x1000a195
movss xmm2, dword [esp + 0x18]
jmp 0x1000a199
movss xmm2, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
movss xmm1, dword [0x100b1c98]
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a1c1
mov ecx, edi
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm2
call fcn.10015130
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a1f9
cvttss2si eax, xmm0
mov ecx, edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
call fcn.10015130
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov al, byte [esp + 0xf]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
jmp 0x1000a20d
xor al, al
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.10069b82
mov esp, ebp
pop ebp
ret