Function at 0x10020b00
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.10047179
add esp, 4
mov dword [ebp - 4], eax
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.10021290
push 0x10
call fcn.10047179
mov ecx, dword [edi]
mov ebx, eax
shl ecx, 2
push ecx
mov dword [ebp + 0x10], ebx
call fcn.10047179
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
mov dword [ebx + 0xc], ecx
xor ecx, ecx
mov eax, dword [edi]
mov dword [ebp - 8], ecx
jmp 0x10020b73
mov ecx, dword [ebp - 8]
xor edx, edx
test eax, eax
jle 0x10020b96
mov esi, dword [ebp + 8]
add esi, ecx
nop
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 0x10020b80
mov ecx, eax
jmp 0x10020b98
mov ecx, dword [edi]
mov edx, dword [ebp - 8]
add ebx, 4
inc edx
mov esi, eax
mov dword [ebp - 8], edx
cmp edx, 4
jl 0x10020b70
mov eax, dword [edi + 8]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
imul eax, esi
lea eax, [edx + eax*4]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp + 8], eax
xor edx, edx
test esi, esi
jle 0x10020be5
mov esi, dword [ebp - 8]
add esi, eax
nop dword [eax + 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 0x10020bd0
mov eax, dword [ebp + 8]
inc eax
add ebx, 4
mov dword [ebp + 8], eax
mov esi, ecx
cmp eax, 4
jl 0x10020bc0
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
dec ebx
mov dword [ebp - 8], ebx
cmp ebx, 1
jl 0x10020c9f
push esi
mov ecx, edi
call fcn.10021230
mov eax, dword [edi]
mov ecx, edi
dec eax
push eax
push 1
push esi
call fcn.10021520
mov eax, dword [edi]
mov ecx, edi
sub eax, 2
push eax
push 2
push esi
call fcn.10021520
mov eax, dword [edi]
mov ecx, edi
sub eax, 3
push eax
push 3
push esi
call fcn.10021520
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
xor eax, eax
test ecx, ecx
jle 0x10020c78
add esi, edx
nop dword [eax]
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 0x10020c60
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
inc edx
add ebx, 4
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x10020c54
mov esi, dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.10020d70
mov ebx, dword [ebp - 8]
dec ebx
mov dword [ebp - 8], ebx
cmp ebx, 1
jge 0x10020c06
push esi
mov ecx, edi
call fcn.10021230
mov eax, dword [edi]
mov ecx, edi
dec eax
push eax
push 1
push esi
call fcn.10021520
mov eax, dword [edi]
mov ecx, edi
sub eax, 2
push eax
push 2
push esi
call fcn.10021520
mov eax, dword [edi]
mov ecx, edi
sub eax, 3
push eax
push 3
push esi
call fcn.10021520
mov ecx, dword [edi]
xor esi, esi
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], esi
nop
xor edx, edx
test ecx, ecx
jle 0x10020d09
add esi, dword [ebp - 4]
nop dword [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 0x10020cf0
mov esi, dword [ebp + 8]
mov eax, ecx
jmp 0x10020d0b
mov eax, dword [edi]
inc esi
add ebx, 4
mov dword [ebp + 8], esi
cmp esi, 4
jl 0x10020ce0
mov esi, dword [ebp + 0x10]
xor ebx, ebx
nop dword [eax]
xor ecx, ecx
test eax, eax
jle 0x10020d42
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 0x10020d30
inc ebx
add esi, 4
cmp ebx, 4
jl 0x10020d20
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.10047182
push ebx
call fcn.10047182
push dword [ebp - 4]
call fcn.10047182
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc