Function at 0x6000cf7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x2f4
test eax, eax
jle 0x6000d2e2
mov ecx, dword [ebp + 8]
add ecx, 0x108
push ebx
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0xc]
push esi
add ecx, 2
mov dword [ebp - 0x58], 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 - 0x2f4], edi
mov dword [ebp + esi*8 - 0x2f0], ebx
inc esi
add ecx, 8
cmp esi, 0x10
jl 0x6000cfa8
lea eax, [ebp - 0x284]
mov dword [ebp - 0x74], ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x50], 0x40
mov ecx, dword [eax - 0x68]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax - 0x64]
mov dword [ebp - 0x48], 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 - 0x6c], ecx
mov dword [ebp - 0x68], eax
shld eax, ecx, 3
shr ebx, 0x13
or edx, ebx
shl ecx, 3
shr edi, 0x1d
or edi, ecx
mov ecx, dword [ebp - 0x6c]
xor esi, edi
mov edi, dword [ebp - 0x48]
xor ebx, ebx
or ebx, eax
mov eax, dword [ebp - 0x68]
shrd ecx, eax, 6
xor edx, ebx
mov ebx, dword [ebp - 0x48]
xor esi, ecx
shr eax, 6
xor edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], esi
mov esi, eax
shrd esi, edi, 8
mov dword [ebp - 0x64], 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 - 0x4c]
xor edi, edi
or edi, eax
mov eax, dword [ebp - 0x48]
shrd esi, eax, 7
xor edx, edi
xor edx, esi
mov esi, dword [ebp - 0x70]
shr eax, 7
xor ecx, eax
mov eax, dword [ebp + 0x10]
add esi, edx
mov edx, dword [ebp - 0x64]
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 - 0x50]
mov dword [ebp + 0x10], eax
jne 0x6000d04e
mov esi, dword [ebp - 0x54]
and dword [ebp + 0x10], 0
push 0x10
pop ecx
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
shld esi, edx, 0x17
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
shl edx, 0x17
shrd edi, ebx, 0x12
xor ecx, ecx
or ecx, esi
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x20]
shr eax, 9
or eax, edx
mov edx, dword [ebp - 0x20]
shl edx, 0xe
shr ebx, 0x12
or edx, ebx
mov ebx, dword [ebp - 0x1c]
xor ecx, edx
mov edx, dword [ebp - 0x20]
shrd edi, ebx, 0xe
xor eax, esi
shl edx, 0x12
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x18]
and edi, dword [ebp - 0x20]
xor eax, esi
mov esi, dword [ebp - 0x1c]
shr ebx, 0xe
or edx, ebx
mov ebx, dword [ebp - 0x14]
and ebx, dword [ebp - 0x1c]
xor ecx, edx
mov edx, dword [ebp - 0x20]
not edx
and edx, dword [ebp - 0x10]
not esi
and esi, dword [ebp - 0xc]
xor edx, edi
xor esi, ebx
add eax, edx
mov edx, dword [ebp + 0x10]
adc ecx, esi
add eax, dword [edx + 0x3da14e8]
mov esi, dword [ebp - 0x3c]
adc ecx, dword [edx + 0x3da14ec]
add eax, dword [ebp + edx - 0x2f4]
mov edi, dword [ebp - 0x40]
adc ecx, dword [ebp + edx - 0x2f0]
add eax, dword [ebp - 8]
mov edx, dword [ebp - 0x40]
adc ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x3c]
shrd edx, esi, 0x1c
shld ebx, edi, 0x1e
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
or ecx, edx
mov edx, dword [ebp - 0x3c]
shr esi, 0x1c
shl eax, 4
or eax, esi
shr edx, 2
shl edi, 0x1e
or edx, edi
mov edi, dword [ebp - 0x40]
xor esi, esi
or esi, ebx
mov ebx, dword [ebp - 0x3c]
xor ecx, edx
mov edx, dword [ebp - 0x3c]
shld ebx, edi, 0x19
xor eax, esi
shr edx, 7
xor esi, esi
shl edi, 0x19
or edx, edi
mov edi, dword [ebp - 0x38]
and edi, dword [ebp - 0x40]
xor ecx, edx
mov edx, dword [ebp - 0x38]
xor edx, dword [ebp - 0x40]
or esi, ebx
and edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
and ebx, dword [ebp - 0x3c]
xor eax, esi
mov esi, dword [ebp - 0x34]
xor esi, dword [ebp - 0x3c]
xor edx, edi
and esi, dword [ebp - 0x2c]
xor esi, ebx
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], 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]
adc eax, esi
add edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x24]
adc esi, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x30]
adc eax, dword [ebp - 0x5c]
add dword [ebp + 0x10], 8
cmp dword [ebp + 0x10], 0x280
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x38]
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 - 0x1c], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jl 0x6000d128
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov edx, dword [ebp + ecx*8 - 0x40]
add dword [eax], edx
mov edx, dword [ebp + ecx*8 - 0x3c]
adc dword [eax + 4], edx
inc ecx
add eax, 8
cmp ecx, 8
jl 0x6000d2bd
dec dword [ebp - 0x58]
mov ecx, dword [ebp - 0x74]
jne 0x6000cfa6
pop edi
pop esi
pop ebx
leave
ret