Function at 0x100170f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
push ebx
push esi
push edi
lea esi, [eax + 8]
push 0x10
mov dword [ebp - 0x68], esi
pop ecx
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
xor esi, esi
add ecx, 2
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 - 0x2e8], edi
mov dword [ebp + esi*8 - 0x2e4], ebx
inc esi
add ecx, 8
cmp esi, 0x10
jl 0x10017118
lea eax, [ebp - 0x278]
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], 0x40
mov ecx, dword [eax - 0x68]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax - 0x64]
mov dword [ebp - 8], 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 - 0x60], ecx
mov dword [ebp - 0x5c], eax
shld eax, ecx, 3
shr ebx, 0x13
or edx, ebx
shl ecx, 3
shr edi, 0x1d
or edi, ecx
mov ecx, dword [ebp - 0x60]
xor esi, edi
mov edi, dword [ebp - 8]
xor ebx, ebx
or ebx, eax
mov eax, dword [ebp - 0x5c]
shrd ecx, eax, 6
xor edx, ebx
mov ebx, dword [ebp - 8]
xor esi, ecx
shr eax, 6
xor edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x64], esi
mov esi, eax
shrd esi, edi, 8
mov dword [ebp - 0x50], 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 - 0xc]
xor edi, edi
or edi, eax
mov eax, dword [ebp - 8]
shrd esi, eax, 7
xor edx, edi
xor edx, esi
mov esi, dword [ebp - 0x64]
shr eax, 7
xor ecx, eax
mov eax, dword [ebp - 4]
add esi, edx
mov edx, dword [ebp - 0x50]
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 - 0x58]
mov dword [ebp - 4], eax
jne 0x100171bb
and dword [ebp - 4], 0
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]
xor eax, esi
shrd edi, ebx, 0xe
shl edx, 0x12
xor esi, esi
or esi, edi
xor eax, esi
mov esi, dword [ebp - 0x20]
xor esi, dword [ebp - 0x18]
shr ebx, 0xe
and esi, dword [ebp - 0x28]
or edx, ebx
xor esi, dword [ebp - 0x18]
xor ecx, edx
mov edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x4c]
and edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x48]
xor edx, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 4]
adc ecx, esi
add eax, dword [edx + 0x1003ca20]
mov esi, dword [ebp - 0x48]
adc ecx, dword [edx + 0x1003ca24]
add eax, dword [ebp + edx - 0x2e8]
adc ecx, dword [ebp + edx - 0x2e4]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
adc ecx, dword [ebp - 0x10]
shrd edx, esi, 0x1c
shld ebx, edi, 0x1e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], ecx
shr esi, 0x1c
xor ecx, ecx
or ecx, edx
mov edx, dword [ebp - 0x48]
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]
shld ebx, edi, 0x19
xor ecx, edx
mov edx, dword [ebp - 0x48]
xor eax, esi
shr edx, 7
shl edi, 0x19
xor esi, esi
or edx, edi
or esi, ebx
xor ecx, edx
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x44]
or edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
and edx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x40]
and edi, dword [ebp - 0x48]
xor eax, esi
mov esi, dword [ebp - 0x40]
or esi, dword [ebp - 0x48]
or edx, ecx
and esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
or esi, edi
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 - 0xc]
mov esi, dword [ebp - 0x30]
adc esi, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x3c]
adc eax, dword [ebp - 8]
add dword [ebp - 4], 8
cmp dword [ebp - 4], 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 0x1001728a
mov eax, dword [ebp - 0x68]
pop edi
pop esi
xor ecx, ecx
pop ebx
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 0x10017420
leave
ret