Function at 0x4f22f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], esi
push edi
test esi, esi
je 0x4f303b
test edx, edx
je 0x4f303b
cmp edx, 1
je 0x4f3023
lea eax, [edx - 1]
test edx, eax
jne 0x4f2341
call fcn.004f3050
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, 1
test dl, 1
jne 0x4f2b18
mov dword [ebp - 8], edi
mov ecx, edx
test dl, 3
jne 0x4f2728
shr ecx, 2
mov dword [ebp - 0x10], ecx
cmp ecx, 4
jb 0x4f2436
nop dword [eax]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004f2150
mov ecx, dword [ebp - 0x10]
mov edx, edi
movsd xmm4, qword [ebp - 0x40]
mov eax, ecx
movsd xmm5, qword [ebp - 0x38]
sub eax, edi
shl edx, 4
add esp, 4
shl eax, 4
mov dword [ebp - 0x1c], eax
movsd qword [edx + esi], xmm4
movsd qword [edx + esi + 8], xmm5
movsd qword [eax + esi], xmm5
movsd qword [eax + esi + 8], xmm4
cmp edi, 1
jbe 0x4f241f
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
add edx, 0x10
add ecx, 0xfffffff0
add edx, esi
add ecx, esi
mov dword [ebp - 0x1c], ecx
lea ecx, [edi - 1]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
movsd xmm1, qword [eax]
movsd xmm3, qword [eax + 8]
movaps xmm2, xmm1
movaps xmm0, xmm3
mulsd xmm2, xmm4
add eax, 0x10
mulsd xmm0, xmm5
mulsd xmm3, xmm4
mulsd xmm1, xmm5
subsd xmm2, xmm0
addsd xmm3, xmm1
movsd qword [edx], xmm2
movsd qword [edx + 8], xmm3
add edx, 0x10
movsd qword [esi], xmm3
movsd qword [esi + 8], xmm2
sub esi, 0x10
sub dword [ebp - 0x18], 1
jne 0x4f23d4
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edi, edi
lea eax, [edi*4]
cmp eax, ecx
jbe 0x4f2370
mov dword [ebp - 8], edi
add edi, edi
cmp edi, ecx
ja 0x4f2545
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
call fcn.004f2150
mov edx, dword [ebp - 8]
add esp, 4
movsd xmm4, qword [ebp - 0x40]
mov eax, edx
movsd xmm5, qword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
shl eax, 4
mov dword [ebp - 0x1c], eax
movsd qword [eax + esi], xmm4
movsd qword [eax + esi + 8], xmm5
mov eax, edi
cmp eax, ecx
je 0x4f2545
mov eax, ecx
sub eax, edx
shl eax, 4
mov dword [ebp - 0x20], eax
movsd qword [eax + esi], xmm5
movsd qword [eax + esi + 8], xmm4
lea eax, [edi + 1]
add edi, 2
cmp eax, ecx
je 0x4f2545
mov dword [ebp - 0x18], 1
cmp edx, 1
jbe 0x4f2535
lea eax, [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
add eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add eax, esi
mov dword [ebp - 0x20], eax
mov esi, eax
mov eax, dword [ebp - 8]
movsd xmm1, qword [eax]
movsd xmm2, qword [eax + 8]
movaps xmm3, xmm1
mov eax, dword [ebp - 0x14]
movaps xmm0, xmm2
mulsd xmm3, xmm4
mulsd xmm0, xmm5
mulsd xmm2, xmm4
mulsd xmm1, xmm5
subsd xmm3, xmm0
addsd xmm2, xmm1
movsd qword [eax], xmm3
movsd qword [eax + 8], xmm2
mov eax, edi
inc edi
cmp eax, ecx
je 0x4f2532
mov eax, edi
movsd qword [esi], xmm2
inc edi
movsd qword [esi + 8], xmm3
cmp eax, ecx
je 0x4f2532
mov eax, dword [ebp - 8]
sub esi, 0x10
inc dword [ebp - 0x18]
add eax, 0x10
add dword [ebp - 0x14], 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 0x18], edx
jb 0x4f24d0
mov esi, dword [ebp - 0xc]
add edx, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
cmp edi, ecx
jbe 0x4f2440
mov edi, 1
cmp ecx, edi
jbe 0x4f264a
lea eax, [ecx - 1]
cmp eax, 4
jb 0x4f2600
lea edi, [ecx - 5]
shr edi, 2
lea eax, [esi + 0x10]
inc edi
lea edx, [esi + 0x20]
mov dword [ebp - 0x18], edi
lea edi, [edi*4 + 1]
nop word [eax + eax]
sub dword [ebp - 0x18], 1
lea edx, [edx + 0x40]
movsd xmm0, qword [edx - 0x50]
lea eax, [eax + 0x20]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x28], xmm0
movsd xmm0, qword [edx - 0x48]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x24], xmm0
movsd xmm0, qword [edx - 0x40]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x20], xmm0
movsd xmm0, qword [edx - 0x38]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x1c], xmm0
movsd xmm0, qword [edx - 0x30]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x18], xmm0
movsd xmm0, qword [edx - 0x28]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x14], xmm0
movsd xmm0, qword [edx - 0x20]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x10], xmm0
movsd xmm0, qword [edx - 0x18]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0xc], xmm0
jne 0x4f2580
cmp edi, ecx
jae 0x4f264a
mov eax, edi
shl eax, 4
add eax, esi
nop word [eax + eax]
movsd xmm0, qword [eax]
lea eax, [eax + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esi + edi*8], xmm0
movsd xmm0, qword [eax - 8]
cvtpd2ps xmm0, xmm0
movss dword [esi + edi*8 + 4], xmm0
inc edi
cmp edi, ecx
jb 0x4f2610
mov dword [esi + ecx*8], 0
mov edx, 1
mov dword [esi + ecx*8 + 4], 0x3f800000
jmp 0x4f2666
mov edx, 1
mov dword [esi + ecx*8], 0
mov dword [esi + ecx*8 + 4], 0x3f800000
cmp ecx, edx
jb 0x4f271c
movss xmm1, dword [0x739fa0]
cmp ecx, 4
jb 0x4f26f1
lea edi, [esi + 0x10]
lea edx, [esi + 0x14]
mov esi, ecx
shr esi, 2
lea edi, [edi + ecx*8]
lea eax, [esi*4 + 1]
mov dword [ebp - 0x20], eax
nop
movss xmm0, dword [edx - 8]
lea edx, [edx + 0x20]
lea edi, [edi + 0x20]
xorps xmm0, xmm1
movss dword [edi - 0x28], xmm0
mov eax, dword [edx - 0x2c]
mov dword [edi - 0x24], eax
movss xmm0, dword [edx - 0x20]
xorps xmm0, xmm1
movss dword [edi - 0x20], xmm0
mov eax, dword [edx - 0x24]
mov dword [edi - 0x1c], eax
movss xmm0, dword [edx - 0x18]
xorps xmm0, xmm1
movss dword [edi - 0x18], xmm0
mov eax, dword [edx - 0x1c]
mov dword [edi - 0x14], eax
movss xmm0, dword [edx - 0x10]
xorps xmm0, xmm1
movss dword [edi - 0x10], xmm0
mov eax, dword [edx - 0x14]
mov dword [edi - 0xc], eax
sub esi, 1
jne 0x4f2690
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
cmp edx, ecx
ja 0x4f271c
lea eax, [edx + ecx]
lea edi, [esi + eax*8]
nop word [eax + eax]
movss xmm0, dword [esi + edx*8 + 4]
lea edi, [edi + 8]
xorps xmm0, xmm1
movss dword [edi - 8], xmm0
mov eax, dword [esi + edx*8]
inc edx
mov dword [edi - 4], eax
cmp edx, ecx
jbe 0x4f2700
mov edi, dword [ebp - 4]
mov ecx, edi
shr ecx, 1
jmp 0x4f2a36
shr ecx, 1
mov dword [ebp - 0x18], ecx
cmp ecx, 4
jb 0x4f2815
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004f2150
mov ecx, dword [ebp - 0x18]
mov edx, edi
movsd xmm4, qword [ebp - 0x40]
mov eax, ecx
movsd xmm5, qword [ebp - 0x38]
sub eax, edi
movsd xmm6, qword [0x739f80]
movaps xmm0, xmm4
shl edx, 4
add esp, 4
shl eax, 4
xorps xmm0, xmm6
mov dword [ebp - 0x20], eax
movsd qword [edx + esi], xmm4
movsd qword [edx + esi + 8], xmm5
movsd qword [eax + esi], xmm0
movsd qword [eax + esi + 8], xmm5
cmp edi, 1
jbe 0x4f27fe
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x10]
add edx, 0x10
add ecx, 0xfffffff0
add edx, esi
add ecx, esi
mov dword [ebp - 0x20], ecx
lea ecx, [edi - 1]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
nop dword [eax + eax]
movsd xmm1, qword [eax]
movsd xmm3, qword [eax + 8]
movaps xmm2, xmm1
movaps xmm0, xmm3
mulsd xmm2, xmm4
add eax, 0x10
mulsd xmm0, xmm5
mulsd xmm3, xmm4
mulsd xmm1, xmm5
subsd xmm2, xmm0
addsd xmm3, xmm1
movsd qword [edx], xmm2
xorps xmm2, xmm6
movsd qword [edx + 8], xmm3
add edx, 0x10
movsd qword [esi], xmm2
movsd qword [esi + 8], xmm3
sub esi, 0x10
sub dword [ebp - 0x14], 1
jne 0x4f27b0
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edi, edi
lea eax, [edi*4]
cmp eax, ecx
jbe 0x4f2736
mov dword [ebp - 8], edi
add edi, edi
cmp edi, ecx
ja 0x4f2938
nop
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
call fcn.004f2150
mov edx, dword [ebp - 8]
add esp, 4
movsd xmm5, qword [ebp - 0x40]
mov eax, edx
movsd xmm6, qword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
shl eax, 4
mov dword [ebp - 0x20], eax
movsd qword [eax + esi], xmm5
movsd qword [eax + esi + 8], xmm6
mov eax, edi
cmp eax, ecx
je 0x4f2938
movsd xmm4, qword [0x739f80]
mov eax, ecx
sub eax, edx
movaps xmm0, xmm5
shl eax, 4
xorps xmm0, xmm4
mov dword [ebp - 0x1c], eax
movsd qword [eax + esi], xmm0
movsd qword [eax + esi + 8], xmm6
lea eax, [edi + 1]
add edi, 2
cmp eax, ecx
je 0x4f2938
mov dword [ebp - 8], 1
cmp edx, 1
jbe 0x4f2928
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add eax, 0x10
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add eax, esi
mov dword [ebp - 0x20], eax
mov esi, eax
mov eax, dword [ebp - 0x14]
nop
movsd xmm1, qword [eax]
movsd xmm3, qword [eax + 8]
movaps xmm2, xmm1
mov eax, dword [ebp - 0x10]
movaps xmm0, xmm3
mulsd xmm2, xmm5
mulsd xmm0, xmm6
mulsd xmm3, xmm5
mulsd xmm1, xmm6
subsd xmm2, xmm0
addsd xmm3, xmm1
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm3
mov eax, edi
inc edi
cmp eax, ecx
je 0x4f2925
mov eax, edi
movsd qword [esi + 8], xmm3
xorps xmm2, xmm4
inc edi
movsd qword [esi], xmm2
cmp eax, ecx
je 0x4f2925
mov eax, dword [ebp - 0x14]
sub esi, 0x10
inc dword [ebp - 8]
add eax, 0x10
add dword [ebp - 0x10], 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], edx
jb 0x4f28c0
mov esi, dword [ebp - 0xc]
add edx, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
cmp edi, ecx
jbe 0x4f2820
mov edi, 1
cmp ecx, edi
jbe 0x4f2a24
lea eax, [ecx - 1]
cmp eax, 4
jb 0x4f29f0
lea edi, [ecx - 5]
shr edi, 2
lea eax, [esi + 0x10]
inc edi
lea edx, [esi + 0x20]
mov dword [ebp - 0x18], edi
lea edi, [edi*4 + 1]
nop dword [eax + eax]
sub dword [ebp - 0x18], 1
lea edx, [edx + 0x40]
movsd xmm0, qword [edx - 0x50]
lea eax, [eax + 0x20]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x28], xmm0
movsd xmm0, qword [edx - 0x48]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x24], xmm0
movsd xmm0, qword [edx - 0x40]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x20], xmm0
movsd xmm0, qword [edx - 0x38]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x1c], xmm0
movsd xmm0, qword [edx - 0x30]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x18], xmm0
movsd xmm0, qword [edx - 0x28]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x14], xmm0
movsd xmm0, qword [edx - 0x20]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0x10], xmm0
movsd xmm0, qword [edx - 0x18]
cvtpd2ps xmm0, xmm0
movss dword [eax - 0xc], xmm0
jne 0x4f2970
cmp edi, ecx
jae 0x4f2a24
mov eax, edi
shl eax, 4
add eax, esi
nop word [eax + eax]
movsd xmm0, qword [eax]
lea eax, [eax + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esi + edi*8], xmm0
movsd xmm0, qword [eax - 8]
cvtpd2ps xmm0, xmm0
movss dword [esi + edi*8 + 4], xmm0
inc edi
cmp edi, ecx
jb 0x4f2a00
mov edi, dword [ebp - 4]
mov dword [esi + ecx*8], 0xbf800000
mov dword [esi + ecx*8 + 4], 0
mov edx, 1
cmp ecx, edx
jbe 0x4f3023
movss xmm1, dword [0x739fa0]
lea eax, [ecx - 1]
cmp eax, 4
jb 0x4f2adc
lea eax, [ecx - 5]
lea edx, [esi + 0x10]
shr eax, 2
add esi, 0xfffffff0
inc eax
mov dword [ebp - 0x20], eax
lea eax, [eax*4 + 1]
lea edi, [esi + edi*8]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x20]
mov eax, dword [edx - 8]
lea edx, [edx + 0x20]
mov dword [edi + 8], eax
lea edi, [edi - 0x20]
movss xmm0, dword [edx - 0x24]
xorps xmm0, xmm1
movss dword [edi + 0x2c], xmm0
mov eax, dword [edx - 0x20]
mov dword [edi + 0x20], eax
movss xmm0, dword [edx - 0x1c]
xorps xmm0, xmm1
movss dword [edi + 0x24], xmm0
mov eax, dword [edx - 0x18]
mov dword [edi + 0x18], eax
movss xmm0, dword [edx - 0x14]
xorps xmm0, xmm1
movss dword [edi + 0x1c], xmm0
mov eax, dword [edx - 0x10]
mov dword [edi + 0x10], eax
movss xmm0, dword [edx - 0xc]
xorps xmm0, xmm1
movss dword [edi + 0x14], xmm0
sub esi, 1
jne 0x4f2a77
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
cmp edx, ecx
jae 0x4f3023
mov eax, dword [ebp - 4]
sub eax, edx
lea edi, [esi + eax*8]
mov eax, dword [esi + edx*8]
lea edi, [edi - 8]
mov dword [edi + 8], eax
movss xmm0, dword [esi + edx*8 + 4]
inc edx
xorps xmm0, xmm1
movss dword [edi + 0xc], xmm0
cmp edx, ecx
jb 0x4f2ae4
mov dword [esi], 0x3f800000
xor eax, eax
mov dword [esi + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 0x14], edi
cmp edx, 8
jbe 0x4f2c0d
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004f2150
movsd xmm4, qword [ebp - 0x40]
mov ecx, edi
mov edx, dword [ebp - 4]
add esp, 4
movsd xmm5, qword [ebp - 0x38]
mov eax, edx
movsd xmm6, qword [0x739f80]
sub eax, edi
shl ecx, 4
mov dword [ebp - 0x20], eax
cvtpd2ps xmm0, xmm4
movsd qword [ecx + esi], xmm4
movsd qword [ecx + esi + 8], xmm5
movss dword [esi + eax*8], xmm0
movaps xmm0, xmm5
xorps xmm0, xmm6
cvtsd2ss xmm0, xmm0
movss dword [esi + eax*8 + 4], xmm0
cmp edi, 1
jbe 0x4f2bf9
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0x10]
add ecx, 0x10
add ecx, esi
dec edx
lea edx, [esi + edx*8]
lea esi, [edi - 1]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0xc]
nop dword [eax + eax]
movsd xmm1, qword [eax]
movsd xmm3, qword [eax + 8]
movaps xmm2, xmm1
movaps xmm0, xmm3
mulsd xmm2, xmm4
add eax, 0x10
mulsd xmm0, xmm5
mulsd xmm3, xmm4
mulsd xmm1, xmm5
subsd xmm2, xmm0
addsd xmm3, xmm1
cvtpd2ps xmm0, xmm2
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm3
xorps xmm3, xmm6
movss dword [edx], xmm0
add ecx, 0x10
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
movss dword [edx + 4], xmm0
sub edx, 8
sub dword [ebp - 0x18], 1
jne 0x4f2ba0
mov edx, dword [ebp - 4]
add edi, edi
lea eax, [edi*8]
cmp eax, edx
jb 0x4f2b24
mov dword [ebp - 0x14], edi
lea eax, [edi + edi]
mov ecx, edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004f2150
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x50]
add esp, 4
lea ecx, [edi + edi]
push eax
call fcn.004f2150
mov edx, dword [ebp - 4]
lea ecx, [edi + edi]
movsd xmm7, qword [ebp - 0x40]
mov eax, edx
movsd xmm4, qword [ebp - 0x38]
sub eax, edi
movsd xmm6, qword [0x739f80]
add esp, 4
movsd xmm5, qword [ebp - 0x50]
movsd xmm3, qword [ebp - 0x48]
cvtpd2ps xmm0, xmm7
mov dword [ebp - 0x24], eax
movss dword [esi + eax*8], xmm0
movaps xmm0, xmm4
xorps xmm0, xmm6
cvtsd2ss xmm0, xmm0
movss dword [esi + eax*8 + 4], xmm0
mov eax, edx
sub eax, ecx
mov ecx, 1
cvtpd2ps xmm0, xmm5
mov dword [ebp - 0x18], eax
lea eax, [esi + eax*8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], ecx
movss dword [eax], xmm0
movaps xmm0, xmm3
xorps xmm0, xmm6
cvtsd2ss xmm0, xmm0
movss dword [eax + 4], xmm0
lea eax, [edx + 1]
shr eax, 1
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jbe 0x4f2e2e
mov edx, dword [ebp - 0x18]
movaps xmm1, xmm5
mulsd xmm1, xmm7
movaps xmm0, xmm3
sub edx, edi
sub eax, edi
mulsd xmm0, xmm4
mov dword [ebp - 0x18], edx
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
movss dword [esi + edx*8], xmm0
movaps xmm0, xmm5
mulsd xmm0, xmm4
mulsd xmm1, xmm7
addsd xmm1, xmm0
xorps xmm0, xmm0
xorps xmm1, xmm6
cvtsd2ss xmm0, xmm1
movss dword [esi + edx*8 + 4], xmm0
mov edx, dword [ebp - 4]
cmp eax, ecx
jbe 0x4f2e29
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
dec ecx
lea ecx, [esi + ecx*8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
dec ecx
lea ecx, [esi + ecx*8]
mov dword [ebp - 0x24], ecx
lea ecx, [eax - 1]
mov edi, dword [ebp - 0x24]
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x1c]
nop dword [eax + eax]
movsd xmm1, qword [eax]
movsd xmm4, qword [eax + 8]
movaps xmm5, xmm1
mulsd xmm1, qword [ebp - 0x38]
movaps xmm0, xmm4
mulsd xmm0, qword [ebp - 0x38]
mulsd xmm5, xmm7
mulsd xmm4, xmm7
subsd xmm5, xmm0
addsd xmm4, xmm1
cvtpd2ps xmm0, xmm5
movss dword [edi], xmm0
movaps xmm0, xmm4
xorps xmm0, xmm6
cvtsd2ss xmm0, xmm0
movss dword [edi + 4], xmm0
sub edi, 8
movsd xmm3, qword [eax]
movsd xmm2, qword [eax + 8]
movaps xmm1, xmm3
mulsd xmm1, qword [ebp - 0x50]
movaps xmm0, xmm2
add eax, 0x10
mulsd xmm0, qword [ebp - 0x48]
mulsd xmm2, qword [ebp - 0x50]
mulsd xmm3, qword [ebp - 0x48]
subsd xmm1, xmm0
addsd xmm2, xmm3
cvtpd2ps xmm0, xmm1
xorps xmm2, xmm6
movaps xmm1, xmm5
mulsd xmm5, qword [ebp - 0x48]
mulsd xmm1, qword [ebp - 0x50]
movss dword [edx], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [edx + 4], xmm0
sub edx, 8
movsd xmm0, qword [ebp - 0x48]
mulsd xmm0, xmm4
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ecx], xmm0
movsd xmm0, qword [ebp - 0x50]
mulsd xmm0, xmm4
addsd xmm5, xmm0
xorps xmm0, xmm0
xorps xmm5, xmm6
cvtsd2ss xmm0, xmm5
movss dword [ecx + 4], xmm0
sub ecx, 8
sub dword [ebp - 0x18], 1
jne 0x4f2d40
movsd xmm4, qword [ebp - 0x38]
movsd xmm5, qword [ebp - 0x50]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp ecx, eax
jae 0x4f2f07
mov eax, edx
shl ecx, 4
sub eax, dword [ebp - 0x10]
add ecx, esi
sub eax, dword [ebp - 8]
sub edx, dword [ebp - 8]
sub edx, edi
lea eax, [esi + eax*8]
mov dword [ebp - 0x24], eax
lea eax, [esi + edx*8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
sub edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
nop dword [eax + eax]
movsd xmm3, qword [ecx]
movsd xmm2, qword [ecx + 8]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulsd xmm1, xmm7
mulsd xmm0, xmm4
mulsd xmm2, xmm7
mulsd xmm3, xmm4
subsd xmm1, xmm0
addsd xmm2, xmm3
cvtpd2ps xmm0, xmm1
xorps xmm2, xmm6
movss dword [edx], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [edx + 4], xmm0
sub edx, 8
movsd xmm3, qword [ecx]
movsd xmm2, qword [ecx + 8]
movaps xmm1, xmm3
mulsd xmm3, qword [ebp - 0x48]
movaps xmm0, xmm2
add ecx, 0x10
mulsd xmm0, qword [ebp - 0x48]
mulsd xmm1, xmm5
mulsd xmm2, xmm5
subsd xmm1, xmm0
addsd xmm2, xmm3
cvtpd2ps xmm0, xmm1
xorps xmm2, xmm6
movss dword [eax], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [eax + 4], xmm0
sub eax, 8
sub dword [ebp - 0x1c], 1
jne 0x4f2e70
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, edi
jae 0x4f2f69
mov eax, edx
shl ecx, 4
sub eax, dword [ebp - 8]
add ecx, esi
sub eax, edi
sub edi, dword [ebp - 8]
lea eax, [esi + eax*8]
nop dword [eax]
movsd xmm3, qword [ecx]
movsd xmm2, qword [ecx + 8]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulsd xmm1, xmm7
add ecx, 0x10
mulsd xmm0, xmm4
mulsd xmm2, xmm7
mulsd xmm3, xmm4
subsd xmm1, xmm0
addsd xmm2, xmm3
cvtpd2ps xmm0, xmm1
xorps xmm2, xmm6
movss dword [eax], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [eax + 4], xmm0
sub eax, 8
sub edi, 1
jne 0x4f2f20
mov eax, edx
mov edi, 1
shr eax, 1
mov dword [ebp - 0x1c], eax
cmp eax, edi
jb 0x4f3023
movss xmm1, dword [0x739fa0]
cmp eax, 4
jb 0x4f3002
lea ecx, [esi + 0x10]
add esi, 0xfffffff0
lea edx, [esi + edx*8]
mov esi, eax
shr esi, 2
lea edi, [esi*4 + 1]
nop
mov eax, dword [edx + 8]
lea edx, [edx - 0x20]
mov dword [ecx - 8], eax
lea ecx, [ecx + 0x20]
movss xmm0, dword [edx + 0x2c]
xorps xmm0, xmm1
movss dword [ecx - 0x24], xmm0
mov eax, dword [edx + 0x20]
mov dword [ecx - 0x20], eax
movss xmm0, dword [edx + 0x24]
xorps xmm0, xmm1
movss dword [ecx - 0x1c], xmm0
mov eax, dword [edx + 0x18]
mov dword [ecx - 0x18], eax
movss xmm0, dword [edx + 0x1c]
xorps xmm0, xmm1
movss dword [ecx - 0x14], xmm0
mov eax, dword [edx + 0x10]
mov dword [ecx - 0x10], eax
movss xmm0, dword [edx + 0x14]
xorps xmm0, xmm1
movss dword [ecx - 0xc], xmm0
sub esi, 1
jne 0x4f2fa0
mov esi, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x1c]
ja 0x4f3023
mov edx, dword [ebp - 4]
sub edx, edi
lea ecx, [esi + edx*8]
mov eax, dword [ecx]
lea ecx, [ecx - 8]
mov dword [esi + edi*8], eax
movss xmm0, dword [ecx + 0xc]
xorps xmm0, xmm1
movss dword [esi + edi*8 + 4], xmm0
inc edi
cmp edi, dword [ebp - 0x1c]
jbe 0x4f3007
mov dword [esi], 0x3f800000
xor eax, eax
mov dword [esi + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret