Function at 0x10021780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0x84], eax
movups xmm0, xmmword [edx]
push ebx
push ebp
movups xmmword [esp + 0x4c], xmm0
push esi
movups xmm0, xmmword [edx + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
movups xmmword [esp + 0x60], xmm0
push edi
movups xmm0, xmmword [edx + 0x20]
mov dword [esp + 0x2c], 0xa
movups xmmword [esp + 0x74], xmm0
movups xmm0, xmmword [edx + 0x30]
mov edx, dword [esp + 0x64]
movups xmmword [esp + 0x84], xmm0
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
nop word [eax + eax]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x74]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
xor eax, ecx
mov ecx, eax
add esi, dword [esp + 0x28]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x40], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x28]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x3c], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [esp + 0x14], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x10]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [esp + 0x38], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [esp + 0x60]
shl eax, 8
add esi, dword [esp + 0x18]
shr ecx, 0x18
xor ebp, esi
or ecx, eax
mov dword [esp + 0x4c], ecx
lea ebx, [ecx + edi]
mov edi, dword [esp + 0x80]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, ebp
shr ecx, 0x10
shl ebp, 0x10
or ecx, ebp
add edi, ecx
mov eax, edi
xor eax, dword [esp + 0x18]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [esp + 0x44], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea ebp, [ecx + edi]
mov eax, ebp
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x14]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [esp + 0x14]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [esp + 0x54], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x90], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
mov eax, ecx
xor eax, dword [esp + 0x20]
mov edx, eax
shr edx, 0x10
shl eax, 0x10
or edx, eax
lea esi, [edx + ebp]
mov eax, esi
xor eax, dword [esp + 0x10]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x58], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x84], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
xor eax, edi
ror eax, 0x19
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
mov eax, ecx
xor eax, dword [esp + 0x3c]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x18]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x5c], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x88], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x74], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], eax
mov eax, ecx
xor eax, dword [esp + 0x4c]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x48]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x60], eax
xor eax, edx
mov ebx, eax
shl eax, 8
shr ebx, 0x18
or ebx, eax
lea eax, [ebx + esi]
mov dword [esp + 0x78], eax
mov edx, eax
mov ebp, dword [esp + 0x1c]
xor edx, edi
mov ecx, dword [esp + 0x20]
ror edx, 0x19
sub dword [esp + 0x2c], 1
jne 0x10021810
mov ecx, dword [esp + 0x30]
lea edi, [esp + 0x54]
mov dword [esp + 0x8c], ebx
lea ebp, [esp + 0x58]
mov ebx, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0x64], edx
sub ebp, ecx
lea eax, [ecx + 4]
xor esi, esi
lea edx, [ebx + 0xc]
sub ebx, ecx
lea ecx, [esp + 0x5c]
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + esi*4 + 0x54]
lea eax, [eax + 0x10]
add ecx, dword [edx - 0xc]
lea edx, [edx + 0x10]
mov dword [eax - 0x14], ecx
add esi, 4
mov ecx, dword [edi + eax - 0x10]
add ecx, dword [ebx + eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax + ebp - 0x10]
add ecx, dword [edx - 0x14]
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax - 0x10]
add ecx, dword [edx - 0x10]
mov dword [eax - 8], ecx
cmp esi, 0x10
jl 0x10021b21
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10129271
add esp, 0x88
ret