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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, dword [0x65a600]
mov dword [esp + 0x18], edx
push edi
mov eax, dword [esi + 0x3e48]
mov byte [eax + 0xac], 1
mov edx, dword [esi + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x4e0c9d
cmp ecx, dword [esp + 0x1c]
mov ebx, 0x503dbe
mov edi, ebx
cmovne ebx, dword [esp + 0x1c]
cmovne edi, ecx
test ebx, ebx
jne 0x4e08d5
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e08c9
sub ecx, ebx
lea ebx, [edi + ecx]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm2, dword [edx + 0x128]
mov eax, ebx
addss xmm2, dword [edx + 0xf4]
movss xmm3, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x14], xmm2
setae cl
sub eax, edi
cmp eax, 0x7d0
jle 0x4e0bcd
test cl, cl
jne 0x4e0bd1
movaps xmm1, xmm2
movss xmm4, dword [esi + 0x3bb8]
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm1
cmp byte [esi + 0x5aa4], cl
jne 0x4e09ff
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm2
divss xmm0, xmm4
cvttss2si ecx, xmm0
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x4e09ff
xor eax, eax
mov dword [esp + 0x18], eax
cmp edi, ebx
jae 0x4e09ea
cmp eax, ecx
jge 0x4e09d8
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
cmove esi, ebx
test byte [ebp + 8], 1
jne 0x4e09c4
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x34]
push 0
push esi
mov edx, edi
call fcn.004c2718
add esp, 0xc
movss xmm0, dword [eax]
maxss xmm0, dword [esp + 0x20]
movss dword [esp + 0x20], xmm0
mov eax, dword [esp + 0x18]
lea edi, [esi + 1]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
cmp edi, ebx
jb 0x4e097a
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x10]
movss xmm4, dword [esp + 0xc]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm2
movss dword [esp + 0x2c], xmm1
cmp edi, ebx
jae 0x4e0b78
movaps xmm0, xmm3
movss dword [esp + 0x38], xmm3
addss xmm0, dword [0x50e300]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x44], xmm2
lea ecx, [esp + 0x38]
call fcn.004c0bf1
test al, al
jne 0x4e0af3
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
lea ecx, [esp + 0x3c]
test esi, esi
mov edx, edi
cmove esi, ebx
add esp, 8
mov dword [esp], 0xbf800000
push 0
push esi
call fcn.004c2718
add esp, 0xc
mov edx, esi
mov ecx, edi
movss xmm0, dword [eax]
push dword [esp + 0x2c]
maxss xmm0, dword [esp + 0x24]
push dword [esp + 0x2c]
push 0
movss dword [esp + 0x2c], xmm0
call fcn.004bece4
movss xmm4, dword [esp + 0x18]
lea edi, [esi + 1]
movss xmm3, dword [esp + 0x24]
add esp, 0xc
movss xmm2, dword [esp + 0x1c]
addss xmm3, xmm4
movss xmm1, dword [esp + 0x2c]
addss xmm2, xmm4
addss xmm1, xmm4
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x2c], xmm1
cmp edi, ebx
jb 0x4e0a40
xor eax, eax
mov dword [esp + 0x1c], eax
cmp edi, ebx
jae 0x4e0b63
and dword [ebp + 8], 1
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
cmove esi, ebx
cmp dword [ebp + 8], 0
jne 0x4e0b47
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x34]
push 0
push esi
mov edx, edi
call fcn.004c2718
add esp, 0xc
movss xmm0, dword [eax]
maxss xmm0, dword [esp + 0x20]
movss dword [esp + 0x20], xmm0
mov eax, dword [esp + 0x1c]
lea edi, [esi + 1]
inc eax
mov dword [esp + 0x1c], eax
cmp edi, ebx
jb 0x4e0b01
movss xmm1, dword [esp + 0x2c]
movss xmm4, dword [esp + 0xc]
movss xmm2, dword [esp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm3, dword [esp + 0x10]
subss xmm1, xmm2
movaps xmm0, xmm3
movss dword [esp + 0x38], xmm3
addss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x20]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x24], xmm1
addss xmm1, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
xorps xmm1, xmm1
call fcn.004c96e2
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.004c9836
jmp 0x4e0c9b
test cl, cl
je 0x4e0c0c
comiss xmm0, xmm1
ja 0x4e0c0c
ucomiss xmm1, xmm0
mov ecx, edx
lahf
test ah, 0x44
jp 0x4e0beb
movss xmm1, dword [ecx + 0x1f8]
jmp 0x4e0bfe
comiss xmm1, xmm0
jbe 0x4e0bfe
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
subss xmm1, xmm3
maxss xmm1, dword [0x50e190]
jmp 0x4e0c0f
xorps xmm1, xmm1
push ecx
movss dword [esp], xmm1
lea ecx, [esp + 0x2c]
xor esi, esi
movss dword [esp + 0x10], xmm1
push esi
push ebx
mov edx, edi
call fcn.004c2718
movss xmm1, dword [esp + 0x34]
lea ecx, [esp + 0x34]
movss xmm3, dword [esp + 0x1c]
add esp, 0xc
movss xmm2, dword [esp + 0x14]
addss xmm1, xmm3
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm0
call fcn.004c96e2
push esi
push esi
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.004c9836
pop ecx
pop ecx
test al, al
je 0x4e0c9d
push dword [esp + 0x3c]
movss xmm2, dword [esp + 0x10]
mov edx, ebx
push dword [esp + 0x3c]
mov ecx, edi
call fcn.004bed71
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret