Function at 0x14011b500
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
mov eax, 0xb8
call fcn.14016df80
sub rsp, rax
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, qword [rsp + 0x118]
mov rdi, rcx
mov rsi, qword [rsp + 0x128]
mov r14d, 1
mov rcx, rbp
mov dword [rsp + 0x38], r9d
mov qword [rsp + 0x40], r8
mov ebx, edx
mov dword [rsp + 0x34], r14d
call fcn.1400b8cb0
movsxd r13, eax
test eax, eax
jns 0x14011b568
xor eax, eax
jmp 0x14011b84a
mov qword [rsp + 0xa8], r15
call fcn.1400b5a40
mov r15, rax
test rax, rax
je 0x14011b5e9
test rdi, rdi
jne 0x14011b58d
lea rdi, [0x1401e7638]
xor ebx, ebx
jmp 0x14011b5b6
cmp ebx, 0xffffffff
jne 0x14011b5b6
xor ebx, ebx
mov rax, rdi
cmp byte [rdi], bl
je 0x14011b5b2
nop dword [rax + rax]
cmp ebx, 0x80000000
jae 0x14011b5b2
inc rax
inc ebx
cmp byte [rax], 0
jne 0x14011b5a0
btr ebx, 0x1f
mov r9, rbp
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, r15
call fcn.1400b5c80
test eax, eax
je 0x14011b5e1
call fcn.1400b5a40
mov rdi, rax
test rax, rax
jne 0x14011b5f0
mov rcx, r15
call fcn.1400b59c0
xor eax, eax
jmp 0x14011b842
mov eax, dword [rsp + 0x120]
mov qword [rsp + 0xb0], r12
test eax, eax
je 0x14011b825
mov r12d, dword [rsp + 0x110]
nop
cmp eax, r13d
mov byte [rsp + 0x33], r14b
mov ebx, eax
mov rdx, r15
cmovg ebx, r13d
mov eax, r14d
shr eax, 0x18
mov rcx, rdi
mov byte [rsp + 0x30], al
mov eax, r14d
shr eax, 0x10
mov byte [rsp + 0x31], al
mov eax, r14d
shr eax, 8
mov byte [rsp + 0x32], al
call fcn.1400b58b0
mov rcx, rdi
test eax, eax
je 0x14011b814
movsxd r8, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.1400b5ef0
test eax, eax
je 0x14011b811
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400b5ef0
test eax, eax
je 0x14011b811
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400b5bd0
test eax, eax
je 0x14011b811
mov rcx, rdi
call fcn.1400b5a90
movsxd r14, ebx
lea rdx, [rsp + 0x50]
mov r8, r14
mov rcx, rsi
call fcn.14016e7f0
mov ebp, 1
cmp r12d, ebp
jle 0x14011b7ec
mov rdx, r15
mov rcx, rdi
call fcn.1400b58b0
mov rcx, rdi
test eax, eax
je 0x14011b814
mov r8, r13
lea rdx, [rsp + 0x50]
call fcn.1400b5ef0
test eax, eax
je 0x14011b811
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400b5bd0
test eax, eax
je 0x14011b811
mov rcx, rdi
call fcn.1400b5a90
xor r9d, r9d
test ebx, ebx
jle 0x14011b7b5
cmp ebx, 0x20
jb 0x14011b7b5
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea rdx, [rcx + rsi]
cmp rsi, rax
ja 0x14011b745
lea rax, [rsp + 0x50]
cmp rdx, rax
jae 0x14011b7b5
mov ecx, ebx
and ecx, 0x8000001f
jge 0x14011b756
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, ebx
lea r8, [rsp + 0x50]
sub eax, ecx
lea r10, [rsp + 0x60]
movsxd rdx, eax
mov rcx, rsi
mov rax, rsi
neg rax
add r8, rax
add r10, rax
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add r9, 0x20
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm1, xmmword [r10 + rcx - 0x20]
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp r9, rdx
jl 0x14011b780
cmp r9, r14
jge 0x14011b7e1
lea r8, [rsp + 0x50]
mov rdx, r14
sub r8, rsi
lea rax, [r9 + rsi]
sub rdx, r9
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14011b7d0
inc ebp
cmp ebp, r12d
jl 0x14011b6c5
mov eax, dword [rsp + 0x120]
add rsi, r14
inc dword [rsp + 0x34]
sub eax, ebx
mov dword [rsp + 0x120], eax
test eax, eax
je 0x14011b825
mov r14d, dword [rsp + 0x34]
jmp 0x14011b610
mov rcx, rdi
call fcn.1400b59c0
mov rcx, r15
call fcn.1400b59c0
xor eax, eax
jmp 0x14011b83a
mov rcx, rdi
call fcn.1400b59c0
mov rcx, r15
call fcn.1400b59c0
mov eax, 1
mov r12, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14016d990
add rsp, 0xb8
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret