Function at 0x503ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x74
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ecx, ecx
lea edx, [eax + 0xe94]
mov edi, dword [esi]
xor edi, dword [edx]
inc ecx
mov dword [ebp + ecx*4 - 0x58], edi
add edx, 4
add esi, 4
cmp ecx, 4
jl 0x503cb6
movzx edi, byte [eax + 0xc9e]
add edi, edi
add edi, edi
mov dword [ebp - 0xc], edi
movzx edi, byte [eax + 0xca0]
add edi, edi
add edi, edi
mov dword [ebp - 0x1c], edi
movzx edi, byte [eax + 0xc9f]
add edi, edi
add edi, edi
mov dword [ebp - 0x14], edi
movzx edi, byte [eax + 0xca1]
add edi, edi
add edi, edi
mov dword [ebp - 0x18], edi
movzx edi, byte [eax + 0xca3]
add edi, edi
add edi, edi
mov dword [ebp - 0x28], edi
movzx edi, byte [eax + 0xca2]
add edi, edi
add edi, edi
movzx edx, byte [eax + 0xc9d]
mov dword [ebp - 0x20], edi
movzx edi, byte [eax + 0xca4]
add edi, edi
add edi, edi
mov dword [ebp - 0x24], edi
movzx edi, byte [eax + 0xca6]
add edi, edi
add edi, edi
mov dword [ebp - 0x34], edi
movzx edi, byte [eax + 0xca5]
add edx, edx
add edi, edi
add edx, edx
add edi, edi
mov dword [ebp - 0x10], edx
movzx edx, byte [eax + 0xc9c]
mov dword [ebp - 0x2c], edi
movzx edi, byte [eax + 0xca7]
add edx, edx
add edi, edi
add edx, edx
add edi, edi
mov dword [ebp - 0x30], edi
push ebx
lea ecx, [ebp - 0x54]
lea esi, [ebp - 0x74]
mov dword [ebp - 8], edx
lea edi, [eax + 0xea8]
mov dword [ebp - 4], 0xd
jmp 0x503d93
mov edx, dword [ebp - 8]
mov edx, dword [edx + ecx]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x800]
rol edx, 8
mov ebx, dword [ebp - 0xc]
movzx ebx, byte [ebx + ecx + 3]
mov ebx, dword [eax + ebx*4 + 0x800]
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x10]
movzx ebx, byte [ebx + ecx + 2]
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx]
xor edx, dword [eax + ebx*4 + 0x800]
mov ebx, dword [ebp - 0x18]
xor edx, dword [edi - 4]
mov dword [esi], edx
movzx ebx, byte [ebx + ecx + 3]
mov ebx, dword [eax + ebx*4 + 0x800]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + ecx]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x800]
rol edx, 8
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + ecx + 2]
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx + 4]
xor edx, dword [eax + ebx*4 + 0x800]
mov ebx, dword [ebp - 0x24]
xor edx, dword [edi]
mov dword [esi + 4], edx
movzx ebx, byte [ebx + ecx + 3]
mov ebx, dword [eax + ebx*4 + 0x800]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + ecx]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x800]
rol edx, 8
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x28]
movzx ebx, byte [ebx + ecx + 2]
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx + 8]
xor edx, dword [eax + ebx*4 + 0x800]
mov ebx, dword [ebp - 0x30]
xor edx, dword [edi + 4]
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + ecx]
movzx ebx, byte [ebx + ecx + 3]
mov ebx, dword [eax + ebx*4 + 0x800]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x800]
rol edx, 8
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x34]
movzx ebx, byte [ebx + ecx + 2]
mov ebx, dword [eax + ebx*4 + 0x800]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx + 0xc]
xor edx, dword [eax + ebx*4 + 0x800]
xor edx, dword [edi + 8]
add edi, 0x10
mov dword [esi + 0xc], edx
mov edx, ecx
dec dword [ebp - 4]
mov ecx, esi
mov esi, edx
jne 0x503d90
movzx esi, byte [eax + 0xc9c]
mov ebx, dword [ecx + esi*4]
movzx edi, byte [eax + 0xc9d]
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax + 0x100]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax + 0x100]
rol esi, 8
rol edi, 0x10
xor esi, edi
movzx edi, byte [eax + 0xc9e]
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax + 0x100]
ror edi, 8
xor esi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + eax + 0x100]
xor esi, edi
xor esi, dword [eax + 0xf74]
movzx edi, byte [eax + 0xca0]
mov dword [edx], esi
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax + 0x100]
movzx esi, byte [eax + 0xc9f]
mov ebx, dword [ecx + esi*4]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax + 0x100]
rol esi, 8
rol edi, 0x10
xor esi, edi
movzx edi, byte [eax + 0xca1]
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax + 0x100]
ror edi, 8
xor esi, edi
movzx edi, byte [ecx + 4]
movzx edi, byte [edi + eax + 0x100]
xor esi, edi
xor esi, dword [eax + 0xf78]
movzx edi, byte [eax + 0xca4]
mov dword [edx + 4], esi
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax + 0x100]
movzx esi, byte [eax + 0xca2]
mov ebx, dword [ecx + esi*4]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax + 0x100]
rol esi, 8
ror edi, 8
xor esi, edi
movzx edi, byte [eax + 0xca3]
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax + 0x100]
rol edi, 0x10
xor esi, edi
movzx edi, byte [ecx + 8]
movzx edi, byte [edi + eax + 0x100]
xor esi, edi
xor esi, dword [eax + 0xf7c]
movzx edi, byte [eax + 0xca7]
mov dword [edx + 8], esi
movzx esi, byte [eax + 0xca5]
mov ebx, dword [ecx + esi*4]
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax + 0x100]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax + 0x100]
rol esi, 8
ror edi, 8
xor esi, edi
movzx edi, byte [eax + 0xca6]
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax + 0x100]
rol edi, 0x10
xor esi, edi
movzx edi, byte [ecx + 0xc]
movzx edi, byte [edi + eax + 0x100]
xor esi, edi
xor esi, dword [eax + 0xf80]
mov eax, edx
mov dword [edx + 0xc], esi
mov esi, dword [ebp + 0xc]
sub ecx, edx
mov edx, 4
pop ebx
mov edi, dword [eax]
mov dword [eax], 0
mov dword [esi], edi
mov dword [ecx + eax], 0
add eax, 4
add esi, 4
dec edx
jne 0x504076
pop edi
pop esi
mov esp, ebp
pop ebp
ret