Function at 0x4d4c13
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4d4f92
mov ecx, dword [ebp + 8]
add ecx, 0x108
push ebx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0xc]
push esi
add ecx, 2
mov dword [ebp + 0xc], eax
push edi
xor esi, esi
movzx eax, byte [ecx - 2]
cdq
shld edx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [ecx - 1]
mov ebx, edx
cdq
or edi, eax
movzx eax, byte [ecx]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx + 1]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx + 2]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx + 3]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx + 4]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx + 5]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
or ebx, edx
mov dword [ebp + esi*8 - 0x2ec], edi
mov dword [ebp + esi*8 - 0x2e8], ebx
inc esi
add ecx, 8
cmp esi, 0x10
jl 0x4d4c43
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], 0x40
mov ecx, dword [eax - 0x68]
mov edx, dword [eax - 0x64]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
mov ebx, edx
mov eax, ecx
shrd eax, ebx, 8
xor edi, edi
or edi, eax
mov dword [ebp - 0x60], edx
mov esi, ecx
shl esi, 0x18
mov eax, ecx
shl eax, 0x1f
mov dword [ebp - 0x64], ecx
shrd ecx, edx, 1
shr edx, 1
or eax, edx
shr ebx, 8
or esi, ebx
xor esi, eax
mov eax, dword [ebp - 0x60]
xor ebx, ebx
or ebx, ecx
mov ecx, dword [ebp - 0x64]
shrd ecx, eax, 7
shr eax, 7
xor esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 4]
shrd eax, esi, 0x13
xor edi, ebx
mov ebx, dword [ebp - 4]
xor edi, ecx
xor edx, edx
or edx, eax
mov eax, dword [ebp - 4]
shr esi, 0x13
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 8]
shld ebx, edi, 3
shl ecx, 0xd
or ecx, esi
shr eax, 0x1d
xor esi, esi
or esi, ebx
shl edi, 3
or eax, edi
xor edx, eax
mov eax, dword [ebp - 4]
xor ecx, esi
mov esi, dword [ebp - 8]
shrd esi, eax, 6
xor edx, esi
shr eax, 6
xor ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x6c]
add esi, edx
mov edx, dword [ebp - 0x68]
adc edx, ecx
add esi, dword [eax - 0x70]
adc edx, dword [eax - 0x6c]
add esi, dword [eax - 0x28]
adc edx, dword [eax - 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
add eax, 8
dec dword [ebp + 8]
mov dword [ebp + 0x10], eax
jne 0x4d4ce9
mov esi, dword [ebp - 0x50]
and dword [ebp + 0x10], 0
push 0x10
pop ecx
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
shld esi, edx, 0x17
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
shl edx, 0x17
shrd edi, ebx, 0x12
shr ecx, 9
or ecx, edx
mov edx, dword [ebp - 0x28]
shl edx, 0xe
xor eax, eax
or eax, esi
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x28]
xor ecx, esi
shr ebx, 0x12
or edx, ebx
mov ebx, dword [ebp - 0x24]
xor eax, edx
mov edx, dword [ebp - 0x28]
shrd edi, ebx, 0xe
shl edx, 0x12
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x1c]
and edi, dword [ebp - 0x24]
xor ecx, esi
mov esi, dword [ebp - 0x24]
shr ebx, 0xe
or edx, ebx
xor eax, edx
mov edx, dword [ebp - 0x28]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x28]
not edx
and edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x44]
xor edx, ecx
mov ecx, dword [ebp + 8]
not esi
and esi, dword [ebp - 0x14]
xor esi, edi
mov edi, dword [ebp - 0x48]
add ecx, edx
mov edx, dword [ebp + 0x10]
adc eax, esi
add ecx, dword [edx + 0x4e17a8]
mov esi, dword [ebp - 0x44]
adc eax, dword [edx + 0x4e17ac]
add ecx, dword [ebp + edx - 0x2ec]
adc eax, dword [ebp + edx - 0x2e8]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x48]
adc eax, dword [ebp - 0xc]
shrd edx, esi, 0x1c
shld ebx, edi, 0x1e
mov dword [ebp - 0x58], ecx
xor ecx, ecx
or ecx, edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
shr esi, 0x1c
shr edx, 2
shl eax, 4
shl edi, 0x1e
or edx, edi
mov edi, dword [ebp - 0x48]
or eax, esi
xor esi, esi
xor ecx, edx
mov edx, dword [ebp - 0x44]
or esi, ebx
mov ebx, dword [ebp - 0x44]
xor eax, esi
shr edx, 7
xor esi, esi
shld ebx, edi, 0x19
shl edi, 0x19
or edx, edi
mov edi, dword [ebp - 0x3c]
and edi, dword [ebp - 0x44]
xor ecx, edx
mov edx, dword [ebp - 0x40]
xor edx, dword [ebp - 0x48]
or esi, ebx
and edx, dword [ebp - 0x38]
xor eax, esi
mov esi, dword [ebp - 0x3c]
xor esi, dword [ebp - 0x44]
mov dword [ebp + 8], ecx
and esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
and ecx, dword [ebp - 0x48]
xor esi, edi
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x30]
adc eax, esi
add edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x2c]
adc esi, dword [ebp - 0x54]
add ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x38]
adc eax, dword [ebp - 0x54]
add dword [ebp + 0x10], 8
cmp dword [ebp + 0x10], 0x280
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jl 0x4d4dcc
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov edx, dword [ebp + ecx*8 - 0x48]
add dword [eax], edx
mov edx, dword [ebp + ecx*8 - 0x44]
adc dword [eax + 4], edx
inc ecx
add eax, 8
cmp ecx, 8
jl 0x4d4f6d
dec dword [ebp + 0xc]
mov ecx, dword [ebp - 0x5c]
jne 0x4d4c41
pop edi
pop esi
pop ebx
leave
ret 0xc