Function at 0x428f30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x38]
mov esi, ecx
mov ebp, edx
mov dword [esp + 0x14], edi
shr ebp, 2
xor ecx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x42908e
cmp ebp, 0x10
jb 0x42903d
lea eax, [ebx - 4]
mov dword [esp + 0x10], ecx
lea eax, [eax + ebp*4]
cmp esi, eax
ja 0x428f8b
lea eax, [esi - 4]
lea eax, [eax + ebp*4]
cmp eax, ebx
jae 0x42903d
lea eax, [edi - 4]
lea eax, [eax + ebp*4]
cmp esi, eax
ja 0x428fa3
lea eax, [esi - 4]
lea eax, [eax + ebp*4]
cmp eax, edi
jae 0x42903d
mov edx, edi
mov eax, ebp
sub edx, ebx
and eax, 0xfffffff0
mov dword [esp + 0x10], edx
mov edx, esi
mov ebp, dword [esp + 0x10]
sub edx, ebx
mov dword [esp + 0x24], edx
mov edx, edi
sub edx, esi
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x24]
lea edx, [esi + 0x20]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + ecx*4]
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [edx - 0x60], xmm1
movups xmm1, xmmword [eax + ebp - 0x40]
mov ebp, dword [esp + 0x28]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [ebx + eax - 0x40], xmm1
movups xmm1, xmmword [edx + ebp - 0x40]
mov ebp, dword [esp + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [edi + ecx*4 + 0x30]
add ecx, 0x10
pxor xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
cmp ecx, dword [esp + 0x2c]
jb 0x428fd2
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
cmp ecx, ebp
jae 0x42908e
mov eax, edi
lea ecx, [ebx + ecx*4]
sub eax, ebx
mov dword [esp + 0x2c], eax
mov eax, esi
mov edx, dword [esp + 0x2c]
sub eax, ebx
sub ebp, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
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 ebp, 1
jne 0x429070
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
shl ecx, 2
sub edx, ecx
mov dword [esp + 0x38], edx
je 0x4291a2
add ebx, ecx
add esi, ecx
add edi, ecx
mov dword [esp + 0x34], ebx
xor ecx, ecx
test edx, edx
je 0x4291a2
cmp edx, 0x40
jb 0x429172
lea eax, [ebx - 1]
lea ebp, [esi - 1]
add eax, edx
add ebp, edx
cmp esi, eax
ja 0x4290d0
cmp ebp, ebx
jae 0x429172
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x4290e1
cmp ebp, edi
jae 0x429172
mov ebp, dword [esp + 0x14]
mov eax, edx
mov edx, ebp
and eax, 0xffffffc0
sub edx, dword [esp + 0x20]
add esi, 0x10
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x20]
sub ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, ebx
mov dword [esp + 0x24], ebp
mov ebx, edx
mov ebp, dword [esp + 0x2c]
movups xmm0, xmmword [eax]
mov edx, dword [esp + 0x24]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
lea esi, [esi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [eax + ebx - 0x40], xmm1
movups xmm1, xmmword [esi + edx - 0x40]
mov edx, dword [esp + 0x38]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [edi + ecx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [esi - 0x30], xmm1
movups xmm1, xmmword [edi + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi - 0x20], xmm1
cmp ecx, dword [esp + 0x1c]
jb 0x429113
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
cmp ecx, edx
jae 0x4291a2
sub ebp, dword [esp + 0x20]
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x18]
sub ebx, dword [esp + 0x20]
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [eax + ebp]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + ebx - 1], cl
sub edx, 1
jne 0x429190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret