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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf8
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10c], 0
jne 0x4e995d
cmp dword [ebp + 8], 0
jne 0x4e99db
mov ecx, dword [0x9c25b4]
mov dword [edi + 0x180], 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov eax, dword [edi + 0xfc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x4e99f6
mov dword [edi + 0xfc], esi
mov eax, esi
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0xf8]
mov dword [esp + 0xc], edx
test eax, eax
je 0x4e9a02
cmp eax, edx
jg 0x4e9a02
mov eax, dword [0x9c25ac]
mov dword [edi + 0x28], 0
mov byte [edi + 0x14], 1
mov dword [eax + 0x21a7c], 1
mov eax, dword [0x9c25b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e99db
cmp dword [eax + 0x1c], edi
jne 0x4e99d4
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4e99c8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4
cmp esi, eax
jae 0x4e998c
mov edx, dword [edi + 0xf8]
jmp 0x4e9990
mov ecx, dword [edi + 0x1c]
movss xmm1, dword [0x604d2c]
test ecx, ecx
je 0x4e9a6e
cmp dword [edi + 0x148], 9
je 0x4e9a6e
cmp dword [ecx + 0x24], 3
jne 0x4e9a4c
cmp byte [ecx + 0xa44], 1
jne 0x4e9a4c
movq xmm0, qword [ecx + 0x50]
movq qword [edi + 0x74], xmm0
movss xmm0, dword [edi + 0xe4]
mov eax, dword [ecx + 0x58]
mulss xmm0, xmm1
mov dword [edi + 0x7c], eax
addss xmm0, dword [edi + 0x78]
jmp 0x4e9a69
movss xmm0, dword [edi + 0xe4]
mov eax, dword [ecx + 0x28]
mulss xmm0, xmm1
mov dword [edi + 0x74], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x7c], eax
addss xmm0, dword [ecx + 0x30]
movss dword [edi + 0x78], xmm0
mov eax, dword [edi + 0x128]
mov ecx, dword [edi + 0x124]
imul ecx, eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], eax
test ecx, ecx
cmove ecx, dword [esp + 0x20]
test eax, eax
je 0x4e9aa4
mov eax, edx
xor edx, edx
div ecx
mov eax, edx
xor edx, edx
div dword [esp + 0x10]
jmp 0x4e9aa6
xor eax, eax
mov dword [edi + 0x120], eax
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4e9ae4
movd xmm1, dword [esp + 0xc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm0, qword [eax*8 + 0x605750]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x118], xmm0
movss xmm1, dword [edi + 0x118]
xorps xmm0, xmm0
comiss xmm0, xmm1
movaps xmm6, xmm1
movss dword [esp + 8], xmm6
jbe 0x4e9b18
movss xmm1, dword [0x604c94]
mov dword [edi + 0x118], 0x3c23d70a
movaps xmm6, xmm1
movss dword [esp + 8], xmm1
movss xmm4, dword [0x604dc4]
comiss xmm1, xmm4
jbe 0x4e9b3b
movaps xmm6, xmm4
mov dword [edi + 0x118], 0x3f800000
movaps xmm1, xmm4
movss dword [esp + 8], xmm6
mov eax, dword [edi + 0x104]
movss xmm5, dword [0x604d04]
dec eax
movss xmm2, dword [0x604fb8]
cmp eax, 3
ja case.default.0x4e9b5b
jmp dword [eax*4 + 0x4eabc8]
mulss xmm1, xmm2
cvtps2pd xmm0, xmm1
call fcn.005bee00
mov eax, dword [edi + 0x12c]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esp + 0x10], xmm1
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.005bdc60
mov ecx, dword [edi + 0x130]
mov esi, eax
shl esi, 8
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or esi, eax
mov eax, dword [edi + 0x134]
shl esi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or esi, eax
mov eax, dword [edi + 0x138]
shl esi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or esi, eax
mov dword [edi + 0x8c], esi
mov dword [edi + 0xa4], esi
mov dword [edi + 0xbc], esi
mov dword [edi + 0xd4], esi
mov esi, dword [esp + 0x14]
jmp 0x4e9e32
mov eax, 0x51eb851f
mov ecx, edi
mul edi
shr edx, 5
imul eax, edx, 0x64
xor edx, edx
sub ecx, eax
imul eax, ecx, 0xc8
mov ecx, 0xbb8
add eax, esi
div ecx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x6052f0]
mulss xmm0, xmm2
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
call fcn.005bee00
movss xmm1, dword [edi + 0x11c]
xorps xmm2, xmm2
mov eax, dword [edi + 0x12c]
cvtsd2ss xmm2, xmm0
movss xmm0, dword [0x604dc4]
andps xmm2, xmmword [0x6057c0]
subss xmm0, xmm1
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addss xmm2, xmm1
addsd xmm0, qword [eax*8 + 0x605750]
movss dword [esp + 0x10], xmm2
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
call fcn.005bdc60
mov ecx, dword [edi + 0x130]
mov esi, eax
shl esi, 8
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or esi, eax
mov eax, dword [edi + 0x134]
shl esi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or esi, eax
mov eax, dword [edi + 0x138]
shl esi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
jmp 0x4e9c27
mulss xmm1, xmm2
cvtps2pd xmm0, xmm1
call fcn.005bee00
mov eax, dword [edi + 0x12c]
cvtsd2ss xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x605750]
cvtpd2ps xmm1, xmm1
mulss xmm0, xmm1
jmp 0x4e9dfa
comiss xmm1, xmm5
jb 0x4e9dcd
subss xmm1, xmm5
mulss xmm1, dword [0x604e00]
subss xmm4, xmm1
jmp 0x4e9dd8
movaps xmm4, xmm1
mulss xmm4, dword [0x604fc8]
mov eax, dword [edi + 0x12c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm4
call fcn.005bdc60
shl eax, 8
or eax, dword [edi + 0x130]
shl eax, 8
or eax, dword [edi + 0x134]
shl eax, 8
or eax, dword [edi + 0x138]
mov dword [edi + 0xd4], eax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xa4], eax
mov dword [edi + 0x8c], eax
movss xmm5, dword [0x604d04]
movss xmm4, dword [0x604dc4]
movss xmm2, dword [0x604fb8]
movss xmm6, dword [esp + 8]
mov eax, dword [edi + 0x148]
movss xmm0, dword [0x6057d0]
dec eax
movss xmm1, dword [0x6052b4]
movss xmm7, dword [0x604ce8]
cmp eax, 0x10
ja case.default.0x4e9e78
jmp dword [eax*4 + 0x4eabd8]
mulss xmm6, dword [edi + 0x140]
addss xmm6, dword [edi + 0x150]
movss dword [edi + 0x78], xmm6
jmp case.default.0x4e9e78
movaps xmm0, xmm6
mulss xmm6, xmm2
mulss xmm0, dword [edi + 0x140]
mulss xmm6, dword [edi + 0x144]
addss xmm0, dword [edi + 0x150]
movss dword [edi + 0x78], xmm0
cvtps2pd xmm0, xmm6
call fcn.005bee00
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x13c]
addss xmm0, dword [edi + 0x14c]
movss dword [edi + 0x74], xmm0
jmp case.default.0x4e9e78
movaps xmm0, xmm6
mulss xmm6, xmm2
mulss xmm0, dword [edi + 0x140]
mulss xmm6, dword [edi + 0x144]
addss xmm0, dword [edi + 0x150]
movss dword [esp + 8], xmm6
movss dword [edi + 0x78], xmm0
cvtps2pd xmm0, xmm6
call fcn.005bee00
movss xmm2, dword [esp + 8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
cvtps2pd xmm0, xmm2
mulss xmm1, dword [edi + 0x13c]
addss xmm1, dword [edi + 0x14c]
movss dword [edi + 0x74], xmm1
call fcn.005bddf0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x13c]
addss xmm0, dword [edi + 0x154]
movss dword [edi + 0x7c], xmm0
jmp case.default.0x4e9e78
movaps xmm0, xmm6
mulss xmm0, dword [edi + 0x140]
addss xmm0, dword [edi + 0x150]
movss dword [edi + 0x78], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm2
mulss xmm0, dword [edi + 0x144]
cvtps2pd xmm0, xmm0
call fcn.005bee00
movss xmm1, dword [edi + 0x13c]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm1, dword [esp + 8]
addss xmm0, dword [edi + 0x14c]
addss xmm1, dword [edi + 0x154]
movss dword [edi + 0x74], xmm0
movss dword [edi + 0x7c], xmm1
jmp case.default.0x4e9e78
movaps xmm0, xmm6
mulss xmm0, dword [edi + 0x140]
addss xmm0, dword [edi + 0x150]
movss dword [edi + 0x78], xmm0
movss xmm0, dword [edi + 0x13c]
mulss xmm0, xmm6
mulss xmm6, xmm2
addss xmm0, dword [edi + 0x14c]
mulss xmm6, dword [edi + 0x144]
movss dword [edi + 0x74], xmm0
cvtps2pd xmm0, xmm6
call fcn.005bee00
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x13c]
addss xmm0, dword [edi + 0x154]
movss dword [edi + 0x7c], xmm0
jmp case.default.0x4e9e78
movaps xmm0, xmm6
mulss xmm0, dword [0x605078]
mulss xmm0, xmm2
mulss xmm0, dword [edi + 0x144]
cvtps2pd xmm0, xmm0
call fcn.005bee00
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x140]
addss xmm0, dword [edi + 0x150]
movss dword [edi + 0x78], xmm0
movss xmm0, dword [edi + 0x13c]
mulss xmm0, xmm1
mulss xmm1, dword [0x604fb8]
addss xmm0, dword [edi + 0x14c]
mulss xmm1, dword [edi + 0x144]
movss dword [edi + 0x74], xmm0
cvtps2pd xmm0, xmm1
jmp 0x4ea001
movaps xmm0, xmm6
mulss xmm0, dword [0x605078]
mulss xmm0, xmm2
mulss xmm0, dword [edi + 0x144]
cvtps2pd xmm0, xmm0
call fcn.005bddf0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x140]
addss xmm0, dword [edi + 0x150]
movss dword [edi + 0x78], xmm0
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x604fb8]
mulss xmm0, dword [edi + 0x144]
cvtps2pd xmm0, xmm0
call fcn.005bddf0
jmp 0x4e9f8c
movaps xmm0, xmm6
mulss xmm0, dword [0x605078]
mulss xmm0, xmm2
mulss xmm0, dword [edi + 0x144]
cvtps2pd xmm0, xmm0
call fcn.005bddf0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x140]
addss xmm0, dword [edi + 0x150]
movss dword [edi + 0x78], xmm0
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x604fb8]
mulss xmm0, dword [edi + 0x144]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call fcn.005bddf0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
mulss xmm1, dword [esp + 8]
mulss xmm1, dword [edi + 0x13c]
addss xmm1, dword [edi + 0x14c]
movss dword [edi + 0x74], xmm1
call fcn.005bee00
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
jmp 0x4e9f43
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x4ea2cc
cmp dword [ecx + 0x24], 3
jne 0x4ea272
cmp byte [ecx + 0xa44], 1
jne 0x4ea213
movq xmm0, qword [ecx + 0x50]
movaps xmm3, xmm4
movq qword [edi + 0x74], xmm0
subss xmm3, xmm6
mov eax, dword [ecx + 0x58]
mov dword [edi + 0x7c], eax
movss xmm1, dword [ecx + 0x54]
addss xmm1, xmm4
movaps xmm0, xmm3
mulss xmm0, dword [edi + 0x150]
mulss xmm1, xmm6
addss xmm1, xmm0
movaps xmm0, xmm6
movss dword [edi + 0x78], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [ecx + 0x50]
mulss xmm1, dword [edi + 0x14c]
mulss xmm3, dword [edi + 0x154]
addss xmm1, xmm0
movss dword [edi + 0x74], xmm1
mulss xmm6, dword [ecx + 0x54]
addss xmm3, xmm6
movss dword [edi + 0x7c], xmm3
jmp 0x4ea2cc
movss xmm1, dword [ecx + 0x30]
movaps xmm2, xmm4
subss xmm2, xmm6
movaps xmm3, xmm6
addss xmm1, xmm4
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x150]
mulss xmm1, xmm6
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x14c]
mulss xmm2, dword [edi + 0x154]
movss dword [edi + 0x78], xmm1
movaps xmm1, xmm6
mulss xmm1, dword [ecx + 0x28]
addss xmm1, xmm0
movss dword [edi + 0x74], xmm1
mulss xmm3, dword [ecx + 0x2c]
addss xmm3, xmm2
movss dword [edi + 0x7c], xmm3
jmp 0x4ea2cc
movss xmm1, dword [ecx + 0x30]
movaps xmm2, xmm4
subss xmm2, xmm6
addss xmm1, xmm4
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x150]
mulss xmm1, xmm6
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x14c]
mulss xmm2, dword [edi + 0x154]
movss dword [edi + 0x78], xmm1
movaps xmm1, xmm6
mulss xmm1, dword [ecx + 0x28]
addss xmm1, xmm0
movss dword [edi + 0x74], xmm1
mulss xmm6, dword [ecx + 0x2c]
addss xmm6, xmm2
movss dword [edi + 0x7c], xmm6
mov ecx, dword [edi + 0x158]
test ecx, ecx
je case.default.0x4e9e78
movss xmm1, dword [edi + 0x7c]
movss xmm0, dword [edi + 0x74]
mov eax, dword [ecx]
movss dword [esp + 0x1c], xmm1
push dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
call dword [eax + 0x3c]
jmp case.default.0x4e9e78
mov eax, 0x10624dd3
mov ecx, esi
mul esi
shr edx, 7
imul eax, edx, 0x7d0
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call fcn.005bddf0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x18]
call fcn.005bee00
movss xmm2, dword [edi + 0x13c]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm2
mulss xmm2, dword [esp + 0xc]
addss xmm0, dword [edi + 0x74]
addss xmm2, dword [edi + 0x7c]
movss dword [edi + 0x74], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [edi + 0x140]
movss dword [edi + 0x7c], xmm2
addss xmm0, dword [edi + 0x78]
movss dword [edi + 0x78], xmm0
jmp case.default.0x4e9e78
movaps xmm0, xmm6
mulss xmm0, dword [edi + 0x13c]
addss xmm0, dword [edi + 0x14c]
movss dword [edi + 0x74], xmm0
jmp case.0x4e9e78.1
movaps xmm1, xmm6
mulss xmm1, dword [edi + 0x13c]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14c]
addss xmm1, dword [edi + 0x154]
movss dword [edi + 0x74], xmm0
movss dword [edi + 0x7c], xmm1
jmp case.0x4e9e78.1
comiss xmm6, xmm7
mov ecx, edi
mov edx, 0x78
movss xmm2, dword [edi + 0x168]
movss xmm4, dword [edi + 0x160]
movaps xmm1, xmm2
movss xmm3, dword [edi + 0x164]
movss xmm0, dword [0x6050bc]
jb 0x4ea479
mulss xmm1, xmm7
mulss xmm2, xmm6
mulss xmm1, xmm0
mulss xmm2, xmm5
addss xmm1, dword [edi + 0x154]
addss xmm1, xmm2
movaps xmm2, xmm3
mulss xmm2, xmm7
mulss xmm3, xmm6
mulss xmm2, xmm0
mulss xmm3, xmm5
addss xmm2, dword [edi + 0x150]
addss xmm2, xmm3
movaps xmm3, xmm4
mulss xmm3, xmm7
mulss xmm4, xmm6
mulss xmm3, xmm0
mulss xmm4, xmm5
addss xmm3, dword [edi + 0x14c]
addss xmm3, xmm4
jmp 0x4ea4af
movaps xmm2, xmm3
mulss xmm1, xmm6
movaps xmm3, xmm4
mulss xmm2, xmm6
mulss xmm3, xmm6
mulss xmm1, xmm0
mulss xmm2, xmm0
addss xmm1, dword [edi + 0x154]
mulss xmm3, xmm0
addss xmm2, dword [edi + 0x150]
addss xmm3, dword [edi + 0x14c]
mov esi, edi
mov eax, 0x74
movss dword [esi + eax], xmm3
mov eax, 8
movss dword [ecx + edx], xmm2
movss dword [edi + eax + 0x74], xmm1
mov esi, dword [esp + 0x14]
jmp case.default.0x4e9e78
xorps xmm6, xmm0
mulss xmm6, dword [0x604ccc]
mulss xmm6, xmm2
movss dword [edi + 0x17c], xmm6
jmp case.default.0x4e9e78
mov ecx, dword [esp + 0xc]
mov eax, 0x10624dd3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7d0
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call fcn.005bddf0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x18]
jmp 0x4ea358
movss xmm1, dword [0x605030]
movaps xmm0, xmm6
mulss xmm0, dword [edi + 0x160]
movss xmm4, dword [edi + 0x164]
movss xmm5, dword [edi + 0x168]
mulss xmm0, xmm1
mulss xmm4, xmm6
addss xmm0, dword [edi + 0x14c]
mulss xmm5, xmm6
mulss xmm4, xmm1
movss dword [edi + 0x74], xmm0
mulss xmm5, xmm1
addss xmm4, dword [edi + 0x150]
movss dword [edi + 0x78], xmm4
addss xmm5, dword [edi + 0x154]
movss dword [edi + 0x7c], xmm5
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
cmp eax, 1
jne 0x4eabad
cmp dword [edi + 0x108], eax
jne 0x4ea9ba
cmp dword [edi + 0xf8], 0
mov eax, dword [0x9c25ac]
mov eax, dword [eax + 0x21a74]
movss xmm0, dword [eax + 0x2c]
xorps xmm0, xmmword [0x6057d0]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0x28]
mov eax, dword [edi + 0xe8]
movss dword [esp + 0x18], xmm0
movq xmm0, qword [edi + 0xe0]
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], eax
je 0x4ea672
mov eax, esi
sub eax, dword [edi + 0xfc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm2, xmm0
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [edi + 0xec]
mulss xmm0, dword [edi + 0xf0]
mulss xmm2, dword [edi + 0xf4]
addss xmm1, dword [edi + 0xe0]
addss xmm0, dword [edi + 0xe4]
addss xmm2, dword [edi + 0xe8]
movss dword [esp + 0x14], xmm1
movss dword [esp + 8], xmm0
movss dword [esp + 0xc], xmm2
jmp 0x4ea696
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x14], xmm0
mov eax, dword [edi + 0x15c]
mov dword [esp + 0x34], eax
cmp eax, 1
jne 0x4ea76f
mov eax, 0x10624dd3
mul esi
shr edx, 7
imul eax, edx, 0x7d0
sub esi, eax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x6052b4]
mulss xmm0, dword [0x604fb8]
cvtps2pd xmm0, xmm0
call fcn.005bee00
cvtsd2ss xmm0, xmm0
movaps xmm2, xmm0
mulss xmm0, dword [0x6051ec]
mulss xmm2, dword [0x604ce8]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x14]
addss xmm2, dword [esp + 8]
movss dword [esp + 0x14], xmm1
movss dword [esp + 8], xmm2
call fcn.005bdc60
mov ecx, 0xff
sub ecx, eax
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
mov dword [edi + 0x8c], eax
mov dword [edi + 0xa4], eax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xd4], eax
mov dword [edi + 0x12c], ecx
mov dword [edi + 0x130], ecx
mov dword [edi + 0x134], ecx
mov dword [edi + 0x138], ecx
jmp 0x4ea864
cmp eax, 2
je 0x4ea77d
cmp eax, 3
jne 0x4ea864
mov eax, 0x10624dd3
mul esi
shr edx, 8
imul eax, edx, 0xfa0
sub esi, eax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x6052f8]
movss dword [esp + 0x30], xmm0
mulss xmm0, dword [0x604fb8]
cvtps2pd xmm0, xmm0
call fcn.005bee00
cvtsd2ss xmm0, xmm0
movaps xmm2, xmm0
mulss xmm0, dword [0x605224]
mulss xmm2, dword [0x604f80]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x14]
addss xmm2, dword [esp + 8]
movss dword [esp + 0x14], xmm1
movss dword [esp + 8], xmm2
call fcn.005bdc60
movss xmm0, dword [esp + 0x30]
mov ecx, 0xff
sub ecx, eax
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
comiss xmm0, dword [0x604dbc]
mov dword [edi + 0x8c], eax
mov dword [edi + 0xa4], eax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xd4], eax
mov dword [edi + 0x12c], ecx
mov dword [edi + 0x130], ecx
mov dword [edi + 0x134], ecx
mov dword [edi + 0x138], ecx
jb 0x4ea864
cmp dword [esp + 0x34], 2
jne 0x4ea864
mov dword [edi + 0x15c], 1
movss xmm0, dword [esp + 0xc]
lea esi, [edi + 0x2c]
movss xmm1, dword [esp + 8]
lea eax, [esp + 0x38]
movss xmm3, dword [esp + 0x14]
sub esp, 0xc
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm3
push eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 0x3f800000
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x14], 0x3f800000
mov dword [esi], 0x3f800000
call fcn.00402907
cmp dword [edi + 0x100], 1
movss xmm0, dword [edi + 0x78]
jne 0x4ea928
movss xmm1, dword [esp + 8]
mulss xmm1, dword [0x604d2c]
addss xmm1, xmm0
jmp 0x4ea92b
movaps xmm1, xmm0
movss xmm0, dword [edi + 0x7c]
lea eax, [esp + 0x78]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss xmm0, dword [edi + 0x74]
movss dword [esp], xmm0
push eax
call fcn.00402997
cmp dword [edi + 0x15c], 0
jne 0x4ea9a4
movss xmm0, dword [esp + 0x10]
push ecx
movss dword [esp], xmm0
push esi
call fcn.00402a15
movss xmm0, dword [edi + 0x114]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x604e1c]
subss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
push esi
call fcn.00402e1b
lea ecx, [esp + 0x38]
push ecx
push esi
push esi
call fcn.00402022
lea ecx, [esp + 0x78]
push ecx
jmp 0x4eaba6
cmp dword [edi + 0xf8], 0
movq xmm0, qword [edi + 0xe0]
mov eax, dword [edi + 0xe8]
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], eax
je 0x4eaa4b
mov eax, dword [edi + 0xfc]
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x605750]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm2, xmm1
movaps xmm0, xmm1
mulss xmm2, dword [edi + 0xec]
mulss xmm0, dword [edi + 0xf0]
mulss xmm1, dword [edi + 0xf4]
addss xmm2, dword [edi + 0xe0]
addss xmm0, dword [edi + 0xe4]
addss xmm1, dword [edi + 0xe8]
jmp 0x4eaa5d
movss xmm1, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x28]
movss xmm2, dword [esp + 0x24]
lea esi, [edi + 0x2c]
movss dword [esp + 0xc], xmm0
sub esp, 0xc
mov dword [esi + 0x38], 0
lea eax, [esp + 0x44]
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 0x3f800000
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x14], 0x3f800000
mov dword [esi], 0x3f800000
call fcn.00402907
cmp dword [edi + 0x100], 1
movss xmm0, dword [edi + 0x78]
jne 0x4eab15
movss xmm1, dword [esp + 0xc]
mulss xmm1, dword [0x604d2c]
addss xmm1, xmm0
jmp 0x4eab18
movaps xmm1, xmm0
movss xmm0, dword [edi + 0x7c]
lea eax, [esp + 0x78]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss xmm0, dword [edi + 0x74]
movss dword [esp], xmm0
push eax
call fcn.00402997
movss xmm0, dword [edi + 0x114]
push ecx
movss dword [esp], xmm0
push esi
call fcn.00402ab1
mov eax, dword [edi + 0x148]
cmp eax, 0xe
je 0x4eab64
cmp eax, 0xf
jne 0x4eab95
movss xmm0, dword [edi + 0x17c]
lea eax, [edi + 0x170]
push ecx
movss dword [esp], xmm0
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00402bf0
lea eax, [esp + 0xb8]
push eax
push esi
push esi
call fcn.00402022
lea eax, [esp + 0x38]
push eax
push esi
push esi
call fcn.00402022
lea eax, [esp + 0x78]
push eax
push esi
push esi
call fcn.00402022
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4