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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
movss xmm3, dword [0x64aa64]
movss xmm0, dword [ebp + 0x18]
comiss xmm3, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
movss xmm6, dword [ebp + 0x14]
jb 0x421974
comiss xmm3, xmm6
jb 0x421974
push dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x10]
push dword [ebp + 0x20]
mov esi, dword [ebp + 8]
push dword [ebp + 0x1c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp], xmm0
push esi
call fcn.0041fe30
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
movss xmm5, dword [0x64a9fc]
movaps xmm4, xmm0
movss xmm1, dword [ebp + 0xc]
movss xmm7, dword [ebp + 0x10]
movaps xmm2, xmm1
mulss xmm6, xmm5
mulss xmm4, xmm5
subss xmm2, xmm6
addss xmm6, xmm1
subss xmm7, xmm4
addss xmm4, dword [ebp + 0x10]
movaps xmm0, xmm2
movss dword [esp + 0x58], xmm2
addss xmm0, xmm5
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x50], xmm7
movss dword [esp + 0x64], xmm7
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x68], xmm6
cvttss2si ecx, xmm0
movaps xmm0, xmm7
movss dword [esp + 0x6c], xmm4
addss xmm0, xmm5
mov dword [esp + 0x2c], ecx
cvttss2si eax, xmm0
movaps xmm0, xmm6
addss xmm0, xmm5
mov dword [esp + 0x1c], eax
cvttss2si edx, xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov dword [esp + 0x28], edx
cvttss2si esi, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x18]
comiss xmm0, xmm3
mov dword [esp + 0x24], esi
jbe 0x422083
movss xmm0, dword [ebp + 0x14]
comiss xmm0, xmm3
jbe 0x422083
movd xmm2, ecx
lea ecx, [esp + 0x60]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
lea eax, [esp + 0x30]
movaps xmm0, xmm2
addss xmm2, xmm5
subss xmm0, xmm5
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0xb4]
push eax
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm2
subss xmm0, xmm5
addss xmm1, xmm5
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x44], xmm1
call fcn.00448250
movd xmm2, edx
lea ecx, [esp + 0x60]
cvtdq2ps xmm2, xmm2
movups xmm4, xmmword [eax]
lea eax, [esp + 0x30]
movaps xmm0, xmm2
movd xmm1, esi
subss xmm0, xmm5
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0xb4]
push eax
movss dword [esp + 0x38], xmm0
addss xmm2, xmm5
movaps xmm0, xmm1
addss xmm1, xmm5
subss xmm0, xmm5
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x3c], xmm0
call fcn.00448250
mov esi, dword [ebp + 0x24]
movaps xmm3, xmm4
shufps xmm3, xmm4, 0xaa
movaps xmm1, xmm4
shufps xmm1, xmm4, 0xff
subss xmm3, xmm4
movups xmm0, xmmword [eax]
lea eax, [esp + 0x48]
mov ecx, edi
shufps xmm4, xmm4, 0x55
movaps xmm2, xmm0
subss xmm1, xmm4
shufps xmm2, xmm0, 0xaa
subss xmm2, xmm0
push esi
push dword [ebp + 0x20]
movups xmmword [esp + 0x88], xmm3
push dword [esp + 0x24]
movups xmmword [esp + 0x7c], xmm2
push dword [esp + 0x38]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xff
shufps xmm0, xmm0, 0x55
subss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
push eax
movups xmmword [esp + 0xa4], xmm1
movups xmmword [esp + 0x44], xmm2
movss dword [esp + 0x28], xmm0
call fcn.0041fc60
movss xmm0, dword [esp + 0x70]
mulss xmm0, dword [esp + 0x90]
push esi
push dword [ebp + 0x20]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb4]
push dword [esp + 0x24]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x34]
push eax
mov ecx, edi
call fcn.0041fc60
movss xmm0, dword [esp + 0x30]
mov edi, eax
mulss xmm0, dword [esp + 0x80]
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x20]
push esi
push dword [ebp + 0x20]
movss dword [esp + 0x14], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x38]
push eax
call fcn.0041fc60
push dword [ebp + 0x24]
movss xmm0, dword [esp + 0x34]
mov esi, eax
push dword [ebp + 0x20]
mulss xmm0, dword [esp + 0x78]
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x2c]
push dword [esp + 0x34]
movss dword [esp + 0x18], xmm0
push eax
call fcn.0041fc60
movss xmm4, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x18]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0xc]
movss xmm1, dword [esp + 8]
movzx ecx, byte [eax + 2]
movzx eax, byte [edx + 2]
movd xmm5, ecx
movzx ecx, byte [edi + 2]
cvtdq2ps xmm5, xmm5
movd xmm0, ecx
movzx ecx, byte [esi + 2]
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm4
mulss xmm0, xmm3
addss xmm5, dword [0x64a95c]
addss xmm5, xmm0
movd xmm0, ecx
mov ecx, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm5, xmm0
movd xmm0, eax
movzx eax, byte [ecx + 1]
cvtdq2ps xmm0, xmm0
movd xmm7, eax
movzx eax, byte [edi + 1]
mulss xmm0, xmm1
cvtdq2ps xmm7, xmm7
addss xmm5, xmm0
movd xmm0, eax
movzx eax, byte [esi + 1]
cvtdq2ps xmm0, xmm0
mulss xmm7, xmm4
mulss xmm0, xmm3
movss dword [esp + 8], xmm5
xorps xmm5, xmm5
addss xmm7, xmm5
addss xmm7, xmm0
movd xmm0, eax
movzx eax, byte [edx + 1]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm7, xmm0
movd xmm0, eax
movzx eax, byte [ecx]
cvtdq2ps xmm0, xmm0
movd xmm6, eax
mulss xmm0, xmm1
cvtdq2ps xmm6, xmm6
addss xmm7, xmm0
mulss xmm6, xmm4
movss dword [esp + 0xc], xmm7
movzx eax, byte [edi]
addss xmm6, xmm5
movd xmm0, eax
movzx eax, byte [esi]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
addss xmm6, xmm0
movd xmm0, eax
movzx eax, byte [edx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm6, xmm0
movd xmm0, eax
movzx eax, byte [ecx + 3]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, byte [edi + 3]
mulss xmm0, xmm1
mov edi, dword [esp + 0x20]
cvtdq2ps xmm5, xmm5
addss xmm6, xmm0
movd xmm0, eax
movzx eax, byte [esi + 3]
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm4
mulss xmm0, xmm3
addss xmm5, dword [0x64a95c]
movss dword [esp + 0x10], xmm6
addss xmm5, xmm0
movd xmm0, eax
movzx eax, byte [edx + 3]
mov edx, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm5, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea eax, [edx + 1]
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mulss xmm0, xmm1
addss xmm5, xmm0
movss dword [esp + 0x14], xmm5
cmp eax, dword [esp + 0x28]
jge 0x421e94
push dword [ebp + 0x24]
mov ecx, edi
push dword [ebp + 0x20]
push dword [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041fc60
push dword [ebp + 0x24]
mov esi, eax
mov ecx, edi
push dword [ebp + 0x20]
lea eax, [esp + 0x64]
push dword [esp + 0x2c]
push dword [esp + 0x24]
push eax
call fcn.0041fc60
movzx ecx, byte [esi + 2]
mov edx, eax
movups xmm2, xmmword [esp + 0x90]
movzx eax, byte [esi + 1]
movups xmm3, xmmword [esp + 0x30]
movd xmm1, ecx
movzx ecx, byte [edx + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
mulss xmm1, xmm2
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 8]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 8], xmm1
movd xmm1, eax
movzx eax, byte [edx + 1]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movzx eax, byte [esi]
mulss xmm1, xmm2
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0xc], xmm1
movd xmm1, eax
movzx eax, byte [edx]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movzx eax, byte [esi + 3]
mulss xmm1, xmm2
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 0x10]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x10], xmm1
movd xmm1, eax
movzx eax, byte [edx + 3]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x18]
mulss xmm1, xmm2
inc eax
mov dword [esp + 0x18], eax
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 0x14]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp eax, dword [esp + 0x28]
jl 0x421d85
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc ecx
mov eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x24]
jge 0x421fc0
nop dword [eax]
push dword [ebp + 0x24]
mov ecx, edi
push dword [ebp + 0x20]
push eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0041fc60
push dword [ebp + 0x24]
mov esi, eax
mov ecx, edi
push dword [ebp + 0x20]
lea eax, [esp + 0x64]
push dword [esp + 0x20]
push dword [esp + 0x34]
push eax
call fcn.0041fc60
movzx ecx, byte [esi + 2]
mov edx, eax
movups xmm2, xmmword [esp + 0x80]
movzx eax, byte [esi + 1]
movups xmm3, xmmword [esp + 0x70]
movd xmm1, ecx
movzx ecx, byte [edx + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
mulss xmm1, xmm2
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 8]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 8], xmm1
movd xmm1, eax
movzx eax, byte [edx + 1]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movzx eax, byte [esi]
mulss xmm1, xmm2
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 0xc]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0xc], xmm1
movd xmm1, eax
movzx eax, byte [edx]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movzx eax, byte [esi + 3]
mulss xmm1, xmm2
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 0x10]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x10], xmm1
movd xmm1, eax
movzx eax, byte [edx + 3]
mov edx, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x18]
mulss xmm1, xmm2
inc eax
mov dword [esp + 0x18], eax
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esp + 0x14]
mulss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp eax, dword [esp + 0x24]
jl 0x421eb0
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x42227a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
cmp esi, eax
jge 0x422071
nop
push dword [ebp + 0x24]
lea eax, [esp + 0x50]
push dword [ebp + 0x20]
push ecx
push esi
push eax
mov ecx, edi
call fcn.0041fc60
inc esi
mov ecx, dword [eax]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x20], ecx
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
addss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
movd xmm0, ecx
mov ecx, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
cmp esi, eax
jl 0x421fe0
mov edx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, edx
jl 0x421fd2
jmp 0x42227a
cmp eax, esi
jg 0x42227a
mov ecx, esi
nop dword [eax]
mov esi, dword [esp + 0x2c]
cmp esi, edx
jg 0x42226d
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm3, xmm2
addss xmm2, xmm5
subss xmm3, xmm5
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x18], xmm3
nop word [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm0
addss xmm0, xmm5
subss xmm1, xmm5
movss xmm5, dword [esp + 0x58]
comiss xmm5, xmm1
jbe 0x4220e0
movaps xmm1, xmm5
comiss xmm7, xmm3
movss dword [esp + 0x30], xmm1
jbe 0x4220ee
movaps xmm3, xmm7
comiss xmm0, xmm6
movss dword [esp + 0x34], xmm3
jbe 0x4220fc
movaps xmm0, xmm6
comiss xmm2, xmm4
movss dword [esp + 0x38], xmm0
jbe 0x42210a
movaps xmm2, xmm4
comiss xmm0, xmm1
movss xmm5, dword [0x64a9fc]
movss dword [esp + 0x3c], xmm2
jb 0x422129
comiss xmm2, xmm3
jb 0x422129
movaps xmm3, xmmword [esp + 0x30]
jmp 0x42212c
xorps xmm3, xmm3
push dword [ebp + 0x24]
movaps xmm0, xmm3
movaps xmmword [esp + 0x84], xmm3
push dword [ebp + 0x20]
shufps xmm0, xmm3, 0xaa
lea eax, [esp + 0x54]
push dword [ebp + 0x1c]
movaps xmm1, xmm0
movaps xmm2, xmm3
movups xmmword [esp + 0xbc], xmm0
sub esp, 8
mov ecx, edi
movaps xmm0, xmm3
shufps xmm2, xmm3, 0x55
shufps xmm0, xmm3, 0xff
addss xmm1, xmm3
movups xmmword [esp + 0xa4], xmm0
addss xmm0, xmm2
movups xmmword [esp + 0x84], xmm2
mulss xmm1, xmm5
mulss xmm0, xmm5
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push eax
call fcn.0041fe30
movups xmm0, xmmword [esp + 0xb0]
mov edx, dword [esp + 0x28]
inc esi
movups xmm1, xmmword [esp + 0x90]
mov ecx, dword [eax]
mov eax, ecx
subss xmm0, dword [esp + 0x80]
subss xmm1, dword [esp + 0x70]
shr eax, 0x10
movzx eax, al
movss xmm5, dword [0x64a9fc]
movss xmm2, dword [esp + 0x48]
mulss xmm1, xmm0
mov dword [esp + 0x20], ecx
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
movss xmm4, dword [esp + 0x6c]
mulss xmm0, xmm1
movss xmm3, dword [esp + 0x18]
movss xmm6, dword [esp + 0x54]
addss xmm0, dword [esp + 8]
movss xmm7, dword [esp + 0x50]
movss dword [esp + 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
cmp esi, edx
jle 0x4220c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jle 0x422090
cmp dword [edi + 0x1bc], 0
xorps xmm4, xmm4
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [esp + 0x58]
movss xmm2, dword [esp + 0x6c]
subss xmm2, dword [esp + 0x50]
movss xmm3, dword [0x64ad84]
movaps xmm1, xmm3
mulss xmm2, xmm0
movss xmm0, dword [esp + 8]
divss xmm0, xmm2
minss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movaps xmm1, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xc]
divss xmm0, xmm2
mov byte [esp + 0x22], al
minss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movaps xmm1, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x10]
divss xmm0, xmm2
mov byte [esp + 0x21], al
minss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
cvttss2si eax, xmm0
mov byte [esp + 0x20], al
je 0x422324
movss xmm0, dword [esp + 0x14]
divss xmm0, xmm2
minss xmm3, xmm0
maxss xmm4, xmm3
cvttss2si eax, xmm4
mov byte [esp + 0x23], al
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 0x20