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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, dword [ebp + 0x28]
push edi
mov eax, dword [esi + 0x74]
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.004c3880
add esp, 8
cmp dword [0xd4e880], 0
je 0x4c25dc
call fcn.004b6530
cmp byte [ebp + 0x2c], 0
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0xc]
movss xmm1, dword [ebp + 0x18]
movss xmm5, dword [ebp + 0x14]
movss xmm4, dword [ebp + 0x10]
movaps xmm6, xmm5
subss xmm6, dword [ebp + 0xc]
movss dword [ebp - 4], xmm0
movaps xmm7, xmm4
subss xmm7, dword [ebp + 8]
movss xmm2, dword [ebp - 4]
movaps xmm0, xmm1
subss xmm0, dword [ebp + 8]
subss xmm1, dword [ebp + 0x20]
mov eax, dword [0xd5e8e4]
mulss xmm2, xmm7
mov edi, dword [0x949688]
movss dword [ebp + 0x28], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
subss xmm2, xmm0
movaps xmm0, xmm5
subss xmm0, dword [ebp + 0x24]
movss dword [ebp - 0x14], xmm2
mulss xmm1, xmm0
movss xmm0, dword [ebp + 0x1c]
subss xmm0, dword [ebp + 0x24]
movss xmm2, dword [ebp + 8]
movss dword [ebp - 0xc], xmm1
movaps xmm1, xmm4
subss xmm1, dword [ebp + 0x20]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
jne 0x4c2a5b
movss xmm0, dword [ebp + 0x20]
xor eax, eax
movaps xmm1, xmm0
subss xmm0, dword [ebp + 0x18]
subss xmm1, xmm4
subss xmm7, xmm0
movss xmm0, dword [0x736664]
movss dword [ebp + 0x2c], xmm1
movss xmm1, dword [ebp + 0x24]
movaps xmm3, xmm1
subss xmm3, xmm5
andps xmm7, xmmword [0x6baa70]
comiss xmm0, xmm7
movss xmm7, dword [ebp + 0x1c]
movss dword [ebp - 8], xmm3
movss xmm3, dword [ebp + 0xc]
jbe 0x4c26fa
movaps xmm0, xmm1
mov ecx, 1
movss xmm1, dword [0x736664]
subss xmm0, xmm7
subss xmm6, xmm0
andps xmm6, xmmword [0x6baa70]
comiss xmm1, xmm6
cmova eax, ecx
jmp 0x4c2702
movss xmm1, dword [0x736664]
movss xmm0, dword [ebp + 0x28]
subss xmm0, dword [ebp + 0x2c]
movss xmm6, dword [0x6baa70]
andps xmm0, xmm6
comiss xmm1, xmm0
jbe 0x4c272f
movss xmm0, dword [ebp - 4]
subss xmm0, dword [ebp - 8]
andps xmm0, xmm6
comiss xmm1, xmm0
jbe 0x4c272f
inc eax
cmp eax, 2
je 0x4c2a5b
movss xmm0, dword [0x6bccd0]
movss xmm6, dword [esi + 0x38]
comiss xmm0, xmm6
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
jbe 0x4c2759
movss dword [ebp + 0x1c], xmm0
jmp 0x4c2780
movss xmm0, dword [esi + 0x60]
movss xmm1, dword [esi + 0x68]
subss xmm0, dword [esi + 0x30]
subss xmm1, xmm6
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x6ba9d0]
movss dword [ebp + 0x1c], xmm1
movss xmm1, dword [esi + 0x68]
comiss xmm1, dword [0x6bd3f8]
jbe 0x4c2795
movss dword [ebp - 0xc], xmm0
jmp 0x4c27b7
movss xmm0, dword [esi + 0x60]
subss xmm1, xmm6
subss xmm0, dword [esi + 0x30]
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x6c0c5c]
movss dword [ebp - 0xc], xmm1
movss xmm6, dword [esi + 0x3c]
movss xmm1, dword [0x6bccd0]
comiss xmm1, xmm6
jbe 0x4c27d0
movss dword [ebp - 0x10], xmm0
jmp 0x4c27f4
movss xmm1, dword [esi + 0x6c]
movss xmm0, dword [esi + 0x64]
subss xmm1, xmm6
subss xmm0, dword [esi + 0x34]
divss xmm1, xmm0
mulss xmm1, dword [0x6ba9d0]
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [esi + 0x6c]
comiss xmm1, dword [0x6bd3f8]
ja 0x4c2821
movss xmm0, dword [esi + 0x64]
subss xmm1, xmm6
subss xmm0, dword [esi + 0x34]
divss xmm1, xmm0
mulss xmm1, dword [0x6c0c5c]
movss dword [ebp - 0x14], xmm1
movaps xmm0, xmmword [0x6c0d10]
subss xmm7, xmm5
movups xmmword [ebp - 0x2c], xmm0
push ecx
movss xmm0, dword [ebp + 0x20]
subss xmm0, xmm2
mov dword [ebp - 0x1c], 0x3d4ccccd
mulss xmm7, xmm7
movss dword [ebp + 0x20], xmm0
movss xmm0, dword [ebp + 0x24]
subss xmm0, xmm3
movss dword [ebp + 0x24], xmm0
movss xmm0, dword [ebp + 0x18]
subss xmm0, xmm4
mulss xmm0, xmm0
addss xmm7, xmm0
movss dword [esp], xmm7
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 - 0x2c]
fdivr dword [ebp + 0x20]
fstp dword [ebp + 0x20]
movss xmm1, dword [ebp + 0x20]
nop dword [eax + eax]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x4c28f1
dec ecx
add eax, 4
test ecx, ecx
jg 0x4c28e0
movss xmm2, dword [0x736690]
mov eax, 0xd8aed8
movss xmm0, dword [ebp + 0x28]
divss xmm0, xmm2
mov edx, dword [ebp - 0x18]
mov dword [ebp + 0x20], 8
movss xmm1, dword [esi + 0x68]
movss dword [ebp + 0x28], xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, xmm2
addss xmm1, dword [ebp - 0xc]
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebp + 0x2c]
divss xmm0, xmm2
movss xmm5, dword [esi + 0x3c]
movss dword [ebp + 0x2c], xmm0
movss xmm0, dword [ebp - 8]
divss xmm0, xmm2
addss xmm5, dword [ebp - 0x10]
movss dword [ebp - 8], xmm0
movss xmm0, dword [esi + 0x38]
addss xmm0, dword [ebp + 0x1c]
movss xmm6, dword [ebp + 8]
movss xmm7, dword [ebp + 0xc]
subss xmm1, xmm0
movss xmm0, dword [esi + 0x6c]
addss xmm0, dword [ebp - 0x14]
divss xmm1, xmm2
subss xmm0, xmm5
movss dword [ebp + 0x24], xmm1
movss xmm1, dword [ebp + 0x14]
divss xmm0, xmm2
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x10]
nop word [eax + eax]
movaps xmm3, xmm0
movaps xmm4, xmm1
movss xmm0, dword [esi + 0x38]
subss xmm3, xmm6
addss xmm0, dword [ebp + 0x1c]
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], edi
mov dword [eax + 0xc], 0x3f800000
movss dword [eax + 0x18], xmm5
mov dword [eax + 0x10], edx
add eax, 0x1c
sub ecx, 1
jne 0x4c29d0
sub dword [ebp + 0x20], 1
movss xmm0, dword [ebp + 0x10]
movss xmm1, dword [ebp + 0x14]
addss xmm0, dword [ebp + 0x2c]
addss xmm1, dword [ebp - 8]
addss xmm5, dword [ebp + 0x18]
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 0x4c29a0
push 8
push 8
push 0xd8aed8
call fcn.004b4770
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0xc30d60], 0
je 0x4c2a69
call fcn.0049a280
cmp dword [0xd5e8d8], 0
jne 0x4c2a98
cmp dword [0xd5e8e0], 4
jne 0x4c2a98
mov eax, dword [0xd5e8dc]
mov ecx, dword [eax*4 + 0x6bd808]
mov eax, dword [0xd5e8d4]
add eax, 6
cmp eax, dword [ecx*4 + 0x6bd7d0]
jl 0x4c2aae
push 0
push 0
call fcn.004c6610
add esp, 8
mov dword [0xd5e8e0], 4
mov ecx, dword [0xd5e8cc]
mov eax, dword [ebp - 0x18]
movss xmm2, dword [0x6c0c38]
movaps xmm1, xmm2
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x80], eax
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 0x74]
movss xmm3, dword [esi + 0x38]
movss xmm4, dword [esi + 0x48]
movss xmm5, dword [esi + 0x3c]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
movss xmm6, dword [esi + 0x5c]
divss xmm1, xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
divss xmm2, xmm0
xorps xmm0, xmm0
subss xmm4, xmm1
comiss xmm0, dword [ebp - 0x14]
addss xmm5, xmm2
subss xmm6, xmm2
jb 0x4c2bd7
comiss xmm0, dword [ebp - 0xc]
jb 0x4c2bd7
movss xmm7, dword [ebp + 0x18]
movss xmm0, dword [ebp + 8]
movss xmm2, dword [ebp + 0x1c]
movss xmm1, dword [ebp + 0x14]
movss dword [ecx + 0x1c], xmm7
movss xmm7, dword [ebp + 0x20]
movss dword [ecx], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [ecx + 0x54], xmm7
movss xmm7, dword [ebp + 0x24]
movss dword [ecx + 4], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [ecx + 0x58], xmm7
movss xmm7, dword [ebp + 0x18]
movss dword [ecx + 0x20], xmm2
movss dword [ecx + 0x38], xmm0
movss dword [ecx + 0x3c], xmm1
movss dword [ecx + 0x70], xmm0
movss dword [ecx + 0x74], xmm1
movss dword [ecx + 0x8c], xmm7
movss dword [ecx + 0x90], xmm2
movss dword [ecx + 0x30], xmm3
movss dword [ecx + 0x34], xmm6
movss dword [ecx + 0x4c], xmm4
movss dword [ecx + 0x50], xmm5
movss dword [ecx + 0x84], xmm4
movss dword [ecx + 0x88], xmm5
movss dword [ecx + 0xa0], xmm3
movss dword [ecx + 0xa4], xmm6
jmp 0x4c2c79
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp + 0x14]
movss xmm7, dword [ebp + 0x18]
movss xmm2, dword [ebp + 0x1c]
movss dword [ecx], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [ecx + 4], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [ecx + 0x1c], xmm0
movss xmm0, dword [ebp + 0x20]
movss dword [ecx + 0x54], xmm0
movss xmm0, dword [ebp + 0x24]
movss dword [ecx + 0x58], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [ecx + 0x20], xmm1
movss dword [ecx + 0x38], xmm7
movss dword [ecx + 0x3c], xmm2
movss dword [ecx + 0x70], xmm7
movss dword [ecx + 0x74], xmm2
movss dword [ecx + 0x8c], xmm0
movss dword [ecx + 0x90], xmm1
movss dword [ecx + 0x30], xmm4
movss dword [ecx + 0x34], xmm5
movss dword [ecx + 0x4c], xmm3
movss dword [ecx + 0x50], xmm6
movss dword [ecx + 0x84], xmm3
movss dword [ecx + 0x88], xmm6
movss dword [ecx + 0xa0], xmm4
movss dword [ecx + 0xa4], xmm5
mov dword [ecx + 8], edi
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x40], edi
mov dword [ecx + 0x5c], edi
mov dword [ecx + 0x78], edi
mov dword [ecx + 0x94], edi
movss dword [ecx + 0x6c], xmm6
movss dword [ecx + 0x68], xmm4
movss dword [ecx + 0x18], xmm5
movss dword [ecx + 0x14], xmm3
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x98], 0x3f800000
add dword [0xd5e8cc], 0xa8
add dword [0xd5e8d4], 6
pop edi
pop esi
mov esp, ebp
pop ebp
ret