Function at 0x40a0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x472128]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x88], ecx
movups xmm0, xmmword [ecx]
push ebx
push esi
movups xmmword [ebp - 0x44], xmm0
push edi
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jle 0x40a380
dec eax
mov edi, dword [ebp - 8]
shr eax, 1
mov ebx, dword [ebp - 0x18]
inc eax
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x4c], ecx
nop dword [eax]
lea eax, [ecx + edx]
rol eax, 7
xor eax, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], eax
rol ecx, 9
xor ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [ebp - 0x8c], ecx
rol eax, 0xd
xor eax, edx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
add eax, ecx
rol eax, 0x12
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
lea eax, [esi + edx]
rol eax, 7
xor eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
lea ecx, [eax + edx]
rol ecx, 9
xor ecx, dword [ebp - 0x48]
mov dword [ebp - 0x98], ecx
lea esi, [eax + ecx]
rol esi, 0xd
xor esi, dword [ebp - 0x70]
lea eax, [esi + ecx]
rol eax, 0x12
xor eax, edx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
lea eax, [edi + edx]
rol eax, 7
xor eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
lea ecx, [eax + edx]
rol ecx, 9
xor ecx, dword [ebp - 0x74]
lea edi, [ecx + eax]
rol edi, 0xd
xor edi, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edi
lea eax, [ecx + edi]
rol eax, 0x12
xor eax, edx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
lea eax, [ebx + edx]
rol eax, 7
xor eax, dword [ebp - 0x78]
add edx, eax
rol edx, 9
xor edx, dword [ebp - 0x7c]
lea ebx, [edx + eax]
rol ebx, 0xd
xor ebx, dword [ebp - 0x50]
mov dword [ebp - 0x50], ebx
lea edi, [edx + ebx]
mov ebx, edi
mov dword [ebp - 0x48], edi
rol ebx, 0x12
xor ebx, dword [ebp - 0x68]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x4c]
add ebx, eax
rol ebx, 7
xor ebx, esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x40], ebx
lea edi, [ebx + esi]
rol edi, 9
xor edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x3c], edi
lea ecx, [ebx + edi]
rol ecx, 0xd
xor ecx, eax
mov dword [ebp - 0x78], ecx
lea eax, [edi + ecx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x54]
rol eax, 0x12
xor eax, esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
lea ebx, [ecx + eax]
rol ebx, 7
xor ebx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x2c], ebx
mov edi, dword [ebp - 0x6c]
lea esi, [eax + ebx]
rol esi, 9
xor esi, edx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x28], esi
lea edx, [esi + ebx]
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], edx
lea ecx, [edx + esi]
rol ecx, 0x12
xor ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x18], edx
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, dword [ebp - 0x8c]
add edx, ebx
mov dword [ebp - 0x58], ebx
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x20], edx
lea ecx, [edx + ebx]
rol ecx, 0x12
xor ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x90]
lea edx, [eax + ecx]
rol edx, 7
xor edx, dword [ebp - 0x94]
lea ebx, [edx + eax]
rol ebx, 9
xor ebx, dword [ebp - 0x98]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x10], ebx
lea esi, [edx + ebx]
rol esi, 0xd
xor esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0xc], esi
lea ecx, [esi + ebx]
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x70]
rol ecx, 0x12
xor ecx, eax
sub dword [ebp - 0x84], 1
mov dword [ebp - 0x68], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x4c]
jne 0x40a190
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x9c]
lea esi, [edx + 0x3c]
xor eax, eax
lea edi, [ebp - 0x44]
cmp edi, esi
ja 0x40a393
lea edi, [ebp - 8]
cmp edi, edx
jae 0x40a3b0
lea edi, [ecx + 0x3c]
lea ebx, [ebp - 0x44]
cmp ebx, edi
ja 0x40a3a4
lea ebx, [ebp - 8]
cmp ebx, ecx
jae 0x40a3b0
cmp edx, edi
ja 0x40a3e0
cmp esi, ecx
jb 0x40a3e0
nop dword [eax]
mov ecx, dword [ecx + eax*4]
add dword [ebp + eax*4 - 0x44], ecx
mov ecx, dword [ebp + eax*4 - 0x44]
mov dword [edx + eax*4], ecx
inc eax
mov ecx, dword [ebp - 0x88]
cmp eax, 0x10
jl 0x40a3b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421234
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp + eax*4 - 0x44]
movups xmm1, xmmword [ecx + eax*4]
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x44], xmm1
movups xmmword [edx + eax*4], xmm1
add eax, 4
cmp eax, 0x10
jl 0x40a3e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421234
mov esp, ebp
pop ebp
ret