Function at 0x49b2b0
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.0095b1c7
mov ecx, dword [ebp + 0x10]
add esp, 4
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0049b0f0
push 0x10
call fcn.0095b1c7
mov edx, dword [esi]
add edx, edx
add edx, edx
push edx
mov edi, eax
call fcn.0095b1c7
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 0x49b347
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 0x49b330
mov edx, dword [ebp + 0x10]
add dword [ebp - 8], 4
inc edx
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x49b320
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 0x49b387
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 0x49b370
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x49b360
mov edx, dword [esi + 8]
dec edx
mov dword [ebp + 8], 1
cmp edx, 1
jl 0x49b4a7
push edi
mov ecx, esi
call fcn.0049adc0
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49b3d2
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 0x49b3c0
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 0x49b402
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 0x49b3f0
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49b3e2
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 0x49b437
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 0x49b425
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49b417
push edi
mov ecx, esi
call fcn.0049ae10
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 0x49b487
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 0x49b470
mov edx, dword [ebp - 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp - 8], edx
cmp edx, 4
jl 0x49b466
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
inc eax
dec edx
mov dword [ebp + 8], eax
cmp eax, edx
jle 0x49b3a8
push edi
mov ecx, esi
call fcn.0049adc0
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x49b4d2
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 0x49b4c0
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 0x49b502
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 0x49b4f0
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49b4e2
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 0x49b537
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 0x49b525
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x49b517
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 0x49b587
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 0x49b570
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x49b560
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 0x49b5c4
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 0x49b5b0
mov edx, dword [ebp + 0x10]
inc edx
add ebx, 4
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x49b5a0
mov edx, dword [edi]
push edx
call fcn.0095b1b1
push edi
call fcn.0095b1b1
mov eax, dword [ebp - 4]
push eax
call fcn.0095b1b1
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc