Function at 0x1010ddf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x1029f630], 0
jne 0x1010e9ae
push esi
push edi
mov dword [0x1029f630], 1
mov esi, 0xffffff00
nop dword [eax]
nop dword [eax + eax]
movsd xmm0, qword [0x10178b48]
lea eax, [esi + 0xd2]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1020bd58]
call fcn.100af1b0
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x102a8058], xmm0
inc esi
cmp esi, 0x7a
jl 0x1010de20
xor esi, esi
nop dword [eax + eax]
movsd xmm1, qword [0x102225e0]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
call fcn.100af1b0
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x1029f638], xmm0
inc esi
cmp esi, 0x200f
jl 0x1010de60
movaps xmm3, xmmword [0x102200c0]
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 + 0x102a7694], xmm0
cvtpd2ps xmm0, xmm2
movsd qword [ecx + 0x102a7674], xmm0
add ecx, 8
cmp eax, str.___f_
jl 0x1010dea0
mov edi, 0x102a77d8
mov esi, 0x13
nop dword [eax]
xorps xmm0, xmm0
lea eax, [esi - 0x12]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x10228c28]
call fcn.100b1dc0
mulsd xmm0, qword [0x102511d8]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c60]
call fcn.100b1690
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 [0x10228c28]
call fcn.100b1dc0
mulsd xmm0, qword [0x102511d8]
lea eax, [esi + 0x24]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c60]
call fcn.100b1690
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 0x1010def0
mov edi, 0x102a79b8
mov esi, 0x2b
nop
xorps xmm0, xmm0
lea eax, [esi + 0xc]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c60]
call fcn.100b1690
movsd xmm1, qword [0x102511d8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi - 0x108], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c60]
call fcn.100b1690
movsd xmm1, qword [0x102511d8]
lea eax, [esi - 0x1e]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x10228c30]
call fcn.100b1dc0
mulsd xmm0, qword [0x102511d8]
lea eax, [esi + 0x18]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c60]
call fcn.100b1690
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 [0x10228c30]
call fcn.100b1dc0
mulsd xmm0, qword [0x102511d8]
lea eax, [esi - 0xc]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c60]
call fcn.100b1690
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 0x1010dfc0
xor esi, esi
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x10228c38]
call fcn.100b1690
cvtsd2ss xmm0, xmm0
movss dword [esi*4 + 0x102a8240], xmm0
inc esi
cmp esi, 9
jl 0x1010e100
mov edi, 0x102a8264
mov esi, 1
nop dword [eax]
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c58]
call fcn.100b1690
movsd xmm1, qword [0x102511d8]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 0x13
jl 0x1010e140
mov edi, 0x102a8288
mov esi, 1
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x1020bd68]
call fcn.100b1690
movsd xmm1, qword [0x102511d8]
lea edi, [edi + 4]
divsd xmm1, xmm0
add esi, 2
cvtpd2ps xmm0, xmm1
movss dword [edi - 4], xmm0
cmp esi, 7
jl 0x1010e190
movsd xmm0, qword [0x10228c40]
call fcn.100b1690
cvtsd2ss xmm0, xmm0
movss dword [0x1029f634], xmm0
movsd xmm0, qword [0x10228c48]
call fcn.100b1690
cvtsd2ss xmm0, xmm0
mov edi, 7
mov dword [ebp - 4], 0x102a78f8
mov dword [ebp - 8], edi
mov esi, 0x102a76b8
mov dword [ebp - 0xc], 0xe
movss dword [0x102a76b4], xmm0
nop word [eax + eax]
xorps xmm0, xmm0
lea eax, [edi - 6]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x10228c30]
call fcn.100b1dc0
mulsd xmm0, qword [0x102511d8]
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x10228c50]
call fcn.100b1690
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 [0x10228c30]
call fcn.100b1690
mov eax, dword [ebp - 0xc]
add edi, eax
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
add esi, 4
sub dword [ebp - 0x10], 1
jne 0x1010e280
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 0x1010e220
movss xmm1, dword [0x1017ea10]
xor edx, edx
mov dword [ebp - 0x10], edx
mov edi, str.___f_
nop dword [eax]
mov esi, dword [edi]
test esi, esi
jle 0x1010e307
mov ecx, edx
lea edx, [esi - 1]
shr edx, 1
inc edx
nop
mov eax, dword [ecx + 0x102a77d8]
lea ecx, [ecx + 8]
mov dword [ecx + 0x102a7a10], eax
sub edx, 1
jne 0x1010e2f0
mov edx, dword [ebp - 0x10]
cmp esi, 1
jle 0x1010e33b
lea ecx, [esi - 2]
mov eax, edx
shr ecx, 1
inc ecx
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [eax + 0x102a77dc]
lea eax, [eax + 8]
xorps xmm0, xmm1
movss dword [eax + 0x102a7a14], xmm0
sub ecx, 1
jne 0x1010e320
add edi, 4
add edx, 0x90
mov dword [ebp - 0x10], edx
cmp edi, 0x10228a90
jl 0x1010e2e0
xor eax, eax
mov dword [ebp - 4], eax
nop dword [eax]
nop dword [eax + eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1017d3f8]
divsd xmm0, qword [0x1020bd68]
call fcn.1016f1b0
movsd xmm4, qword [0x101735a0]
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 [0x1017edb8]
xor edi, edi
divsd xmm1, xmm3
divsd xmm2, xmm3
cvtsd2ss xmm0, xmm1
movss dword [esi + 0x102ac630], xmm0
movaps xmm0, xmm4
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x102ac670], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [esi + 0x102ac6b0], xmm0
movsd xmm0, qword [0x1017edb8]
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x102ac6f0], xmm0
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [0x10178b48]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm4
mulsd xmm1, qword [0x1020bd58]
call fcn.100af1b0
movsd xmm4, qword [0x101735a0]
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 0x1010e48a
movaps xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
test al, 1
je 0x1010e46a
addsd xmm1, xmm4
mulsd xmm1, qword [0x102511d8]
call fcn.100af1b0
movsd xmm2, qword [ebp - 0x2c]
jmp 0x1010e47f
mulsd xmm1, qword [0x102511d8]
call fcn.100af1b0
movaps xmm2, xmm0
movsd xmm0, qword [ebp - 0x24]
mov eax, dword [ebp - 4]
movsd xmm4, qword [0x101735a0]
xorps xmm1, xmm1
inc edi
cvtsd2ss xmm1, xmm0
mulsd xmm0, qword [0x1017edb8]
movss dword [esi + 0x102ac730], xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
mulsd xmm2, qword [0x1017edb8]
cvtsd2ss xmm0, xmm0
movss dword [esi + 0x102ac7b0], xmm1
movss dword [esi + 0x102ac830], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
movss dword [esi + 0x102ac8b0], xmm0
add esi, 0x40
cmp edi, 2
jl 0x1010e400
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x10
jl 0x1010e360
xor esi, esi
mov dword [ebp - 0xc], 0x102ab320
mov ecx, 0x10226d46
mov dword [ebp - 0x18], esi
mov edx, 0x102a87d0
mov dword [ebp - 8], 0x102a9d30
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 + 0x102ab950], 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 0x1010e541
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 0x1010e576
mov eax, dword [ebp - 0x10]
xor edi, edi
mov ecx, dword [ebp - 8]
xor esi, esi
mov dword [eax + 0x102ab9c0], edx
mov edx, ecx
mov dword [eax + 0x102ab954], 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 0x1010e5e6
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov esi, dword [ebp - 4]
mov dword [edi + 0x102ab9c4], edx
xor edx, edx
mov dword [edi + 0x102ab958], 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 0x1010e651
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 + 0x102ab9c8], 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 0x1010e520
mov eax, 0x10226d72
mov edi, 0x102a85d8
mov dword [ebp - 0x10], eax
mov esi, 0x102a8298
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 0x1010e705
mov dword [esi], 0x20
add edi, 2
add esi, 4
sub dword [ebp - 0x20], 1
jne 0x1010e6e0
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 0x1010e744
mov dword [edi], 0x20
add esi, 2
add edi, 4
sub dword [ebp - 0x20], 1
jne 0x1010e721
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, 0x102a85d4
jl 0x1010e6d0
xor edi, edi
mov edx, 0x102ac234
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 0x1010e776
inc edi
cmp edx, 0x102ac504
jl 0x1010e774
xor edi, edi
mov edx, 0x102ac504
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 0x1010e7d2
inc edi
cmp edx, 0x102ac604
jl 0x1010e7d0
xor eax, eax
mov dword [0x102ac600], 0x5000
mov dword [0x102ac200], 0xa000
mov edx, 0x102aba34
mov dword [0x102ac604], 0x5008
mov dword [0x102ac204], 0xa008
mov dword [0x102ac608], 0x5010
mov dword [0x102ac208], 0xa010
mov dword [0x102ac60c], 0x5001
mov dword [0x102ac20c], 0xa001
mov dword [0x102ac610], 0x5009
mov dword [0x102ac210], 0xa009
mov dword [0x102ac614], 0x5011
mov dword [0x102ac214], 0xa011
mov dword [0x102ac618], 0x5002
mov dword [0x102ac218], 0xa002
mov dword [0x102ac61c], 0x500a
mov dword [0x102ac21c], 0xa00a
mov dword [0x102ac620], 0x5012
mov dword [0x102ac220], 0xa012
mov dword [0x102ac624], 0x5003
mov dword [0x102ac224], 0xa003
mov dword [0x102ac628], 0x500b
mov dword [0x102ac228], 0xa00b
mov dword [0x102ac62c], 0x5013
mov dword [0x102ac22c], 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 0x1010e914
inc edi
cmp edi, 5
jl 0x1010e912
inc eax
mov dword [ebp - 4], eax
cmp edx, 0x102ac074
jl 0x1010e910
xor edi, edi
mov edx, 0x102ac074
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 0x1010e970
inc edi
cmp edx, 0x102ac204
jl 0x1010e966
pop edi
pop esi
mov esp, ebp
pop ebp
ret