Function at 0x4a8370
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], 0
mov edx, 0x4fa1be
mov dword [esp + 0x38], 0x11
mov edi, edi
mov eax, dword [esi + 0x54]
movzx ebx, byte [edx - 3]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x4c], ebx
movzx ebx, byte [edx - 2]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x28], ebx
movzx ebx, byte [edx - 1]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x30], ebx
movzx ebx, byte [edx]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x44], ebx
movzx ebx, byte [edx + 1]
mov ebx, dword [eax + ebx*4]
movzx edi, byte [edx - 5]
mov edi, dword [eax + edi*4]
movzx ecx, byte [edx - 6]
mov dword [esp + 0x24], ebx
movzx ebx, byte [edx + 2]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x50], ebx
movzx ebx, byte [edx + 3]
mov ebx, dword [eax + ebx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x54], ebx
movzx ebx, byte [edx + 4]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x18], ebx
movzx ebx, byte [edx + 6]
mov ebx, dword [eax + ebx*4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ebx
movzx ebx, byte [edx + 5]
mov ebp, ecx
mov dword [esp + 0x20], edi
movzx edi, byte [edx - 4]
mov edi, dword [eax + edi*4]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x24]
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x4f9db8]
shl ecx, 8
xor eax, ecx
xor eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
add ecx, ebx
mov dword [esp + 0x48], eax
add ecx, edi
add ecx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
add ecx, eax
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x14], eax
lea eax, [ecx + ebx]
mov dword [esp + 0x18], eax
mov edx, ebp
mov ebx, ebp
mov dword [esp + 0x1c], ebp
lea eax, [ecx + edi]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
shr ebx, 0x18
mov ebp, dword [eax + ebx*4]
mov eax, dword [esi + 0x24]
shr edx, 0x10
movzx edx, dl
xor ebp, dword [eax + edx*4]
mov eax, dword [esp + 0x1c]
shr eax, 8
movzx ebx, al
mov eax, dword [esi + 0x34]
xor ebp, dword [eax + ebx*4]
movzx ebx, byte [esp + 0x1c]
mov eax, dword [esi + 0x44]
xor ebp, dword [eax + ebx*4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
mov edx, ebp
mov ebx, ebp
shr ebx, 0x18
mov ebp, dword [eax + ebx*4]
mov eax, dword [esi + 0x14]
shr edx, 0x10
movzx edx, dl
xor ebp, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
shr eax, 8
movzx ebx, al
mov eax, dword [esi + 0x24]
xor ebp, dword [eax + ebx*4]
movzx ebx, byte [esp + 0x14]
mov eax, dword [esi + 0x34]
xor ebp, dword [eax + ebx*4]
mov edx, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
mov eax, ebp
shr eax, 0x10
movzx ebx, al
mov eax, ebp
shr eax, 8
movzx ebp, al
mov eax, dword [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esi + 0x14]
xor eax, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esi + 0x34]
shr ebp, 0x18
xor eax, dword [ebx + ebp*4]
movzx ebp, byte [esp + 0x18]
mov ebx, dword [esi + 0x24]
xor eax, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, ebp
shr eax, 8
movzx ebx, al
mov eax, ebp
shr eax, 0x18
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x44]
mov ebp, dword [eax + ebx*4]
mov eax, dword [esi + 0x24]
mov ebx, dword [esp + 0x3c]
xor ebp, dword [eax + ebx*4]
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx ebx, al
mov eax, dword [esi + 0x34]
xor ebp, dword [eax + ebx*4]
movzx ebx, byte [esp + 0x10]
mov eax, dword [esi + 0x14]
xor ebp, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 0x18
mov eax, dword [eax + ebx*4]
mov ebx, dword [esi + 0x24]
mov dword [esp + 0x10], ebp
shr edx, 0x10
movzx ebp, dl
xor eax, dword [ebx + ebp*4]
mov ebx, ecx
shr ebx, 8
movzx ebp, bl
mov ebx, dword [esi + 0x34]
xor eax, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x18]
movzx ebx, cl
mov ecx, dword [esi + 0x44]
xor eax, dword [ecx + ebx*4]
mov ebx, dword [esp + 0x14]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add eax, ebp
add eax, ebx
mov edx, dword [esp + 0x40]
add eax, ecx
add ebx, eax
add ecx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov ebx, ecx
shr ebx, 0x18
shl ecx, 8
xor ecx, dword [ebx*4 + 0x4f9db8]
movzx ebx, byte [edx - 5]
xor ecx, dword [esp + 0x2c]
add ebp, eax
xor ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov ebp, dword [esi + 0x54]
mov dword [ebp + ebx*4], ecx
mov ebp, dword [esi + 0x54]
mov ebx, edi
shr ebx, 0x18
add dword [esp + 0x10], eax
shl edi, 8
xor edi, dword [ebx*4 + 0x4f9db8]
movzx ebx, byte [edx - 4]
xor edi, dword [esp + 0x44]
add dword [esp + 0x1c], ecx
xor edi, dword [esp + 0x48]
mov dword [ebp + ebx*4], edi
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esi + 0x54]
mov dword [esp + 0x48], edi
mov edi, ebx
shl ebx, 8
shr edi, 0x18
xor ebx, dword [edi*4 + 0x4f9db8]
movzx edi, byte [edx - 3]
xor ebx, dword [esp + 0x24]
xor ebx, ecx
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp + edi*4], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esi + 0x54]
add eax, ebx
mov dword [esp + 0x4c], eax
mov eax, ebx
shr eax, 0x18
shl ebx, 8
xor ebx, dword [eax*4 + 0x4f9db8]
movzx eax, byte [edx - 2]
xor ebx, dword [esp + 0x50]
xor ebx, dword [esp + 0x48]
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x54]
add dword [esp + 0x18], eax
mov edi, dword [esi + 0x74]
mov eax, dword [esp + 0x1c]
bswap eax
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x74]
lea edi, [ecx + eax + 4]
mov eax, dword [esp + 0x14]
bswap eax
mov dword [edi], eax
mov eax, dword [esi + 0x74]
lea edi, [ecx + eax + 8]
mov eax, dword [esp + 0x18]
bswap eax
mov dword [edi], eax
mov eax, dword [esi + 0x74]
lea edi, [ecx + eax + 0xc]
mov eax, dword [esp + 0x10]
bswap eax
mov dword [edi], eax
mov eax, dword [esi + 0x74]
lea edi, [ecx + eax + 0x10]
mov eax, dword [esp + 0x4c]
bswap eax
add edx, 0xd
add ecx, 0x14
mov dword [edi], eax
mov dword [esp + 0x34], ecx
dec dword [esp + 0x38]
jne 0x4a8390
pop edi
mov dword [esi + 0x84], 0
pop esi
pop ebp
pop ebx
add esp, 0x48
ret