Function at 0x45bde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea ebx, [ecx + 3]
mov eax, ecx
xor edi, edi
and ebx, 0xfffffffc
mov ecx, ebx
mov dword [ebp - 0x10], ebx
sub ecx, eax
sub edx, ecx
mov esi, edx
mov dword [ebp - 0x14], edx
and esi, 3
cmp ebx, eax
mov ebx, 0
je 0x45be2e
mov ecx, eax
xor ebx, ebx
sub ecx, dword [ebp - 0x10]
nop word cs:[eax + eax]
nop
xor edx, edx
cmp byte [eax], 0xc0
setge dl
inc eax
add ebx, edx
inc ecx
jne 0x45be20
mov edx, dword [ebp - 0x14]
test esi, esi
je 0x45be4e
mov ecx, edx
xor edi, edi
and ecx, 0xfffffffc
add ecx, dword [ebp - 0x10]
nop
xor eax, eax
cmp byte [ecx], 0xc0
setge al
inc ecx
add edi, eax
dec esi
jne 0x45be40
add edi, ebx
movdqa xmm2, xmmword [0x54b400]
mov ebx, dword [ebp - 0x10]
shr edx, 2
pcmpeqd xmm7, xmm7
jmp 0x45bea4
mov esi, dword [ebp - 0x18]
nop word [eax + eax]
mov ecx, eax
shr eax, 8
sub edx, esi
and ecx, 0xff00ff
and eax, 0xff00ff
add eax, ecx
mov ecx, esi
mov edi, eax
and ecx, 3
shl edi, 0x10
add edi, eax
mov eax, dword [ebp - 0x10]
shr edi, 0x10
add edi, dword [ebp - 0x14]
test ecx, ecx
lea ebx, [eax + esi*4]
jne 0x45c052
mov eax, edi
test edx, edx
je 0x45c09c
cmp edx, 0xc0
mov esi, 0xc0
mov dword [ebp - 0x14], eax
mov ecx, ebx
mov dword [ebp - 0x10], ebx
cmovb esi, edx
xor eax, eax
cmp esi, 4
jb 0x45be70
mov edi, esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor eax, eax
shr edi, 2
lea esi, [edi - 1]
and esi, 0xfffffff
cmp esi, 3
mov ebx, ecx
jb 0x45c003
inc esi
pxor xmm3, xmm3
mov dword [ebp - 0x1c], esi
and esi, 0xfffffffc
mov ebx, esi
mov eax, esi
shl ebx, 4
nop
movdqu xmm2, xmmword [ecx]
movdqu xmm1, xmmword [ecx + 0x20]
movdqu xmm4, xmmword [ecx + 0x10]
movdqu xmm7, xmmword [ecx + 0x30]
add ecx, 0x40
add eax, 0xfffffffc
movdqa xmm5, xmm2
movdqa xmm0, xmm1
punpckhdq xmm1, xmm7
punpckhdq xmm2, xmm4
punpckldq xmm5, xmm4
punpckldq xmm0, xmm7
pcmpeqd xmm7, xmm7
movdqa xmm4, xmm2
punpckhqdq xmm2, xmm1
movdqa xmm6, xmm5
punpckhqdq xmm5, xmm0
punpcklqdq xmm4, xmm1
movdqa xmm1, xmmword [0x54b400]
punpcklqdq xmm6, xmm0
movdqa xmm0, xmm6
psrld xmm6, 6
pxor xmm0, xmm7
psrld xmm0, 7
por xmm6, xmm0
movdqa xmm0, xmm5
psrld xmm5, 6
pxor xmm0, xmm7
pand xmm6, xmm1
psrld xmm0, 7
paddd xmm6, xmm3
movdqa xmm3, xmm2
psrld xmm2, 6
por xmm5, xmm0
movdqa xmm0, xmm4
pxor xmm3, xmm7
psrld xmm4, 6
pxor xmm0, xmm7
psrld xmm3, 7
pand xmm5, xmm1
psrld xmm0, 7
por xmm2, xmm3
por xmm4, xmm0
pand xmm2, xmm1
pand xmm4, xmm1
movdqa xmm3, xmm2
paddd xmm4, xmm5
paddd xmm4, xmm6
paddd xmm3, xmm4
jne 0x45bf00
pshufd xmm0, xmm3, 0xee
movdqa xmm2, xmmword [0x54b400]
cmp dword [ebp - 0x1c], esi
paddd xmm0, xmm3
pshufd xmm1, xmm0, 0x55
paddd xmm1, xmm0
movd eax, xmm1
je 0x45be64
mov ecx, dword [ebp - 0x10]
add ebx, ecx
mov esi, dword [ebp - 0x18]
shl edi, 4
add edi, ecx
nop dword [eax + eax]
movdqu xmm0, xmmword [ebx]
add ebx, 0x10
movdqa xmm1, xmm0
psrld xmm0, 6
pxor xmm1, xmm7
psrld xmm1, 7
por xmm0, xmm1
pand xmm0, xmm2
pshufd xmm1, xmm0, 0xee
paddd xmm1, xmm0
pshufd xmm0, xmm1, 0x55
paddd xmm0, xmm1
movd ecx, xmm0
add eax, ecx
cmp ebx, edi
jne 0x45c010
jmp 0x45be70
and esi, 0xfc
shl ecx, 2
lea edx, [eax + esi*4]
xor eax, eax
mov esi, dword [edx]
add edx, 4
mov ebx, esi
shr esi, 6
not ebx
shr ebx, 7
or esi, ebx
and esi, 0x1010101
add eax, esi
add ecx, 0xfffffffc
jne 0x45c060
mov ecx, eax
shr eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff
add eax, ecx
mov ecx, eax
shl eax, 0x10
add eax, ecx
shr eax, 0x10
add eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret