Function at 0x4b3e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x57cab0], 0
jne 0x4b4a4e
push esi
push edi
mov dword [0x57cab0], 1
mov esi, 0xffffff00
nop dword [eax]
nop dword [eax + eax]
movsd xmm0, qword [0x52d7b8]
lea eax, [esi + 0xd2]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x4fea10]
call fcn.004d76e0
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x5854d8], xmm0
inc esi
cmp esi, 0x7a
jl 0x4b3ec0
xor esi, esi
nop dword [eax + eax]
movsd xmm1, qword [0x4f7f28]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
call fcn.004d76e0
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x57cab8], xmm0
inc esi
cmp esi, 0x200f
jl 0x4b3f00
movaps xmm3, xmmword [0x4fb100]
mov eax, str.333333
xor ecx, ecx
nop dword [eax]
movups xmm2, xmmword [eax]
add eax, 0x10
movaps xmm0, xmm2
mulpd xmm0, xmm2
addpd xmm0, xmm3
sqrtpd xmm1, xmm0
movaps xmm0, xmm3
divpd xmm0, xmm1
divpd xmm2, xmm1
cvtpd2ps xmm0, xmm0
movsd qword [ecx + 0x584b14], xmm0
cvtpd2ps xmm0, xmm2
movsd qword [ecx + 0x584af4], xmm0
add ecx, 8
cmp eax, 0x4fe820
jl 0x4b3f40
mov edi, 0x584c58
mov esi, 0x13
nop dword [eax]
xorps xmm0, xmm0
lea eax, [esi - 0x12]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4fe9c8]
call fcn.004d8230
mulsd xmm0, qword [0x52d750]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea08]
call fcn.004d6fb0
movsd xmm1, qword [ebp - 0x2c]
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 [0x4fe9c8]
call fcn.004d8230
mulsd xmm0, qword [0x52d750]
lea eax, [esi + 0x24]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea08]
call fcn.004d6fb0
movsd xmm1, qword [ebp - 0x2c]
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 0x4b3f90
mov edi, 0x584e38
mov esi, 0x2b
nop
xorps xmm0, xmm0
lea eax, [esi + 0xc]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea08]
call fcn.004d6fb0
movsd xmm1, qword [0x52d750]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi - 0x108], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea08]
call fcn.004d6fb0
movsd xmm1, qword [0x52d750]
lea eax, [esi - 0x1e]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4fe9d0]
call fcn.004d8230
mulsd xmm0, qword [0x52d750]
lea eax, [esi + 0x18]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea08]
call fcn.004d6fb0
movsd xmm1, qword [ebp - 0x2c]
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 [0x4fe9d0]
call fcn.004d8230
mulsd xmm0, qword [0x52d750]
lea eax, [esi - 0xc]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea08]
call fcn.004d6fb0
movsd xmm1, qword [ebp - 0x2c]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 0x1c], xmm0
cmp esi, 0x37
jl 0x4b4060
xor esi, esi
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4fe9d8]
call fcn.004d6fb0
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x5856c0], xmm0
inc esi
cmp esi, 9
jl 0x4b41a0
mov edi, 0x5856e4
mov esi, 1
nop dword [eax]
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fea00]
call fcn.004d6fb0
movsd xmm1, qword [0x52d750]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 0x13
jl 0x4b41e0
mov edi, 0x585708
mov esi, 1
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fe9f0]
call fcn.004d6fb0
movsd xmm1, qword [0x52d750]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 7
jl 0x4b4230
movsd xmm0, qword [0x4fe9e0]
call fcn.004d6fb0
cvtsd2ss xmm0, xmm0
movss dword [0x57cab4], xmm0
movsd xmm0, qword [0x4fe9e8]
call fcn.004d6fb0
cvtsd2ss xmm0, xmm0
mov edi, 7
mov dword [ebp - 4], 0x584d78
mov dword [ebp - 8], edi
mov esi, 0x584b38
mov dword [ebp - 0xc], 0xe
movss dword [0x584b34], xmm0
nop word [eax + eax]
xorps xmm0, xmm0
lea eax, [edi - 6]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x4fe9d0]
call fcn.004d8230
mulsd xmm0, qword [0x52d750]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fe9f8]
call fcn.004d6fb0
movsd xmm1, qword [ebp - 0x2c]
divsd xmm1, xmm0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], 6
cvtpd2ps xmm0, xmm1
movss dword [eax], xmm0
nop dword [eax + eax]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4fe9d0]
call fcn.004d6fb0
mov eax, dword [ebp - 0xc]
add edi, eax
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
add esi, 4
sub dword [ebp - 0x10], 1
jne 0x4b4320
mov edi, dword [ebp - 8]
add eax, 4
add dword [ebp - 4], 4
add edi, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
cmp eax, 0x3e
jl 0x4b42c0
movss xmm1, dword [0x52db30]
xor edx, edx
mov dword [ebp - 0x10], edx
mov edi, 0x4fe820
nop dword [eax]
mov esi, dword [edi]
test esi, esi
jle 0x4b43a7
mov ecx, edx
lea edx, [esi - 1]
shr edx, 1
inc edx
nop
mov eax, dword [ecx + 0x584c58]
lea ecx, [ecx + 8]
mov dword [ecx + 0x584e90], eax
sub edx, 1
jne 0x4b4390
mov edx, dword [ebp - 0x10]
cmp esi, 1
jle 0x4b43db
lea ecx, [esi - 2]
mov eax, edx
shr ecx, 1
inc ecx
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [eax + 0x584c5c]
lea eax, [eax + 8]
xorps xmm0, xmm1
movss dword [eax + 0x584e94], xmm0
sub ecx, 1
jne 0x4b43c0
add edi, 4
add edx, 0x90
mov dword [ebp - 0x10], edx
cmp edi, 0x4fe830
jl 0x4b4380
xor eax, eax
mov dword [ebp - 4], eax
nop dword [eax]
nop dword [eax + eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f4630]
divsd xmm0, qword [0x4fe9f0]
call fcn.004d8e60
movsd xmm4, qword [0x52d780]
movaps xmm2, xmm0
movaps xmm3, xmm2
mov esi, dword [ebp - 4]
addsd xmm3, xmm4
shl esi, 2
movaps xmm1, xmm2
xorps xmm0, xmm0
mulsd xmm2, qword [0x4f5f78]
xor edi, edi
divsd xmm1, xmm3
divsd xmm2, xmm3
cvtsd2ss xmm0, xmm1
movss dword [esi + 0x589ab0], xmm0
movaps xmm0, xmm4
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x589af0], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [esi + 0x589b30], xmm0
movsd xmm0, qword [0x4f5f78]
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x589b70], xmm0
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [0x52d7b8]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm4
mulsd xmm1, qword [0x4fea10]
call fcn.004d76e0
movsd xmm4, qword [0x52d780]
movaps xmm1, xmm0
mov eax, dword [ebp - 4]
movaps xmm0, xmm4
movsd qword [ebp - 0x24], xmm0
movaps xmm2, xmm4
movsd qword [ebp - 0x2c], xmm2
test eax, eax
je 0x4b452a
movaps xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
test al, 1
je 0x4b450a
addsd xmm1, xmm4
mulsd xmm1, qword [0x52d750]
call fcn.004d76e0
movsd xmm2, qword [ebp - 0x2c]
jmp 0x4b451f
mulsd xmm1, qword [0x52d750]
call fcn.004d76e0
movaps xmm2, xmm0
movsd xmm0, qword [ebp - 0x24]
mov eax, dword [ebp - 4]
movsd xmm4, qword [0x52d780]
xorps xmm1, xmm1
inc edi
cvtsd2ss xmm1, xmm0
mulsd xmm0, qword [0x4f5f78]
movss dword [esi + 0x589bb0], xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
mulsd xmm2, qword [0x4f5f78]
cvtsd2ss xmm0, xmm0
movss dword [esi + 0x589c30], xmm1
movss dword [esi + 0x589cb0], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [esi + 0x589d30], xmm0
add esi, 0x40
cmp edi, 2
jl 0x4b44a0
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x10
jl 0x4b4400
xor esi, esi
mov dword [ebp - 0xc], 0x5887a0
mov ecx, 0x4fcae6
mov dword [ebp - 0x18], esi
mov edx, 0x585c50
mov dword [ebp - 8], 0x5871b0
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], 9
nop dword [eax]
xor eax, eax
mov dword [edi + 0x588dd0], edx
cmp esi, 3
mov dword [ebp - 0x14], ecx
setl al
xor esi, esi
xor edi, edi
lea eax, [eax*2 + 6]
mov dword [ebp - 0x28], eax
mov eax, ecx
movsx ecx, word [eax]
mov eax, ecx
sar eax, 1
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc], edi
add eax, 2
mov dword [edx + 4], esi
inc edi
mov dword [edx + 8], 3
add esi, ecx
add edx, 0x10
mov dword [ebp - 0x14], eax
cmp edi, dword [ebp - 0x28]
jl 0x4b45e1
mov eax, dword [ebp - 4]
mov edi, 3
add eax, 0x4e
movsx ecx, word [eax]
add eax, 2
sar ecx, 1
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 0xc], edi
mov dword [ebp - 0x28], 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 [ebp - 0x28]
inc edi
mov dword [edx + 0x28], 2
add edx, 0x30
cmp edi, 0xd
jl 0x4b4616
mov eax, dword [ebp - 0x10]
xor edi, edi
mov ecx, dword [ebp - 8]
xor esi, esi
mov dword [eax + 0x588e40], edx
mov edx, ecx
mov dword [eax + 0x588dd4], ecx
mov eax, dword [ebp - 4]
add eax, 0x48
movsx ecx, word [eax]
add eax, 2
sar ecx, 1
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 0xc], esi
mov dword [ebp - 0x28], 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 [ebp - 0x28]
inc esi
mov dword [edx + 0x28], 2
add edx, 0x30
cmp esi, 0xd
jl 0x4b4686
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov esi, dword [ebp - 4]
mov dword [edi + 0x588e44], edx
xor edx, edx
mov dword [edi + 0x588dd8], eax
movsx eax, word [esi]
lea esi, [esi + 4]
sar eax, 1
mov dword [ecx], eax
movsx eax, word [esi - 2]
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 0x4b46f1
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
inc esi
add dword [ebp - 8], 0x270
add edx, 0x260
add dword [ebp - 0xc], 0xb0
mov dword [edi + 0x588e48], ecx
add edi, 0xc
mov ecx, dword [ebp - 4]
add ecx, 0x90
mov dword [ebp - 0x18], esi
sub dword [ebp - 0x20], 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], edi
jne 0x4b45c0
mov eax, 0x4fcb12
mov edi, 0x585a58
mov dword [ebp - 0x10], eax
mov esi, 0x585718
mov dword [ebp - 0x1c], edi
lea edi, [eax - 0x5a]
mov dword [ebp - 0x20], 0x17
nop word [eax + eax]
movsx ecx, word [edi]
mov eax, 0x38e38e39
add ecx, 7
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [esi], eax
cmp eax, 0x20
jle 0x4b47a5
mov dword [esi], 0x20
add edi, 2
add esi, 4
sub dword [ebp - 0x20], 1
jne 0x4b4780
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0xe
movsx ecx, word [esi]
mov eax, 0x38e38e39
dec ecx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [edi], eax
cmp eax, 0x20
jle 0x4b47e4
mov dword [edi], 0x20
add esi, 2
add edi, 4
sub dword [ebp - 0x20], 1
jne 0x4b47c1
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
add eax, 0x90
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], eax
cmp esi, 0x585a54
jl 0x4b4770
xor edi, edi
mov edx, 0x5896b4
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 0x4b4816
inc edi
cmp edx, 0x589984
jl 0x4b4814
xor edi, edi
mov edx, 0x589984
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 0x4b4872
inc edi
cmp edx, 0x589a84
jl 0x4b4870
xor eax, eax
mov dword [0x589a80], 0x5000
mov dword [0x589680], 0xa000
mov edx, 0x588eb4
mov dword [0x589a84], 0x5008
mov dword [0x589684], 0xa008
mov dword [0x589a88], 0x5010
mov dword [0x589688], 0xa010
mov dword [0x589a8c], 0x5001
mov dword [0x58968c], 0xa001
mov dword [0x589a90], 0x5009
mov dword [0x589690], 0xa009
mov dword [0x589a94], 0x5011
mov dword [0x589694], 0xa011
mov dword [0x589a98], 0x5002
mov dword [0x589698], 0xa002
mov dword [0x589a9c], 0x500a
mov dword [0x58969c], 0xa00a
mov dword [0x589aa0], 0x5012
mov dword [0x5896a0], 0xa012
mov dword [0x589aa4], 0x5003
mov dword [0x5896a4], 0xa003
mov dword [0x589aa8], 0x500b
mov dword [0x5896a8], 0xa00b
mov dword [0x589aac], 0x5013
mov dword [0x5896ac], 0xa013
mov dword [ebp - 4], eax
nop dword [eax + 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 [ebp - 4]
mov dword [edx + 8], ecx
add edx, 0x10
cmp esi, 4
jl 0x4b49b4
inc edi
cmp edi, 5
jl 0x4b49b2
inc eax
mov dword [ebp - 4], eax
cmp edx, 0x5894f4
jl 0x4b49b0
xor edi, edi
mov edx, 0x5894f4
xor esi, esi
nop dword [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 0x4b4a10
inc edi
cmp edx, 0x589684
jl 0x4b4a06
pop edi
pop esi
mov esp, ebp
pop ebp
ret