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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x65a600]
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 0x4c435e
cmp byte [edx + 0xc4], 0
jg 0x4c435e
cmp byte [edx + 0xc5], 0
jg 0x4c435e
cmp byte [edx + 0xab], 0
je 0x4c435e
movss xmm2, dword [eax + 0x3bb8]
xor esi, esi
movss xmm0, dword [edx + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x50e190]
mulss xmm2, dword [0x50e118]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x50e198]
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 [0x50e168]
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
je 0x4c394f
movss xmm0, dword [0x50e208]
jmp 0x4c3952
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 0x4c39a5
test byte [edx + 0xc], 1
jne 0x4c39a5
mov edi, edx
mov byte [esp + 0xe], 1
mov ecx, edi
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c8]
call fcn.004bc78c
addss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
jmp 0x4c39b8
movss xmm0, dword [esp + 0x74]
mov edi, edx
mov byte [esp + 0xe], 0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x50e300]
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.004c78e2
mov esi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xc], eax
jle 0x4c3de0
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, 0x5063a8
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 0x4c3aa4
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x4c3ab5
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x6c], xmm2
push eax
mov ecx, edi
call fcn.004c05e0
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.004c9836
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.004e0d4c
mov dl, byte [esp + 0x21]
add esp, 0x14
test dl, dl
jne 0x4c3aff
mov cl, byte [esp + 0xc]
test cl, cl
je 0x4c3d80
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 0x4c3d86
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x4c3b6e
test edx, edx
jne 0x4c3b6e
push dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.004c32d6
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.004c079c
jmp 0x4c3da2
mov edx, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm3, dword [0x50e190]
movss xmm1, dword [edx + 4]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x4c3ba5
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4c3b9b
cmp byte [esp + 0xe], 0
jne 0x4c3ba5
movss xmm6, dword [0x50e350]
jmp 0x4c3bab
movss xmm6, dword [esp + 0x30]
movss xmm2, dword [edx]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x4c3bc0
movss xmm5, dword [esp + 0x70]
jmp 0x4c3bc8
movss xmm5, dword [0x50e350]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4c3be7
movss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x50e300]
jmp 0x4c3bf5
movss xmm1, dword [0x50e300]
movss dword [esp + 0x28], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x4c3c06
movss xmm7, dword [esp + 0x78]
jmp 0x4c3c09
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 [0x50e6e0]
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 0x4c3c8b
movss xmm6, dword [esp + 0x28]
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x4c3c97
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.004c32d6
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 0x4c3d4e
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 0x4c3d8a
subss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x4c3d8a
mov edi, dword [esp + 0x10]
jmp 0x4c3d92
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xc]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c3da2
test cl, cl
jne 0x4c3da2
test dl, dl
je 0x4c3dd2
movss xmm1, dword [0x50e190]
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.004bea42
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 0x4c3a02
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jbe 0x4c40db
imul ecx, eax, 0x1c
mov dword [esp + 0x44], ecx
test eax, eax
je 0x4c3e1e
cmp eax, 1
je 0x4c3e1e
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], 0xdc4
mov dword [esp + 0x38], 0x3eac
jmp 0x4c3e3a
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.004c37a9
mov eax, dword [esp + 0x34]
add esp, 8
add eax, 4
mov ecx, edi
push eax
call fcn.004c05e0
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.004c9836
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.004e0d4c
mov dl, byte [esp + 0x20]
add esp, 0x14
cmp byte [esp + 0xd], 0
mov eax, dword [esp + 0x18]
je 0x4c3eb9
movss xmm0, dword [eax + 0x3e8c]
comiss xmm0, dword [0x50e0f8]
ja 0x4c3ec1
test dl, dl
je 0x4c40c4
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x4960], ecx
test dl, dl
je 0x4c40c4
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push 2
mov dword [edx], ecx
pop edx
cmp ecx, 3
je 0x4c3ef9
cmp ecx, edx
jne 0x4c3eef
cmp byte [esp + 0xe], 0
jne 0x4c3ef9
movss xmm5, dword [0x50e350]
jmp 0x4c3eff
movss xmm5, dword [esp + 0x30]
cmp ecx, 1
jne 0x4c3f17
movss xmm0, dword [0x50e300]
movss xmm3, dword [esp + 0x70]
movaps xmm1, xmm0
jmp 0x4c3f38
movss xmm3, dword [0x50e350]
movaps xmm0, xmm3
cmp ecx, edx
jne 0x4c40a9
movss xmm1, dword [esp + 0x7c]
movss xmm0, dword [0x50e300]
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 [0x50e208]
movss dword [eax], xmm0
comiss xmm5, dword [esp + 0x4c]
ja 0x4c3f87
movaps xmm5, xmm1
minss xmm5, dword [esp + 0x4c]
comiss xmm3, dword [esp + 0x48]
ja 0x4c3f97
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 + 0x5061ec]
subss xmm4, xmm3
minss xmm7, dword [eax + 0x5061f4]
movss xmm2, dword [eax + 0x5061e8]
movaps xmm6, xmm0
minss xmm2, dword [eax + 0x5061f0]
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.004c32d6
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 0x4c4076
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 0x4c40c8
subss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x4c40c8
movss xmm1, dword [0x50e300]
test ecx, ecx
jne 0x4c3f30
movss xmm2, dword [esp + 0x78]
jmp 0x4c3f3b
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x4c3df0
mov eax, dword [0x65a600]
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 0x4c42da
cmp dword [eax + 0x300], edi
jne 0x4c42da
mov eax, dword [esi + 0x47f8]
xorps xmm5, xmm5
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp eax, 2
jne 0x4c4148
cmp byte [esi + 0xddd], 0
je 0x4c42da
push 0x204
push 0x203
push 0x202
mov edx, 0x201
jmp 0x4c4161
cmp eax, 3
jne 0x4c4176
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x64]
call fcn.004c7ab8
add esp, 0xc
movss xmm3, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x4c418c
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jnp 0x4c42da
movss xmm2, dword [esi + 0x58]
minss xmm2, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x50e2cc]
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 [0x50e190]
movss dword [esi + 0x4958], xmm2
call fcn.004bea42
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 0x4c4263
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x4c42e2
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.004c32d6
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 0x4c42e8
movss xmm2, dword [esp + 0x14]
jmp 0x4c42ec
movss xmm2, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movss xmm1, dword [0x50e300]
movss xmm0, dword [esp + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4c4314
mov ecx, edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm2
call fcn.004cec44
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4c434c
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.004cec44
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 0x4c4360
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret