Function at 0x1017ff00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x102289dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x74], esi
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x84], ecx
test ecx, ecx
je 0x10180139
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x44]
sub eax, ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add ecx, esi
imul ecx, dword [ebp - 0x78]
mov dword [ebp - 0x5c], 0
add ecx, dword [ebp - 0x7c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x80], eax
cmp edx, 0x10
jb 0x10180061
mov dword [ebp - 0x54], 0x10
mov dword [ebp - 0x50], eax
nop word [eax + eax]
mov esi, ebx
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x4c], esi
nop dword [eax]
mov ebx, dword [esi + 0x40]
mov edi, ebx
mov eax, dword [esi]
add edi, eax
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x4c]
mov dword [esi], ebx
mov dword [ebp - 0x58], ecx
adc ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov esi, eax
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x48], edx
shld dword [ebp - 0x48], esi, 0x17
xor dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x70]
shl esi, 0x17
xor esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + eax], edi
mov edi, dword [ebp - 0x58]
mov dword [edx + eax + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0x48]
mov edx, ebx
shrd edx, edi, 5
shrd eax, ecx, 0x12
shr edi, 5
xor eax, ebx
shr ecx, 0x12
xor ecx, dword [ebp - 0x58]
xor edx, eax
xor edx, esi
xor edi, ecx
mov esi, dword [ebp - 0x4c]
xor edi, dword [ebp - 0x48]
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edi
add esi, 8
sub dword [ebp - 0x6c], 1
mov dword [ebp - 0x4c], esi
jne 0x1017ffa0
mov esi, dword [ebp - 0x50]
lea edi, [ebp - 0x44]
mov ebx, 0x10
nop word [eax + eax]
push esi
push edi
call fcn.1017fb40
add esp, 8
add esi, 4
add edi, 4
sub ebx, 1
jne 0x10180030
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x5c], 0x10
add eax, 0x10
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x60]
jbe 0x1017ff90
mov ecx, ebx
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x4c], ecx
nop dword [eax]
mov edi, dword [ecx + 0x40]
mov esi, edi
mov eax, dword [ecx]
add esi, eax
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 0x44]
mov ecx, ebx
adc ecx, edx
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x48], edx
mov dword [esi], edi
mov dword [esi + 4], ebx
mov esi, eax
shld dword [ebp - 0x48], esi, 0x17
xor dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x70]
shl esi, 0x17
xor esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x68]
mov dword [edx + eax + 4], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + eax], esi
mov edx, edi
mov eax, dword [ebp - 0x54]
mov esi, ebx
shrd eax, ecx, 0x12
shrd edx, esi, 5
shr ecx, 0x12
xor eax, edi
xor ecx, ebx
shr esi, 5
xor esi, ecx
xor edx, eax
mov ecx, dword [ebp - 0x4c]
xor edx, dword [ebp - 0x54]
xor esi, dword [ebp - 0x48]
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x44], esi
add ecx, 8
sub dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], ecx
jne 0x10180070
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
cmp eax, edx
jae 0x1018011d
mov ecx, dword [ebp - 0x80]
lea esi, [ebp - 0x44]
mov ebx, edx
sub ebx, eax
lea edi, [ecx + eax*4]
push edi
push esi
call fcn.1017fb40
add esp, 8
add esi, 4
add edi, 4
sub ebx, 1
jne 0x10180105
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x64]
inc esi
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x74], esi
cmp esi, dword [ebp - 0x84]
jb 0x1017ff58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101e8c02
mov esp, ebp
pop ebp
ret