Function at 0x49eb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
inc eax
imul eax, dword [esi]
add eax, eax
add eax, eax
push edi
push eax
call fcn.0094edb7
mov ecx, dword [ebp + 0x10]
add esp, 4
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0049e990
push 0x10
call fcn.0094edb7
mov edx, dword [esi]
add edx, edx
add edx, edx
push edx
mov edi, eax
call fcn.0094edb7
mov dword [edi], eax
mov dword [edi], eax
add eax, dword [esi]
add esp, 8
mov dword [edi + 4], eax
mov edx, dword [esi]
mov eax, dword [edi]
lea ecx, [eax + edx*2]
mov dword [edi + 8], ecx
mov eax, dword [esi]
lea edx, [eax + eax*2]
add edx, dword [edi]
mov dword [ebp - 8], edi
mov dword [edi + 0xc], edx
mov ecx, dword [esi]
xor edx, edx
mov dword [ebp + 0x10], edx
lea ecx, [ecx]
xor eax, eax
test ecx, ecx
jle 0x49ebe7
add edx, dword [ebp + 8]
lea esp, [esp]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov bl, byte [edx]
mov byte [eax + ecx], bl
mov ecx, dword [esi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x49ebd0
mov edx, dword [ebp + 0x10]
add dword [ebp - 8], 4
inc edx
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x49ebc0
mov ecx, dword [esi]
xor edx, edx
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], edi
mov edi, edi
xor eax, eax
test ecx, ecx
jle 0x49ec27
add edx, dword [ebp - 4]
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov bl, byte [edx]
xor byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x49ec10
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x49ec00
mov edx, dword [esi + 8]
dec edx
mov dword [ebp + 8], 1
cmp edx, 1
jl 0x49ed47
push edi
mov ecx, esi
call fcn.0049e660
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49ec72
mov edi, edi
mov ecx, dword [edi + 4]
mov bl, byte [ecx + eax + 1]
mov byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
dec ecx
cmp eax, ecx
jl 0x49ec60
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
mov dword [ebp + 0x10], 2
mov ecx, dword [esi]
mov edx, dword [edi + 8]
mov dl, byte [edx]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49eca2
mov ecx, dword [edi + 8]
mov bl, byte [ecx + eax + 1]
mov byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
dec ecx
cmp eax, ecx
jl 0x49ec90
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49ec82
mov dword [ebp + 0x10], 3
mov ecx, dword [esi]
mov edx, dword [edi + 0xc]
mov dl, byte [edx]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49ecd7
mov ecx, dword [edi + 0xc]
mov bl, byte [ecx + eax + 1]
mov byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
dec ecx
cmp eax, ecx
jl 0x49ecc5
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49ecb7
push edi
mov ecx, esi
call fcn.0049e6b0
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
mov edx, ecx
imul edx, dword [ebp + 8]
lea edx, [eax + edx*4]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp + 0x10], edi
xor eax, eax
test ecx, ecx
jle 0x49ed27
add edx, dword [ebp - 0xc]
nop
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov bl, byte [edx]
xor byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x49ed10
mov edx, dword [ebp - 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp - 8], edx
cmp edx, 4
jl 0x49ed06
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
inc eax
dec edx
mov dword [ebp + 8], eax
cmp eax, edx
jle 0x49ec48
push edi
mov ecx, esi
call fcn.0049e660
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49ed72
lea ecx, [ecx]
mov ecx, dword [edi + 4]
mov bl, byte [ecx + eax + 1]
mov byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
dec ecx
cmp eax, ecx
jl 0x49ed60
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
mov dword [ebp + 0x10], 2
mov ecx, dword [esi]
mov edx, dword [edi + 8]
mov dl, byte [edx]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49eda2
mov ecx, dword [edi + 8]
mov bl, byte [ecx + eax + 1]
mov byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
dec ecx
cmp eax, ecx
jl 0x49ed90
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49ed82
mov dword [ebp + 0x10], 3
mov ecx, dword [esi]
mov edx, dword [edi + 0xc]
mov dl, byte [edx]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49edd7
mov ecx, dword [edi + 0xc]
mov bl, byte [ecx + eax + 1]
mov byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
dec ecx
cmp eax, ecx
jl 0x49edc5
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49edb7
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov eax, dword [ebp - 4]
imul edx, ecx
lea edx, [eax + edx*4]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], edi
mov edi, edi
xor eax, eax
test ecx, ecx
jle 0x49ee27
add edx, dword [ebp - 0xc]
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov bl, byte [edx]
xor byte [ecx + eax], bl
mov ecx, dword [esi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x49ee10
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x49ee00
mov ecx, dword [esi]
xor edx, edx
mov dword [ebp + 0x10], edx
mov ebx, edi
lea ecx, [ecx]
xor eax, eax
test ecx, ecx
jle 0x49ee64
add edx, dword [ebp + 0xc]
lea esp, [esp]
mov ecx, dword [ebx]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov ecx, dword [esi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x49ee50
mov edx, dword [ebp + 0x10]
inc edx
add ebx, 4
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x49ee40
mov edx, dword [edi]
push edx
call fcn.0094eda1
push edi
call fcn.0094eda1
mov eax, dword [ebp - 4]
push eax
call fcn.0094eda1
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc