Function at 0x427d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x49d00c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
xor esi, esi
nop dword [eax + eax]
movsd xmm1, qword [0x489628]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
call fcn.0046c730
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x4a9d60], xmm0
inc esi
cmp esi, 0x200f
jl 0x427da0
movsd xmm2, qword [0x489618]
lea edi, [esp + 0x38]
xor esi, esi
nop dword [eax]
movaps xmm0, xmmword [0x489950]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [0x489940]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [0x489930]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [0x489920]
movups xmmword [esp + 0x68], xmm0
movsd xmm0, qword [edi]
mulsd xmm0, xmm0
addsd xmm0, xmm2
call fcn.0046d450
movsd xmm2, qword [0x489618]
movaps xmm1, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movss dword [esi + 0x4a9380], xmm1
movsd xmm1, qword [edi]
add edi, 8
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esi + 0x4a9d40], xmm0
add esi, 4
cmp esi, 0x20
jl 0x427de0
mov edi, 0x4a9120
mov esi, 0x13
xorps xmm0, xmm0
lea eax, [esi - 0x12]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4895e0]
call fcn.0046d280
mulsd xmm0, qword [0x489608]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896b0]
call fcn.0046c2e0
movsd xmm1, qword [esp + 0x28]
lea eax, [esi + 0x12]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x90], xmm0
movss dword [edi], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4895e0]
call fcn.0046d280
mulsd xmm0, qword [0x489608]
lea eax, [esi + 0x24]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896b0]
call fcn.0046c2e0
movsd xmm1, qword [esp + 0x28]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x44], xmm0
cmp esi, 0x37
jl 0x427e65
mov edi, 0x4a9300
mov esi, 0x2b
nop dword [eax + eax]
xorps xmm0, xmm0
lea eax, [esi + 0xc]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896b0]
call fcn.0046c2e0
movsd xmm1, qword [0x489608]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi - 0x108], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896b0]
call fcn.0046c2e0
movsd xmm1, qword [0x489608]
lea eax, [esi - 0x1e]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4895f0]
call fcn.0046d280
mulsd xmm0, qword [0x489608]
lea eax, [esi + 0x18]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896b0]
call fcn.0046c2e0
movsd xmm1, qword [esp + 0x28]
lea eax, [esi - 0x2a]
divsd xmm1, xmm0
mov dword [edi - 0x30], 0
mov dword [edi - 0xd8], 0
cvtpd2ps xmm0, xmm1
movss dword [edi - 0xf0], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4895f0]
call fcn.0046d280
mulsd xmm0, qword [0x489608]
lea eax, [esi - 0xc]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896b0]
call fcn.0046c2e0
movsd xmm1, qword [esp + 0x28]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 0x1c], xmm0
cmp esi, 0x37
jl 0x427f40
xor esi, esi
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4895f8]
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x4b1e80], xmm0
inc esi
cmp esi, 9
jl 0x428080
mov edi, 0x4b1ec0
mov esi, 1
nop dword [eax]
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896a8]
call fcn.0046c2e0
movsd xmm1, qword [0x489608]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 0x13
jl 0x4280c0
mov edi, 0x4a936c
mov esi, 1
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x489690]
call fcn.0046c2e0
movsd xmm1, qword [0x489608]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 7
jl 0x428110
movsd xmm0, qword [0x489610]
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
movss dword [0x4a1e3c], xmm0
movsd xmm0, qword [0x489620]
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
movss dword [0x4a8720], xmm0
movsd xmm0, qword [0x489600]
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
movss dword [0x4a9360], xmm0
movsd xmm0, qword [0x489638]
call fcn.0046c2e0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [0x489658]
movss dword [0x4a9364], xmm1
call fcn.0046c2e0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [0x4895f8]
movss dword [0x4a9368], xmm1
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
movss dword [0x4a8724], xmm0
movsd xmm0, qword [0x489640]
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
movss dword [0x4a8728], xmm0
movsd xmm0, qword [0x489650]
call fcn.0046c2e0
cvtsd2ss xmm0, xmm0
mov edi, 0x4a9240
mov esi, 7
movss dword [0x4a872c], xmm0
xorps xmm0, xmm0
lea eax, [esi - 6]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4895f0]
call fcn.0046d280
mulsd xmm0, qword [0x489608]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x4896a0]
call fcn.0046c2e0
movsd xmm1, qword [esp + 0x28]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 0x1f
jl 0x428225
xor eax, eax
mov dword [esp + 0xc], eax
nop word [eax + eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x489668]
divsd xmm0, qword [0x489690]
call fcn.0046d550
movsd xmm4, qword [0x489618]
movaps xmm2, xmm0
movaps xmm3, xmm2
mov esi, dword [esp + 0xc]
addsd xmm3, xmm4
shl esi, 2
movaps xmm0, xmm4
movaps xmm1, xmm2
mulsd xmm2, qword [0x489630]
xor edi, edi
divsd xmm0, xmm3
divsd xmm2, xmm3
cvtpd2ps xmm0, xmm0
divsd xmm1, xmm3
movss dword [esi + 0x4a6d00], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtsd2ss xmm1, xmm1
movss dword [esi + 0x4a86e0], xmm0
movsd xmm0, qword [0x489630]
divsd xmm0, xmm3
movss dword [esi + 0x4a86a0], xmm1
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x4a9420], xmm0
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [0x489648]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm4
mulsd xmm1, qword [0x489750]
call fcn.0046c730
movsd xmm4, qword [0x489618]
movaps xmm1, xmm0
mov eax, dword [esp + 0xc]
movaps xmm0, xmm4
movsd qword [esp + 0x20], xmm0
movaps xmm2, xmm4
movsd qword [esp + 0x28], xmm2
test eax, eax
je 0x4283c0
movaps xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
test al, 1
je 0x42839e
addsd xmm1, xmm4
mulsd xmm1, qword [0x489608]
call fcn.0046c730
movsd xmm2, qword [esp + 0x28]
jmp 0x4283b4
mulsd xmm1, qword [0x489608]
call fcn.0046c730
movaps xmm2, xmm0
movsd xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0xc]
movsd xmm4, qword [0x489618]
xorps xmm1, xmm1
inc edi
cvtsd2ss xmm1, xmm0
mulsd xmm0, qword [0x489630]
movss dword [esi + 0x4a8730], xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
mulsd xmm2, qword [0x489630]
cvtsd2ss xmm0, xmm0
movss dword [esi + 0x4a87b0], xmm1
movss dword [esi + 0x4a93a0], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [esi + 0x4a8830], xmm0
add esi, 0x40
cmp edi, 2
jl 0x428330
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x10
jl 0x428290
movaps xmm0, xmmword [0x4898b0]
lea edx, [esp + 0x28]
movss xmm1, dword [0x489900]
xor esi, esi
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x10], edx
mov edi, dword [edx]
test edi, edi
jle 0x428468
lea edx, [edi - 1]
mov ecx, esi
shr edx, 1
inc edx
mov eax, dword [ecx + 0x4a9120]
lea ecx, [ecx + 8]
mov dword [ecx + 0x4a9458], eax
sub edx, 1
jne 0x428450
mov edx, dword [esp + 0x10]
cmp edi, 1
jle 0x42849b
lea ecx, [edi - 2]
mov eax, esi
shr ecx, 1
inc ecx
nop word [eax + eax]
movss xmm0, dword [eax + 0x4a9124]
lea eax, [eax + 8]
xorps xmm0, xmm1
movss dword [eax + 0x4a945c], xmm0
sub ecx, 1
jne 0x428480
add edx, 4
add esi, 0x90
mov dword [esp + 0x10], edx
cmp esi, 0x240
jl 0x428442
mov edx, 0x4a6db8
mov dword [esp + 0x18], 0x4a96a0
xor edi, edi
mov dword [esp + 0x14], 0x4a5710
mov dword [esp + 0xc], 0x47f404
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edi
nop word [eax + eax]
lea ecx, [edx - 0x78]
mov dword [edi + 0x4a88b0], ecx
mov edi, dword [esp + 0xc]
lea esi, [edi - 8]
mov dword [esp + 0x28], esi
mov esi, dword [esi]
mov eax, esi
sar eax, 1
mov dword [ecx], eax
mov eax, dword [edi - 4]
sar eax, 1
mov dword [edx - 0x74], 0
mov dword [edx - 0x70], 3
mov dword [edx - 0x6c], 0
mov dword [edx - 0x68], eax
mov eax, dword [edi]
mov dword [edx - 0x64], esi
add esi, dword [edi - 4]
sar eax, 1
mov dword [edx - 0x60], 3
mov dword [edx - 0x5c], 1
mov dword [edx - 0x58], eax
mov eax, dword [edi + 4]
mov dword [edx - 0x54], esi
add esi, dword [edi]
sar eax, 1
mov dword [edx - 0x50], 3
mov dword [edx - 0x4c], 2
mov dword [edx - 0x48], eax
mov eax, dword [edi + 8]
mov dword [edx - 0x44], esi
add esi, dword [edi + 4]
sar eax, 1
mov dword [edx - 0x40], 3
mov dword [edx - 0x3c], 3
mov dword [edx - 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [edx - 0x34], esi
add esi, dword [edi + 8]
sar eax, 1
mov dword [edx - 0x30], 3
mov dword [edx - 0x2c], 4
mov dword [edx - 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [edx - 0x24], esi
add esi, dword [edi + 0xc]
sar eax, 1
mov dword [edx - 0x20], 3
mov dword [edx - 0x1c], 5
mov dword [edx - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [edx - 0x14], esi
add esi, dword [edi + 0x10]
sar eax, 1
mov dword [edx - 0x10], 3
mov dword [edx - 0xc], 6
mov dword [edx - 8], eax
mov eax, dword [esp + 0xc]
mov dword [edx - 4], esi
add esi, dword [edi + 0x14]
mov edi, 3
mov dword [edx], 3
mov dword [edx + 4], 7
add edx, 8
add eax, 0x94
mov ecx, dword [eax]
add eax, 4
sar ecx, 1
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 0xc], edi
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
mov dword [edx + 8], 0
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
lea eax, [esi + 2]
mov dword [edx + 0x1c], edi
mov dword [edx + 0x18], 1
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
lea eax, [ecx + ecx*2]
mov dword [edx + 0x2c], edi
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x20]
inc edi
mov dword [edx + 0x28], 2
add edx, 0x30
cmp edi, 0xd
jl 0x4285e3
mov eax, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [eax + 0x4a9cd0], edx
mov edx, ecx
mov dword [eax + 0x4a88b4], ecx
mov eax, dword [esp + 0xc]
add eax, 0x88
nop dword [eax]
mov ecx, dword [eax]
add eax, 4
sar ecx, 1
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 0xc], esi
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [edx + 8], 0
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
lea eax, [edi + 2]
mov dword [edx + 0x1c], esi
mov dword [edx + 0x18], 1
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
lea eax, [ecx + ecx*2]
mov dword [edx + 0x2c], esi
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x20]
inc esi
mov dword [edx + 0x28], 2
add edx, 0x30
cmp esi, 0xd
jl 0x428660
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, eax
mov esi, dword [esp + 0x28]
mov dword [edi + 0x4a9cd4], edx
xor edx, edx
mov dword [edi + 0x4a88b8], eax
nop
mov eax, dword [esi]
lea esi, [esi + 8]
sar eax, 1
mov dword [ecx], eax
mov eax, dword [esi - 4]
mov dword [ecx + 4], edx
sar eax, 1
mov dword [ecx + 8], eax
lea eax, [edx + 1]
mov dword [ecx + 0xc], eax
add edx, 2
add ecx, 0x10
cmp edx, 0x16
jl 0x4286d0
mov edx, dword [esp + 0x1c]
add dword [esp + 0xc], 0x120
add edx, 0x260
add dword [esp + 0x14], 0x270
add dword [esp + 0x18], 0xb0
mov dword [edi + 0x4a9cd8], ecx
add edi, 0xc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edi
cmp edx, 0x4a8318
jl 0x4284e0
xor edi, edi
mov edx, 0x4a82a4
nop dword [eax + eax]
xor esi, esi
mov ecx, esi
inc esi
or ecx, 0x600
shl ecx, 3
or ecx, edi
mov eax, ecx
mov dword [edx - 4], ecx
or eax, 0x40
mov dword [edx], eax
mov eax, ecx
or eax, 0x80
mov dword [edx + 4], eax
mov eax, ecx
or eax, 0xc0
mov dword [edx + 8], eax
mov eax, ecx
or eax, 0x100
or ecx, 0x140
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
add edx, 0x18
cmp esi, 6
jl 0x428742
inc edi
cmp edx, 0x4a8574
jl 0x428740
xor edi, edi
mov edx, 0x4a8574
nop dword [eax]
xor esi, esi
mov ecx, esi
inc esi
or ecx, 0x800
shl ecx, 3
or ecx, edi
mov eax, ecx
mov dword [edx - 4], ecx
or eax, 0x40
mov dword [edx], eax
mov eax, ecx
or eax, 0x80
or ecx, 0xc0
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
add edx, 0x10
cmp esi, 4
jl 0x4287a2
inc edi
cmp edx, 0x4a8674
jl 0x4287a0
xor eax, eax
mov dword [0x4a8670], 0x5000
mov dword [0x4a90f0], 0xa000
mov edx, 0x4a8924
mov dword [0x4a8674], 0x5008
mov dword [0x4a90f4], 0xa008
mov dword [0x4a8678], 0x5010
mov dword [0x4a90f8], 0xa010
mov dword [0x4a867c], 0x5001
mov dword [0x4a90fc], 0xa001
mov dword [0x4a8680], 0x5009
mov dword [0x4a9100], 0xa009
mov dword [0x4a8684], 0x5011
mov dword [0x4a9104], 0xa011
mov dword [0x4a8688], 0x5002
mov dword [0x4a9108], 0xa002
mov dword [0x4a868c], 0x500a
mov dword [0x4a910c], 0xa00a
mov dword [0x4a8690], 0x5012
mov dword [0x4a9110], 0xa012
mov dword [0x4a8694], 0x5003
mov dword [0x4a9114], 0xa003
mov dword [0x4a8698], 0x500b
mov dword [0x4a9118], 0xa00b
mov dword [0x4a869c], 0x5013
mov dword [0x4a911c], 0xa013
mov dword [esp + 0xc], eax
nop dword [eax]
xor edi, edi
xor esi, esi
lea ecx, [esi*8]
inc esi
or ecx, edi
shl ecx, 3
or ecx, eax
mov eax, ecx
mov dword [edx - 4], ecx
or eax, 0x200
mov dword [edx], eax
mov eax, ecx
or eax, 0x400
or ecx, 0x600
mov dword [edx + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 8], ecx
add edx, 0x10
cmp esi, 4
jl 0x4288e4
inc edi
cmp edi, 5
jl 0x4288e2
inc eax
mov dword [esp + 0xc], eax
cmp edx, 0x4a8f64
jl 0x4288e0
xor edi, edi
mov edx, 0x4a8f64
xor esi, esi
nop word [eax + eax]
mov ecx, esi
inc esi
or ecx, 0x200
shl ecx, 3
or ecx, edi
mov eax, ecx
mov dword [edx - 4], ecx
or eax, 0x40
mov dword [edx], eax
mov eax, ecx
or eax, 0x80
or ecx, 0xc0
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
add edx, 0x10
cmp esi, 5
jl 0x428940
inc edi
cmp edx, 0x4a90f4
jl 0x428938
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00452408
mov esp, ebp
pop ebp
ret