Function at 0x180030525
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1228
call fcn.180067820
sub rsp, rax
movdqa xmmword [rsp + 0x1210], xmm15
movdqa xmmword [rsp + 0x1200], xmm14
movdqa xmmword [rsp + 0x11f0], xmm13
movdqa xmmword [rsp + 0x11e0], xmm12
movdqa xmmword [rsp + 0x11d0], xmm11
movdqa xmmword [rsp + 0x11c0], xmm10
movdqa xmmword [rsp + 0x11b0], xmm9
movdqa xmmword [rsp + 0x11a0], xmm8
movdqa xmmword [rsp + 0x1190], xmm7
movdqa xmmword [rsp + 0x1180], xmm6
mov rsi, r8
mov r12, rdx
mov rdi, rcx
mov al, byte [0x1800a1528]
mov edx, 0x8000
xor ecx, ecx
call fcn.180061f70
test rax, rax
je 0x1800310a3
mov rbp, rax
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, rsi
mul rcx
shr rdx, 1
and rdx, 0xfffffffffffffff0
lea r13, [rdx + rdx*2]
cmp r13, 0x2f
ja 0x180030634
mov dword [rdi + 8], 7
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rcx, rbp
xor edx, edx
call fcn.180029d3f
mov qword [rsp + 0x48], rdi
pxor xmm6, xmm6
movabs rbx, 0xf00ff00f00000
movabs r15, 0xf0f00000f0f0000
movabs rsi, 0xf000ff000f0000
mov al, byte [0x1800a023c]
cmp al, 0xff
je 0x180030676
cmp al, 1
lea r14, [rsp + 0x620]
je 0x1800306c5
jmp 0x180030c26
lea r14, [rsp + 0x620]
mov rcx, r14
call fcn.18001b117
lea rcx, [rsp + 0x260]
call fcn.18001b139
mov edi, dword [rsp + 0x628]
mov eax, edi
not eax
test eax, 0xc000000
jne 0x180030c1f
call fcn.1800310b3
shr eax, 1
shr edi, 0x19
and edi, eax
and edi, 1
mov byte [0x1800a023c], dil
je 0x180030c26
movdqu xmm6, xmmword [r12]
movdqu xmm7, xmmword [r12 + 0x10]
movdqa xmmword [rsp + 0xa0], xmm7
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, [rsp + 0xa0]
call fcn.18001b15b
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmmword [rsp + 0x70], xmm6
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm2, xmm6
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm0, xmm6
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm0, xmm2
pxor xmm0, xmm6
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmm6, xmm0
mov rcx, rbp
lea rdx, [rsp + 0xb0]
call fcn.18001b166
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmmword [rsp + 0x60], xmm7
movdqa xmm1, xmm7
pslldq xmm1, 4
movdqa xmm2, xmm7
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm0, xmm7
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm0, xmm2
pxor xmm0, xmm7
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmm8, xmm0
mov rcx, rbp
lea rdx, [rsp + 0xc0]
call fcn.18001b171
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmmword [rsp + 0x90], xmm6
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm2, xmm6
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm7, xmm6
pslldq xmm7, 0xc
pxor xmm7, xmm1
pxor xmm7, xmm2
pxor xmm7, xmm6
movdqa xmmword [rsp + 0xd0], xmm7
mov rcx, rbp
lea rdx, [rsp + 0xd0]
call fcn.18001b166
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmmword [rsp + 0x80], xmm8
movdqa xmm1, xmm8
pslldq xmm1, 4
movdqa xmm2, xmm8
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm6, xmm8
pslldq xmm6, 0xc
pxor xmm6, xmm1
pxor xmm6, xmm2
pxor xmm6, xmm8
movdqa xmmword [rsp + 0xe0], xmm6
mov rcx, rbp
lea rdx, [rsp + 0xe0]
call fcn.18001b17c
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm7
pslldq xmm1, 4
movdqa xmm2, xmm7
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm9, xmm7
pslldq xmm9, 0xc
pxor xmm9, xmm1
pxor xmm9, xmm2
pxor xmm9, xmm7
movdqa xmmword [rsp + 0xf0], xmm9
mov rcx, rbp
lea rdx, [rsp + 0xf0]
call fcn.18001b166
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm2, xmm6
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm8, xmm6
pslldq xmm8, 0xc
pxor xmm8, xmm1
pxor xmm8, xmm2
pxor xmm8, xmm6
movdqa xmmword [rsp + 0x100], xmm8
mov rcx, rbp
lea rdx, [rsp + 0x100]
call fcn.18001b187
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm9
pslldq xmm1, 4
movdqa xmm2, xmm9
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm11, xmm9
pslldq xmm11, 0xc
pxor xmm11, xmm1
pxor xmm11, xmm2
pxor xmm11, xmm9
movdqa xmmword [rsp + 0x110], xmm11
mov rcx, rbp
lea rdx, [rsp + 0x110]
call fcn.18001b166
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm8
pslldq xmm1, 4
movdqa xmm2, xmm8
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm10, xmm8
pslldq xmm10, 0xc
pxor xmm10, xmm1
pxor xmm10, xmm2
pxor xmm10, xmm8
movdqa xmmword [rsp + 0x120], xmm10
mov rcx, rbp
lea rdx, [rsp + 0x120]
call fcn.18001b192
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm11
pslldq xmm1, 4
movdqa xmm2, xmm11
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm13, xmm11
pslldq xmm13, 0xc
pxor xmm13, xmm1
pxor xmm13, xmm2
pxor xmm13, xmm11
movdqa xmmword [rsp + 0x130], xmm13
mov rcx, rbp
lea rdx, [rsp + 0x130]
call fcn.18001b166
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm10
pslldq xmm1, 4
movdqa xmm2, xmm10
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm12, xmm10
pslldq xmm12, 0xc
pxor xmm12, xmm1
pxor xmm12, xmm2
pxor xmm12, xmm10
movdqa xmmword [rsp + 0x140], xmm12
mov rcx, rbp
lea rdx, [rsp + 0x140]
call fcn.18001b19d
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm13
pslldq xmm1, 4
movdqa xmm2, xmm13
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm15, xmm13
pslldq xmm15, 0xc
pxor xmm15, xmm1
pxor xmm15, xmm2
pxor xmm15, xmm13
movdqa xmmword [rsp + 0x150], xmm15
mov rcx, rbp
lea rdx, [rsp + 0x150]
call fcn.18001b166
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm12
pslldq xmm1, 4
movdqa xmm2, xmm12
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm14, xmm12
pslldq xmm14, 0xc
pxor xmm14, xmm1
pxor xmm14, xmm2
pxor xmm14, xmm12
movdqa xmmword [rsp + 0x170], xmm14
lea rcx, [rsp + 0x160]
mov rdx, rbp
call fcn.18001b1a8
pshufd xmm0, xmmword [rsp + 0x160], 0xff
movdqa xmm1, xmm15
pslldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm0, xmm15
pslldq xmm0, 4
movdqa xmm2, xmm15
pslldq xmm2, 0xc
pxor xmm2, xmm0
pxor xmm2, xmm1
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x170], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x180], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x190], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x1a0], xmm0
movdqa xmmword [rsp + 0x1b0], xmm7
movdqa xmmword [rsp + 0x1c0], xmm6
pxor xmm6, xmm6
movdqa xmmword [rsp + 0x1d0], xmm9
movdqa xmmword [rsp + 0x1e0], xmm8
movdqa xmmword [rsp + 0x1f0], xmm11
movdqa xmmword [rsp + 0x200], xmm10
movdqa xmmword [rsp + 0x210], xmm13
movdqa xmmword [rsp + 0x220], xmm12
pxor xmm2, xmm15
movdqa xmmword [rsp + 0x230], xmm15
movdqa xmmword [rsp + 0x240], xmm14
movdqa xmmword [rsp + 0x250], xmm2
lea rcx, [rsp + 0x350]
mov rdx, rbp
call fcn.1800310c0
mov r8d, 0xf0
lea rdi, [rsp + 0x260]
mov rcx, rdi
mov rdx, rbp
call fcn.180073920
mov r8d, 0x1e0
mov rcx, r14
mov rdx, rdi
jmp 0x180030ef4
mov byte [0x1800a023c], 0
mov qword [rsp + 0x60], r13
mov r8d, 0x3c0
lea r14, [rsp + 0x260]
mov rcx, r14
xor edx, edx
call fcn.180073fc0
mov qword [rsp + 0x20], r12
mov rcx, r14
mov rdx, r12
mov r8, r12
mov r9, r12
call fcn.180019daa
mov qword [rsp + 0x70], r12
lea rdx, [r12 + 0x10]
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x2a0]
mov r8, rdx
mov r9, rdx
call fcn.180019daa
mov ebp, 8
mov edi, 0x80
mov r12d, 0xc0
mov r13d, 0x80
mov rcx, r14
mov rdx, rbp
call fcn.180019f97
lea r14, [rsp + rdi]
add r14, 0x260
mov rcx, r14
call fcn.180019ff8
not qword [r14]
not qword [r14 + 8]
not qword [r14 + 0x28]
not qword [r14 + 0x30]
lea r14, [rsp + 0x260]
xor byte [rsp + r13 + 0x263], 0xf0
add rbp, 8
mov rcx, r14
mov rdx, rbp
mov r8d, 0x1c
call fcn.18001a2a5
cmp r13, 0x3b0
je 0x180030d54
mov rcx, r14
mov rdx, rbp
call fcn.180019f97
lea rcx, [rsp + r12]
add rcx, 0x260
call fcn.180019ff8
not qword [rsp + rdi + 0x2a0]
not qword [rsp + rdi + 0x2a8]
not qword [rsp + rdi + 0x2c8]
not qword [rsp + rdi + 0x2d0]
add rbp, 8
mov rcx, r14
mov rdx, rbp
mov r8d, 0xc
call fcn.18001a2a5
add r13, 0x88
mov eax, 0x80
add rdi, rax
add r12, rax
jmp 0x180030c91
mov eax, 3
lea rcx, [rsp + 0x320]
lea rdx, [rsp + 0x2e0]
lea r8, [rsp + 0x2a0]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
lea r14, [rsp + 0x620]
movabs rdi, 0xff000000ff0000
mov ebp, 0x100
dec rax
xor r9d, r9d
mov r10, qword [r8 + r9*8]
mov r11, r10
shr r11, 8
xor r11, r10
and r11, rbx
xor r10, r11
shl r11, 8
xor r11, r10
mov r10, r11
shr r10, 4
xor r10, r11
and r10, r15
xor r11, r10
shl r10, 4
xor r10, r11
mov qword [r8 + r9*8], r10
lea r10, [r9 + 1]
mov r9, r10
cmp r10, 8
jne 0x180030d98
xor r9d, r9d
mov r10, qword [rdx + r9*8]
mov r11, r10
shr r11, 8
xor r11, r10
and r11, rdi
xor r10, r11
shl r11, 8
xor r11, r10
mov qword [rdx + r9*8], r11
lea r10, [r9 + 1]
mov r9, r10
cmp r10, 8
jne 0x180030dde
xor r9d, r9d
mov r10, qword [rcx + r9*8]
mov r11, r10
shr r11, 8
xor r11, r10
and r11, rsi
xor r10, r11
shl r11, 8
xor r11, r10
mov r10, r11
shr r10, 4
xor r10, r11
and r10, r15
xor r11, r10
shl r10, 4
xor r10, r11
mov qword [rcx + r9*8], r10
lea r10, [r9 + 1]
mov r9, r10
cmp r10, 8
jne 0x180030e0d
add r8, rbp
add rdx, rbp
add rcx, rbp
test rax, rax
jne 0x180030d92
mov eax, 0x68
mov rcx, qword [rsp + rax*8 + 0x260]
mov rdx, rcx
shr rdx, 8
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
shl rdx, 8
xor rdx, rcx
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r15
xor rdx, rcx
shl rcx, 4
xor rcx, rdx
mov qword [rsp + rax*8 + 0x260], rcx
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 0x70
jne 0x180030e67
mov eax, 0x70
not qword [rsp + rax + 0x230]
not qword [rsp + rax + 0x238]
not qword [rsp + rax + 0x258]
not qword [rsp + rax + 0x260]
add rax, 0x40
cmp rax, 0x3f0
jne 0x180030eb7
mov r8d, 0x3c0
mov rcx, r14
lea rdx, [rsp + 0x260]
call fcn.180073920
lea rdi, [r12 + 0x20]
mov r8d, 0x3c0
lea rbp, [rsp + 0xdb0]
mov rcx, rbp
mov rdx, r14
call fcn.180073920
movups xmm0, xmmword [rdi]
lea rax, [rsp + 0x1170]
movups xmmword [rax], xmm0
mov r8d, 0x3d0
lea rcx, [rsp + 0x9e0]
mov rdx, rbp
call fcn.180073920
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x268]
mov dword [rsp + 0x58], eax
mov r14, qword [rsp + 0x40]
cmp r14, qword [rsp + 0x30]
jne 0x180030f71
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.180029c80
mov r14, qword [rsp + 0x40]
add r12, 0x30
add r13, 0xffffffffffffffd0
mov rbp, qword [rsp + 0x38]
mov rdi, r14
shl rdi, 0xa
lea rcx, [rdi + rbp]
mov r8d, 0x3d0
lea rdx, [rsp + 0x9e0]
call fcn.180073920
mov dword [rbp + rdi + 0x3d0], 0
mov rax, qword [rsp + 0x50]
mov qword [rbp + rdi + 0x3d4], rax
mov eax, dword [rsp + 0x58]
mov dword [rbp + rdi + 0x3dc], eax
movdqa xmmword [rbp + rdi + 0x3e0], xmm6
mov byte [rbp + rdi + 0x3f0], 0
inc r14
mov qword [rsp + 0x40], r14
cmp r13, 0x30
jae 0x18003065b
test r14, r14
je 0x18003106d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rcx], xmm0
mov rsi, qword [rsp + 0x30]
mov ecx, 0x10