Function at 0x427f68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
cmp eax, 1
jb 0x4282da
add ecx, 0x108
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x60], eax
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 - 0x30c], edi
mov dword [ebp + esi*8 - 0x308], ebx
inc esi
add ecx, 8
cmp esi, 0x10
jl 0x427f91
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x68], 0x40
mov ecx, dword [eax - 0x68]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax - 0x64]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
mov edi, ecx
mov ebx, eax
shrd edi, ebx, 0x13
or esi, edi
mov edx, ecx
shl edx, 0xd
mov edi, eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
shld eax, ecx, 3
shr ebx, 0x13
or edx, ebx
shl ecx, 3
shr edi, 0x1d
or edi, ecx
mov ecx, dword [ebp - 0x84]
xor esi, edi
mov edi, dword [ebp - 0x58]
xor ebx, ebx
or ebx, eax
mov eax, dword [ebp - 0x80]
shrd ecx, eax, 6
xor edx, ebx
mov ebx, dword [ebp - 0x58]
xor esi, ecx
shr eax, 6
xor edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x88], esi
mov esi, eax
shrd esi, edi, 8
mov dword [ebp - 0x78], edx
xor edx, edx
or edx, esi
mov ecx, eax
mov esi, eax
shrd eax, ebx, 1
shl ecx, 0x18
shr edi, 8
shl esi, 0x1f
or ecx, edi
shr ebx, 1
or esi, ebx
xor ecx, esi
mov esi, dword [ebp - 0x5c]
xor edi, edi
or edi, eax
mov eax, dword [ebp - 0x58]
shrd esi, eax, 7
xor edx, edi
xor edx, esi
mov esi, dword [ebp - 0x88]
shr eax, 7
xor ecx, eax
mov eax, dword [ebp - 8]
add esi, edx
mov edx, dword [ebp - 0x78]
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 - 0x68]
mov dword [ebp - 8], eax
jne 0x42803a
mov esi, dword [ebp - 0x64]
and dword [ebp - 8], 0
push 0x10
pop ecx
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
shld esi, edx, 0x17
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
shl edx, 0x17
shrd edi, ebx, 0x12
xor ecx, ecx
or ecx, esi
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x2c]
shr eax, 9
or eax, edx
mov edx, dword [ebp - 0x2c]
shl edx, 0xe
shr ebx, 0x12
or edx, ebx
mov ebx, dword [ebp - 0x28]
xor ecx, edx
mov edx, dword [ebp - 0x2c]
shrd edi, ebx, 0xe
xor eax, esi
shl edx, 0x12
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x24]
and edi, dword [ebp - 0x2c]
xor eax, esi
mov esi, dword [ebp - 0x28]
shr ebx, 0xe
or edx, ebx
mov ebx, dword [ebp - 0x20]
and ebx, dword [ebp - 0x28]
xor ecx, edx
mov edx, dword [ebp - 0x2c]
not edx
and edx, dword [ebp - 0x1c]
not esi
and esi, dword [ebp - 0x18]
xor edx, edi
xor esi, ebx
add eax, edx
mov edx, dword [ebp - 8]
adc ecx, esi
add eax, dword [edx + 0x4c4f70]
mov esi, dword [ebp - 0x48]
adc ecx, dword [edx + 0x4c4f74]
add eax, dword [ebp + edx - 0x30c]
mov edi, dword [ebp - 0x4c]
adc ecx, dword [ebp + edx - 0x308]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
adc ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x48]
shrd edx, esi, 0x1c
shld ebx, edi, 0x1e
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], ecx
xor ecx, ecx
or ecx, edx
mov edx, dword [ebp - 0x48]
shr esi, 0x1c
shl eax, 4
or eax, esi
shr edx, 2
shl edi, 0x1e
or edx, edi
mov edi, dword [ebp - 0x4c]
xor esi, esi
or esi, ebx
mov ebx, dword [ebp - 0x48]
xor ecx, edx
mov edx, dword [ebp - 0x48]
shld ebx, edi, 0x19
xor eax, esi
shr edx, 7
xor esi, esi
shl edi, 0x19
or edx, edi
mov edi, dword [ebp - 0x44]
and edi, dword [ebp - 0x4c]
xor ecx, edx
mov edx, dword [ebp - 0x44]
xor edx, dword [ebp - 0x4c]
or esi, ebx
and edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
and ebx, dword [ebp - 0x48]
xor eax, esi
mov esi, dword [ebp - 0x40]
xor esi, dword [ebp - 0x48]
xor edx, edi
and esi, dword [ebp - 0x38]
xor esi, ebx
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x34]
adc eax, esi
add edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x30]
adc esi, dword [ebp - 0x70]
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x3c]
adc eax, dword [ebp - 0x70]
add dword [ebp - 8], 8
cmp dword [ebp - 8], 0x280
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jl 0x428120
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov edx, dword [ebp + ecx*8 - 0x4c]
add dword [eax], edx
mov edx, dword [ebp + ecx*8 - 0x48]
adc dword [eax + 4], edx
inc ecx
add eax, 8
cmp ecx, 8
jl 0x4282b5
dec dword [ebp - 0x60]
mov ecx, dword [ebp - 0x8c]
jne 0x427f8f
pop edi
pop esi
pop ebx
leave
ret