Function at 0x46f570
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x178
movups xmmword [rsp + 0xd0], xmm6
movups xmmword [rsp + 0xe0], xmm7
movups xmmword [rsp + 0xf0], xmm8
movups xmmword [rsp + 0x100], xmm9
movups xmmword [rsp + 0x110], xmm10
movups xmmword [rsp + 0x120], xmm11
movups xmmword [rsp + 0x130], xmm12
movups xmmword [rsp + 0x140], xmm13
movups xmmword [rsp + 0x150], xmm14
movups xmmword [rsp + 0x160], xmm15
lea rax, [0x005ff600]
pxor xmm13, xmm13
lea rdx, [rax + 0xe0]
movdqu xmm7, xmmword [rcx + 0x70]
movdqu xmm3, xmmword [rcx + 0x40]
movdqu xmm15, xmmword [rcx + 0x60]
movdqu xmm12, xmm7
movdqu xmm4, xmmword [rcx]
movdqu xmm8, xmm3
movdqu xmm14, xmm12
movdqu xmm5, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x90], xmm3
movdqu xmm9, xmm15
movdqu xmm10, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x50], xmm4
movdqu xmm0, xmm4
movdqu xmm11, xmmword [rcx + 0x50]
movups xmmword [rsp + 0xc0], xmm7
movdqu xmm3, xmm5
movdqu xmm6, xmmword [rcx + 0x30]
movups xmmword [rsp + 0x60], xmm5
movups xmmword [rsp + 0xb0], xmm15
movdqu xmm7, xmm11
movdqu xmm15, xmm10
movups xmmword [rsp + 0x70], xmm10
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0xa0], xmm11
nop dword [rax]
pxor xmm0, xmmword [rax]
movdqu xmm1, xmm3
movdqu xmm12, xmm14
pshufb xmm0, xmmword [0x005ff6f0]
movdqu xmm2, xmm0
pxor xmm5, xmm5
pshufb xmm7, xmmword [0x005ff740]
movdqu xmm11, xmm7
aesenclast xmm2, xmm5
aesenclast xmm11, xmm5
pshufb xmm1, xmmword [0x005ff700]
pshufb xmm15, xmmword [0x005ff710]
movdqu xmm3, xmm8
movdqu xmm4, xmm1
movdqu xmm10, xmm15
pshufb xmm9, xmmword [0x005ff750]
movdqu xmm14, xmm11
movdqu xmm15, xmm9
movdqu xmm9, xmm2
pshufb xmm12, xmmword [0x005ff760]
aesenclast xmm12, xmm5
movdqu xmm8, xmm12
movdqu xmm7, xmm2
aesenclast xmm4, xmm5
aesenclast xmm15, xmm5
pxor xmm9, xmm4
pxor xmm8, xmm15
movups xmmword [rsp + 0x10], xmm4
movdqu xmm2, xmm4
movups xmmword [rsp], xmm7
aesenclast xmm10, xmm5
add rax, 0x20
pshufb xmm6, xmmword [0x005ff720]
aesenclast xmm6, xmm5
movdqu xmm0, xmm6
pshufb xmm3, xmmword [0x005ff730]
aesenclast xmm3, xmm5
pxor xmm14, xmm3
movdqu xmm4, xmm14
movdqu xmm14, xmm8
pxor xmm7, xmm12
pxor xmm0, xmm10
pxor xmm2, xmm10
movdqu xmm5, xmm3
movdqu xmm1, xmm2
pxor xmm14, xmm4
movdqu xmm2, xmm15
pxor xmm5, xmm6
pxor xmm14, xmm10
movdqu xmm10, xmm7
pxor xmm2, xmm11
pxor xmm10, xmm2
pxor xmm10, xmm6
movdqu xmm6, xmm8
pxor xmm6, xmm9
pxor xmm6, xmm3
movups xmmword [rsp + 0x30], xmm6
movdqu xmm6, xmm7
pxor xmm6, xmm1
movdqu xmm3, xmm0
pxor xmm11, xmm6
movdqu xmm6, xmm4
pxor xmm6, xmm0
pxor xmm3, xmm9
pxor xmm6, xmmword [rsp]
pxor xmm3, xmm15
movups xmmword [rsp + 0x20], xmm6
movdqu xmm6, xmm3
movdqu xmm3, xmm2
movdqu xmm15, xmm5
pxor xmm3, xmm5
pxor xmm3, xmmword [rsp + 0x10]
movups xmmword [rsp + 0x10], xmm3
movdqu xmm3, xmm4
pxor xmm3, xmm1
pxor xmm15, xmm1
pxor xmm1, xmm8
pxor xmm15, xmm12
movdqu xmm12, xmm5
pxor xmm5, xmm8
movdqu xmm8, xmm13
movups xmmword [rsp], xmm15
pxor xmm12, xmm9
pcmpgtb xmm8, xmm12
movdqu xmm15, xmm2
pxor xmm2, xmm9
movdqu xmm9, xmm12
pxor xmm15, xmm0
pxor xmm4, xmm7
pxor xmm0, xmm7
paddb xmm9, xmm12
movdqu xmm7, xmm13
movups xmmword [rsp + 0x40], xmm6
movdqu xmm12, xmm8
pxor xmm9, xmm14
movdqu xmm8, xmm3
pand xmm12, xmmword [0x005ff770]
pxor xmm9, xmm12
movdqu xmm12, xmm13
pcmpgtb xmm7, xmm5
paddb xmm8, xmm3
pcmpgtb xmm12, xmm3
pxor xmm8, xmm10
pxor xmm14, xmmword [rax - 0x10]
movdqu xmm3, xmm12
movdqu xmm12, xmm15
pand xmm3, xmmword [0x005ff770]
pxor xmm8, xmm3
movdqu xmm3, xmm13
paddb xmm12, xmm15
pxor xmm12, xmmword [rsp + 0x30]
pcmpgtb xmm3, xmm15
pand xmm3, xmmword [0x005ff770]
pxor xmm12, xmm3
movdqu xmm3, xmm5
paddb xmm3, xmm5
movdqu xmm5, xmm7
movdqu xmm7, xmm13
pand xmm5, xmmword [0x005ff770]
pcmpgtb xmm7, xmm4
pxor xmm3, xmm11
pxor xmm5, xmm3
movdqu xmm3, xmm4
paddb xmm3, xmm4
pxor xmm3, xmm6
movdqu xmm4, xmm7
movdqu xmm7, xmm13
pand xmm4, xmmword [0x005ff770]
pxor xmm4, xmm3
pcmpgtb xmm7, xmm2
movdqu xmm3, xmm2
paddb xmm3, xmm2
pxor xmm3, xmmword [rsp]
movdqu xmm2, xmm7
pand xmm2, xmmword [0x005ff770]
pxor xmm2, xmm3
movdqu xmm3, xmm13
pcmpgtb xmm3, xmm1
paddb xmm1, xmm1
pand xmm3, xmmword [0x005ff770]
pxor xmm1, xmmword [rsp + 0x20]
pxor xmm1, xmm3
movdqu xmm3, xmm13
pcmpgtb xmm3, xmm0
paddb xmm0, xmm0
pand xmm3, xmmword [0x005ff770]
pxor xmm0, xmmword [rsp + 0x10]
pxor xmm0, xmm3
movdqu xmm3, xmm13
pcmpgtb xmm3, xmm5
paddb xmm5, xmm5
pand xmm3, xmmword [0x005ff770]
pxor xmm5, xmm3
pxor xmm14, xmm5
movdqu xmm5, xmm13
pshufb xmm14, xmmword [0x005ff6f0]
pcmpgtb xmm5, xmm4
paddb xmm4, xmm4
movdqu xmm6, xmmword [rsp + 0x30]
pxor xmm10, xmm4
movdqu xmm4, xmm13
pcmpgtb xmm4, xmm2
paddb xmm2, xmm2
pand xmm4, xmmword [0x005ff770]
pxor xmm6, xmm2
pxor xmm6, xmm4
movdqu xmm4, xmm13
movdqu xmm7, xmm5
pcmpgtb xmm4, xmm0
movdqu xmm2, xmm13
pand xmm7, xmmword [0x005ff770]
paddb xmm0, xmm0
pcmpgtb xmm2, xmm1
pxor xmm0, xmmword [rsp + 0x40]
paddb xmm1, xmm1
pxor xmm10, xmm7
movdqu xmm7, xmm13
pxor xmm11, xmm1
pshufb xmm10, xmmword [0x005ff700]
pxor xmm1, xmm1
movdqu xmm15, xmm4
movdqu xmm4, xmm14
pand xmm15, xmmword [0x005ff770]
pxor xmm15, xmm0
movdqu xmm0, xmm13
aesenclast xmm4, xmm1
pshufb xmm6, xmmword [0x005ff710]
pcmpgtb xmm7, xmm12
pcmpgtb xmm0, xmm9
movdqu xmm5, xmm10
movdqu xmm3, xmm6
pand xmm0, xmmword [0x005ff770]
movdqu xmm10, xmm4
paddb xmm9, xmm9
pxor xmm9, xmmword [rsp]
pand xmm7, xmmword [0x005ff770]
pxor xmm9, xmm0
paddb xmm12, xmm12
movdqu xmm0, xmm13
pxor xmm12, xmmword [rsp + 0x10]
pxor xmm7, xmm12
aesenclast xmm3, xmm1
pshufb xmm9, xmmword [0x005ff740]
pshufb xmm7, xmmword [0x005ff760]
movdqu xmm12, xmm9
aesenclast xmm7, xmm1
movdqu xmm14, xmm7
movups xmmword [rsp], xmm10
aesenclast xmm12, xmm1
aesenclast xmm5, xmm1
pcmpgtb xmm0, xmm8
pand xmm2, xmmword [0x005ff770]
movdqu xmm6, xmm4
movdqu xmm9, xmm10
pand xmm0, xmmword [0x005ff770]
movdqu xmm4, xmm12
pxor xmm11, xmm2
paddb xmm8, xmm8
pxor xmm8, xmmword [rsp + 0x20]
pshufb xmm11, xmmword [0x005ff720]
pxor xmm8, xmm0
aesenclast xmm11, xmm1
movdqu xmm0, xmm11
pshufb xmm15, xmmword [0x005ff730]
aesenclast xmm15, xmm1
movdqu xmm2, xmm15
pxor xmm6, xmm5
pshufb xmm8, xmmword [0x005ff750]
aesenclast xmm8, xmm1
movdqu xmm1, xmm5
pxor xmm14, xmm8
movdqu xmm10, xmm14
pxor xmm0, xmm3
pxor xmm1, xmm3
pxor xmm4, xmm15
pxor xmm9, xmm7
movups xmmword [rsp + 0x40], xmm5
pxor xmm2, xmm11
pxor xmm10, xmm4
movdqu xmm5, xmm2
pxor xmm10, xmm3
movdqu xmm2, xmm8
movdqu xmm3, xmm9
movups xmmword [rsp + 0x30], xmm10
pxor xmm2, xmm12
movdqu xmm10, xmmword [rsp]
pxor xmm3, xmm2
pxor xmm3, xmm11
movdqu xmm11, xmm14
movups xmmword [rsp + 0x20], xmm3
movdqu xmm3, xmm9
pxor xmm11, xmm6
pxor xmm15, xmm11
movdqu xmm11, xmm4
pxor xmm3, xmm1
pxor xmm11, xmm0
pxor xmm10, xmm11
movdqu xmm11, xmm0
pxor xmm3, xmm12
pxor xmm11, xmm6
pxor xmm11, xmm8
movdqu xmm8, xmm5
movups xmmword [rsp + 0x10], xmm3
pxor xmm8, xmm1
movdqu xmm3, xmm2
pxor xmm7, xmm8
movdqu xmm8, xmm5
pxor xmm8, xmm6
pxor xmm3, xmm0
movups xmmword [rsp], xmm11
movdqu xmm11, xmm8
movdqu xmm8, xmm4
pxor xmm4, xmm9
pxor xmm9, xmm0
movdqu xmm0, xmm13
pcmpgtb xmm0, xmm11
paddb xmm11, xmm11
pxor xmm8, xmm1
pand xmm0, xmmword [0x005ff770]
pxor xmm11, xmmword [rsp + 0x30]
pxor xmm11, xmm0
movdqu xmm0, xmm13
movdqu xmm12, xmm2
pcmpgtb xmm0, xmm8
paddb xmm8, xmm8
pxor xmm8, xmmword [rsp + 0x20]
pand xmm0, xmmword [0x005ff770]
pxor xmm8, xmm0
movdqu xmm0, xmm13
pxor xmm12, xmm5
pxor xmm12, xmmword [rsp + 0x40]
pcmpgtb xmm0, xmm3
paddb xmm3, xmm3
pxor xmm5, xmm14
pand xmm0, xmmword [0x005ff770]
pxor xmm3, xmm15
pxor xmm3, xmm0
movdqu xmm0, xmm13
pxor xmm2, xmm6
pcmpgtb xmm0, xmm5
paddb xmm5, xmm5
pxor xmm5, xmmword [rsp + 0x10]
pand xmm0, xmmword [0x005ff770]
pxor xmm5, xmm0
movdqu xmm0, xmm13
pxor xmm1, xmm14
pcmpgtb xmm0, xmm4
paddb xmm4, xmm4
pand xmm0, xmmword [0x005ff770]
pxor xmm4, xmmword [rsp]
pxor xmm4, xmm0
movdqu xmm0, xmm13
pcmpgtb xmm0, xmm2
paddb xmm2, xmm2
pand xmm0, xmmword [0x005ff770]
pxor xmm2, xmm7
pxor xmm2, xmm0
movdqu xmm0, xmm13
pcmpgtb xmm0, xmm1
paddb xmm1, xmm1
pand xmm0, xmmword [0x005ff770]
pxor xmm1, xmm10
pxor xmm1, xmm0
movdqu xmm0, xmm13
pcmpgtb xmm0, xmm9
pand xmm0, xmmword [0x005ff770]
movdqu xmm6, xmm0
movdqu xmm0, xmm9
paddb xmm0, xmm9
movdqu xmm9, xmm11
paddb xmm9, xmm11
pxor xmm0, xmm12
pxor xmm0, xmm6
pxor xmm7, xmm9
movdqu xmm9, xmm13
pcmpgtb xmm9, xmm11
movdqu xmm11, xmm13
pcmpgtb xmm11, xmm4
pand xmm11, xmmword [0x005ff770]
movdqu xmm6, xmm9
movdqu xmm9, xmm8
pand xmm6, xmmword [0x005ff770]
pxor xmm7, xmm6
paddb xmm9, xmm8
movdqu xmm6, xmm13
pxor xmm10, xmm9
movdqu xmm9, xmm13
pcmpgtb xmm6, xmm1
pand xmm6, xmmword [0x005ff770]
pcmpgtb xmm9, xmm8
movdqu xmm8, xmm3
pand xmm9, xmmword [0x005ff770]
pxor xmm9, xmm10
paddb xmm8, xmm3
pxor xmm12, xmm8
movdqu xmm8, xmm13
pcmpgtb xmm8, xmm3
movdqu xmm3, xmm13
pcmpgtb xmm3, xmm0
pand xmm3, xmmword [0x005ff770]
movdqu xmm14, xmm8
movdqu xmm8, xmmword [0x005ff770]
pand xmm8, xmm14
pxor xmm12, xmm8
movdqu xmm14, xmm12
movdqu xmm12, xmm2
paddb xmm12, xmm2
movdqu xmm8, xmm0
pxor xmm15, xmm12
movdqu xmm12, xmm13
paddb xmm8, xmm0
movdqu xmm0, xmm13
pcmpgtb xmm12, xmm2
pxor xmm8, xmmword [rsp]
pxor xmm8, xmm3
movdqu xmm3, xmm5
pcmpgtb xmm0, xmm5
paddb xmm3, xmm5
pand xmm0, xmmword [0x005ff770]
pxor xmm3, xmmword [rsp + 0x30]
pxor xmm0, xmm3
movdqu xmm3, xmm4
movdqu xmm10, xmm12
movdqu xmm12, xmm1
paddb xmm3, xmm4
pand xmm10, xmmword [0x005ff770]
paddb xmm12, xmm1
pxor xmm3, xmmword [rsp + 0x20]
pxor xmm12, xmmword [rsp + 0x10]
pxor xmm15, xmm10
pxor xmm6, xmm12
pxor xmm3, xmm11
cmp rdx, rax
jne 0x46f670
movdqu xmm4, xmm0
pxor xmm4, xmmword [rsp + 0x50]
movdqu xmm1, xmm4
movdqu xmm5, xmm3
pxor xmm5, xmmword [rsp + 0x60]
punpcklqdq xmm1, xmm5
punpckhqdq xmm4, xmm5
movdqu xmm5, xmmword [0x005ff6e0]
movdqu xmm3, xmm8
movdqu xmm10, xmm15
movdqu xmm11, xmm7
pxor xmm3, xmmword [rsp + 0x90]
pxor xmm10, xmmword [rsp + 0x70]
movdqu xmm0, xmm3
movdqu xmm8, xmm10
pxor xmm6, xmmword [rsp + 0x80]
pshufb xmm1, xmm5
movdqu xmm15, xmm9
movdqu xmm2, xmm3
pxor xmm11, xmmword [rsp + 0xa0]
movdqu xmm7, xmm1
punpcklqdq xmm8, xmm6
punpckhqdq xmm10, xmm6
pxor xmm15, xmmword [rsp + 0xb0]
punpcklqdq xmm0, xmm11
movdqu xmm6, xmm15
pshufb xmm0, xmm5
movdqu xmm3, xmm0
pshufb xmm8, xmm5
pshufb xmm10, xmm5
pshufb xmm4, xmm5
punpckhwd xmm7, xmm8
movdqu xmm12, xmm14
punpckhqdq xmm2, xmm11
punpcklwd xmm1, xmm8
pxor xmm12, xmmword [rsp + 0xc0]
pshufb xmm2, xmm5
punpcklqdq xmm6, xmm12
punpckhqdq xmm15, xmm12
pshufb xmm6, xmm5
pshufb xmm15, xmm5
punpckhwd xmm3, xmm6
movdqu xmm5, xmm2
punpcklwd xmm0, xmm6
pshufd xmm1, xmm1, 0xd8
pshufd xmm0, xmm0, 0xd8
punpckhwd xmm5, xmm15
movups xmmword [0x0065ca10], xmm8
pshufd xmm8, xmm3, 0xd8
pshufd xmm5, xmm5, 0xd8
movups xmmword [0x0065c9d0], xmm6
movdqu xmm6, xmm4
punpcklwd xmm4, xmm10
pshufd xmm3, xmm4, 0xd8
pshufd xmm4, xmm7, 0xd8
movdqu xmm7, xmm1
punpckhdq xmm4, xmm8
punpckhdq xmm1, xmm0
punpckldq xmm7, xmm0
movups xmmword [0x0065ca20], xmm1
movups xmmword [0x0065ca00], xmm4
movdqu xmm1, xmm3
movdqu xmm4, xmm3
punpckhwd xmm6, xmm10
movups xmmword [0x0065ca30], xmm7
punpcklwd xmm2, xmm15
pshufd xmm6, xmm6, 0xd8
pshufd xmm2, xmm2, 0xd8
movups xmm7, xmmword [rsp + 0xe0]
punpckhdq xmm1, xmm2
punpckldq xmm4, xmm2
movdqu xmm2, xmm6
movups xmm8, xmmword [rsp + 0xf0]
punpckhdq xmm6, xmm5
movups xmmword [0x0065c9c0], xmm6
punpckldq xmm2, xmm5
movups xmm9, xmmword [rsp + 0x100]
movups xmmword [rcx + 0x70], xmm6
movups xmm10, xmmword [rsp + 0x110]
movups xmmword [0x0065c9f0], xmm0
movups xmm6, xmmword [rsp + 0xd0]
movups xmmword [0x0065c9e0], xmm1
movups xmm11, xmmword [rsp + 0x120]
movups xmmword [rcx + 0x40], xmm4
movups xmm12, xmmword [rsp + 0x130]
movups xmmword [rcx + 0x50], xmm2
movups xmm13, xmmword [rsp + 0x140]
movups xmmword [rcx + 0x60], xmm1
movups xmm14, xmmword [rsp + 0x150]
movups xmm15, xmmword [rsp + 0x160]
add rsp, 0x178
ret