Function at 0x4a27b0
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.0096b337
mov ecx, dword [ebp + 0x10]
add esp, 4
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.004a25f0
push 0x10
call fcn.0096b337
mov edx, dword [esi]
add edx, edx
add edx, edx
push edx
mov edi, eax
call fcn.0096b337
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 0x4a2847
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 0x4a2830
mov edx, dword [ebp + 0x10]
add dword [ebp - 8], 4
inc edx
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x4a2820
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 0x4a2887
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 0x4a2870
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x4a2860
mov edx, dword [esi + 8]
dec edx
mov dword [ebp + 8], 1
cmp edx, 1
jl 0x4a29a7
push edi
mov ecx, esi
call fcn.004a22c0
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x4a28d2
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 0x4a28c0
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 0x4a2902
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 0x4a28f0
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a28e2
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 0x4a2937
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 0x4a2925
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a2917
push edi
mov ecx, esi
call fcn.004a2310
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 0x4a2987
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 0x4a2970
mov edx, dword [ebp - 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp - 8], edx
cmp edx, 4
jl 0x4a2966
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
inc eax
dec edx
mov dword [ebp + 8], eax
cmp eax, edx
jle 0x4a28a8
push edi
mov ecx, esi
call fcn.004a22c0
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dl, byte [eax]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x4a29d2
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 0x4a29c0
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 0x4a2a02
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 0x4a29f0
dec dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a29e2
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 0x4a2a37
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 0x4a2a25
dec dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov byte [eax + ecx - 1], dl
jne 0x4a2a17
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 0x4a2a87
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 0x4a2a70
mov edx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc edx
mov dword [ebp + 8], edx
cmp edx, 4
jl 0x4a2a60
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 0x4a2ac4
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 0x4a2ab0
mov edx, dword [ebp + 0x10]
inc edx
add ebx, 4
mov dword [ebp + 0x10], edx
cmp edx, 4
jl 0x4a2aa0
mov edx, dword [edi]
push edx
call fcn.0096b321
push edi
call fcn.0096b321
mov eax, dword [ebp - 4]
push eax
call fcn.0096b321
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc