Function at 0x4017d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movups xmm0, xmmword [eax]
mov dword [ebp - 0x40], 0xa
movups xmmword [ebp - 0x80], xmm0
mov edi, dword [ebp - 0x7c]
movups xmm0, xmmword [eax + 0x10]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x24], edi
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0xc], edx
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x60], xmm0
mov ebx, dword [ebp - 0x60]
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x50], xmm0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
nop
lea eax, [esi + edx]
mov ecx, eax
shr eax, 0x19
shl ecx, 7
or ecx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x18], ecx
add edx, ecx
shl eax, 9
shr edx, 0x17
or edx, eax
xor edx, ebx
mov dword [ebp - 0x28], edx
lea ebx, [ecx + edx]
lea eax, [ecx + edx]
shr ebx, 0xc
shl eax, 0x14
or ebx, eax
xor ebx, esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x90], ebx
lea ecx, [edx + ebx]
lea eax, [edx + ebx]
shl ecx, 0x12
mov ebx, dword [ebp - 0x38]
shr eax, 0xe
or ecx, eax
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
lea eax, [ebx + edi]
mov ecx, eax
shr eax, 0x19
shl ecx, 7
or ecx, eax
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x88], ecx
lea edx, [ecx + ebx]
lea eax, [ecx + ebx]
shr edx, 0x17
shl eax, 9
or edx, eax
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x94], edx
lea edi, [edx + ecx]
lea eax, [ecx + edx]
shl edi, 0x14
shr eax, 0xc
or edi, eax
xor edi, dword [ebp - 0x24]
lea ecx, [edx + edi]
shl ecx, 0x12
lea eax, [edx + edi]
shr eax, 0xe
or ecx, eax
xor ecx, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
lea eax, [ebx + esi]
mov ecx, eax
shr eax, 0x19
shl ecx, 7
or ecx, eax
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x8c], ecx
lea edx, [ecx + ebx]
lea eax, [ecx + ebx]
shr edx, 0x17
shl eax, 9
or edx, eax
xor edx, dword [ebp - 8]
lea ebx, [ecx + edx]
lea eax, [ecx + edx]
shl ebx, 0x14
shr eax, 0xc
or ebx, eax
xor ebx, esi
mov dword [ebp - 0x20], ebx
lea ecx, [edx + ebx]
shl ecx, 0x12
lea eax, [edx + ebx]
shr eax, 0xe
or ecx, eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x3c]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x84], ecx
mov ecx, eax
shr eax, 0x19
shl ecx, 7
or ecx, eax
mov eax, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x2c]
lea esi, [eax + ecx]
add eax, ecx
shl eax, 9
shr esi, 0x17
or esi, eax
xor esi, dword [ebp - 0x34]
lea eax, [ecx + esi]
shr eax, 0xc
mov dword [ebp - 4], eax
lea eax, [ecx + esi]
shl eax, 0x14
or dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
lea ebx, [esi + eax]
add eax, esi
shr eax, 0xe
shl ebx, 0x12
or ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
lea ebx, [ecx + eax]
add eax, ecx
shl eax, 7
shr ebx, 0x19
or ebx, eax
xor ebx, edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x7c], ebx
lea eax, [edi + ebx]
shl eax, 9
mov dword [ebp - 8], eax
lea eax, [ebx + edi]
shr eax, 0x17
or dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x78], eax
lea edx, [eax + ebx]
add eax, ebx
shl eax, 0x14
shr edx, 0xc
or edx, eax
mov eax, dword [ebp - 8]
xor edx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x74], edx
lea ecx, [eax + edx]
add eax, edx
mov edx, dword [ebp - 0x18]
shl ecx, 0x12
shr eax, 0xe
or ecx, eax
xor ecx, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x1c]
lea edi, [edx + ecx]
lea eax, [edx + ecx]
shl edi, 7
shr eax, 0x19
or edi, eax
xor edi, dword [ebp - 0x20]
lea ebx, [ecx + edi]
mov dword [ebp - 0x30], edi
lea eax, [ecx + edi]
shl ebx, 9
shr eax, 0x17
or ebx, eax
mov dword [ebp - 0x68], edi
xor ebx, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x64], ebx
lea esi, [ebx + edi]
lea eax, [edi + ebx]
shr esi, 0xc
shl eax, 0x14
or esi, eax
xor esi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x70], esi
lea edx, [esi + ebx]
lea eax, [esi + ebx]
shr edx, 0xe
shl eax, 0x12
or edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x88]
lea ebx, [edx + ecx]
lea eax, [edx + ecx]
shl ebx, 7
shr eax, 0x19
or ebx, eax
xor ebx, dword [ebp - 4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x54], ebx
lea esi, [ecx + ebx]
lea eax, [ecx + ebx]
shl esi, 9
shr eax, 0x17
or esi, eax
xor esi, dword [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x60], esi
lea edi, [ebx + esi]
lea eax, [esi + ebx]
shl edi, 0x14
shr eax, 0xc
or edi, eax
xor edi, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x5c], edi
lea edx, [edi + esi]
lea eax, [edi + esi]
shl edx, 0x12
shr eax, 0xe
or edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x8c]
lea esi, [edx + ecx]
shl esi, 7
lea eax, [edx + ecx]
shr eax, 0x19
or esi, eax
xor esi, dword [ebp - 0x90]
lea ebx, [esi + ecx]
shr ebx, 0x17
lea eax, [ecx + esi]
shl eax, 9
or ebx, eax
xor ebx, dword [ebp - 0x94]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x4c], ebx
lea edi, [esi + ebx]
lea eax, [ebx + esi]
shl edi, 0x14
shr eax, 0xc
or edi, eax
xor edi, edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x48], edi
lea edx, [edi + ebx]
lea eax, [edi + ebx]
shr edx, 0xe
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
shl eax, 0x12
or edx, eax
xor edx, ecx
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0xc]
jne 0x401860
mov edx, dword [ebp + 0xc]
lea ebx, [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], esi
mov esi, 2
mov dword [ebp + 8], 4
lea edi, [edx + 0xc]
sub edx, ecx
lea eax, [ecx + 4]
mov dword [ebp + 0xc], edx
mov ecx, dword [edi - 0xc]
lea edx, [esi - 1]
add ecx, dword [ebx]
lea ebx, [ebx + 0x10]
mov dword [eax - 4], ecx
lea eax, [eax + 0x10]
lea ecx, [esi - 1]
shr edx, 2
and ecx, 3
lea edi, [edi + 0x10]
lea esi, [esi + 4]
lea ecx, [ecx + edx*4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + ecx*4 - 0x80]
add ecx, dword [eax + edx - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [ebp + esi*4 - 0x90]
add ecx, dword [edi - 0x14]
mov dword [eax - 0xc], ecx
mov ecx, dword [ebp + esi*4 - 0x8c]
add ecx, dword [edi - 0x10]
sub dword [ebp + 8], 1
mov dword [eax - 8], ecx
jne 0x401b76
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8