Function at 0x4d88c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [0x5c04b4]
xor eax, esp
mov dword [esp + 0x2e0], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0x50], ecx
jle 0x4d8d95
lea ebx, [edx + 2]
mov edi, edi
xor edi, edi
movzx eax, byte [ebx - 2]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [ebx - 1]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 1]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 2]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 3]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 4]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 5]
shld esi, ecx, 8
cdq
add ebx, 8
shl ecx, 8
or esi, edx
or ecx, eax
mov dword [esp + edi*8 + 0x6c], esi
mov dword [esp + edi*8 + 0x68], ecx
inc edi
cmp edi, 0x10
jl 0x4d88f2
mov dword [esp + 0x60], ebx
lea eax, [esp + 0xd8]
mov dword [esp + 0x20], 0x40
mov ebx, dword [eax + 4]
xor esi, esi
mov ecx, dword [eax]
mov edx, ebx
mov edi, ecx
shrd ecx, edx, 0x13
shl edi, 0xd
or esi, ecx
shr edx, 0x13
mov ecx, dword [eax]
or edi, edx
mov edx, ebx
mov dword [esp + 0x10], edi
shld edx, ecx, 3
mov edi, ebx
mov dword [esp + 0xc], esi
shl ecx, 3
xor esi, esi
or esi, edx
shr edi, 0x1d
mov edx, dword [esp + 0xc]
or edi, ecx
mov ecx, dword [eax]
xor edx, edi
mov edi, dword [esp + 0x10]
shrd ecx, ebx, 6
xor edi, esi
xor edx, ecx
shr ebx, 6
xor edi, ebx
mov dword [esp + 0xc], edx
mov edx, dword [eax - 0x64]
xor ebx, ebx
mov dword [esp + 0x10], edi
mov edi, dword [eax - 0x68]
mov ecx, edi
shrd ecx, edx, 8
mov esi, edi
shl edi, 0x1f
or ebx, ecx
shr edx, 8
mov ecx, dword [eax - 0x68]
shl esi, 0x18
or esi, edx
mov edx, dword [eax - 0x64]
shrd ecx, edx, 1
mov dword [esp + 0x30], esi
xor esi, esi
or esi, ecx
shr edx, 1
mov ecx, dword [esp + 0x30]
xor ebx, esi
mov esi, dword [eax - 0x68]
or edi, edx
mov edx, dword [eax - 0x64]
xor ecx, edi
shrd esi, edx, 7
shr edx, 7
xor ebx, esi
xor ecx, edx
mov edx, dword [esp + 0xc]
add edx, ebx
mov ebx, dword [esp + 0x10]
adc ebx, ecx
add edx, dword [eax - 0x70]
adc ebx, dword [eax - 0x6c]
add edx, dword [eax - 0x28]
mov dword [eax + 0x10], edx
adc ebx, dword [eax - 0x24]
lea eax, [eax + 8]
dec dword [esp + 0x20]
mov dword [eax + 0xc], ebx
jne 0x4d8992
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x118]
mov esi, dword [eax + 0x134]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x11c]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x120]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x124]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x128]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x12c]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x138]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x13c]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x140]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x144]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x148]
mov dword [esp + 0x58], edx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x130]
mov eax, dword [eax + 0x14c]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], ecx
mov ecx, esi
mov ebx, esi
mov eax, edx
shr ebx, 9
shld ecx, eax, 0x17
xor edi, edi
mov esi, edx
or edi, ecx
shl eax, 0x17
mov ecx, dword [esp + 0x14]
or ebx, eax
mov eax, dword [esp + 0x18]
xor edx, edx
shrd eax, ecx, 0x12
shl esi, 0xe
or edx, eax
shr ecx, 0x12
mov eax, dword [esp + 0x18]
or esi, ecx
mov ecx, dword [esp + 0x14]
xor edi, esi
xor ebx, edx
mov esi, eax
shrd eax, ecx, 0xe
shl esi, 0x12
xor edx, edx
or edx, eax
shr ecx, 0xe
mov eax, dword [esp + 0x40]
or esi, ecx
and eax, dword [esp + 0x14]
xor edi, esi
mov esi, dword [esp + 0x18]
xor ebx, edx
mov edx, dword [esp + 0x14]
not esi
and esi, dword [esp + 0x10]
not edx
and edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
xor edx, eax
and ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
xor esi, ecx
mov ecx, dword [esp + 0x1c]
add ebx, esi
adc edi, edx
add ebx, dword [eax + 0x58e880]
adc edi, dword [eax + 0x58e884]
add ebx, dword [esp + eax + 0x68]
adc edi, dword [esp + eax + 0x6c]
add ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
adc edi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x5c], ebx
mov ebx, eax
shrd eax, ecx, 0x1c
mov dword [esp + 0x54], edi
xor edi, edi
shr ecx, 0x1c
or edi, eax
mov eax, dword [esp + 0x24]
shl ebx, 4
or ebx, ecx
mov ecx, dword [esp + 0x1c]
mov esi, ecx
shld ecx, eax, 0x1e
shr esi, 2
shl eax, 0x1e
or edx, ecx
mov ecx, dword [esp + 0x1c]
or esi, eax
mov eax, dword [esp + 0x24]
xor edi, esi
mov esi, ecx
xor ebx, edx
shld ecx, eax, 0x19
shr esi, 7
xor edx, edx
shl eax, 0x19
or esi, eax
or edx, ecx
mov ecx, dword [esp + 0x38]
xor ebx, edx
and ecx, dword [esp + 0x28]
xor edi, esi
mov esi, dword [esp + 0x38]
xor esi, dword [esp + 0x28]
and esi, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
xor esi, ecx
xor edx, dword [esp + 0x2c]
and edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
and eax, dword [esp + 0x2c]
xor edx, eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add edi, esi
mov esi, dword [esp + 0x48]
adc ebx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
add edx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
adc esi, dword [esp + 0x54]
add edi, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov eax, ebx
adc eax, dword [esp + 0x54]
add ecx, 8
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ecx
cmp ecx, 0x280
jl 0x4d8b13
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
add ecx, edi
mov ebx, dword [esp + 0x60]
adc esi, eax
mov eax, dword [esp + 0x50]
mov dword [eax + 0x110], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x114], esi
add dword [eax + 0x118], ecx
mov ecx, dword [esp + 0x34]
adc dword [eax + 0x11c], ecx
mov ecx, dword [esp + 0x28]
add dword [eax + 0x120], ecx
mov ecx, dword [esp + 0x2c]
adc dword [eax + 0x124], ecx
mov ecx, dword [esp + 0x4c]
add dword [eax + 0x128], ecx
mov ecx, dword [esp + 0x48]
adc dword [eax + 0x12c], ecx
add dword [eax + 0x130], edx
mov ecx, dword [esp + 0x14]
adc dword [eax + 0x134], ecx
mov ecx, dword [esp + 0x3c]
add dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x40]
adc dword [eax + 0x13c], ecx
mov ecx, dword [esp + 0x10]
add dword [eax + 0x140], ecx
mov ecx, dword [esp + 0xc]
adc dword [eax + 0x144], ecx
mov ecx, dword [esp + 0x30]
add dword [eax + 0x148], ecx
mov ecx, dword [esp + 0x20]
adc dword [eax + 0x14c], ecx
dec dword [ebp + 8]
jne 0x4d88f0
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00553510
mov esp, ebp
pop ebp
ret