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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x12173220]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x40], esi
movss xmm0, dword [esi + 0x48]
ucomiss xmm0, dword [0x12087250]
lahf
test ah, 0x44
jp 0x4d76e5
lea ecx, [esi + 0xc]
call fcn.004d7b87
and dword [esi + 0x40], 0
and dword [esi + 0x3c], 0
jmp 0x4d79fd
push edi
lea ecx, [ebp - 0x94]
call 0xff87a25d
push 0
push ecx
lea eax, [ebp - 0x94]
mov dword [esp], 0x3f800000
push eax
lea ecx, [esi + 0x44]
call fcn.004e68a8
push ecx
and dword [esp], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x94]
call 0xff87b5f7
movss xmm0, dword [ebp - 0x34]
fstp st(0)
xorps xmm0, xmmword [0x12087260]
addss xmm0, dword [0x12087350]
mov eax, dword [ebp - 0x94]
push ecx
push ecx
mov dword [ebp - 0x4c], eax
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
fld qword [ebp - 0x48]
fstp qword [esp]
call 0xeec30
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
cvtpd2ps xmm0, xmm0
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [0x12087350]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
fld qword [ebp - 0x48]
fstp qword [esp]
call 0xeec30
mov eax, dword [ebp - 0x40]
add esp, 4
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
cvtpd2ps xmm0, xmm0
cvttss2si edi, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x10], xmm0
movss dword [esp], xmm0
call 0xfc4dd
mov ecx, dword [ebp - 0x40]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [ecx + 0x30], eax
movss dword [ecx + 0x14], xmm0
movss dword [esp], xmm0
call 0xfc4dd
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, dword [0x12087250]
pop ecx
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x34], eax
mov byte [ecx + 0x38], 1
movss dword [ebp - 0x50], xmm0
lahf
test ah, 0x44
jnp 0x4d77f4
movss dword [ecx + 0x20], xmm0
jmp 0x4d7818
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x11c023c0]
cvtpd2ps xmm0, xmm0
movss dword [ecx + 0x20], xmm0
movss dword [ebp - 0x50], xmm0
mov byte [ecx + 0x38], 0
movss xmm0, dword [ebp - 0x28]
push ecx
movss dword [ecx + 0x18], xmm0
movss dword [esp], xmm0
call 0xfc4dd
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x44], eax
movss dword [esp], xmm0
call 0xfc4dd
mov edi, dword [ebp - 0x44]
movd xmm0, esi
add edi, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call 0xfc4dd
add eax, edi
mov edi, dword [ebp - 0x40]
pop ecx
movd xmm0, eax
mov eax, dword [edi + 0x50]
cvtdq2ps xmm0, xmm0
shr eax, 1
movss dword [edi + 0x1c], xmm0
test al, 1
je 0x4d78ae
cmp byte [edi + 0x484], 0
jne 0x4d78ae
mov ecx, dword [ebp - 0x4c]
push 0x76686561
call 0xff8829d7
mov ecx, dword [ebp - 0x4c]
mov edi, eax
push 0x564f5247
call 0xff8829d7
test edi, edi
jne 0x4d789f
test eax, eax
je 0x4d78ab
mov edi, dword [ebp - 0x40]
mov byte [edi + 0x48c], 1
jmp 0x4d78ae
mov edi, dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x20]
addss xmm0, dword [0x12087350]
push ecx
push ecx
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
fld qword [ebp - 0x48]
fstp qword [esp]
call 0xeec30
movss xmm1, dword [0x12087270]
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
cvtpd2ps xmm0, xmm0
pop ecx
pop ecx
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
movss dword [edi + 0x3c], xmm0
jbe 0x4d790f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x12087534]
movss dword [edi + 0x3c], xmm0
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, dword [0x12087250]
lahf
test ah, 0x44
jnp 0x4d795c
addss xmm0, dword [0x12087350]
push ecx
push ecx
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
fld qword [ebp - 0x48]
fstp qword [esp]
call 0xeec30
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
cvtpd2ps xmm0, xmm0
pop ecx
pop ecx
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x4d79dd
movss xmm0, dword [ebp - 0x50]
push 0
push edi
movss dword [edi + 0x40], xmm0
call fcn.004b115a
pop ecx
pop ecx
push 0
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
test eax, eax
je 0x4d79e2
movzx esi, word [eax + 0x100]
test si, si
je 0x4d79e2
xor eax, eax
mov ecx, edi
push esi
mov word [edi + 0x496], ax
call fcn.004d60da
test al, al
je 0x4d79a2
xorps xmm0, xmm0
jmp 0x4d79dd
lea ecx, [edi + 0x78]
push esi
call fcn.004d629e
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, dword [0x12087200]
lahf
test ah, 0x44
jp 0x4d79dd
push esi
mov ecx, edi
call fcn.004d7a0c
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [edi + 0x78]
fstp dword [ebp - 0x40]
call fcn.004d6422
movss xmm0, dword [ebp - 0x40]
movss dword [edi + 0x40], xmm0
mov ecx, dword [ebp - 0x4c]
call 0xff7420e3
test eax, eax
je 0x4d79f1
mov dword [edi + 0xc], eax
lea ecx, [ebp - 0x94]
call 0xff87a471
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call 0xec9ec
mov esp, ebp
pop ebp
ret