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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, dword [ebp + 0x28]
mov eax, dword [edi + 0x74]
mov eax, dword [eax]
push dword [eax]
call fcn.004f0fa0
push 1
push 1
push 0
push 0
call fcn.004e1e60
movss xmm4, dword [ebp + 0x10]
add esp, 0x14
cmp byte [ebp + 0x2c], 0
movaps xmm7, xmm4
movss xmm0, dword [ebp + 0x1c]
movss xmm3, dword [ebp + 0xc]
movss xmm2, dword [ebp + 8]
subss xmm0, xmm3
movss xmm5, dword [ebp + 0x14]
subss xmm7, xmm2
movss xmm1, dword [ebp + 0x18]
movaps xmm6, xmm5
subss xmm1, xmm2
mov eax, dword [0xe30a74]
subss xmm6, xmm3
mov esi, dword [0x949688]
movss dword [ebp - 4], xmm0
mulss xmm0, xmm7
mov dword [ebp - 0x1c], eax
movss dword [ebp + 0x28], xmm1
mov dword [ebp - 0x18], esi
movss dword [ebp - 0xc], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
movss xmm1, dword [ebp - 0xc]
subss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [ebp + 0x24]
movss dword [ebp - 0xc], xmm1
movss xmm1, dword [ebp + 0x18]
subss xmm1, dword [ebp + 0x20]
mulss xmm1, xmm0
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0x24]
movss dword [ebp - 0x14], xmm1
movaps xmm1, xmm4
subss xmm1, dword [ebp + 0x20]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
subss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jne 0x4ef6db
movss xmm0, dword [ebp + 0x24]
xor eax, eax
movss xmm1, dword [ebp + 0x20]
subss xmm0, xmm5
subss xmm1, xmm4
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp + 0x20]
subss xmm0, dword [ebp + 0x18]
movss dword [ebp - 0x10], xmm1
subss xmm7, xmm0
movss xmm0, dword [0x736664]
andps xmm7, xmmword [0x6baa70]
comiss xmm0, xmm7
movss xmm7, dword [ebp + 0x24]
jbe 0x4ef388
movaps xmm0, xmm7
mov ecx, 1
subss xmm0, dword [ebp + 0x1c]
subss xmm6, xmm0
movss xmm0, dword [0x736664]
andps xmm6, xmmword [0x6baa70]
comiss xmm0, xmm6
cmova eax, ecx
movss xmm0, dword [ebp + 0x28]
movss xmm6, dword [0x736664]
subss xmm0, xmm1
movss xmm1, dword [0x6baa70]
andps xmm0, xmm1
comiss xmm6, xmm0
jbe 0x4ef3bc
movss xmm0, dword [ebp - 4]
subss xmm0, dword [ebp - 8]
andps xmm0, xmm1
comiss xmm6, xmm0
jbe 0x4ef3bc
inc eax
cmp eax, 2
je 0x4ef6db
movss xmm0, dword [0x6bccd0]
movss xmm6, dword [edi + 0x38]
comiss xmm0, xmm6
xorps xmm0, xmm0
movss dword [ebp + 0x2c], xmm0
jbe 0x4ef3e6
movss dword [ebp - 0xc], xmm0
jmp 0x4ef40d
movss xmm0, dword [edi + 0x60]
movss xmm1, dword [edi + 0x68]
subss xmm0, dword [edi + 0x30]
subss xmm1, xmm6
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x6ba9d0]
movss dword [ebp - 0xc], xmm1
movss xmm1, dword [edi + 0x68]
comiss xmm1, dword [0x6bd3f8]
jbe 0x4ef422
movss dword [ebp - 0x14], xmm0
jmp 0x4ef444
movss xmm0, dword [edi + 0x60]
subss xmm1, xmm6
subss xmm0, dword [edi + 0x30]
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x6c0c5c]
movss dword [ebp - 0x14], xmm1
movss xmm6, dword [edi + 0x3c]
movss xmm1, dword [0x6bccd0]
comiss xmm1, xmm6
jbe 0x4ef45d
movss dword [ebp - 0x18], xmm0
jmp 0x4ef481
movss xmm1, dword [edi + 0x6c]
movss xmm0, dword [edi + 0x64]
subss xmm1, xmm6
subss xmm0, dword [edi + 0x34]
divss xmm1, xmm0
mulss xmm1, dword [0x6ba9d0]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [edi + 0x6c]
comiss xmm1, dword [0x6bd3f8]
ja 0x4ef4ae
movss xmm0, dword [edi + 0x64]
subss xmm1, xmm6
subss xmm0, dword [edi + 0x34]
divss xmm1, xmm0
mulss xmm1, dword [0x6c0c5c]
movss dword [ebp + 0x2c], xmm1
movaps xmm0, xmmword [0x6c0d10]
subss xmm7, xmm3
movss xmm1, dword [ebp + 0x18]
movups xmmword [ebp - 0x30], xmm0
push ecx
movss xmm0, dword [ebp + 0x20]
subss xmm1, xmm4
subss xmm0, xmm2
mov dword [ebp - 0x20], 0x3d4ccccd
movss dword [ebp + 0x24], xmm7
mulss xmm1, xmm1
movss dword [ebp + 0x20], xmm0
movss xmm0, dword [ebp + 0x1c]
subss xmm0, xmm5
mulss xmm0, xmm0
addss xmm0, xmm1
movss dword [esp], xmm0
call fcn.004975f0
movss xmm0, dword [ebp + 0x24]
movss xmm1, dword [ebp + 0x20]
mulss xmm0, xmm0
mulss xmm1, xmm1
fstp dword [ebp + 0x18]
addss xmm0, xmm1
movss dword [esp], xmm0
call fcn.004975f0
mov ecx, dword [0x9497dc]
mov eax, dword [0x9497d8]
fadd dword [ebp + 0x18]
imul ecx, ecx
imul eax, eax
fstp dword [ebp + 0x20]
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.004975f0
fadd st(0), st(0)
add esp, 4
mov ecx, 5
lea eax, [ebp - 0x30]
fdivr dword [ebp + 0x20]
fstp dword [ebp + 0x20]
movss xmm1, dword [ebp + 0x20]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x4ef576
dec ecx
add eax, 4
test ecx, ecx
jg 0x4ef565
movss xmm2, dword [0x736690]
mov eax, 0xe999e8
movss xmm0, dword [ebp + 0x28]
divss xmm0, xmm2
mov edx, dword [ebp - 0x1c]
mov dword [ebp + 0x20], 8
movss xmm1, dword [edi + 0x68]
movss dword [ebp + 0x28], xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, xmm2
addss xmm1, dword [ebp - 0x14]
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebp - 0x10]
divss xmm0, xmm2
movss xmm5, dword [edi + 0x3c]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 8]
divss xmm0, xmm2
addss xmm5, dword [ebp - 0x18]
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [edi + 0x38]
movss xmm6, dword [ebp + 8]
movss xmm7, dword [ebp + 0xc]
subss xmm1, xmm0
movss xmm0, dword [ebp + 0x2c]
addss xmm0, dword [edi + 0x6c]
divss xmm1, xmm2
subss xmm0, xmm5
movss dword [ebp + 0x24], xmm1
movss xmm1, dword [ebp + 0x14]
divss xmm0, xmm2
movss dword [ebp + 0x2c], xmm0
movss xmm0, dword [ebp + 0x10]
nop dword [eax + eax]
movaps xmm3, xmm0
movaps xmm4, xmm1
movss xmm0, dword [ebp - 0xc]
subss xmm3, xmm6
addss xmm0, dword [edi + 0x38]
subss xmm4, xmm7
movaps xmm1, xmm6
mov ecx, 8
divss xmm3, xmm2
divss xmm4, xmm2
movaps xmm2, xmm7
nop dword [eax + eax]
movss dword [eax], xmm1
addss xmm1, xmm3
movss dword [eax + 4], xmm2
addss xmm2, xmm4
movss dword [eax + 0x14], xmm0
addss xmm0, dword [ebp + 0x24]
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0x3f800000
movss dword [eax + 0x18], xmm5
mov dword [eax + 0x10], edx
add eax, 0x1c
sub ecx, 1
jne 0x4ef650
sub dword [ebp + 0x20], 1
movss xmm0, dword [ebp + 0x10]
movss xmm1, dword [ebp + 0x14]
addss xmm0, dword [ebp - 0x10]
addss xmm1, dword [ebp - 8]
addss xmm5, dword [ebp + 0x2c]
addss xmm6, dword [ebp + 0x28]
addss xmm7, dword [ebp - 4]
movss xmm2, dword [0x736690]
movss dword [ebp + 0x10], xmm0
movss dword [ebp + 0x14], xmm1
jne 0x4ef620
push 8
push 8
push 0xe999e8
call fcn.004fb260
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0xc30d60], 0
je 0x4ef6e9
call fcn.0049a280
mov ecx, dword [0xe30a64]
mov esi, dword [0xe30a6c]
mov edx, dword [0xe30a68]
test ecx, ecx
jne 0x4ef71f
cmp dword [0xe30a70], 4
jne 0x4ef71f
lea eax, [edx + 6]
cmp eax, dword [esi*4 + 0x6e7270]
jge 0x4ef71f
mov esi, dword [0xdf0e48]
jmp 0x4ef80a
test edx, edx
je 0x4ef7df
lea eax, [esi + ecx*2]
add eax, ecx
push dword [eax*4 + 0x6e72d8]
call fcn.004fa100
mov eax, dword [0xe30a70]
add esp, 4
cmp eax, 4
jne 0x4ef759
mov eax, 0x55555556
imul dword [0xe30a68]
mov esi, edx
shr esi, 0x1f
add esi, edx
jmp 0x4ef7a6
cmp eax, 2
jne 0x4ef76c
mov eax, dword [0xe30a68]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x4ef7a6
cmp eax, 6
jne 0x4ef77c
mov esi, dword [0xe30a68]
add esi, 0xfffffffe
jmp 0x4ef7a6
cmp eax, 5
jne 0x4ef78c
mov esi, dword [0xe30a68]
add esi, 0xfffffffe
jmp 0x4ef7a6
cmp eax, 3
jne 0x4ef79a
mov esi, dword [0xe30a68]
dec esi
jmp 0x4ef7a6
xor esi, esi
cmp eax, 1
cmove esi, dword [0xe30a68]
mov ecx, dword [0xe30a64]
mov eax, dword [0xe30a6c]
lea eax, [eax + ecx*2]
add eax, ecx
push dword [eax*4 + 0x6e72f0]
push dword [eax*4 + 0xdf0e4c]
push esi
push dword [0xe30a70]
call fcn.004dde70
mov esi, dword [0xe30a6c]
add esp, 0x10
inc dword [0x949364]
mov dword [0xe30a68], 0
mov esi, dword [esi*4 + 0xdf0e4c]
mov dword [0xdf0e48], esi
mov dword [0xe30a64], 0
mov dword [0xe30a70], 4
movss xmm0, dword [ebp + 8]
movss dword [esi], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esi + 0x1c], xmm0
movss dword [esi + 0x8c], xmm0
movss xmm0, dword [ebp + 0x18]
movss dword [esi + 0x38], xmm0
movss dword [esi + 0x70], xmm0
movss xmm0, dword [ebp + 0x20]
mov eax, dword [ebp - 0x1c]
movss dword [esi + 0x54], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esi + 0x20], xmm0
movss dword [esi + 0x90], xmm0
movss xmm0, dword [ebp + 0x1c]
movss xmm2, dword [0x6c0c38]
movss dword [esi + 0x3c], xmm0
movaps xmm1, xmm2
movss dword [esi + 0x74], xmm0
movss xmm0, dword [ebp + 0x24]
movss dword [esi + 0x58], xmm0
mov dword [esi + 0x64], eax
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x74]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [edi + 0x38]
movss dword [esi + 0x14], xmm1
movss dword [esi + 0x4c], xmm1
movss dword [esi + 0x84], xmm1
movaps xmm1, xmm2
mov eax, dword [edi + 0x74]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm1
movaps xmm1, xmm2
movss dword [esi + 0x30], xmm0
movss dword [esi + 0x68], xmm0
movss dword [esi + 0xa0], xmm0
mov eax, dword [edi + 0x74]
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [edi + 0x3c]
movss dword [esi + 0x18], xmm1
movss dword [esi + 0x34], xmm1
movss dword [esi + 0xa4], xmm1
mov eax, dword [edi + 0x74]
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x18]
divss xmm2, xmm0
movss xmm0, dword [edi + 0x5c]
subss xmm0, xmm2
mov dword [esi + 8], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x78], eax
movss dword [esi + 0x50], xmm0
movss dword [esi + 0x6c], xmm0
movss dword [esi + 0x88], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebp - 0xc]
mov dword [esi + 0x94], eax
jb 0x4ef9da
comiss xmm0, dword [ebp - 0x14]
jb 0x4ef9da
movups xmm0, xmmword [esi + 0x38]
mov ecx, dword [esi + 0x34]
movups xmm1, xmmword [esi + 0x1c]
mov eax, dword [esi + 0x50]
movq xmm2, qword [esi + 0x2c]
movups xmm3, xmmword [esi + 0x70]
mov edx, dword [esi + 0x88]
movq xmm4, qword [esi + 0x80]
movups xmmword [esi + 0x1c], xmm0
movq xmm0, qword [esi + 0x48]
movq qword [esi + 0x2c], xmm0
movups xmm0, xmmword [esi + 0x8c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xa4]
movups xmmword [esi + 0x70], xmm0
movq xmm0, qword [esi + 0x9c]
movups xmmword [esi + 0x38], xmm1
movups xmmword [esi + 0x8c], xmm3
movq qword [esi + 0x80], xmm0
movq qword [esi + 0x48], xmm2
movq qword [esi + 0x9c], xmm4
mov dword [esi + 0x88], eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0xa4], edx
add dword [0xdf0e48], 0xa8
add dword [0xe30a68], 6
pop edi
pop esi
mov esp, ebp
pop ebp
ret