Function at 0x4014c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
inc eax
imul eax, dword [esi]
shl eax, 2
push eax
call fcn.00d06834
add esp, 4
mov dword [ebp - 8], eax
mov ecx, esi
push eax
push dword [ebp + 0x10]
call fcn.00401920
push 0x10
call fcn.00d06834
mov ecx, dword [esi]
mov edi, eax
shl ecx, 2
push ecx
mov dword [ebp - 4], edi
call fcn.00d06834
mov dword [edi], eax
add esp, 8
add eax, dword [esi]
mov dword [edi + 4], eax
mov ecx, dword [esi]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi + 8], eax
mov eax, dword [esi]
lea eax, [eax + eax*2]
add eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0xc], eax
mov eax, dword [esi]
mov dword [ebp + 0x10], ecx
xor edx, edx
test eax, eax
jle 0x401547
mov ebx, dword [ebp + 8]
add ebx, ecx
mov ecx, dword [edi]
mov al, byte [ebx]
add ebx, 4
mov byte [edx + ecx], al
inc edx
mov eax, dword [esi]
cmp edx, eax
jl 0x401533
mov ecx, dword [ebp + 0x10]
inc ecx
add edi, 4
mov dword [ebp + 0x10], ecx
cmp ecx, 4
jl 0x401528
mov eax, dword [esi]
xor ecx, ecx
mov edi, dword [ebp - 4]
mov dword [ebp + 0x10], ecx
nop dword [eax]
xor edx, edx
test eax, eax
jle 0x401584
mov ebx, dword [ebp - 8]
add ebx, ecx
nop dword [eax + eax]
mov ecx, dword [edi]
mov al, byte [ebx]
add ebx, 4
xor byte [ecx + edx], al
inc edx
mov eax, dword [esi]
cmp edx, eax
jl 0x401570
mov ecx, dword [ebp + 0x10]
inc ecx
add edi, 4
mov dword [ebp + 0x10], ecx
cmp ecx, 4
jl 0x401560
mov eax, dword [esi + 8]
mov edi, dword [ebp - 4]
dec eax
mov dword [ebp + 8], 1
cmp eax, 1
jl 0x4016ba
push edi
mov ecx, esi
call fcn.00401e60
mov eax, dword [edi + 4]
xor edx, edx
mov bl, byte [eax]
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x4015d2
nop dword [eax]
mov ecx, dword [edi + 4]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov eax, dword [esi]
dec eax
cmp edx, eax
jl 0x4015c0
mov ecx, dword [esi]
mov eax, dword [edi + 4]
mov byte [ecx + eax - 1], bl
mov ebx, 2
mov eax, dword [edi + 8]
xor edx, edx
mov al, byte [eax]
mov byte [ebp + 0x13], al
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x401603
mov ecx, dword [edi + 8]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov eax, dword [esi]
dec eax
cmp edx, eax
jl 0x4015f1
mov ecx, dword [edi + 8]
mov eax, dword [esi]
mov dl, byte [ebp + 0x13]
mov byte [ecx + eax - 1], dl
sub ebx, 1
jne 0x4015e0
mov ebx, 3
nop dword [eax]
mov eax, dword [edi + 0xc]
xor edx, edx
mov al, byte [eax]
mov byte [ebp + 0x13], al
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x401643
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov eax, dword [esi]
dec eax
cmp edx, eax
jl 0x401631
mov ecx, dword [edi + 0xc]
mov eax, dword [esi]
mov dl, byte [ebp + 0x13]
mov byte [ecx + eax - 1], dl
sub ebx, 1
jne 0x401620
push edi
mov ecx, esi
call fcn.00401ba0
mov ecx, dword [esi]
mov eax, ecx
imul eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
lea ebx, [edx + eax*4]
xor eax, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x10], eax
xor edx, edx
test ecx, ecx
jle 0x401698
add ebx, eax
nop dword [eax]
mov ecx, dword [edi]
lea ebx, [ebx + 4]
mov al, byte [ebx - 4]
xor byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
cmp edx, ecx
jl 0x401680
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
inc eax
add edi, 4
mov dword [ebp + 0x10], eax
cmp eax, 4
jl 0x401675
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
inc ecx
mov edi, dword [ebp - 4]
dec eax
mov dword [ebp + 8], ecx
cmp ecx, eax
jle 0x4015a7
push edi
mov ecx, esi
call fcn.00401e60
mov eax, dword [edi + 4]
xor edx, edx
mov bl, byte [eax]
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x4016e2
mov ecx, dword [edi + 4]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov eax, dword [esi]
dec eax
cmp edx, eax
jl 0x4016d0
mov ecx, dword [esi]
mov eax, dword [edi + 4]
mov byte [ecx + eax - 1], bl
mov ebx, 2
mov eax, dword [edi + 8]
xor edx, edx
mov al, byte [eax]
mov byte [ebp + 0x13], al
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x401713
mov ecx, dword [edi + 8]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov eax, dword [esi]
dec eax
cmp edx, eax
jl 0x401701
mov ecx, dword [edi + 8]
mov eax, dword [esi]
mov dl, byte [ebp + 0x13]
mov byte [ecx + eax - 1], dl
sub ebx, 1
jne 0x4016f0
mov ebx, 3
nop dword [eax]
mov eax, dword [edi + 0xc]
xor edx, edx
mov al, byte [eax]
mov byte [ebp + 0x13], al
mov eax, dword [esi]
dec eax
test eax, eax
jle 0x401753
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov eax, dword [esi]
dec eax
cmp edx, eax
jl 0x401741
mov ecx, dword [edi + 0xc]
mov eax, dword [esi]
mov dl, byte [ebp + 0x13]
mov byte [ecx + eax - 1], dl
sub ebx, 1
jne 0x401730
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
imul eax, ecx
mov dword [ebp + 8], edi
lea ebx, [edx + eax*4]
xor eax, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x10], eax
nop dword [eax]
xor edx, edx
test ecx, ecx
jle 0x4017a0
add ebx, eax
mov ecx, dword [edi]
lea ebx, [ebx + 4]
mov al, byte [ebx - 4]
xor byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
cmp edx, ecx
jl 0x401788
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
inc eax
add edi, 4
mov dword [ebp + 0x10], eax
cmp eax, 4
jl 0x401780
mov eax, dword [esi]
xor edi, edi
mov ebx, dword [ebp - 4]
xor ecx, ecx
test eax, eax
jle 0x4017d2
mov edx, dword [ebp + 0xc]
add edx, edi
nop
mov eax, dword [ebx]
lea edx, [edx + 4]
mov al, byte [ecx + eax]
inc ecx
mov byte [edx - 4], al
mov eax, dword [esi]
cmp ecx, eax
jl 0x4017c0
inc edi
add ebx, 4
cmp edi, 4
jl 0x4017b3
mov edi, dword [ebp - 4]
push dword [edi]
call fcn.00d0683d
push edi
call fcn.00d0683d
push dword [ebp - 8]
call fcn.00d0683d
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc