Function at 0x10021740
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
movups xmm0, xmmword [edx]
push ebx
push ebp
movups xmmword [esp + 0x2c], xmm0
push esi
movups xmm0, xmmword [edx + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
movups xmmword [esp + 0x40], xmm0
push edi
movups xmm0, xmmword [edx + 0x20]
mov dword [esp + 0x2c], 0xa
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [edx + 0x30]
mov edx, dword [esp + 0x44]
movups xmmword [esp + 0x64], xmm0
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
nop dword [eax]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x54]
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 + 0x38]
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 + 0x58]
mov dword [esp + 0x80], 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 + 0x88], 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 + 0x3c]
add esi, dword [esp + 0x10]
mov dword [esp + 0x74], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x7c], ecx
lea eax, [ecx + edi]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x90], 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 + 0x78], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [esp + 0x40]
shl eax, 8
add esi, dword [esp + 0x18]
shr ecx, 0x18
xor ebp, esi
or ecx, eax
mov dword [esp + 0x8c], ecx
lea ebx, [ecx + edi]
mov edi, dword [esp + 0x60]
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 + 0x84], 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 + 0x34], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 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 + 0x38], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x64], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x78]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
xor eax, edi
ror eax, 0x19
mov esi, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], eax
mov eax, ecx
xor eax, dword [esp + 0x7c]
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 + 0x3c], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], ecx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x84]
add ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x54], eax
xor eax, edi
ror eax, 0x19
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
mov eax, ecx
xor eax, dword [esp + 0x8c]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x88]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0x40], eax
xor eax, edx
mov ebx, eax
shl eax, 8
shr ebx, 0x18
or ebx, eax
lea eax, [ebx + esi]
mov dword [esp + 0x58], 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 0x100217b0
mov ecx, dword [esp + 0x30]
lea edi, [esp + 0x34]
mov dword [esp + 0x6c], ebx
lea ebp, [esp + 0x38]
mov ebx, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0x44], edx
sub ebp, ecx
lea eax, [ecx + 4]
xor esi, esi
lea edx, [ebx + 0xc]
sub ebx, ecx
lea ecx, [esp + 0x3c]
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + esi*4 + 0x34]
lea eax, [eax + 0x10]
add ecx, dword [edx - 0xc]
lea edx, [edx + 0x10]
mov dword [eax - 0x14], ecx
add esi, 4
mov ecx, dword [eax + ebx - 0x10]
add ecx, dword [eax + edi - 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 [eax + ecx - 0x10]
add ecx, dword [edx - 0x10]
mov dword [eax - 8], ecx
cmp esi, 0x10
jl 0x10021ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret