Function at 0x4cc1a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [esp + 0x40]
xor edx, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
xor ebx, dword [ecx + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x40]
xor edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x44]
xor edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edx
movzx edx, bh
mov esi, dword [ecx*4 + 0x4ff910]
movzx ecx, byte [esp + 0x2a]
mov dword [esp + 0x24], ebx
xor esi, dword [edx*4 + 0x4ffd10]
xor esi, dword [ecx*4 + 0x500110]
movzx ecx, byte [esp + 0x2f]
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x18], edi
xor esi, dword [ecx*4 + 0x500510]
mov dword [eax], esi
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
movzx edx, bh
mov esi, dword [ecx*4 + 0x4ff910]
movzx ecx, byte [esp + 0x23]
xor esi, dword [edx*4 + 0x4ffd10]
movzx edx, byte [esp + 0x22]
xor esi, dword [ecx*4 + 0x500510]
movzx ecx, byte [esp + 0x2e]
xor esi, dword [ecx*4 + 0x500110]
mov dword [eax + 4], esi
movzx ecx, bl
mov esi, dword [ecx*4 + 0x4ff910]
xor esi, dword [edx*4 + 0x500110]
mov edx, dword [esp + 0x14]
movzx ecx, dh
xor esi, dword [ecx*4 + 0x4ffd10]
movzx ecx, byte [esp + 0x27]
xor esi, dword [ecx*4 + 0x500510]
movzx ecx, dl
mov edx, dword [esp + 0x10]
mov dword [eax + 8], esi
movzx edx, dh
mov esi, dword [ecx*4 + 0x4ff910]
movzx ecx, byte [esp + 0x26]
xor esi, dword [edx*4 + 0x4ffd10]
xor esi, dword [ecx*4 + 0x500110]
movzx ecx, byte [esp + 0x2b]
xor esi, dword [ecx*4 + 0x500510]
lea ecx, [edi - 1]
mov dword [eax + 0xc], esi
cmp ecx, 1
jbe 0x4cc3e0
lea edi, [ebp + 0x50]
lea ebp, [ecx - 1]
mov ecx, dword [edi]
lea edi, [edi + 0x10]
xor ecx, dword [eax + 8]
mov edx, dword [edi - 0x18]
xor edx, dword [eax]
mov ebx, dword [edi - 0x14]
xor ebx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [edi - 0xc]
xor ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ecx
movzx ecx, dl
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edx
movzx edx, bh
mov esi, dword [ecx*4 + 0x4ff910]
movzx ecx, byte [esp + 0x2a]
mov dword [esp + 0x24], ebx
xor esi, dword [edx*4 + 0x4ffd10]
xor esi, dword [ecx*4 + 0x500110]
movzx ecx, byte [esp + 0x2f]
xor esi, dword [ecx*4 + 0x500510]
mov dword [eax], esi
movzx ecx, bl
mov ebx, dword [esp + 0x14]
movzx edx, bh
mov esi, dword [ecx*4 + 0x4ff910]
movzx ecx, byte [esp + 0x23]
xor esi, dword [edx*4 + 0x4ffd10]
movzx edx, byte [esp + 0x22]
xor esi, dword [ecx*4 + 0x500510]
movzx ecx, byte [esp + 0x2e]
xor esi, dword [ecx*4 + 0x500110]
mov dword [eax + 4], esi
movzx ecx, bl
mov esi, dword [ecx*4 + 0x4ff910]
xor esi, dword [edx*4 + 0x500110]
mov edx, dword [esp + 0x1c]
movzx ecx, dh
xor esi, dword [ecx*4 + 0x4ffd10]
movzx ecx, byte [esp + 0x27]
xor esi, dword [ecx*4 + 0x500510]
movzx ecx, dl
mov edx, dword [esp + 0x10]
mov dword [eax + 8], esi
movzx edx, dh
mov esi, dword [ecx*4 + 0x4ff910]
movzx ecx, byte [esp + 0x26]
xor esi, dword [edx*4 + 0x4ffd10]
xor esi, dword [ecx*4 + 0x500110]
movzx ecx, byte [esp + 0x2b]
xor esi, dword [ecx*4 + 0x500510]
mov dword [eax + 0xc], esi
dec ebp
jne 0x4cc2d5
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
add edi, edi
mov ecx, dword [ebp + edi*8 + 0x28]
xor ecx, dword [eax]
mov edx, dword [ebp + edi*8 + 0x2c]
xor edx, dword [eax + 4]
mov ebx, dword [ebp + edi*8 + 0x30]
xor ebx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + edi*8 + 0x34]
xor ecx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, cl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax], cl
movzx ecx, dh
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 1], cl
movzx ecx, byte [esp + 0x2a]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 2], cl
movzx ecx, byte [esp + 0x2f]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 3], cl
movzx ecx, dl
mov edx, dword [esp + 0x18]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 4], cl
movzx ecx, bh
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 5], cl
movzx ecx, byte [esp + 0x2e]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 6], cl
movzx ecx, byte [esp + 0x23]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 7], cl
movzx ecx, bl
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 8], cl
movzx ecx, dh
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 9], cl
movzx ecx, byte [esp + 0x22]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 0xa], cl
movzx ecx, byte [esp + 0x27]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 0xb], cl
movzx ecx, dl
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 0xc], cl
mov ecx, dword [esp + 0x10]
movzx ecx, ch
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 0xd], cl
movzx ecx, byte [esp + 0x26]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 0xe], cl
movzx ecx, byte [esp + 0x2b]
movzx ecx, byte [ecx*4 + 0x4ff911]
mov byte [eax + 0xf], cl
mov ecx, dword [ebp + edi*8 + 0x38]
xor dword [eax], ecx
mov ecx, dword [ebp + edi*8 + 0x3c]
xor dword [eax + 4], ecx
mov ecx, dword [ebp + edi*8 + 0x40]
xor dword [eax + 8], ecx
mov ecx, dword [ebp + edi*8 + 0x44]
xor dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d17f4
add esp, 0x24
ret