Function at 0x10001200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
inc eax
imul eax, dword [edi]
shl eax, 2
push eax
call fcn.10018f66
add esp, 4
mov dword [ebp - 4], eax
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.100014c0
push 0x10
call fcn.10018f66
mov ecx, dword [edi]
mov ebx, eax
shl ecx, 2
push ecx
mov dword [ebp + 0x10], ebx
call fcn.10018f66
mov dword [ebx], eax
add esp, 8
mov ecx, dword [edi]
add ecx, eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebx]
mov eax, dword [edi]
lea eax, [ecx + eax*2]
mov dword [ebx + 8], eax
mov eax, dword [edi]
lea ecx, [ecx + eax*2]
add ecx, eax
xor esi, esi
mov dword [ebx + 0xc], ecx
mov eax, dword [edi]
mov dword [ebp - 8], esi
nop word [eax + eax]
xor edx, edx
test eax, eax
jle 0x10001299
add esi, dword [ebp + 8]
nop dword [eax]
mov ecx, dword [ebx]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [edx + ecx], al
inc edx
mov eax, dword [edi]
cmp edx, eax
jl 0x10001280
mov esi, dword [ebp - 8]
mov ecx, eax
jmp 0x1000129b
mov ecx, dword [edi]
inc esi
add ebx, 4
mov dword [ebp - 8], esi
cmp esi, 4
jl 0x10001270
mov eax, dword [edi + 8]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
imul eax, ecx
lea esi, [edx + eax*4]
xor eax, eax
mov dword [ebp - 8], esi
mov dword [ebp + 8], eax
nop
xor edx, edx
test ecx, ecx
jle 0x100012e0
add esi, eax
mov ecx, dword [ebx]
lea esi, [esi + 4]
mov al, byte [esi - 4]
xor byte [ecx + edx], al
inc edx
mov ecx, dword [edi]
cmp edx, ecx
jl 0x100012c8
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
inc eax
add ebx, 4
mov dword [ebp + 8], eax
cmp eax, 4
jl 0x100012c0
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
dec ebx
mov dword [ebp - 8], ebx
cmp ebx, 1
jl 0x10001397
nop
push esi
mov ecx, edi
call fcn.100017a0
mov eax, dword [edi]
mov ecx, edi
dec eax
push eax
push 1
push esi
call fcn.10001460
mov eax, dword [edi]
mov ecx, edi
sub eax, 2
push eax
push 2
push esi
call fcn.10001460
mov eax, dword [edi]
mov ecx, edi
sub eax, 3
push eax
push 3
push esi
call fcn.10001460
mov ecx, dword [edi]
mov eax, ecx
mov edx, dword [ebp - 4]
imul eax, ebx
mov ebx, dword [ebp + 0x10]
lea esi, [edx + eax*4]
xor edx, edx
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], edx
nop
xor eax, eax
test ecx, ecx
jle 0x10001370
add esi, edx
mov edx, dword [ebx]
lea esi, [esi + 4]
mov cl, byte [esi - 4]
xor byte [edx + eax], cl
inc eax
mov ecx, dword [edi]
cmp eax, ecx
jl 0x10001358
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
inc edx
add ebx, 4
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x10001350
mov esi, dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.10001800
mov ebx, dword [ebp - 8]
dec ebx
mov dword [ebp - 8], ebx
cmp ebx, 1
jge 0x10001300
push esi
mov ecx, edi
call fcn.100017a0
mov eax, dword [edi]
mov ecx, edi
dec eax
push eax
push 1
push esi
call fcn.10001460
mov eax, dword [edi]
mov ecx, edi
sub eax, 2
push eax
push 2
push esi
call fcn.10001460
mov eax, dword [edi]
mov ecx, edi
sub eax, 3
push eax
push 3
push esi
call fcn.10001460
mov ecx, dword [edi]
xor esi, esi
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], esi
xor edx, edx
test ecx, ecx
jle 0x100013f9
add esi, dword [ebp - 4]
mov ecx, dword [ebx]
lea esi, [esi + 4]
mov al, byte [esi - 4]
xor byte [ecx + edx], al
inc edx
mov ecx, dword [edi]
cmp edx, ecx
jl 0x100013e0
mov esi, dword [ebp + 8]
mov eax, ecx
jmp 0x100013fb
mov eax, dword [edi]
inc esi
add ebx, 4
mov dword [ebp + 8], esi
cmp esi, 4
jl 0x100013d7
mov esi, dword [ebp + 0x10]
xor ebx, ebx
nop dword [eax]
xor ecx, ecx
test eax, eax
jle 0x10001432
mov edx, dword [ebp + 0xc]
add edx, ebx
nop dword [eax + eax]
mov eax, dword [esi]
lea edx, [edx + 4]
mov al, byte [ecx + eax]
inc ecx
mov byte [edx - 4], al
mov eax, dword [edi]
cmp ecx, eax
jl 0x10001420
inc ebx
add esi, 4
cmp ebx, 4
jl 0x10001410
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.10018a24
push ebx
call fcn.10018a24
push dword [ebp - 4]
call fcn.10018a24
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc