Function at 0x4d7df0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.00519810
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 + 0x10], eax
mov eax, edx
mov edi, dword [ecx]
shr eax, 2
add eax, edx
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], eax
mov eax, ebx
shr eax, 2
add eax, ebx
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
mov eax, ebp
shr eax, 2
add eax, ebp
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], ebx
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ebx
cmp edx, 0x10
jb 0x4d813c
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
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 ebx, dword [esp + 0x20]
mov 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
adc ebx, 0
add ebp, dword [esp + 0x34]
mov dword [esp + 0x20], ebp
adc ebx, 0
mov edi, dword [esp + 0x24]
cdq
mov ebp, eax
mov esi, edx
shld esi, ebp, 8
movzx eax, byte [edi + 8]
cdq
or esi, edx
shl ebp, 8
or ebp, eax
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
adc esi, 0
add ebp, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
adc esi, 0
add esi, dword [esp + 0x58]
add dword [esp + 0x10], esi
mul ecx
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0x20]
mul dword [esp + 0x28]
add ebx, eax
mov eax, ebp
adc esi, edx
mul dword [esp + 0x3c]
add ebx, eax
mov eax, dword [esp + 0x18]
adc esi, edx
mul dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x10]
adc esi, edx
imul ebx, dword [esp + 0x3c]
xor edi, edi
mul ecx
add ebx, eax
mov eax, ebp
mov ebp, dword [esp + 0x10]
adc edi, edx
mul dword [esp + 0x28]
add ebx, eax
mov eax, dword [esp + 0x1c]
adc edi, edx
mul dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x18]
adc edi, edx
mul dword [esp + 0x2c]
add ebx, eax
mov eax, dword [esp + 0x34]
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 + 0x20]
adc ebx, edx
mul dword [esp + 0x14]
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
mov eax, dword [esp + 0x34]
adc ebx, edx
add ebp, edi
mov edi, dword [esp + 0x10]
adc ebx, 0
xor esi, esi
mul dword [esp + 0x14]
imul edi, ecx
add edi, eax
mov eax, dword [esp + 0x18]
adc esi, edx
mul dword [esp + 0x40]
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 + 0x10]
adc esi, edx
add edi, ebx
mov ebx, dword [esp + 0x30]
adc esi, 0
imul eax, dword [esp + 0x14]
add esi, eax
mov edx, esi
mov eax, esi
and eax, 0xfffffffc
shr edx, 2
add edx, eax
and esi, 3
add ebx, edx
mov eax, ebx
mov dword [esp + 0x1c], ebx
sub eax, edx
xor eax, edx
xor edx, ebx
or eax, edx
xor eax, ebx
mov ebx, dword [esp + 0x44]
shr eax, 0x1f
add ebx, eax
mov edx, ebx
mov dword [esp + 0x20], ebx
sub edx, eax
xor edx, eax
xor eax, ebx
or edx, eax
xor edx, ebx
shr edx, 0x1f
lea ebx, [edx + ebp]
mov ebp, dword [esp + 0x24]
mov eax, ebx
mov dword [esp + 0x34], ebx
sub eax, edx
xor eax, edx
xor edx, ebx
or eax, edx
xor eax, ebx
shr eax, 0x1f
lea edx, [edi + eax]
mov ebx, edx
mov dword [esp + 0x30], edx
sub ebx, eax
xor ebx, eax
xor eax, edx
or ebx, eax
xor ebx, edx
shr ebx, 0x1f
add ebx, esi
add ebp, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebp
sub dword [esp + 0x54], 1
mov edi, dword [esp + 0x1c]
jne 0x4d7e80
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
pop esi
jmp 0x4d8140
mov edx, dword [esp + 0x2c]
mov dword [ecx], edi
pop edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
pop ebp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x38
ret