Function at 0x5038e0
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 + 0xcb4]
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 0x5038f6
movzx edi, byte [eax + 0xc86]
add edi, edi
add edi, edi
mov dword [ebp - 0xc], edi
movzx edi, byte [eax + 0xc88]
add edi, edi
add edi, edi
mov dword [ebp - 0x18], edi
movzx edi, byte [eax + 0xc87]
add edi, edi
add edi, edi
mov dword [ebp - 0x14], edi
movzx edi, byte [eax + 0xc89]
add edi, edi
add edi, edi
mov dword [ebp - 0x1c], edi
movzx edi, byte [eax + 0xc8b]
add edi, edi
add edi, edi
mov dword [ebp - 0x28], edi
movzx edi, byte [eax + 0xc8a]
add edi, edi
add edi, edi
movzx edx, byte [eax + 0xc85]
mov dword [ebp - 0x20], edi
movzx edi, byte [eax + 0xc8c]
add edi, edi
add edi, edi
mov dword [ebp - 0x24], edi
movzx edi, byte [eax + 0xc8e]
add edi, edi
add edi, edi
mov dword [ebp - 0x34], edi
movzx edi, byte [eax + 0xc8d]
add edx, edx
add edi, edi
add edx, edx
add edi, edi
mov dword [ebp - 0x10], edx
movzx edx, byte [eax + 0xc84]
mov dword [ebp - 0x2c], edi
movzx edi, byte [eax + 0xc8f]
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 + 0xcc8]
mov dword [ebp - 4], 0xd
jmp 0x5039d3
mov edx, dword [ebp - 8]
mov edx, dword [edx + ecx]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
rol edx, 8
mov ebx, dword [ebp - 0xc]
movzx ebx, byte [ebx + ecx + 3]
mov ebx, dword [eax + ebx*4 + 0x400]
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x10]
movzx ebx, byte [ebx + ecx + 2]
mov ebx, dword [eax + ebx*4 + 0x400]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx]
xor edx, dword [eax + ebx*4 + 0x400]
mov ebx, dword [ebp - 0x18]
xor edx, dword [edi - 4]
mov dword [esi], edx
movzx ebx, byte [ebx + ecx + 2]
mov ebx, dword [eax + ebx*4 + 0x400]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + ecx]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
rol edx, 8
rol ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + ecx + 3]
mov ebx, dword [eax + ebx*4 + 0x400]
ror ebx, 8
xor edx, ebx
movzx ebx, byte [ecx + 4]
xor edx, dword [eax + ebx*4 + 0x400]
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 + 0x400]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + ecx]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
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 + 0x400]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx + 8]
xor edx, dword [eax + ebx*4 + 0x400]
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 + 0x400]
shr edx, 8
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
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 + 0x400]
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx + 0xc]
xor edx, dword [eax + ebx*4 + 0x400]
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 0x5039d0
movzx esi, byte [eax + 0xc84]
mov ebx, dword [ecx + esi*4]
movzx edi, byte [eax + 0xc85]
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax]
rol esi, 8
rol edi, 0x10
xor esi, edi
movzx edi, byte [eax + 0xc86]
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax]
ror edi, 8
xor esi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + eax]
xor esi, edi
xor esi, dword [eax + 0xd94]
movzx edi, byte [eax + 0xc88]
mov dword [edx], esi
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax]
movzx esi, byte [eax + 0xc87]
mov ebx, dword [ecx + esi*4]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax]
rol esi, 8
rol edi, 0x10
xor esi, edi
movzx edi, byte [eax + 0xc89]
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax]
ror edi, 8
xor esi, edi
movzx edi, byte [ecx + 4]
movzx edi, byte [edi + eax]
xor esi, edi
xor esi, dword [eax + 0xd98]
movzx edi, byte [eax + 0xc8c]
mov dword [edx + 4], esi
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax]
movzx esi, byte [eax + 0xc8a]
mov ebx, dword [ecx + esi*4]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax]
rol esi, 8
ror edi, 8
xor esi, edi
movzx edi, byte [eax + 0xc8b]
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax]
rol edi, 0x10
xor esi, edi
movzx edi, byte [ecx + 8]
movzx edi, byte [edi + eax]
xor esi, edi
xor esi, dword [eax + 0xd9c]
movzx edi, byte [eax + 0xc8f]
mov dword [edx + 8], esi
movzx esi, byte [eax + 0xc8d]
mov ebx, dword [ecx + esi*4]
movzx edi, byte [ecx + edi*4 + 3]
movzx edi, byte [edi + eax]
shr ebx, 8
movzx esi, bl
movzx esi, byte [esi + eax]
rol esi, 8
ror edi, 8
xor esi, edi
movzx edi, byte [eax + 0xc8e]
movzx edi, byte [ecx + edi*4 + 2]
movzx edi, byte [edi + eax]
rol edi, 0x10
xor esi, edi
movzx edi, byte [ecx + 0xc]
movzx edi, byte [edi + eax]
xor esi, edi
xor esi, dword [eax + 0xda0]
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 0x503c76
pop edi
pop esi
mov esp, ebp
pop ebp
ret