Function at 0x140003b50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x140021020]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rbx, qword [rbp + 0x5f0]
mov r12, r9
mov rdi, r8
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov r14, rcx
mov qword [rdx], 0xffffffffffffffff
cmp r9, 0x40
jae 0x140003ba7
or eax, 0xffffffff
jmp 0x14000419e
lea rcx, [rbp + 0x230]
mov rdx, rbx
call fcn.140005620
test eax, eax
jne 0x140003b9f
mov qword [rsp + 0x698], rsi
mov qword [rsp + 0x690], r13
mov qword [rsp + 0x688], r15
movaps xmmword [rsp + 0x670], xmm6
movaps xmmword [rsp + 0x660], xmm7
movaps xmmword [rsp + 0x650], xmm8
xor r15d, r15d
mov edx, r15d
movaps xmmword [rsp + 0x640], xmm9
movaps xmmword [rsp + 0x630], xmm10
movaps xmmword [rsp + 0x620], xmm11
movaps xmmword [rsp + 0x610], xmm12
movaps xmmword [rsp + 0x600], xmm13
movaps xmmword [rsp + 0x5f0], xmm14
movaps xmmword [rsp + 0x5e0], xmm15
test r12, r12
je 0x140003c55
mov rcx, r14
sub rdi, r14
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc edx
lea rcx, [rcx + 1]
mov byte [rcx - 1], al
movsxd rax, edx
cmp rax, r12
jb 0x140003c40
lea rcx, [r14 + 0x20]
sub rbx, r14
mov edx, 0x10
movzx eax, byte [rbx + rcx - 0x20]
lea rcx, [rcx + 2]
mov byte [rcx - 2], al
movzx eax, byte [rbx + rcx - 0x21]
mov byte [rcx - 1], al
dec rdx
jne 0x140003c61
lea rcx, [rbp + 0x130]
mov r8, r12
mov rdx, r14
call fcn.140003550
lea rcx, [rbp + 0x130]
call fcn.140005080
mov esi, 8
mov r13d, 0xff
movaps xmm15, xmmword [0x140016dc0]
movaps xmm14, xmmword [0x140016dd0]
movaps xmm13, xmmword [0x140016de0]
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm14
movups xmmword [rsp + 0x50], xmm13
movaps xmm12, xmmword [0x140016df0]
movaps xmm11, xmmword [0x140016e00]
movaps xmm10, xmmword [0x140016e10]
movups xmmword [rsp + 0x60], xmm12
movups xmmword [rsp + 0x70], xmm11
movups xmmword [rbp - 0x80], xmm10
movaps xmm9, xmmword [0x140016e20]
movaps xmm8, xmmword [0x140016e30]
movaps xmm7, xmmword [0x140016a30]
movups xmmword [rbp - 0x70], xmm9
movups xmmword [rbp - 0x60], xmm8
movups xmmword [rbp - 0x50], xmm7
movaps xmm6, xmmword [0x140016a40]
movaps xmm5, xmmword [0x140016a50]
movaps xmm4, xmmword [0x140016a60]
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp + 0x30], xmm7
movups xmmword [rbp + 0x40], xmm6
movaps xmm3, xmmword [0x140016a70]
movaps xmm2, xmmword [0x140016a80]
movaps xmm1, xmmword [0x140016a90]
movups xmmword [rbp + 0xb0], xmm15
movups xmmword [rbp + 0xc0], xmm14
movups xmmword [rbp + 0xd0], xmm13
movaps xmm0, xmmword [0x140016aa0]
movaps xmm15, xmmword [rsp + 0x5e0]
movaps xmm14, xmmword [rsp + 0x5f0]
movups xmmword [rbp + 0xe0], xmm12
movups xmmword [rbp + 0xf0], xmm11
movups xmmword [rbp + 0x100], xmm10
movaps xmm13, xmmword [rsp + 0x600]
movaps xmm12, xmmword [rsp + 0x610]
movaps xmm11, xmmword [rsp + 0x620]
movups xmmword [rbp + 0x110], xmm9
movups xmmword [rbp + 0x120], xmm8
movups xmmword [rbp - 0x30], xmm5
movaps xmm10, xmmword [rsp + 0x630]
movaps xmm9, xmmword [rsp + 0x640]
movaps xmm8, xmmword [rsp + 0x650]
movups xmmword [rbp - 0x20], xmm4
movups xmmword [rbp - 0x10], xmm3
movups xmmword [rbp], xmm2
movaps xmm7, xmmword [rsp + 0x660]
movaps xmm6, xmmword [rsp + 0x670]
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x50], xmm5
movups xmmword [rbp + 0x60], xmm4
movups xmmword [rbp + 0x70], xmm3
movups xmmword [rbp + 0x80], xmm2
movups xmmword [rbp + 0x90], xmm1
movups xmmword [rbp + 0xa0], xmm0
nop dword [rax]
mov eax, r13d
movzx ecx, r13b
mov r9, 0xffffffffffffff88
cdq
and cl, 7
and edx, 7
add eax, edx
sar eax, 3
movsxd rdx, eax
movzx eax, byte [rbp + rdx + 0x130]
shr al, cl
and al, 1
movzx eax, al
dec eax
not eax
movsxd rbx, eax
movq xmm4, rbx
punpcklqdq xmm4, xmm4
nop dword [rax]
lea rdi, [rbp + 0x2a8]
lea rax, [rbp + 0x20]
add rdi, r9
add rax, r9
cmp rdi, rax
ja 0x140003eda
lea r10, [rbp - 0x58]
lea rax, [rbp + 0x320]
add r10, r9
add rax, r9
cmp rax, r10
jb 0x140003eda
sub r10, rdi
mov r8d, 0x10
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, qword [rdi + r10]
lea rdi, [rdi + 8]
mov rax, rdx
xor rax, rcx
and rax, rbx
xor rcx, rax
xor rdx, rax
mov qword [rdi + r10 - 8], rcx
mov qword [rdi - 8], rdx
dec r8
jne 0x140003eb0
jmp 0x140003f25
mov rax, r9
lea rcx, [rbp - 0x58]
sub rax, rdi
add rcx, rax
mov rax, rsi
nop word [rax + rax]
movdqu xmm1, xmmword [rcx + rdi]
movdqu xmm2, xmmword [rdi]
lea rdi, [rdi + 0x10]
movdqa xmm3, xmm1
pxor xmm3, xmm2
pand xmm3, xmm4
movdqa xmm0, xmm3
pxor xmm3, xmm2
pxor xmm0, xmm1
movdqu xmmword [rdi - 0x10], xmm3
movdqu xmmword [rcx + rdi - 0x10], xmm0
dec rax
jne 0x140003ef0
sub r9, 0xffffffffffffff80
cmp r9, 0x188
jl 0x140003e70
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x230]
call fcn.140002990
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140002990
mov r9, 0xffffffffffffff88
movq xmm4, rbx
punpcklqdq xmm4, xmm4
nop word [rax + rax]
lea rax, [rbp + 0x2a8]
lea rcx, [rbp + 0x20]
add rax, r9
add rcx, r9
cmp rax, rcx
ja 0x140003fd5
lea r10, [rbp - 0x58]
lea rcx, [rbp + 0x320]
add r10, r9
add rcx, r9
cmp rcx, r10
jb 0x140003fd5
sub r10, rax
mov r8d, 0x10
nop word [rax + rax]
mov rcx, qword [r10 + rax]
lea rax, [rax + 8]
mov rdi, rcx
xor rdi, qword [rax - 8]
and rdi, rbx
xor qword [rax - 8], rdi
xor rcx, rdi
mov qword [r10 + rax - 8], rcx
dec r8
jne 0x140003fb0
jmp 0x140004025
mov rcx, r9
lea rdx, [rbp - 0x58]
sub rcx, rax
add rdx, rcx
mov rcx, rsi
nop word [rax + rax]
movdqu xmm3, xmmword [rax]
movdqu xmm1, xmmword [rax + rdx]
lea rax, [rax + 0x10]
movdqa xmm2, xmm3
pxor xmm2, xmm1
pand xmm2, xmm4
pxor xmm3, xmm2
movdqa xmm0, xmm2
pxor xmm0, xmm1
movdqu xmmword [rax - 0x10], xmm3
movdqu xmmword [rax + rdx - 0x10], xmm0
dec rcx
jne 0x140003ff0
sub r9, 0xffffffffffffff80
cmp r9, 0x188
jl 0x140003f70
dec r13d
jns 0x140003e30
mov rdi, qword [rsp + 0x20]
lea rcx, [rbp + 0x230]
lea rdx, [rdi + 0x20]
call fcn.1400052b0
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140002990
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.1400044f0
lea r8, [rbp + 0x130]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1b0]
call fcn.140001e90
lea r8, [rbp + 0x130]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x430]
call fcn.140001e90
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x4b0]
call fcn.1400049e0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x130]
call fcn.1400049e0
movzx eax, byte [rbp + 0x130]
mov r13, qword [rsp + 0x690]
shl al, 7
mov r10, rdi
sub r12, 0x40
xor byte [rbp + 0x4cf], al
lea rax, [rbp + 0x4b3]
mov r9d, r15d
sub r10, rax
lea r8, [rbp + 0x4b3]
nop dword [rax]
movzx eax, byte [r8 - 2]
movzx edx, byte [r10 + r8 + 1]
movzx ecx, byte [r10 + r8 + 2]
xor edx, eax
movzx eax, byte [r8 - 1]
lea r8, [r8 + 4]
xor ecx, eax
movzx eax, byte [r8 - 7]
or edx, ecx
movzx ecx, byte [r10 + r8 - 4]
xor ecx, eax
movzx eax, byte [r8 - 4]
or edx, ecx
movzx ecx, byte [r10 + r8 - 1]
xor ecx, eax
or edx, ecx
or r9d, edx
dec rsi
jne 0x140004100
mov rsi, qword [rsp + 0x698]
lea eax, [r9 - 1]
shr eax, 8
and eax, 1
dec eax
je 0x14000416b
xor eax, eax
movsxd rcx, r12d
mov rdi, r14
rep stosb byte [rdi], al
or eax, 0xffffffff
jmp 0x140004196
test r12, r12
je 0x14000418c
sub rdi, r14
movzx eax, byte [rdi + r14 + 0x40]
inc r15d
lea r14, [r14 + 1]
mov byte [r14 - 1], al
movsxd rax, r15d
cmp rax, r12
jb 0x140004173
mov rax, qword [rsp + 0x28]
mov qword [rax], r12
xor eax, eax
mov r15, qword [rsp + 0x688]
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.140006c80
add rsp, 0x6a0
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret