Function at 0x4b6560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
movzx ebx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
mov ecx, dword [esi + 4]
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
mov dword [ebp - 4], ecx
movzx eax, byte [edx]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 7]
shl eax, 8
mov dword [ebp + 8], eax
movzx eax, byte [edx + 6]
or dword [ebp + 8], eax
movzx eax, byte [edx + 5]
shl dword [ebp + 8], 8
or dword [ebp + 8], eax
movzx eax, byte [edx + 4]
shl dword [ebp + 8], 8
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
xor ebx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ebx
xor eax, dword [ecx]
add ecx, 4
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
movzx eax, byte [edx + 0xb]
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [edx + 0xa]
mov edi, dword [ebp - 8]
or edi, eax
mov dword [ebp - 4], ecx
movzx eax, byte [edx + 9]
shl edi, 8
or edi, eax
mov dword [ebp - 0xc], ebx
movzx eax, byte [edx + 8]
shl edi, 8
or edi, eax
mov eax, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], eax
xor eax, dword [ecx]
add ecx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
movzx eax, byte [edx + 0xf]
shl eax, 8
lea edi, [ecx + 4]
mov dword [ebp + 0xc], eax
movzx eax, byte [edx + 0xe]
or dword [ebp + 0xc], eax
movzx eax, byte [edx + 0xd]
shl dword [ebp + 0xc], 8
or dword [ebp + 0xc], eax
movzx eax, byte [edx + 0xc]
shl dword [ebp + 0xc], 8
mov edx, dword [ebp + 0xc]
or edx, eax
mov dword [ebp - 4], ecx
mov eax, dword [esi]
mov dword [ebp - 0x20], edx
xor edx, dword [ecx]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
mov edx, edi
sar eax, 1
dec eax
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x4b68c5
nop dword [eax]
mov eax, ecx
mov edx, dword [ebp + 8]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5a2250]
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5a1e50]
xor ecx, dword [edi]
add edi, 4
mov eax, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 4], edi
mov ecx, dword [ecx*4 + 0x5a2650]
xor ecx, dword [eax*4 + 0x5a2250]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
movzx eax, dl
lea edx, [edi + 4]
xor ecx, dword [eax*4 + 0x5a1e50]
xor ecx, dword [edi]
mov eax, dword [ebp + 8]
shr eax, 8
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
mov ebx, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5a2250]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 4], edx
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
shr edi, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x5a1e50]
xor ecx, dword [edx]
add edx, 4
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], ecx
movzx ecx, bl
mov dword [ebp - 4], edx
mov ebx, dword [ecx*4 + 0x5a2250]
xor ebx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp + 0xc]
xor ebx, dword [edi*4 + 0x5a2a50]
movzx eax, al
xor ebx, dword [eax*4 + 0x5a1e50]
xor ebx, dword [edx]
add edx, 4
mov eax, ebx
mov dword [ebp - 0x3c], ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x28]
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x5a2250]
mov dword [ebp - 4], edx
xor edi, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov ecx, dword [ebp - 0x24]
xor edi, dword [eax*4 + 0x5a2a50]
movzx eax, cl
xor edi, dword [eax*4 + 0x5a1e50]
mov eax, ecx
shr eax, 8
xor edi, dword [edx]
add edx, 4
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], edi
mov ecx, dword [ecx*4 + 0x5a2250]
mov dword [ebp - 0xc], edi
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov dword [ebp - 4], edx
xor ecx, dword [eax*4 + 0x5a2a50]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
movzx eax, cl
xor edi, dword [eax*4 + 0x5a1e50]
mov eax, edi
mov dword [ebp + 8], edi
xor eax, dword [edx]
add edx, 4
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x24]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5a2250]
mov dword [ebp - 4], edx
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 8]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor esi, dword [eax*4 + 0x5a1e50]
mov eax, esi
mov dword [ebp - 8], esi
xor eax, dword [edx]
add edx, 4
mov ecx, dword [ecx*4 + 0x5a2250]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
lea edi, [edx + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 4], edx
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp - 0x24]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
movzx eax, bl
mov ebx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0x5a1e50]
xor ecx, dword [edx]
mov edx, edi
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], eax
test eax, eax
jg 0x4b6670
mov dword [ebp - 0x28], edi
mov eax, ecx
mov edi, dword [ebp - 0xc]
shr eax, 8
add edx, 4
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5a2250]
shr edi, 0x18
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5a1e50]
mov eax, dword [ebp - 0x28]
xor ecx, dword [eax]
mov eax, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 4], edx
mov ecx, dword [ecx*4 + 0x5a2650]
xor ecx, dword [eax*4 + 0x5a2250]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x5a1e50]
xor ecx, dword [edx]
add edx, 4
mov eax, dword [ebp + 8]
shr eax, 8
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], ecx
movzx ecx, al
mov eax, ebx
mov ebx, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5a2250]
mov dword [ebp - 4], edx
xor ecx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5a2a50]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x5a1e50]
xor ecx, dword [edx]
add edx, 4
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], ecx
movzx ecx, bl
mov dword [ebp - 4], edx
mov ebx, dword [ecx*4 + 0x5a2250]
xor ebx, dword [eax*4 + 0x5a2650]
mov eax, dword [ebp + 0xc]
xor ebx, dword [edi*4 + 0x5a2a50]
movzx eax, al
xor ebx, dword [eax*4 + 0x5a1e50]
mov eax, dword [ebp - 8]
xor ebx, dword [edx]
add edx, 4
shr eax, 0x10
movzx eax, al
mov dword [ebp + 8], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], edx
movzx ecx, byte [eax + 0x5a1d50]
mov eax, dword [ebp - 0x24]
shr eax, 0x18
movzx eax, byte [eax + 0x5a1d50]
shl eax, 8
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
mov eax, dword [ebp - 8]
xor ecx, dword [edx]
add edx, 4
shr eax, 0x18
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
movzx ecx, byte [eax + 0x5a1d50]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
mov eax, dword [ebp - 0x24]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [edx]
add edx, 4
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
movzx ecx, byte [eax + 0x5a1d50]
mov eax, ebx
mov ebx, dword [ebp - 0x24]
shr eax, 0x18
movzx eax, byte [eax + 0x5a1d50]
shl eax, 8
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
shr ebx, 0x10
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ecx, eax
movzx eax, bl
xor ecx, dword [edx]
add edx, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
movzx ebx, byte [eax + 0x5a1d50]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov dword [ebp - 4], edx
movzx eax, byte [eax + 0x5a1d50]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 8]
shl ebx, 8
shr eax, 8
mov ecx, dword [ebp + 0x10]
movzx eax, al
push 4
movzx eax, byte [eax + 0x5a1d50]
xor ebx, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x5a1d50]
xor ebx, eax
lea eax, [edx + 4]
xor ebx, dword [edx]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov byte [ecx], dl
shr edx, 0x18
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x2c]
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov byte [ecx + 4], dl
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, dword [ebp - 0x28]
mov eax, edx
shr eax, 8
mov byte [ecx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xd], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0xe], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov byte [ecx + 8], dl
mov byte [ecx + 0xc], bl
shr edx, 0x18
shr ebx, 0x18
push eax
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xf], bl
call fcn.004b2d80
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.004b2d80
lea eax, [ebp - 0x1c]
push 4
push eax
call fcn.004b2d80
lea eax, [ebp - 0x20]
push 4
push eax
call fcn.004b2d80
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.004b2d80
lea eax, [ebp - 0x34]
push 4
push eax
call fcn.004b2d80
lea eax, [ebp - 0x38]
push 4
push eax
call fcn.004b2d80
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.004b2d80
add esp, 0x40
lea eax, [ebp - 4]
push 4
push eax
call fcn.004b2d80
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret