Function at 0x401130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
cmp dword [ebp + 8], 0
mov eax, ecx
movups xmm3, xmmword [edx]
mov dword [ebp - 0x80], edx
movups xmm1, xmmword [edx + 0x10]
mov dword [ebp - 0x84], eax
movups xmm4, xmmword [edx + 0x20]
movups xmm5, xmmword [edx + 0x30]
movups xmmword [ebp - 0x58], xmm3
movups xmmword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x38], xmm4
movups xmmword [ebp - 0x28], xmm5
jle 0x401380
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
push ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
push esi
push edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x58]
add eax, edi
mov esi, eax
xor esi, ecx
mov ecx, dword [ebp - 0x38]
rol esi, 0x10
add ecx, esi
mov edi, ecx
xor edi, dword [ebp - 4]
rol edi, 0xc
add eax, edi
mov dword [ebp - 4], eax
xor eax, esi
rol eax, 8
mov dword [ebp - 0x5c], eax
add eax, ecx
mov dword [ebp - 0x6c], eax
xor eax, edi
rol eax, 7
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
mov esi, eax
xor esi, dword [ebp - 0xc]
rol esi, 0x10
add ecx, esi
mov edi, ecx
xor edi, dword [ebp - 8]
rol edi, 0xc
add eax, edi
mov dword [ebp - 0xc], eax
xor eax, esi
rol eax, 8
mov dword [ebp - 0x68], eax
add eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
xor eax, edi
rol eax, 7
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
add eax, ebx
mov esi, eax
xor esi, dword [ebp - 0x10]
rol esi, 0x10
add ecx, esi
mov edi, ecx
xor edi, ebx
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x64], eax
xor eax, esi
rol eax, 8
mov dword [ebp - 0x78], eax
lea ebx, [eax + ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
xor eax, edi
rol eax, 7
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov esi, eax
xor esi, dword [ebp - 0x18]
rol esi, 0x10
add ecx, esi
xor edx, ecx
rol edx, 0xc
add eax, edx
mov edi, eax
mov dword [ebp - 0x70], eax
xor edi, esi
rol edi, 8
lea eax, [edi + ecx]
mov dword [ebp - 0x14], eax
xor eax, edx
rol eax, 7
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov ecx, eax
xor ecx, edi
rol ecx, 0x10
lea esi, [ecx + ebx]
mov edi, esi
xor edi, dword [ebp - 8]
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x58], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
add eax, esi
mov dword [ebp - 0x30], eax
xor eax, edi
mov esi, dword [ebp - 0x14]
rol eax, 7
mov dword [ebp - 8], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov ecx, eax
mov edi, dword [ebp - 0x74]
xor ecx, dword [ebp - 0x5c]
rol ecx, 0x10
add esi, ecx
mov ebx, esi
xor ebx, dword [ebp - 0x10]
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 0x54], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
add eax, esi
mov esi, dword [ebp - 0x6c]
xor ebx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x60]
mov ecx, eax
rol ebx, 7
xor ecx, dword [ebp - 0x68]
rol ecx, 0x10
add esi, ecx
mov edx, esi
xor edx, dword [ebp - 0x60]
rol edx, 0xc
add eax, edx
mov dword [ebp - 0x50], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], eax
add eax, esi
mov esi, dword [ebp - 0x7c]
xor edx, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
add eax, edi
rol edx, 7
mov ecx, eax
xor ecx, dword [ebp - 0x78]
rol ecx, 0x10
add esi, ecx
mov dword [ebp - 4], esi
xor dword [ebp - 4], edi
mov edi, dword [ebp - 4]
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x4c], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
add eax, esi
xor edi, eax
mov dword [ebp - 0x34], eax
rol edi, 7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
dec eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], edi
mov dword [ebp + 8], eax
test eax, eax
jg 0x401197
movups xmm5, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x84]
movups xmm4, xmmword [ebp - 0x38]
pop edi
movups xmm3, xmmword [ebp - 0x58]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x40], ebx
movups xmm1, xmmword [ebp - 0x48]
pop esi
pop ebx
nop word [eax + eax]
movups xmm0, xmmword [edx]
movups xmm2, xmmword [edx + 0x10]
paddd xmm3, xmm0
movups xmm0, xmmword [edx + 0x30]
paddd xmm2, xmm1
movups xmm1, xmmword [edx + 0x20]
movups xmmword [eax], xmm3
paddd xmm1, xmm4
paddd xmm0, xmm5
movups xmmword [eax + 0x10], xmm2
movups xmmword [eax + 0x20], xmm1
movups xmmword [eax + 0x30], xmm0
mov esp, ebp
pop ebp
ret