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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x103b9004]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
movss xmm0, dword [0x103a66a0]
movss xmm2, dword [0x103a6760]
push esi
mov esi, ecx
mov dword [esp + 0x3c], eax
xor ecx, ecx
movss dword [esp + 0x48], xmm3
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
movss dword [esp + 8], xmm1
mov eax, dword [edx]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x10], xmm0
cmp dword [eax + 0x5c], 4
movss dword [esp + 0xc], xmm2
cmove ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1009e4da
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [esi + 0x10]
xorps xmm1, xmm1
mov dword [esp + 0x2c], eax
movss xmm2, dword [edx + 8]
xor ecx, ecx
mov edx, dword [esi + 0x38]
movss xmm3, dword [0x103a668c]
movss dword [esp + 0x1c], xmm2
mov dword [esp + 0x3c], ecx
test edx, edx
jle 0x1009e7c4
nop
cmp edx, 1
jne 0x1009e50a
mov edi, dword [esi + 0x3c]
jmp 0x1009e510
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x38], edi
cmp edi, 0xffffffff
jne 0x1009e533
mov eax, dword [esi + 0x40]
movss xmm0, dword [eax + ecx*4 - 4]
mulss xmm0, xmm2
divss xmm0, xmm3
subss xmm1, xmm0
jmp 0x1009e7aa
test ecx, ecx
je 0x1009e540
mov eax, dword [esi + 0x40]
movss dword [eax + ecx*4 - 4], xmm1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x6c]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
push edi
call dword [eax + 0x2c]
cmp dword [esp + 0x2c], 0
jne 0x1009e626
xorps xmm1, xmm1
mov ecx, dword [esp + 0x30]
cvtsi2ss xmm1, dword [esp + 0x70]
mov eax, dword [ecx]
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [esp + 0x78]
mov eax, dword [eax + 0x24]
movaps xmm0, xmm1
minss xmm0, dword [esp + 0x10]
maxss xmm1, dword [esp + 0xc]
movaps xmm3, xmm2
push dword [ebp + 0x10]
minss xmm3, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [esp + 0x70]
push edi
xorps xmm1, xmm1
movss dword [esp + 0x18], xmm3
cvtsi2ss xmm1, dword [esp + 0x7c]
mulss xmm2, dword [esp + 0x24]
mulss xmm1, dword [esp + 0x24]
divss xmm2, dword [0x103a668c]
divss xmm1, dword [0x103a668c]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm2, xmm0
addss xmm1, xmm0
movaps xmm0, xmm2
minss xmm0, dword [esp + 0x1c]
maxss xmm2, dword [esp + 0x20]
movaps xmm3, xmm1
minss xmm3, xmm0
movaps xmm0, xmm1
maxss xmm0, xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x20], xmm0
call eax
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, dword [esp + 0x1c]
divss xmm1, dword [0x103a668c]
jmp 0x1009e749
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0xb0]
test ecx, ecx
jne 0x1009e639
movzx eax, di
jmp 0x1009e642
push edi
call fcn.1015abf0
movzx eax, ax
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], eax
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.1015c770
movsx eax, word [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
sub edx, eax
mov esi, dword [esp + 0x70]
sub ecx, eax
movsx eax, word [esp + 0x24]
mov edi, dword [esp + 0x78]
sub esi, eax
movss xmm4, dword [0x103a668c]
sub edi, eax
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], edi
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x28]
movaps xmm0, xmm1
minss xmm0, dword [esp + 0x14]
maxss xmm1, dword [esp + 0x18]
movaps xmm3, xmm2
push dword [esp + 0x34]
minss xmm3, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm1
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x18], xmm3
movss xmm3, dword [esp + 0x20]
mulss xmm2, xmm3
mulss xmm1, xmm3
divss xmm2, xmm4
divss xmm1, xmm4
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xc]
addss xmm2, xmm0
addss xmm1, xmm0
movaps xmm0, xmm2
minss xmm0, dword [esp + 0x14]
maxss xmm2, dword [esp + 0x10]
movaps xmm5, xmm1
minss xmm5, xmm0
movaps xmm0, xmm1
maxss xmm0, xmm2
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x10], xmm0
call fcn.1015c710
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
divss xmm1, xmm4
addss xmm1, dword [esp + 8]
movss dword [esp + 8], xmm1
cmp edi, 0x20
jne 0x1009e78a
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1009e775
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x18]
call eax
cmp eax, 1
jne 0x1009e78a
movss xmm1, dword [esp + 8]
mov eax, dword [esi + 0x10]
movss xmm0, dword [eax + 0x10]
addss xmm0, xmm1
movaps xmm1, xmm0
movss dword [esp + 8], xmm1
mov eax, dword [esi + 0x10]
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [0x103a668c]
mov ecx, dword [esp + 0x3c]
movss xmm1, dword [eax + 0xc]
addss xmm1, dword [esp + 8]
mov edx, dword [esi + 0x38]
inc ecx
movss dword [esp + 8], xmm1
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jl 0x1009e500
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x40]
je 0x1009e7fd
test eax, eax
je 0x1009e7d9
mov dword [eax], 0
test edi, edi
je 0x1009e7e1
movss dword [edi], xmm1
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x14]
divss xmm2, xmm3
divss xmm0, xmm3
movaps xmm1, xmm2
jmp 0x1009e844
test eax, eax
je 0x1009e80b
mulss xmm1, dword [esp + 0x4c]
movss dword [eax], xmm1
test edi, edi
je 0x1009e815
mov dword [edi], 0
movaps xmm0, xmm2
movss xmm1, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x10]
mulss xmm2, dword [esp + 0xc]
divss xmm0, xmm3
divss xmm2, xmm3
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0xc], xmm2
mov eax, dword [esi + 0x10]
movss xmm4, dword [esi + 0x30]
movss xmm2, dword [esi + 0x34]
movss dword [esp + 0x6c], xmm0
movss xmm5, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
movss xmm3, dword [eax + 0x1c]
movss xmm7, dword [eax + 0x20]
xor eax, eax
movaps xmmword [esp + 0x50], xmm5
movss xmm5, dword [esp + 0xc]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x84], xmm5
movaps xmm5, xmmword [esp + 0x50]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x88], xmm0
movups xmm1, xmmword [esp + 0x7c]
movups xmm0, xmmword [esp + 0x6c]
shufps xmm6, xmm6, 0
shufps xmm7, xmm7, 0
shufps xmm5, xmm5, 0
mulps xmm6, xmm1
shufps xmm3, xmm3, 0
mulps xmm5, xmm0
mulps xmm7, xmm1
mulps xmm3, xmm0
addps xmm6, xmm5
shufps xmm4, xmm4, 0
shufps xmm2, xmm2, 0
addps xmm7, xmm3
addps xmm6, xmm4
addps xmm7, xmm2
movss dword [esi + 0x1c], xmm6
movss dword [esi + 0x20], xmm6
movups xmmword [esp + 0x6c], xmm6
movss dword [esi + 0x28], xmm7
movups xmmword [esp + 0x7c], xmm7
movss dword [esi + 0x24], xmm7
nop
movss xmm1, dword [esp + eax + 0x70]
comiss xmm1, dword [esi + 0x20]
jbe 0x1009e921
movss dword [esi + 0x20], xmm1
movss xmm0, dword [esi + 0x1c]
comiss xmm0, xmm1
jbe 0x1009e930
movss dword [esi + 0x1c], xmm1
movss xmm1, dword [esp + eax + 0x80]
comiss xmm1, dword [esi + 0x24]
jbe 0x1009e944
movss dword [esi + 0x24], xmm1
movss xmm0, dword [esi + 0x28]
comiss xmm0, xmm1
jbe 0x1009e953
movss dword [esi + 0x28], xmm1
add eax, 4
cmp eax, 0xc
jl 0x1009e910
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x24]
cmp eax, 1
je 0x1009e975
cmp eax, 2
je 0x1009e975
cmp eax, 5
je 0x1009e975
cmp eax, 6
jne 0x1009e9bd
mov eax, dword [esi + 8]
movss xmm0, dword [esi + 0x1c]
movss xmm1, dword [eax + 0x18]
mulss xmm1, dword [0x103a6180]
subss xmm0, xmm1
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esi + 0x20]
addss xmm0, xmm1
movss dword [esi + 0x20], xmm0
movss xmm0, dword [esi + 0x24]
addss xmm0, xmm1
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esi + 0x28]
subss xmm0, xmm1
movss dword [esi + 0x28], xmm0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret 0xc