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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x5eb148]
mov dword [esp + 0x34], edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x10], edx
test byte [edx + 0xc], 0x42
mov dword [esp + 0x18], eax
jne 0x44a18e
cmp byte [edx + 0xc4], 0
jg 0x44a18e
cmp byte [edx + 0xc5], 0
jg 0x44a18e
cmp byte [edx + 0xab], 0
je 0x44a18e
movss xmm2, dword [eax + 0x3bb8]
xor esi, esi
movss xmm0, dword [edx + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x488a38]
mulss xmm2, dword [0x4889c0]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x488a40]
test cl, cl
push 4
addss xmm0, xmm2
mov byte [esp + 0x13], 0
pop edi
cmovne esi, edi
mov dword [esp + 0x40], esi
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x488a10]
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
je 0x44977f
movss xmm0, dword [0x488aa8]
jmp 0x449782
xorps xmm0, xmm0
mov esi, dword [ebp + 0x14]
lea edi, [esp + 0x70]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x2c], xmm0
movsd dword es:[edi], dword [esi]
cmp byte [eax + 0x67], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4497d5
test byte [edx + 0xc], 1
jne 0x4497d5
mov edi, edx
mov byte [esp + 0xe], 1
mov ecx, edi
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c8]
call fcn.004425bc
addss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
jmp 0x4497e8
movss xmm0, dword [esp + 0x74]
mov edi, edx
mov byte [esp + 0xe], 0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x488ba0]
mov ecx, str.RESIZE
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x14], xmm0
mov dword [edi + 0x148], 1
call fcn.0044d712
mov esi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xc], eax
jle 0x449c10
movss xmm3, dword [edi + 0x14]
xorps xmm6, xmm6
addss xmm3, dword [edi + 0x1c]
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x20]
imul ecx, eax, 0x18
cvtsi2ss xmm6, esi
add ecx, 0x481738
subss xmm3, dword [edi + 0x14]
subss xmm2, dword [edi + 0x18]
mov dword [esp + 0x34], 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 + 0x14]
mulss xmm0, dword [esp + 0x2c]
addss xmm2, dword [edi + 0x18]
mulss xmm1, dword [esp + 0x2c]
mulss xmm5, xmm6
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x68], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x6c], xmm4
jbe 0x4498d4
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x4498e5
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x6c], xmm2
push eax
mov ecx, edi
call fcn.00446410
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.0044f666
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.00466b7c
mov dl, byte [esp + 0x21]
add esp, 0x14
test dl, dl
jne 0x44992f
mov cl, byte [esp + 0xc]
test cl, cl
je 0x449bb0
mov edx, dword [esp + 0x24]
mov eax, edx
mov ecx, dword [esp + 0x18]
not eax
and eax, 1
add eax, 5
cmp byte [esp + 0xc], 0
mov dword [ecx + 0x4960], eax
je 0x449bb6
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x44999e
test edx, edx
jne 0x44999e
push dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.00449106
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 + 0x28], xmm1
movss dword [esp + 0x14], xmm0
call fcn.004465cc
jmp 0x449bd2
mov edx, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm3, dword [0x488a38]
movss xmm1, dword [edx + 4]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x4499d5
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4499cb
cmp byte [esp + 0xe], 0
jne 0x4499d5
movss xmm6, dword [0x488bf0]
jmp 0x4499db
movss xmm6, dword [esp + 0x30]
movss xmm2, dword [edx]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x4499f0
movss xmm5, dword [esp + 0x70]
jmp 0x4499f8
movss xmm5, dword [0x488bf0]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x449a17
movss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x488ba0]
jmp 0x449a25
movss xmm1, dword [0x488ba0]
movss dword [esp + 0x28], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x449a36
movss xmm7, dword [esp + 0x78]
jmp 0x449a39
movaps xmm7, xmm1
movss xmm4, dword [edx + 8]
xorps xmm3, xmm3
movss xmm2, dword [edx + 0xc]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x2c]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x488eb0]
mulss xmm4, xmm3
mulss xmm2, xmm3
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [edx]
mulss xmm2, dword [edx + 4]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea8]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3eac]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x449abb
movss xmm6, dword [esp + 0x28]
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x449ac7
movaps xmm5, xmm7
minss xmm5, xmm4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x54]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0x18]
movaps xmm2, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm2, xmm5
movaps xmm3, xmm0
addss xmm0, dword [edi + 0x20]
subss xmm3, xmm6
mulss xmm2, dword [edx]
mulss xmm3, dword [edx + 4]
addss xmm2, xmm5
subss xmm5, xmm1
addss xmm3, xmm6
subss xmm6, xmm0
movss dword [esp + 0x20], xmm2
mulss xmm5, dword [edx]
mulss xmm6, dword [edx + 4]
mov edx, edi
addss xmm5, xmm1
movss dword [esp + 0x24], xmm3
addss xmm6, xmm0
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x50], xmm6
call fcn.00449106
pop ecx
mov ecx, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm0, dword [ecx]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x449b7e
subss xmm0, dword [esp + 0x48]
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 + 0x54]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x449bba
subss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x449bba
mov edi, dword [esp + 0x10]
jmp 0x449bc2
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xc]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x449bd2
test cl, cl
jne 0x449bd2
test dl, dl
je 0x449c02
movss xmm1, dword [0x488a38]
xor ecx, ecx
cmp byte [esp + 0xd], cl
push 0x20
setne cl
add ecx, 0x1e
cmp byte [esp + 0x10], 0
pop eax
cmovne ecx, eax
call fcn.00444872
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x10]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 0xc]
jl 0x449832
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jbe 0x449f0b
imul ecx, eax, 0x1c
mov dword [esp + 0x44], ecx
test eax, eax
je 0x449c4e
cmp eax, 1
je 0x449c4e
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], 0xdc4
mov dword [esp + 0x38], 0x3eac
jmp 0x449c6a
mov dword [esp + 0x34], 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], 0xdc0
mov dword [esp + 0x38], 0x3ea8
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
mov dword [esp], 0x40800000
push eax
call fcn.004495d9
mov eax, dword [esp + 0x34]
add esp, 8
add eax, 4
mov ecx, edi
push eax
call fcn.00446410
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.0044f666
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.00466b7c
mov dl, byte [esp + 0x20]
add esp, 0x14
cmp byte [esp + 0xd], 0
mov eax, dword [esp + 0x18]
je 0x449ce9
movss xmm0, dword [eax + 0x3e8c]
comiss xmm0, dword [0x4889a0]
ja 0x449cf1
test dl, dl
je 0x449ef4
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x4960], ecx
test dl, dl
je 0x449ef4
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push 2
mov dword [edx], ecx
pop edx
cmp ecx, 3
je 0x449d29
cmp ecx, edx
jne 0x449d1f
cmp byte [esp + 0xe], 0
jne 0x449d29
movss xmm5, dword [0x488bf0]
jmp 0x449d2f
movss xmm5, dword [esp + 0x30]
cmp ecx, 1
jne 0x449d47
movss xmm0, dword [0x488ba0]
movss xmm3, dword [esp + 0x70]
movaps xmm1, xmm0
jmp 0x449d68
movss xmm3, dword [0x488bf0]
movaps xmm0, xmm3
cmp ecx, edx
jne 0x449ed9
movss xmm1, dword [esp + 0x7c]
movss xmm0, dword [0x488ba0]
movaps xmm2, xmm0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x38]
subss xmm0, dword [ecx + eax]
mov eax, dword [esp + 0x3c]
addss xmm0, dword [0x488aa8]
movss dword [eax], xmm0
comiss xmm5, dword [esp + 0x4c]
ja 0x449db7
movaps xmm5, xmm1
minss xmm5, dword [esp + 0x4c]
comiss xmm3, dword [esp + 0x48]
ja 0x449dc7
movaps xmm3, xmm2
minss xmm3, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x58]
movss xmm1, dword [edi + 0x14]
mov edx, edi
movss xmm0, dword [edi + 0x18]
movaps xmm4, xmm1
addss xmm1, dword [edi + 0x1c]
movss xmm7, dword [eax + 0x48157c]
subss xmm4, xmm3
minss xmm7, dword [eax + 0x481584]
movss xmm2, dword [eax + 0x481578]
movaps xmm6, xmm0
minss xmm2, dword [eax + 0x481580]
addss xmm0, dword [edi + 0x20]
subss xmm6, xmm5
lea eax, [esp + 0x50]
movss dword [esp + 0x3c], xmm7
push eax
mulss xmm4, xmm2
mulss xmm6, xmm7
addss xmm4, xmm3
movss dword [esp + 0x48], xmm2
subss xmm3, xmm1
addss xmm6, xmm5
subss xmm5, xmm0
movss dword [esp + 0x20], xmm4
mulss xmm3, xmm2
mulss xmm5, xmm7
addss xmm3, xmm1
movss dword [esp + 0x24], xmm6
addss xmm5, xmm0
subss xmm3, xmm4
subss xmm5, xmm6
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm5
call fcn.00449106
movss xmm0, dword [esp + 0x48]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
pop ecx
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x449ea6
subss xmm0, dword [esp + 0x50]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x449ef8
subss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x449ef8
movss xmm1, dword [0x488ba0]
test ecx, ecx
jne 0x449d60
movss xmm2, dword [esp + 0x78]
jmp 0x449d6b
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x449c20
mov eax, dword [0x5eb148]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0x3e48]
dec dword [eax + 0xe4]
and dword [edi + 0x148], 0
mov eax, dword [esi + 0x4934]
test eax, eax
je 0x44a10a
cmp dword [eax + 0x300], edi
jne 0x44a10a
mov eax, dword [esi + 0x47f8]
xorps xmm5, xmm5
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp eax, 2
jne 0x449f78
cmp byte [esi + 0xddd], 0
je 0x44a10a
push 0x204
push 0x203
push 0x202
mov edx, 0x201
jmp 0x449f91
cmp eax, 3
jne 0x449fa6
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x64]
call fcn.0044d8e8
add esp, 0xc
movss xmm3, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x449fbc
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jnp 0x44a10a
movss xmm2, dword [esi + 0x58]
minss xmm2, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x488b74]
push 0x20
pop eax
mov ecx, eax
mulss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [esi + 0x4958]
movss xmm1, dword [esp + 0x70]
addss xmm0, dword [esi + 0x4954]
movss dword [esi + 0x4958], xmm2
movss dword [esi + 0x4954], xmm0
subss xmm1, dword [edi + 0x14]
subss xmm1, dword [edi + 0x1c]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x30]
subss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x20]
movss dword [esi + 0x4954], xmm0
mov byte [esi + 0x4948], 0
mov byte [esi + 0x4803], 1
maxss xmm2, xmm1
movss xmm1, dword [0x488a38]
movss dword [esi + 0x4958], xmm2
call fcn.00444872
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [esi + 0x4954]
mov eax, dword [esp + 0x18]
cvttss2si edi, dword [eax + 0x4958]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm5
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x44a093
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x44a112
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
addss xmm0, dword [edx + 0x24]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x60], xmm0
call fcn.00449106
pop ecx
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x28], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x4954]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4954], xmm0
movss xmm0, dword [eax + 0x4958]
subss xmm0, xmm1
movss dword [eax + 0x4958], xmm0
jmp 0x44a118
movss xmm2, dword [esp + 0x14]
jmp 0x44a11c
movss xmm2, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movss xmm1, dword [0x488ba0]
movss xmm0, dword [esp + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x44a144
mov ecx, edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm2
call fcn.00454a74
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x44a17c
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 + 0x14], xmm1
movss dword [edi + 0x18], xmm0
call fcn.00454a74
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov al, byte [esp + 0xf]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
jmp 0x44a190
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret