Function at 0x4b6020
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b609e
test ecx, ecx
je 0x4b609e
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 0xc]
jne 0x4b60b0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
cmp eax, esi
mov ecx, esi
cmovb ecx, eax
test ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 4], edi
je 0x4b60bc
xor edx, edx
xor ebp, ebp
nop dword [eax + eax]
mov esi, dword [ebx + ebp*4]
mov eax, ebx
mov edi, dword [esp + 4]
mov ebx, dword [edi + ebp*4]
mov edi, esi
sub edi, ebx
xor ebx, esi
xor edi, esi
or edi, ebx
xor edi, esi
sar edi, 0x1f
or edi, 1
test ebx, ebx
mov ebx, eax
cmovne edx, edi
add ebp, 1
cmp ecx, ebp
jne 0x4b6070
jmp 0x4b60be
xor edx, edx
test ecx, ecx
setne dl
neg eax
sbb eax, eax
or eax, edx
jmp 0x4b6396
neg edx
sbb eax, eax
or eax, 1
jmp 0x4b6396
xor edx, edx
mov dword [esp], edx
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, dword [esp + 0x14]
sub edx, edi
jae 0x4b60ea
mov edx, edi
sub edx, eax
xor ecx, ecx
cmp edx, 8
jae 0x4b60ff
mov ebp, dword [esp + 8]
mov edx, dword [esp]
jmp 0x4b6260
jbe 0x4b6133
xor ecx, ecx
cmp edx, 8
jae 0x4b613f
mov ebp, dword [esp + 8]
mov edx, dword [esp]
jmp 0x4b6370
mov ecx, edx
and ecx, 0xfffffff8
mov dword [esp + 0xc], ecx
add ecx, 0xfffffff8
mov ebp, ecx
shr ebp, 3
add ebp, 1
mov ebx, ebp
and ebx, 3
cmp ecx, 0x18
mov dword [esp + 0x10], edx
jae 0x4b617b
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
mov edx, dword [esp]
jmp 0x4b61f7
mov ebp, dword [esp + 8]
mov edx, dword [esp]
jmp 0x4b638d
mov dword [esp + 4], ebx
mov ecx, edx
and ecx, 0xfffffff8
mov dword [esp + 0xc], ecx
add ecx, 0xfffffff8
mov ebx, ecx
shr ebx, 3
add ebx, 1
mov esi, ebx
and esi, 3
cmp ecx, 0x18
mov dword [esp + 0x10], edx
jae 0x4b627f
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
mov edx, dword [esp]
jmp 0x4b62f8
and ebp, 0xfffffffc
lea edi, [esi + eax*4]
add edi, 0x70
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
mov edx, dword [esp]
nop word cs:[eax + eax]
nop dword [eax + eax]
movdqu xmm2, xmmword [edi + ecx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [edi + ecx*4 - 0x50]
movdqu xmm3, xmmword [edi + ecx*4 - 0x40]
movdqu xmm4, xmmword [edi + ecx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [edi + ecx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [edi + ecx*4]
por xmm1, xmm2
add ecx, 0x20
add ebp, 0xfffffffc
jne 0x4b61a0
test ebx, ebx
je 0x4b622a
add ecx, eax
lea ecx, [esi + ecx*4]
add ecx, 0x10
shl ebx, 5
xor edi, edi
nop dword [eax + eax]
movdqu xmm2, xmmword [ecx + edi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [ecx + edi]
por xmm1, xmm2
add edi, 0x20
cmp ebx, edi
jne 0x4b6210
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ecx, xmm0
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], edi
mov ebp, dword [esp + 8]
je 0x4b626a
add eax, edi
mov edi, dword [esp + 0x14]
nop dword [eax + eax]
or ecx, dword [esi + eax*4]
add eax, 1
cmp edi, eax
jne 0x4b6260
mov eax, ecx
not eax
add ecx, 0xffffffff
and ecx, eax
sar ecx, 0x1f
not ecx
or edx, ecx
jmp 0x4b638d
and ebx, 0xfffffffc
mov ecx, eax
mov eax, dword [esp + 4]
lea ebp, [eax + edi*4]
add ebp, 0x70
mov eax, ecx
pxor xmm0, xmm0
xor ecx, ecx
pxor xmm1, xmm1
mov edx, dword [esp]
nop dword [eax]
movdqu xmm2, xmmword [ebp + ecx*4 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [ebp + ecx*4 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [ebp + ecx*4 - 0x50]
movdqu xmm3, xmmword [ebp + ecx*4 - 0x40]
movdqu xmm4, xmmword [ebp + ecx*4 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ebp + ecx*4 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ebp + ecx*4 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [ebp + ecx*4]
por xmm1, xmm2
add ecx, 0x20
add ebx, 0xfffffffc
jne 0x4b62a0
test esi, esi
je 0x4b633a
add ecx, edi
mov ebx, eax
mov eax, dword [esp + 4]
lea ecx, [eax + ecx*4]
add ecx, 0x10
mov eax, ebx
shl esi, 5
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax + eax]
movdqu xmm2, xmmword [ecx + ebx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [ecx + ebx]
por xmm1, xmm2
add ebx, 0x20
cmp esi, ebx
jne 0x4b6320
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd ecx, xmm0
mov ebx, dword [esp + 0xc]
cmp dword [esp + 0x10], ebx
mov ebp, dword [esp + 8]
je 0x4b637a
add edi, ebx
mov ebx, dword [esp + 4]
nop dword [eax + eax]
or ecx, dword [ebx + edi*4]
add edi, 1
cmp eax, edi
jne 0x4b6370
mov eax, ecx
not eax
add ecx, 0xffffffff
and ecx, eax
sar ecx, 0x1f
and edx, ecx
add edx, ecx
add edx, 1
mov eax, edx
neg eax
test ebp, ebp
cmove eax, edx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret