Function at 0x4fd6a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.00574bf0
mov ecx, dword [esp + 0x3c]
push ebx
push ebp
push edi
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x20]
mov dword [esp + 0xc], eax
mov eax, edx
shr eax, 2
add eax, edx
mov edi, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, ebx
shr eax, 2
add eax, ebx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, ebp
shr eax, 2
add eax, ebp
mov dword [esp + 0x34], ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
cmp edx, 0x10
jb 0x4fd9c6
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
add ebp, 6
shr edx, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x50], edx
push esi
movzx eax, byte [ebp - 3]
cdq
mov ebx, eax
mov esi, edx
movzx eax, byte [ebp - 4]
shld esi, ebx, 8
cdq
shl ebx, 8
or esi, edx
or ebx, eax
movzx eax, byte [ebp - 5]
shld esi, ebx, 8
cdq
shl ebx, 8
or esi, edx
or ebx, eax
movzx eax, byte [ebp - 6]
shld esi, ebx, 8
cdq
shl ebx, 8
or esi, edx
or ebx, eax
movzx eax, byte [ebp + 1]
add ebx, edi
cdq
mov dword [esp + 0x18], ebx
mov edi, edx
adc esi, 0
mov ebx, eax
movzx eax, byte [ebp]
shld edi, ebx, 8
cdq
shl ebx, 8
or edi, edx
or ebx, eax
movzx eax, byte [ebp - 1]
shld edi, ebx, 8
cdq
shl ebx, 8
or edi, edx
or ebx, eax
movzx eax, byte [ebp - 2]
shld edi, ebx, 8
cdq
shl ebx, 8
or edi, edx
or ebx, eax
movzx eax, byte [ebp + 5]
add ebx, esi
cdq
mov esi, dword [esp + 0x24]
mov ebp, eax
adc edi, 0
add dword [esp + 0x1c], ebx
mov ebx, edx
adc edi, 0
movzx eax, byte [esi + 4]
shld ebx, ebp, 8
cdq
shl ebp, 8
or ebx, edx
or ebp, eax
movzx eax, byte [esi + 3]
shld ebx, ebp, 8
cdq
shl ebp, 8
or ebx, edx
or ebp, eax
movzx eax, byte [esi + 2]
shld ebx, ebp, 8
cdq
shl ebp, 8
or ebx, edx
or ebp, eax
movzx eax, byte [esi + 9]
add ebp, edi
cdq
adc ebx, 0
add dword [esp + 0x20], ebp
mov ebp, eax
adc ebx, 0
mov edi, dword [esp + 0x24]
mov esi, edx
shld esi, ebp, 8
shl ebp, 8
movzx eax, byte [edi + 8]
cdq
or ebp, eax
or esi, edx
movzx eax, byte [edi + 7]
shld esi, ebp, 8
cdq
or esi, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 6]
shld esi, ebp, 8
cdq
or esi, edx
shl ebp, 8
or ebp, eax
mov eax, dword [esp + 0x1c]
add ebp, ebx
mov ebx, dword [esp + 0x14]
adc esi, 0
add ebp, dword [esp + 0x30]
mov dword [esp + 0x30], ebp
adc esi, 0
add esi, dword [esp + 0x58]
mul ecx
add ebx, esi
mov edi, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
mov esi, edx
mul dword [esp + 0x28]
add edi, eax
mov eax, ebp
adc esi, edx
mul dword [esp + 0x34]
add edi, eax
mov eax, dword [esp + 0x18]
adc esi, edx
mul dword [esp + 0x10]
add edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], edi
adc esi, edx
imul ebx, dword [esp + 0x34]
mul ecx
xor edi, edi
add ebx, eax
mov eax, ebp
mov ebp, dword [esp + 0x14]
adc edi, edx
mul dword [esp + 0x28]
add ebx, eax
mov eax, dword [esp + 0x18]
adc edi, edx
mul dword [esp + 0x2c]
add ebx, eax
mov eax, dword [esp + 0x1c]
adc edi, edx
mul dword [esp + 0x10]
add ebx, eax
mov eax, dword [esp + 0x30]
adc edi, edx
add ebx, esi
mov dword [esp + 0x44], ebx
adc edi, 0
imul ebp, dword [esp + 0x28]
mul ecx
xor ebx, ebx
add ebp, eax
mov eax, dword [esp + 0x18]
adc ebx, edx
mul dword [esp + 0x38]
add ebp, eax
mov eax, dword [esp + 0x1c]
adc ebx, edx
mul dword [esp + 0x2c]
add ebp, eax
adc ebx, edx
mov eax, dword [esp + 0x20]
mul dword [esp + 0x10]
add ebp, eax
mov eax, dword [esp + 0x18]
adc ebx, edx
add ebp, edi
mov edi, dword [esp + 0x14]
adc ebx, 0
xor esi, esi
mul dword [esp + 0x3c]
imul edi, ecx
add edi, eax
mov eax, dword [esp + 0x1c]
adc esi, edx
mul dword [esp + 0x38]
add edi, eax
mov eax, dword [esp + 0x20]
adc esi, edx
mul dword [esp + 0x2c]
add edi, eax
mov eax, dword [esp + 0x30]
adc esi, edx
mul dword [esp + 0x10]
add edi, eax
mov eax, dword [esp + 0x14]
adc esi, edx
add edi, ebx
mov ebx, dword [esp + 0x40]
adc esi, 0
imul eax, dword [esp + 0x10]
add esi, eax
mov edx, esi
mov eax, esi
and eax, 0xfffffffc
shr edx, 2
add edx, eax
and esi, 3
lea eax, [ebx + edx]
xor ebx, edx
xor edx, eax
mov dword [esp + 0x18], eax
or ebx, edx
xor ebx, eax
mov eax, dword [esp + 0x44]
shr ebx, 0x1f
add ebx, eax
or eax, ebx
mov dword [esp + 0x1c], ebx
xor eax, ebx
shr eax, 0x1f
add eax, ebp
or ebp, eax
mov dword [esp + 0x20], eax
xor ebp, eax
mov eax, edi
mov edi, dword [esp + 0x18]
shr ebp, 0x1f
lea edx, [eax + ebp]
mov ebp, dword [esp + 0x24]
or eax, edx
mov dword [esp + 0x30], edx
xor eax, edx
add ebp, 0x10
shr eax, 0x1f
add eax, esi
mov dword [esp + 0x24], ebp
sub dword [esp + 0x54], 1
mov dword [esp + 0x14], eax
jne 0x4fd730
mov ecx, dword [esp + 0x4c]
pop esi
mov edx, dword [esp + 0x1c]
mov dword [ecx], edi
pop edi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x28]
pop ebp
mov dword [ecx + 4], ebx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
pop ebx
add esp, 0x38
ret