Function at 0x1400013d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
xor r15d, r15d
lea r12, section..data
cmp word [0x140012006], r15w
mov r14, rdx
je 0x14000143d
movzx ecx, word [0x140012004]
mov eax, r15d
inc ecx
test cl, 3
setne al
shr ecx, 2
add eax, ecx
mov ecx, r15d
mov edx, eax
je 0x140001435
mov eax, dword [section..data]
xor dword [r12 + rcx*4 + 8], eax
inc rcx
cmp rcx, rdx
jne 0x140001422
mov word [0x140012006], r15w
lea rcx, [0x14028b8c0]
call qword [0x14028bfb8]
mov rdi, rax
test rax, rax
je 0x14000146e
mov r8, rax
lea rdx, [0x14028b8c0]
lea rcx, [rbp - 0x80]
call qword [0x14028bfa0]
mov byte [rbp + rdi - 0x80], 0x5c
inc rdi
lea rcx, [0x140012008]
mov qword [rsp + 0x290], rsi
call qword [0x14028bfb8]
lea rcx, [rbp - 0x80]
mov r8, rax
add rcx, rdi
lea rdx, [0x140012008]
mov rbx, rax
call qword [0x14028bfa0]
lea rax, [rdi + rbx]
lea rcx, [rbp - 0x80]
mov byte [rbp + rax - 0x80], r15b
call fcn.140004b30
cmp eax, 0x795b1ebd
je 0x1400015da
movaps xmm0, xmmword [0x140012a50]
movups xmmword [rsp + 0x50], xmm0
mov qword [rbp + 0x1e0], 0x4121
psrldq xmm0, 8
movq rsi, xmm0
shr rsi, 0x20
mov qword [rbp + 0x1e8], rsi
call qword [0x14028be80]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [0x14028bf50]
mov rbx, rax
test rax, rax
je 0x14000154d
lea rax, [rbp + 0x1d0]
mov rcx, rbx
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x1e0]
lea rax, [rsp + 0x50]
lea r8, [0x140012a60]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x1e8]
call fcn.140003fc0
test eax, eax
je 0x140001568
call qword [0x14028be80]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x14028bf78]
xor eax, eax
mov rsi, qword [rsp + 0x290]
add rsp, 0x298
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x30], r15
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [0x14028bde8]
cmp rax, 0xffffffffffffffff
mov rdi, rax
cmove rdi, r15
test rdi, rdi
je 0x140001539
lea r9, [rbp + 0x1d0]
mov qword [rsp + 0x20], r15
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call qword [0x14028bf30]
mov rcx, rdi
call qword [0x14028bdd0]
call qword [0x14028be80]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x14028bf78]
xor r9d, r9d
lea r8, [rbp + 0x90]
mov edx, 0x100
lea rcx, [rbp - 0x80]
call qword [0x14028be70]
cmp word [0x140012006], r15w
mov edi, 1
jne 0x14000163a
movzx ecx, word [0x140012004]
mov eax, r15d
inc ecx
test cl, 3
setne al
shr ecx, 2
add eax, ecx
mov rcx, r15
mov edx, eax
je 0x140001633
mov eax, dword [section..data]
xor dword [r12 + rcx*4 + 8], eax
inc rcx
cmp rcx, rdx
jne 0x140001620
mov word [0x140012006], di
mov rcx, qword [0x14028ba00]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0x100
call qword [0x14028bf08]
mov rbx, rax
test rax, rax
je 0x14000154d
mov rcx, qword [0x14028ba00]
lea rax, [rbp + 0x1e0]
mov r9d, 0x100
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x90]
mov rdx, rbx
call qword [0x14028bf40]
cmp qword [rbp + 0x1e0], 0x100
jne 0x14000154d
mov ecx, dword [0x14028b9d0]
lea rdx, [r14 + 0x37a68c]
cmp dword [0x14028bb44], r15d
lea r8, [rbp + 0x1d0]
mov eax, 0xffffffff
mov r9d, 4
cmove ecx, eax
lea rax, [rbp + 0x1e8]
mov dword [rbp + 0x1d0], ecx
mov rcx, qword [0x14028ba00]
mov qword [rsp + 0x20], rax
call qword [0x14028bf40]
mov eax, dword [rbp + 0x1d0]
cmp rax, qword [0x14028b9d0]
je 0x1400016ff
call fcn.14000ade0
mov ecx, 0x2ed91e0
mov dword [rsp + 0x6c], 0x1000c
mov edx, 0x2d4855a3
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x7c], ecx
mov rax, r15
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x70], 0x6c9ff48b
mov dword [rsp + 0x74], 0x30defd85
mov dword [rsp + 0x78], 0x6e81f5ce
mov dword [rsp + 0x54], 0x1000c
mov dword [rsp + 0x58], 0x49293aef
mov dword [rsp + 0x5c], 0x5f2a3cef
mov dword [rsp + 0x60], 0x6c3127c2
nop dword [rax]
xor dword [rsp + rax*4 + 0x58], edx
inc rax
cmp rax, 4
je 0x140001773
mov edx, dword [rsp + 0x50]
jmp 0x140001760
mov word [rsp + 0x56], r15w
mov rax, r15
nop dword [rax]
xor dword [rsp + rax*4 + 0x70], ecx
inc rax
cmp rax, 4
je 0x140001793
mov ecx, dword [rsp + 0x68]
jmp 0x140001780
mov rcx, qword [0x14028ba00]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov word [rsp + 0x6e], r15w
call fcn.140001100
test eax, eax
je 0x14000154d
mov rcx, qword [0x14028ba00]
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], r15d
mov r9d, eax
mov qword [rsp + 0x20], rbx
call qword [0x14028be00]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000154d
mov rcx, rax
call qword [0x14028bdd0]
mov ecx, 0x3e8
call qword [0x14028bef0]
mov rcx, qword [0x14028ba00]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
call qword [0x14028bf18]
mov eax, edi
jmp 0x14000154f