Function at 0x4a43c0
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.00952457
mov ecx, dword [ebp + 0x10]
add esp, 4
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.004a4200
push 0x10
call fcn.00952457
mov edx, dword [esi]
add edx, edx
add edx, edx
push edx
mov edi, eax
call fcn.00952457
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 0x4a4457
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 0x4a4440
mov edx, dword [ebp + 0x10]
add dword [ebp - 8], 4
inc edx
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x4a4430
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 0x4a4497
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 0x4a4480
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x4a4470
mov edx, dword [esi + 8]
dec edx
mov dword [ebp + 8], 1
cmp edx, 1
jl 0x4a45b7
push edi
mov ecx, esi
call fcn.004a3ed0
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x4a44e2
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 0x4a44d0
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 0x4a4512
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 0x4a4500
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a44f2
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 0x4a4547
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 0x4a4535
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a4527
push edi
mov ecx, esi
call fcn.004a3f20
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 0x4a4597
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 0x4a4580
mov edx, dword [ebp - 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp - 8], edx
cmp edx, 4
jl 0x4a4576
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
inc eax
dec edx
mov dword [ebp + 8], eax
cmp eax, edx
jle 0x4a44b8
push edi
mov ecx, esi
call fcn.004a3ed0
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x4a45e2
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 0x4a45d0
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 0x4a4612
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 0x4a4600
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a45f2
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 0x4a4647
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 0x4a4635
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a4627
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 0x4a4697
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 0x4a4680
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x4a4670
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 0x4a46d4
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 0x4a46c0
mov edx, dword [ebp + 0x10]
inc edx
add ebx, 4
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x4a46b0
mov edx, dword [edi]
push edx
call fcn.00952441
push edi
call fcn.00952441
mov eax, dword [ebp - 4]
push eax
call fcn.00952441
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc