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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
xorps xmm0, xmm0
movss xmm1, dword [0x7389bc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x88]
movss dword [ebx + 0x2c], xmm1
movss dword [ebx + 8], xmm0
movss dword [ebx + 4], xmm0
movss dword [ebx], xmm0
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebx + 0x28], ecx
movss dword [ebx + 0x1c], xmm1
movss xmm1, dword [0x738c28]
movss dword [ebx + 0x10], xmm0
movss dword [ebx + 0x14], xmm0
movss dword [ebx + 0x18], xmm0
movss dword [ebx + 0x30], xmm1
movss dword [ebx + 0x34], xmm0
movss xmm0, dword [ebp + 0x1c]
shl edi, 6
add edi, eax
shl esi, 6
add esi, eax
mov al, 0xff
mov byte [ebx + 0x3b], al
mov byte [ebx + 0x3a], al
mov byte [ebx + 0x39], al
mov byte [ebx + 0x38], al
mov dword [ebx + 0x24], ecx
xor eax, eax
mov dword [ebx + 0x20], eax
movss xmm1, dword [esi + 0x30]
subss xmm1, dword [edi + 0x30]
mulss xmm1, xmm0
addss xmm1, dword [edi + 0x30]
movss dword [ebx + 0x30], xmm1
movss xmm1, dword [esi + 0x34]
subss xmm1, dword [edi + 0x34]
mulss xmm1, xmm0
addss xmm1, dword [edi + 0x34]
movss dword [ebx + 0x34], xmm1
movzx eax, byte [edi + 0x3a]
movzx ecx, byte [esi + 0x3a]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
fild dword [esp + 0x10]
mov dword [esp + 0x18], esi
fmul dword [ebp + 0x1c]
fiadd dword [esp + 0x1c]
call fcn.00686364
mov byte [ebx + 0x3a], al
movzx eax, byte [edi + 0x39]
movzx edx, byte [esi + 0x39]
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x1c]
fmul dword [ebp + 0x1c]
fiadd dword [esp + 0x10]
call fcn.00686364
mov byte [ebx + 0x39], al
movzx eax, byte [edi + 0x38]
movzx ecx, byte [esi + 0x38]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x1c]
fmul dword [ebp + 0x1c]
fiadd dword [esp + 0x10]
call fcn.00686364
mov byte [ebx + 0x38], al
movzx eax, byte [edi + 0x3b]
mov dword [esp + 0x10], eax
movzx edx, byte [esi + 0x3b]
sub edx, eax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul dword [ebp + 0x1c]
fiadd dword [esp + 0x10]
call fcn.00686364
mov byte [ebx + 0x3b], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x84], 1
jne 0x4e8f2d
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004ea560
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push eax
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.004ea560
movss xmm2, dword [ebp + 0x1c]
movss xmm7, dword [0x7389e8]
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm2
movaps xmm6, xmm1
movaps xmm4, xmm3
mulss xmm4, dword [0x738a5c]
mulss xmm6, xmm7
movaps xmm0, xmm6
subss xmm0, xmm4
addss xmm0, dword [0x7389bc]
subss xmm4, xmm6
movaps xmm6, xmm3
movaps xmm5, xmm4
movaps xmm4, xmm1
subss xmm1, xmm3
movss xmm3, dword [esp + 0x60]
mulss xmm3, xmm1
movss dword [esp + 0x50], xmm3
mulss xmm6, xmm7
movss xmm7, dword [esp + 0x68]
subss xmm4, xmm6
movss xmm6, dword [esp + 0x64]
movaps xmm3, xmm6
mulss xmm3, xmm1
movss dword [esp + 0x54], xmm3
addss xmm4, xmm2
movaps xmm3, xmm7
mulss xmm3, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm1, xmm4
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, xmm4
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm1, xmm4
movss xmm4, dword [esi]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esi + 4]
mulss xmm1, xmm5
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esi + 8]
mulss xmm1, xmm5
movss dword [esp + 0x58], xmm3
movss xmm3, dword [edi + 4]
movss dword [esp + 0x78], xmm1
movss xmm1, dword [edi]
mulss xmm1, xmm0
mulss xmm3, xmm0
mulss xmm0, dword [edi + 8]
addss xmm3, dword [esp + 0x74]
addss xmm0, dword [esp + 0x78]
addss xmm3, dword [esp + 0x44]
addss xmm0, dword [esp + 0x48]
addss xmm3, dword [esp + 0x54]
addss xmm0, dword [esp + 0x58]
mulss xmm4, xmm5
addss xmm1, xmm4
addss xmm1, dword [esp + 0x40]
addss xmm1, dword [esp + 0x50]
movss dword [esp + 0x30], xmm1
mov ecx, dword [esp + 0x30]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm0
mov eax, ebx
mov edx, dword [esp + 0x34]
movss xmm5, dword [0x7389bc]
comiss xmm5, xmm2
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jbe 0x4e8df0
addss xmm2, dword [0x738d60]
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, dword [0x7389e8]
movss dword [esp + 0x1c], xmm0
movaps xmm4, xmm3
mulss xmm4, dword [0x738a5c]
subss xmm0, xmm4
subss xmm4, dword [esp + 0x1c]
addss xmm0, xmm5
movaps xmm5, xmm1
subss xmm1, xmm3
mulss xmm6, xmm1
mulss xmm7, xmm1
movss dword [esp + 0x1c], xmm4
movaps xmm4, xmm3
mulss xmm4, dword [0x7389e8]
movaps xmm3, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm3, dword [esp + 0x60]
subss xmm5, xmm4
addss xmm5, xmm2
movss xmm2, dword [edi + 4]
mulss xmm1, xmm5
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm1, xmm5
movss dword [esp + 0x78], xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm2, xmm0
movss dword [esp + 0x64], xmm6
movss xmm6, dword [esi + 8]
mulss xmm6, xmm1
movaps xmm4, xmm5
movss xmm5, dword [esi]
mulss xmm4, dword [esp + 0x20]
mulss xmm5, xmm1
movss dword [esp + 0x68], xmm7
movaps xmm7, xmm1
mulss xmm7, dword [esi + 4]
movaps xmm1, xmm0
mulss xmm1, dword [edi]
mulss xmm0, dword [edi + 8]
addss xmm1, xmm5
addss xmm2, xmm7
addss xmm2, dword [esp + 0x74]
addss xmm2, dword [esp + 0x64]
addss xmm0, xmm6
addss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x68]
addss xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
movss xmm0, dword [0x7389bc]
comiss xmm0, dword [ebp + 0x1c]
xorps xmm1, xmm1
jbe 0x4e9028
fld dword [esp + 0x20]
movss xmm0, dword [esp + 0x28]
fsub dword [ebx]
subss xmm0, dword [ebx + 8]
fld dword [esp + 0x24]
movss dword [esp + 0x10], xmm0
fsub dword [ebx + 4]
fld st(1)
fmul st(2)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
jmp 0x4e9052
subss xmm2, dword [0x738d60]
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, dword [0x7389e8]
movss dword [esp + 0x1c], xmm0
movaps xmm4, xmm3
mulss xmm4, dword [0x738a5c]
subss xmm0, xmm4
subss xmm4, dword [esp + 0x1c]
addss xmm0, xmm5
movaps xmm5, xmm1
subss xmm1, xmm3
mulss xmm6, xmm1
mulss xmm7, xmm1
movss dword [esp + 0x1c], xmm4
movaps xmm4, xmm3
mulss xmm4, dword [0x7389e8]
movaps xmm3, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm3, dword [esp + 0x60]
subss xmm5, xmm4
addss xmm5, xmm2
movss xmm2, dword [edi + 4]
mulss xmm1, xmm5
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm1, xmm5
movss dword [esp + 0x78], xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x64], xmm6
movss xmm6, dword [esi + 8]
mulss xmm6, xmm1
movaps xmm4, xmm5
movss xmm5, dword [esi]
mulss xmm4, dword [esp + 0x20]
mulss xmm5, xmm1
movss dword [esp + 0x68], xmm7
movaps xmm7, xmm1
mulss xmm7, dword [esi + 4]
movaps xmm1, xmm0
mulss xmm1, dword [edi]
mulss xmm2, xmm0
mulss xmm0, dword [edi + 8]
addss xmm1, xmm5
addss xmm1, xmm4
addss xmm2, xmm7
addss xmm2, dword [esp + 0x74]
addss xmm2, dword [esp + 0x64]
addss xmm1, xmm3
addss xmm0, xmm6
addss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x30], xmm1
mov ecx, dword [esp + 0x30]
movss dword [esp + 0x34], xmm2
mov edx, dword [esp + 0x34]
movss dword [esp + 0x38], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x4e8dac
movss xmm0, dword [esi]
subss xmm0, dword [edi]
movss xmm3, dword [ebp + 0x1c]
movss xmm1, dword [esi + 4]
subss xmm1, dword [edi + 4]
mulss xmm0, xmm3
movaps xmm2, xmm0
addss xmm2, dword [edi]
movss xmm0, dword [esi + 8]
subss xmm0, dword [edi + 8]
movss dword [esp + 0x30], xmm2
movss xmm2, dword [edi + 4]
mov eax, dword [esp + 0x30]
mulss xmm0, xmm3
addss xmm0, dword [edi + 8]
mulss xmm1, xmm3
addss xmm2, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x7389bc]
movss dword [esp + 0x34], xmm2
mov ecx, dword [esp + 0x34]
mov edx, ebx
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
movss xmm2, dword [esi + 8]
movss xmm1, dword [esi + 4]
subss xmm2, dword [edi + 8]
subss xmm1, dword [edi + 4]
comiss xmm0, xmm3
addss xmm3, dword [0x738d60]
movss xmm0, dword [esi]
subss xmm0, dword [edi]
mulss xmm0, xmm3
addss xmm0, dword [edi]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 4]
mulss xmm2, xmm3
addss xmm2, dword [edi + 8]
mulss xmm1, xmm3
addss xmm0, xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x34], xmm0
jbe 0x4e8d8c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x4e8dac
fld dword [ebx]
movss xmm0, dword [ebx + 8]
fsub dword [esp + 0x20]
subss xmm0, dword [esp + 0x28]
fld dword [ebx + 4]
movss dword [esp + 0x10], xmm0
fsub dword [esp + 0x24]
fld st(1)
fmul st(2)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
movss dword [esp + 0x78], xmm0
lea esi, [ebx + 0x10]
lea edi, [esp + 0x20]
fsqrt
movss dword [esp + 0x28], xmm1
fxch st(1)
fxch st(1)
fpatan
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x78]
fpatan
fstp dword [esp + 0x24]
call fcn.0043eca0
movss xmm0, dword [ebp + 0x24]
movss xmm1, dword [ebp + 0x20]
comiss xmm0, xmm1
movss xmm2, dword [ebp + 0x10]
mov dword [ebx + 0x28], 0
mov ecx, 0x20
jb 0x4e90d8
comiss xmm2, xmm1
jbe 0x4e90c7
comiss xmm0, xmm2
jb 0x4e90c7
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x24], edx
or dword [eax + 0x28], ecx
movss xmm2, dword [ebp + 0x18]
comiss xmm2, xmm1
jbe 0x4e9123
comiss xmm0, xmm2
jb 0x4e9123
jmp 0x4e910a
comiss xmm2, xmm0
jb 0x4e90fb
comiss xmm1, xmm2
jbe 0x4e90fb
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x24], edx
or dword [eax + 0x28], ecx
movss xmm2, dword [ebp + 0x18]
comiss xmm2, xmm0
jb 0x4e9123
comiss xmm1, xmm2
jbe 0x4e9123
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x24], edx
or dword [eax + 0x28], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20