Function at 0x180010fc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1800620a0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x58]
mov rbx, rcx
mov r14, qword [rbp + 0x60]
mov r10, r8
mov qword [rbp - 0x20], rcx
mov r15d, edx
mov rcx, qword [rbp + 0x70]
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x44], edx
test dl, 0xf
je 0x18001100e
mov ebx, 1
jmp 0x1800112f0
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x1800112eb
cmp r9d, 0x28
je 0x1800112eb
mov r13d, dword [rbp + 0x68]
test rcx, rcx
jne 0x18001103d
cmp r13d, r15d
jae 0x18001104f
lea ebx, [rcx + 3]
jmp 0x1800112f0
lea eax, [rdx - 0x10]
cmp r13d, eax
jae 0x18001104f
mov ebx, 3
jmp 0x1800112f0
mov qword [rsp + 0xb0], rsi
lea rcx, [rbp - 0x38]
mov r8d, r9d
mov qword [rsp + 0x60], r12
mov rdx, r10
call fcn.180011930
mov r8, r14
lea rcx, [rbp - 0x38]
mov rdx, rbx
call fcn.180011320
test rdi, rdi
je 0x18001108a
mov rdx, rdi
mov rcx, r14
call fcn.180013a70
mov esi, r15d
mov r12d, 0x10
shr esi, 4
dec esi
cmp esi, 1
jbe 0x180011159
lea r15d, [rsi - 1]
mov r13, rbx
nop dword [rax + rax]
movsxd rax, r12d
lea rcx, [rbp - 0x38]
lea rdi, [rax + r14]
lea rbx, [rax + r13]
mov r8, rdi
mov rdx, rbx
call fcn.180011320
movzx eax, byte [rbx - 0x10]
add r12d, 0x10
xor byte [rdi], al
movzx eax, byte [rbx - 0xf]
xor byte [rdi + 1], al
movzx eax, byte [rbx - 0xe]
xor byte [rdi + 2], al
movzx eax, byte [rbx - 0xd]
xor byte [rdi + 3], al
movzx eax, byte [rbx - 0xc]
xor byte [rdi + 4], al
movzx eax, byte [rbx - 0xb]
xor byte [rdi + 5], al
movzx eax, byte [rbx - 0xa]
xor byte [rdi + 6], al
movzx eax, byte [rbx - 9]
xor byte [rdi + 7], al
movzx eax, byte [rbx - 8]
xor byte [rdi + 8], al
movzx eax, byte [rbx - 7]
xor byte [rdi + 9], al
movzx eax, byte [rbx - 6]
xor byte [rdi + 0xa], al
movzx eax, byte [rbx - 5]
xor byte [rdi + 0xb], al
movzx eax, byte [rbx - 4]
xor byte [rdi + 0xc], al
movzx eax, byte [rbx - 3]
xor byte [rdi + 0xd], al
movzx eax, byte [rbx - 2]
xor byte [rdi + 0xe], al
movzx eax, byte [rbx - 1]
xor byte [rdi + 0xf], al
sub r15, 1
jne 0x1800110b0
mov r15d, dword [rbp - 0x44]
mov r12d, 0x10
mov r13d, dword [rbp + 0x68]
mov rbx, qword [rbp - 0x20]
shl esi, 4
xorps xmm0, xmm0
mov edi, esi
mov rsi, qword [rsp + 0xb0]
movups xmmword [rbp - 0x20], xmm0
cmp r15d, 0x10
jbe 0x180011211
lea rdx, [rdi + rbx]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call fcn.180011320
lea eax, [rdi - 0x10]
mov ecx, eax
movzx eax, byte [rax + rbx]
xor byte [rbp - 0x20], al
movzx eax, byte [rcx + rbx + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [rcx + rbx + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [rcx + rbx + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [rcx + rbx + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [rcx + rbx + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [rcx + rbx + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [rcx + rbx + 7]
xor byte [rbp - 0x19], al
movzx eax, byte [rcx + rbx + 8]
xor byte [rbp - 0x18], al
movzx eax, byte [rcx + rbx + 9]
xor byte [rbp - 0x17], al
movzx eax, byte [rcx + rbx + 0xa]
xor byte [rbp - 0x16], al
movzx eax, byte [rcx + rbx + 0xb]
xor byte [rbp - 0x15], al
movzx eax, byte [rcx + rbx + 0xc]
xor byte [rbp - 0x14], al
movzx eax, byte [rcx + rbx + 0xd]
xor byte [rbp - 0x13], al
movzx eax, byte [rcx + rbx + 0xe]
xor byte [rbp - 0x12], al
movzx eax, byte [rbp - 0x11]
xor al, byte [rcx + rbx + 0xf]
mov byte [rbp - 0x11], al
jmp 0x180011231
mov r8d, r15d
lea rcx, [rbp - 0x20]
mov rdx, r14
call fcn.180017da0
mov r8d, r13d
xor edx, edx
mov rcx, r14
call fcn.180018440
movzx eax, byte [rbp - 0x11]
mov rcx, qword [rbp - 0x40]
xor ebx, ebx
mov rdx, rdi
test rcx, rcx
je 0x1800112a1
movzx r8d, al
sub r12d, r8d
mov dword [rcx], r8d
cmp r8d, 0x10
ja 0x18001129a
mov eax, ebx
test r8d, r8d
je 0x180011278
nop word [rax + rax]
mov ecx, 0xf
sub ecx, eax
movzx edx, byte [rbp + rcx - 0x20]
cmp edx, r8d
jne 0x18001129a
inc eax
cmp eax, r8d
jb 0x180011260
lea eax, [rdi + r12]
cmp r13d, eax
jb 0x180011293
mov r8d, r12d
lea rcx, [r14 + rdi]
lea rdx, [rbp - 0x20]
call fcn.180017da0
jmp 0x1800112aa
mov ebx, 3
jmp 0x1800112aa
mov ebx, 4
jmp 0x1800112aa
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx + r14], xmm0
mov rcx, qword [rbp - 0x38]
mov r12, qword [rsp + 0x60]
test rcx, rcx
je 0x1800112f0
mov rdx, qword [rbp - 0x28]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x1800112e4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001130c
call fcn.180015c50
jmp 0x1800112f0
mov ebx, 2
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180016210
add rsp, 0x68
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
call fcn.18001c58c
int3