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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x274
mov edx, dword [0xa6f96c]
imul eax, eax, 0x88
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax + edx + 0x78]
movzx eax, byte [esi + 0x13]
lea eax, [eax + ebx + 1]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
movss xmm0, dword [eax]
movzx edx, word [esi + 0xa]
fld dword [eax + 0xc]
fstp dword [esp + 0xc]
movaps xmm4, xmm0
fld dword [eax + 4]
add edx, eax
fld dword [esp + 0xc]
movss xmm5, dword [eax + 0x30]
fld st(0)
movss xmm3, dword [0x6f9ec4]
fsubp st(2)
push edi
fxch st(1)
mov edi, dword [ebp + 0x10]
shufps xmm3, xmm3, 0
fstp dword [esp + 0x10]
fld qword [0x6f9b80]
movss xmm0, dword [esp + 0x10]
fdiv st(1), st(0)
unpcklps xmm4, xmm0
movss xmm0, dword [eax + 8]
fxch st(1)
fstp dword [esp + 0x14]
fld dword [eax + 0x3c]
movss xmm1, dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [eax + 0x34]
unpcklps xmm0, xmm1
fld dword [esp + 0x14]
shufps xmm4, xmm0, 0x44
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
fdiv st(1)
unpcklps xmm5, xmm0
movss xmm0, dword [eax + 0x38]
fstp dword [esp + 0x10]
fld dword [edx + 0xc]
fstp dword [esp + 0x14]
fld dword [edx + 4]
movss xmm1, dword [esp + 0x10]
fld dword [esp + 0x14]
unpcklps xmm0, xmm1
fld st(0)
movss xmm1, dword [edx]
fsubp st(2)
shufps xmm5, xmm0, 0x44
fxch st(1)
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
fdiv st(1)
unpcklps xmm1, xmm0
movss xmm0, dword [edx + 8]
fstp dword [esp + 0x1c]
fld dword [edx + 0x3c]
fstp dword [esp + 0x14]
fld dword [edx + 0x34]
movss xmm2, dword [esp + 0x1c]
fld dword [esp + 0x14]
unpcklps xmm0, xmm2
fld st(0)
shufps xmm1, xmm0, 0x44
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fdivrp st(1)
fstp dword [esp + 0x18]
movss xmm0, dword [edx + 0x30]
fld1
movss xmm6, dword [esp + 0x18]
movaps xmm2, xmm0
movss xmm0, dword [esp + 0x14]
unpcklps xmm2, xmm0
movss xmm0, dword [edx + 0x38]
unpcklps xmm0, xmm6
shufps xmm2, xmm0, 0x44
xorps xmm0, xmm0
subps xmm1, xmm4
subps xmm2, xmm5
mulps xmm1, xmm3
mulps xmm2, xmm3
movss dword [esp + 0x10], xmm0
xor eax, eax
movss xmm0, dword [esp + 0x10]
fld dword [esp + 0x10]
shufps xmm0, xmm0, 0
fadd st(1)
movaps xmm6, xmm0
mulps xmm6, xmm1
addps xmm6, xmm4
fstp dword [esp + 0x10]
mulps xmm0, xmm2
movaps xmmword [esp + eax + 0x60], xmm6
movaps xmm6, xmmword [esp + eax + 0x60]
addps xmm0, xmm5
subps xmm0, xmm6
mulps xmm0, xmm3
movaps xmmword [esp + eax + 0x170], xmm0
add eax, 0x10
cmp eax, 0x100
jb 0x4e6f54
movsx eax, word [esi + 8]
fstp st(0)
movzx edx, word [esi + 0xc]
add eax, esi
shl ebx, 4
add ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebx
jle 0x4e7089
mov dword [esp + 0x10], eax
movzx edx, byte [edi]
mov eax, edx
shr eax, 4
and edx, 0xf
mov ebx, edx
mov esi, eax
add edi, 1
shl esi, 4
test ebx, ebx
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
jge 0x4e6fe8
fadd dword [0x6f9a18]
imul eax, dword [esp + 0x1c]
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
movaps xmm1, xmmword [esp + esi + 0x170]
add eax, edx
mov edx, dword [esp + 0x14]
add ecx, 0x14
sub dword [esp + 0x10], 1
shufps xmm0, xmm0, 0
mulps xmm0, xmm1
movaps xmm1, xmmword [esp + esi + 0x60]
addps xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm1, dword [esp + 0x40]
movss dword [ecx - 0x14], xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esp + 0x20]
movss dword [ecx - 0x10], xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xaa
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x50]
movss dword [ecx - 0xc], xmm1
mov al, byte [eax + edx]
movzx eax, al
mov dword [esp + 0x18], eax
shufps xmm0, xmm0, 0xff
movss dword [esp + 0x30], xmm0
fild dword [esp + 0x18]
mov dword [ecx - 4], eax
fmul dword [esp + 0x30]
fadd dword [esp + 0x20]
fstp dword [ecx - 8]
jne 0x4e6fc1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret