Function at 0x435ad0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x18
mov ecx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
test bl, 3
jne 0x435c4d
test dl, 3
jne 0x435c4d
test cl, 3
jne 0x435c4d
mov esi, dword [esp + 0x38]
xor ebp, ebp
mov edi, esi
shr edi, 2
mov dword [esp + 0x10], edi
test edi, edi
je 0x435c2e
cmp edi, 0x10
jb 0x435be7
lea eax, [ecx - 4]
lea eax, [eax + edi*4]
cmp ebx, eax
ja 0x435b36
lea eax, [ebx - 4]
lea eax, [eax + edi*4]
cmp eax, ecx
jae 0x435be7
lea eax, [edx - 4]
lea eax, [eax + edi*4]
cmp ebx, eax
ja 0x435b4e
lea eax, [ebx - 4]
lea eax, [eax + edi*4]
cmp eax, edx
jae 0x435be7
mov eax, edi
mov edi, edx
sub edi, ecx
and eax, 0xfffffff0
mov dword [esp + 0x14], edi
mov edi, ebx
sub edi, ecx
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x10]
mov dword [esp + 0x18], edi
mov esi, edi
lea edi, [ebx + 0x20]
mov ecx, edx
sub ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x10]
mov ebx, dword [esp + 0x1c]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + ebp*4]
lea edi, [edi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [edi - 0x60], xmm1
movups xmm1, xmmword [ecx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [esi + eax - 0x40], xmm1
movups xmm1, xmmword [ebx + edi - 0x40]
mov ebx, dword [esp + 0x2c]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edi - 0x40], xmm1
movups xmm1, xmmword [edx + ebp*4 + 0x30]
add ebp, 0x10
pxor xmm1, xmm0
movups xmmword [edi - 0x30], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x435b80
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
cmp ebp, edi
jae 0x435c2e
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ebp*4]
sub ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
sub edx, dword [esp + 0x34]
sub edi, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
nop dword [eax + eax]
mov eax, dword [ecx + edx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [ecx + ebx - 4], eax
sub edi, 1
jne 0x435c10
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
shl ebp, 2
sub esi, ebp
mov dword [esp + 0x10], esi
je 0x435d52
add ebx, ebp
add edx, ebp
add ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
jmp 0x435c55
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], esi
xor edi, edi
test esi, esi
je 0x435d52
cmp esi, 0x40
jb 0x435d2f
lea eax, [ecx - 1]
lea ebp, [ebx - 1]
add eax, esi
add ebp, esi
cmp ebx, eax
ja 0x435c7e
cmp ebp, ecx
jae 0x435d2f
lea eax, [edx - 1]
add eax, esi
cmp ebx, eax
ja 0x435c8f
cmp ebp, edx
jae 0x435d2f
lea ebp, [ebx + 0x20]
mov eax, esi
mov dword [esp + 0x20], ebp
and eax, 0xffffffc0
mov ebp, edx
mov dword [esp + 0x24], eax
sub ebp, ecx
lea eax, [ecx + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, ebx
sub ebp, ecx
mov ecx, edx
sub ecx, ebx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + edx]
lea ebp, [ebp + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [ebp - 0x60], xmm1
movups xmm1, xmmword [eax + ecx - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [eax + ebx - 0x40], xmm1
movups xmm1, xmmword [esi + ebp - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [ebp - 0x40], xmm1
movups xmm1, xmmword [edi + edx + 0x30]
add edi, 0x40
pxor xmm1, xmm0
movups xmmword [ebp - 0x30], xmm1
cmp edi, dword [esp + 0x24]
jb 0x435cd0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp edi, esi
jae 0x435d52
sub edx, dword [esp + 0x34]
add ecx, edi
sub ebx, dword [esp + 0x34]
sub esi, edi
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x435d40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret