Function at 0x1801402b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
push r15
mov eax, 0x88
call fcn.1803146e0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov qword [rsp + 0x58], rax
mov r15, r9
mov rax, qword [rcx + 0x188]
mov rsi, r8
mov rcx, qword [rcx + 0x38]
mov r14, rdx
mov qword [rsp + 0x50], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x180140723
cmp rcx, r9
jb 0x180140723
mov qword [rsp + 0xb8], rbp
mov ebp, dword [rbx + 0x178]
mov qword [rsp + 0x80], rdi
xor edi, edi
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0xb0], ebp
cmp dword [rbx + 0x17c], edi
je 0x180140384
lea r9, [rbx + 0x40]
mov qword [rsp + 0x30], r9
test r15, r15
jne 0x18014035e
lea rdx, [rbx + 0x60]
mov rcx, r9
call qword [rbx + 0x170]
xor eax, eax
mov dword [rbx + 0x17c], edi
jmp 0x180140705
movups xmm0, xmmword [r9]
mov ebp, 0x10
mov dword [rsp + 0xb0], ebp
movups xmmword [rbx + 0x190], xmm0
mov qword [r9], rdi
mov qword [rbx + 0x48], rdi
mov dword [rbx + 0x17c], edi
jmp 0x18014038d
lea rax, [rbx + 0x40]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbx + 0xd]
lea rcx, [rbx + 0xd]
movzx edi, byte [rbx + 0xc]
lea rdx, [rbx + 0xe]
shl edi, 8
lea r8, [rbx + 0xf]
or edi, eax
mov qword [rsp + 0x78], r12
movzx eax, byte [rdx]
lea r12, [rbx + 0xc]
shl edi, 8
lea r10, [rbx + 0x190]
or edi, eax
mov qword [rsp + 0x70], r13
movzx eax, byte [r8]
mov r13d, ebp
shl edi, 8
or edi, eax
mov qword [rsp + 0x40], rcx
and r13d, 0xf
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r8
je 0x180140480
nop dword [rax]
test r15, r15
je 0x1801406f3
movzx ecx, byte [r13 + rbx + 0x10]
dec r15
xor cl, byte [r14]
inc r14
mov byte [rsi], cl
inc rsi
mov eax, ebp
inc ebp
inc r13d
mov byte [rax + rbx + 0x190], cl
and r13d, 0xf
jne 0x1801403f0
lea rax, [rbx + 0x40]
mov r9d, ebp
lea rdx, [rbx + 0x60]
mov qword [rsp + 0x30], rax
mov rcx, rax
mov qword [rsp + 0x38], rdx
lea r8, [rbx + 0x190]
call qword [rbx + 0x168]
lea rax, [rbx + 0xd]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x40], rax
lea r12, [rbx + 0xc]
lea rax, [rbx + 0xe]
xor ebp, ebp
mov qword [rsp + 0x48], rax
lea r10, [rbx + 0x190]
lea rax, [rbx + 0xf]
mov dword [rsp + 0xb0], ebp
mov qword [rsp + 0x28], rax
lea rax, [rbx + 0x60]
jmp 0x180140489
lea rax, [rbx + 0x60]
mov qword [rsp + 0x38], rax
cmp r15, 0x10
jb 0x1801404af
test ebp, ebp
je 0x1801404af
mov r9d, ebp
lea rcx, [rbx + 0x40]
mov r8, r10
mov rdx, rax
call qword [rbx + 0x168]
xor ebp, ebp
mov dword [rsp + 0xb0], ebp
cmp r15, 0xc00
jb 0x1801405ac
lea rax, [rbx + 0x60]
mov qword [rsp + 0x38], rax
lea rcx, [rbx + 0x10]
lea rax, [rbx + 0x40]
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaab
mul r15
shr rdx, 0xb
imul rax, rdx, 0xfffffffffffff400
mov qword [rsp + 0x28], rdx
add r15, rax
mov r12d, 0xc0
nop dword [rax + rax]
mov r8, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rbx
call qword [rsp + 0x58]
inc edi
lea rcx, [rbx + 0x10]
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [r14]
xor rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [r14 + 8]
add r14, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x180140500
mov rdx, qword [rsp + 0x38]
lea r8, [rsi - 0xc00]
mov rcx, qword [rsp + 0x30]
mov r9d, 0xc00
call qword [rbx + 0x168]
sub qword [rsp + 0x28], 1
lea rcx, [rbx + 0x10]
jne 0x1801404f2
mov ebp, dword [rsp + 0xb0]
lea rax, [rbx + 0xd]
mov r13d, dword [rsp + 0x20]
lea r12, [rbx + 0xc]
mov qword [rsp + 0x40], rax
lea rax, [rbx + 0xe]
mov qword [rsp + 0x48], rax
lea rax, [rbx + 0xf]
mov qword [rsp + 0x28], rax
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x60], rcx
je 0x18014068f
cmp r15, 0x10
jb 0x180140658
mov r12, r15
lea rcx, [rbx + 0x10]
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r15, rax
nop word [rax + rax]
mov r8, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rbx
call qword [rsp + 0x58]
inc edi
lea rcx, [rbx + 0x10]
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [r14]
xor rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [r14 + 8]
add r14, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x1801405e0
mov ebp, dword [rsp + 0xb0]
lea rax, [rbx + 0x60]
mov r13d, dword [rsp + 0x20]
lea r12, [rbx + 0xc]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbx + 0x40]
jmp 0x18014065d
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov r9, rcx
mov r8, rsi
sub r8, rcx
mov rcx, rax
call qword [rbx + 0x168]
lea rax, [rbx + 0xd]
mov qword [rsp + 0x40], rax
lea rax, [rbx + 0xe]
mov qword [rsp + 0x48], rax
lea rax, [rbx + 0xf]
mov qword [rsp + 0x28], rax
test r15, r15
je 0x1801406f3
mov r8, qword [rsp + 0x50]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
inc edi
mov eax, edi
shr eax, 0x18
mov byte [r12], al
mov eax, edi
shr eax, 0x10
mov byte [rcx], al
mov eax, edi
mov rcx, qword [rsp + 0x48]
shr eax, 8
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
mov byte [rax], dil
nop
mov eax, r13d
inc r13d
movzx ecx, byte [r14 + rax]
xor cl, byte [rax + rbx + 0x10]
mov byte [rsi + rax], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x190], cl
sub r15, 1
jne 0x1801406d0
mov r12, qword [rsp + 0x78]
xor eax, eax
mov r13, qword [rsp + 0x70]
mov dword [rbx + 0x178], ebp
mov rbp, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x80]
add rsp, 0x88
pop r15
pop r14
pop rsi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x88
pop r15
pop r14
pop rsi
pop rbx
ret