Function at 0x4acb70
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.00a59633
add esp, 4
mov dword [ebp - 8], eax
mov ecx, esi
push eax
push dword [ebp + 0x10]
call fcn.004acef0
push 0x10
call fcn.00a59633
mov ecx, dword [esi]
mov edi, eax
shl ecx, 2
push ecx
mov dword [ebp - 4], edi
call fcn.00a59633
mov dword [edi], eax
add esp, 8
mov ecx, dword [esi]
add ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [edi]
mov eax, dword [esi]
lea eax, [ecx + eax*2]
mov dword [edi + 8], eax
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
add ecx, eax
xor ebx, ebx
mov dword [edi + 0xc], ecx
mov ecx, dword [esi]
mov dword [ebp + 0x10], ebx
nop word [eax + eax]
xor edx, edx
test ecx, ecx
jle 0x4acc09
add ebx, dword [ebp + 8]
nop dword [eax]
mov ecx, dword [edi]
lea ebx, [ebx + 4]
mov al, byte [ebx - 4]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [esi]
cmp edx, ecx
jl 0x4acbf0
mov ebx, dword [ebp + 0x10]
mov eax, ecx
jmp 0x4acc0b
mov eax, dword [esi]
inc ebx
add edi, 4
mov dword [ebp + 0x10], ebx
cmp ebx, 4
jl 0x4acbe0
mov edi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0x10], ecx
nop
xor edx, edx
test eax, eax
jle 0x4acc45
mov ebx, dword [ebp - 8]
add ebx, ecx
nop dword [eax + eax]
mov ecx, dword [edi]
lea ebx, [ebx + 4]
mov al, byte [ebx - 4]
xor byte [ecx + edx], al
inc edx
mov eax, dword [esi]
cmp edx, eax
jl 0x4acc30
mov ecx, dword [ebp + 0x10]
inc ecx
add edi, 4
mov dword [ebp + 0x10], ecx
cmp ecx, 4
jl 0x4acc20
mov eax, dword [esi + 8]
mov edi, dword [ebp - 4]
dec eax
mov dword [ebp + 8], 1
cmp eax, 1
jl 0x4acd8a
push edi
mov ecx, esi
call fcn.004ad440
mov ebx, dword [edi + 4]
xor edx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
mov byte [ebp + 0x13], al
lea eax, [ecx - 1]
test eax, eax
jle 0x4acc9a
mov ecx, dword [edi + 4]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
lea eax, [ecx - 1]
cmp edx, eax
jl 0x4acc83
mov ebx, dword [edi + 4]
mov al, byte [ebp + 0x13]
mov byte [ebx + ecx - 1], al
mov dword [ebp - 0xc], 2
mov ebx, dword [edi + 8]
xor edx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
mov byte [ebp + 0x13], al
lea eax, [ecx - 1]
test eax, eax
jle 0x4accd7
nop dword [eax + eax]
mov ecx, dword [edi + 8]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
lea eax, [ecx - 1]
cmp edx, eax
jl 0x4accc0
mov ebx, dword [edi + 8]
sub dword [ebp - 0xc], 1
mov al, byte [ebp + 0x13]
mov byte [ebx + ecx - 1], al
jne 0x4acca8
mov dword [ebp - 0xc], 3
nop dword [eax + eax]
mov ebx, dword [edi + 0xc]
xor edx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
mov byte [ebp + 0x13], al
lea eax, [ecx - 1]
test eax, eax
jle 0x4acd1a
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
lea eax, [ecx - 1]
cmp edx, eax
jl 0x4acd03
mov ebx, dword [edi + 0xc]
sub dword [ebp - 0xc], 1
mov al, byte [ebp + 0x13]
mov byte [ebx + ecx - 1], al
jne 0x4accf0
push edi
mov ecx, esi
call fcn.004ad180
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 0x4acd68
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 0x4acd50
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
inc eax
add edi, 4
mov dword [ebp + 0x10], eax
cmp eax, 4
jl 0x4acd48
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 0x4acc68
push edi
mov ecx, esi
call fcn.004ad440
mov ebx, dword [edi + 4]
xor edx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
mov byte [ebp + 0x13], al
lea eax, [ecx - 1]
test eax, eax
jle 0x4acdbc
mov ecx, dword [edi + 4]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
lea eax, [ecx - 1]
cmp edx, eax
jl 0x4acda5
mov ebx, dword [edi + 4]
mov al, byte [ebp + 0x13]
mov byte [ebx + ecx - 1], al
mov dword [ebp + 8], 2
nop word [eax + eax]
mov ebx, dword [edi + 8]
xor edx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
mov byte [ebp + 0x13], al
lea eax, [ecx - 1]
test eax, eax
jle 0x4acdfa
mov ecx, dword [edi + 8]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
lea eax, [ecx - 1]
cmp edx, eax
jl 0x4acde3
mov ebx, dword [edi + 8]
sub dword [ebp + 8], 1
mov al, byte [ebp + 0x13]
mov byte [ebx + ecx - 1], al
jne 0x4acdd0
mov dword [ebp + 8], 3
nop
mov ebx, dword [edi + 0xc]
xor edx, edx
mov ecx, dword [esi]
mov al, byte [ebx]
mov byte [ebp + 0x13], al
lea eax, [ecx - 1]
test eax, eax
jle 0x4ace3a
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + edx + 1]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [esi]
lea eax, [ecx - 1]
cmp edx, eax
jl 0x4ace23
mov ebx, dword [edi + 0xc]
sub dword [ebp + 8], 1
mov al, byte [ebp + 0x13]
mov byte [ebx + ecx - 1], al
jne 0x4ace10
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
imul eax, ecx
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], edi
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
jmp 0x4ace65
mov eax, dword [ebp - 0x10]
xor edx, edx
test ecx, ecx
jle 0x4ace89
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 0x4ace70
mov ebx, dword [ebp + 0x10]
mov eax, ecx
jmp 0x4ace8b
mov eax, dword [esi]
inc ebx
add edi, 4
mov dword [ebp + 0x10], ebx
cmp ebx, 4
jl 0x4ace62
mov ebx, dword [ebp - 4]
xor edi, edi
nop dword [eax]
xor ecx, ecx
test eax, eax
jle 0x4acec2
mov edx, dword [ebp + 0xc]
add edx, edi
nop dword [eax + eax]
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 0x4aceb0
inc edi
add ebx, 4
cmp edi, 4
jl 0x4acea0
mov edi, dword [ebp - 4]
push dword [edi]
call fcn.00a5963c
push edi
call fcn.00a5963c
push dword [ebp - 8]
call fcn.00a5963c
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc