Function at 0x432150
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, edx
push esi
mov esi, dword [esp + 0x2c]
mov edx, esi
push edi
shr edx, 2
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
test edx, edx
je 0x432285
cmp edx, 8
jb 0x432236
lea eax, [ebp - 4]
mov dword [esp + 0x10], ecx
lea eax, [eax + edx*4]
cmp edi, eax
ja 0x4321a3
lea eax, [edi - 4]
lea eax, [eax + edx*4]
cmp eax, ebp
jae 0x432236
lea eax, [ebx - 4]
lea eax, [eax + edx*4]
cmp edi, eax
ja 0x4321b7
lea eax, [edi - 4]
lea eax, [eax + edx*4]
cmp eax, ebx
jae 0x432236
mov esi, ebx
mov eax, edx
sub esi, ebp
and eax, 0xfffffff8
mov dword [esp + 0x10], esi
mov edx, ebx
mov esi, edi
mov dword [esp + 0x20], eax
sub esi, ebp
lea eax, [ebp + 0x10]
mov ebp, dword [esp + 0x10]
sub edx, edi
mov dword [esp + 0x18], esi
mov esi, edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add ecx, 8
lea esi, [esi + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi - 0x20]
pxor xmm1, xmm0
movups xmmword [esi - 0x20], xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [edx + eax - 0x20], xmm1
cmp ecx, dword [esp + 0x20]
jb 0x4321f0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp ecx, edx
jae 0x432285
mov eax, ebx
lea ecx, [ecx*4]
sub eax, ebp
add ecx, ebp
mov dword [esp + 0x24], eax
mov eax, edi
mov esi, dword [esp + 0x24]
sub eax, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
sub edx, eax
mov ebp, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [ecx + ebp - 4], eax
sub edx, 1
jne 0x432267
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
shl ecx, 2
sub esi, ecx
mov dword [esp + 0x30], esi
je 0x432372
add edi, ecx
add ebx, ecx
add ebp, ecx
mov dword [esp + 0x10], edi
xor edx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebp
test esi, esi
je 0x432372
cmp esi, 0x20
jb 0x43234f
lea eax, [ebp - 1]
lea ecx, [edi - 1]
add eax, esi
add ecx, esi
cmp edi, eax
ja 0x4322cf
cmp ecx, ebp
jae 0x43234f
lea eax, [ebx - 1]
add eax, esi
cmp edi, eax
ja 0x4322dc
cmp ecx, ebx
jae 0x43234f
mov eax, esi
lea ecx, [edi + 0x10]
mov esi, ebx
and eax, 0xffffffe0
sub esi, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
mov eax, ebp
mov esi, edi
sub esi, ebp
mov ebp, ebx
sub ebp, edi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
add edx, 0x20
lea eax, [eax + 0x20]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [edi + eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ecx - 0x20]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp edx, dword [esp + 0x18]
jb 0x432312
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
cmp edx, esi
jae 0x432372
sub ebx, ebp
lea ecx, [edx + ebp]
sub edi, ebp
sub esi, edx
nop dword [eax]
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edi + ecx - 1], al
sub esi, 1
jne 0x432360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret