Function at 0x4012c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
push ebx
push esi
movups xmm0, xmmword [eax]
push edi
mov dword [ebp - 0x1c], 0xc
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x4c], xmm0
mov esi, dword [ebp - 0x4c]
movups xmm0, xmmword [eax + 0x20]
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 8], esi
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
add eax, esi
mov edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x3c]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 8]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x60], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x14], eax
add eax, ecx
mov dword [ebp - 0x70], eax
xor eax, esi
mov ecx, dword [ebp - 0x38]
rol eax, 7
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x58]
mov edx, eax
xor edx, dword [ebp - 0xc]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 4]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0xc], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x6c], eax
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
xor eax, esi
rol eax, 7
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
add eax, edi
mov edx, eax
xor edx, dword [ebp - 0x10]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, edi
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x64], eax
xor eax, edx
mov edx, dword [ebp - 0x30]
rol eax, 8
mov dword [ebp - 0x78], eax
lea edi, [eax + ecx]
mov ecx, dword [ebp - 0x50]
add ecx, ebx
mov eax, edi
xor eax, esi
mov esi, dword [ebp - 0x18]
xor esi, ecx
rol eax, 7
rol esi, 0x10
add edx, esi
mov dword [ebp - 0x10], eax
xor ebx, edx
rol ebx, 0xc
mov eax, ebx
add ecx, eax
mov dword [ebp - 0x74], ecx
xor ecx, esi
rol ecx, 8
lea ebx, [ecx + edx]
mov edx, ebx
xor edx, eax
mov eax, dword [ebp - 4]
rol edx, 7
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov edx, eax
xor edx, ecx
rol edx, 0x10
lea ecx, [edx + edi]
mov edi, dword [ebp - 0x10]
mov esi, ecx
xor esi, dword [ebp - 4]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x5c], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
add eax, ecx
mov dword [ebp - 0x34], eax
xor eax, esi
rol eax, 7
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov esi, dword [ebp - 8]
mov ecx, eax
xor ecx, dword [ebp - 0x14]
rol ecx, 0x10
lea edx, [ecx + ebx]
mov ebx, dword [ebp - 0x68]
xor edi, edx
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x58], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
add eax, edx
mov edx, dword [ebp - 0x70]
xor edi, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
add eax, ebx
rol edi, 7
mov ecx, eax
mov dword [ebp - 0x44], edi
xor ecx, dword [ebp - 0x6c]
rol ecx, 0x10
add edx, ecx
xor ebx, edx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 0x54], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], eax
add eax, edx
mov edx, dword [ebp - 0x7c]
xor ebx, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
add eax, esi
rol ebx, 7
mov ecx, eax
mov dword [ebp - 0x40], ebx
xor ecx, dword [ebp - 0x78]
rol ecx, 0x10
add edx, ecx
xor esi, edx
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x50], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
add eax, edx
xor esi, eax
mov dword [ebp - 0x38], eax
rol esi, 7
mov dword [ebp - 8], esi
sub dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], esi
jne 0x401324
mov ecx, dword [ebp - 0x80]
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x58]
xor edx, edx
sub esi, ecx
sub edi, ecx
lea eax, [ecx + 8]
nop dword [eax]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
add dword [ebp + edx*4 - 0x5c], ecx
mov ecx, dword [eax - 0x14]
add dword [ebp + edx*4 - 0x58], ecx
add edx, 4
mov ecx, dword [eax - 0x10]
add dword [esi + eax - 0x10], ecx
mov ecx, dword [eax - 0xc]
add dword [edi + eax - 0x10], ecx
cmp edx, 0x10
jb 0x4014f0
mov edx, dword [ebp - 0x84]
xor esi, esi
add edx, 2
mov al, byte [ebp + esi*4 - 0x5c]
lea edx, [edx + 4]
mov ecx, dword [ebp + esi*4 - 0x5c]
inc esi
mov byte [edx - 6], al
mov eax, ecx
shr eax, 8
mov byte [edx - 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx - 4], al
mov byte [edx - 3], cl
cmp esi, 0x10
jb 0x401522
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret