Function at 0x180005ab0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180e670c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x68]
mov r13, rcx
mov r14, qword [rbp + 0x58]
mov r12d, dword [rbp + 0x60]
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x180005aec
cmp r12d, 0x30
jmp 0x180005af0
cmp r12d, 0x20
jae 0x180005afc
mov esi, 3
jmp 0x180005d9c
mov qword [rsp + 0x98], rbx
lea rcx, [rbp - 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0xa0], rdi
xor eax, eax
mov qword [rsp + 0xa8], r15
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
call fcn.180005340
mov r8, r14
lea rcx, [rbp - 0x38]
mov rdx, r13
call fcn.180005780
lea rcx, [0x180e5e947]
xor esi, esi
lea rax, [r14 + 0xf]
mov r15d, 0x10
cmp r14, rcx
ja 0x180005b83
lea r8, [0x180e5e938]
cmp rax, r8
jb 0x180005b83
sub r8, r14
lea rax, [rsi + r14]
mov edx, r15d
sub rdx, rsi
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x180005b70
jmp 0x180005ba0
movdqu xmm1, xmmword [r14]
movdqu xmm0, xmmword [0x180e5e938]
xorps xmm1, xmm0
movdqu xmmword [r14], xmm1
nop dword [rax + rax]
lea r8, [r14 + 0x10]
lea rdx, [r13 + 0x10]
lea rcx, [rbp - 0x38]
call fcn.180005780
movzx eax, byte [r13]
lea rdx, [r13 + 0x20]
xor byte [r14 + 0x10], al
lea r8, [rbp - 0x20]
movzx eax, byte [r13 + 1]
lea rcx, [rbp - 0x38]
xor byte [r14 + 0x11], al
xorps xmm0, xmm0
movzx eax, byte [r13 + 2]
xor byte [r14 + 0x12], al
movzx eax, byte [r13 + 3]
xor byte [r14 + 0x13], al
movzx eax, byte [r13 + 4]
xor byte [r14 + 0x14], al
movzx eax, byte [r13 + 5]
xor byte [r14 + 0x15], al
movzx eax, byte [r13 + 6]
xor byte [r14 + 0x16], al
movzx eax, byte [r13 + 7]
xor byte [r14 + 0x17], al
movzx eax, byte [r13 + 8]
xor byte [r14 + 0x18], al
movzx eax, byte [r13 + 9]
xor byte [r14 + 0x19], al
movzx eax, byte [r13 + 0xa]
xor byte [r14 + 0x1a], al
movzx eax, byte [r13 + 0xb]
xor byte [r14 + 0x1b], al
movzx eax, byte [r13 + 0xc]
xor byte [r14 + 0x1c], al
movzx eax, byte [r13 + 0xd]
xor byte [r14 + 0x1d], al
movzx eax, byte [r13 + 0xe]
xor byte [r14 + 0x1e], al
movzx eax, byte [r13 + 0xf]
xor byte [r14 + 0x1f], al
movups xmmword [rbp - 0x20], xmm0
call fcn.180005780
movzx eax, byte [r13 + 0x10]
xor byte [rbp - 0x20], al
movzx eax, byte [r13 + 0x11]
xor byte [rbp - 0x1f], al
movzx eax, byte [r13 + 0x12]
xor byte [rbp - 0x1e], al
movzx eax, byte [r13 + 0x13]
xor byte [rbp - 0x1d], al
movzx eax, byte [r13 + 0x14]
xor byte [rbp - 0x1c], al
movzx eax, byte [r13 + 0x15]
xor byte [rbp - 0x1b], al
movzx eax, byte [r13 + 0x16]
xor byte [rbp - 0x1a], al
movzx eax, byte [r13 + 0x17]
xor byte [rbp - 0x19], al
movzx eax, byte [r13 + 0x18]
xor byte [rbp - 0x18], al
movzx eax, byte [r13 + 0x19]
xor byte [rbp - 0x17], al
movzx eax, byte [r13 + 0x1a]
xor byte [rbp - 0x16], al
movzx eax, byte [r13 + 0x1b]
xor byte [rbp - 0x15], al
movzx eax, byte [r13 + 0x1c]
xor byte [rbp - 0x14], al
movzx eax, byte [r13 + 0x1d]
xor byte [rbp - 0x13], al
movzx eax, byte [r13 + 0x1e]
xor byte [rbp - 0x12], al
movzx eax, byte [r13 + 0x1f]
xor byte [rbp - 0x11], al
mov rax, qword [rbp - 0x40]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
test rax, rax
je 0x180005d51
mov r8, qword [rbp - 0x18]
shr r8, 0x38
sub r15d, r8d
mov dword [rax], r8d
cmp r8d, 0x10
ja 0x180005d4a
mov edx, esi
test r8d, r8d
je 0x180005d28
nop dword [rax]
mov eax, 0xf
sub eax, edx
movzx ecx, byte [rbp + rax - 0x20]
cmp ecx, r8d
jne 0x180005d4a
inc edx
cmp edx, r8d
jb 0x180005d10
lea eax, [r15 + 0x20]
cmp r12d, eax
jb 0x180005d43
mov r8d, r15d
lea rcx, [r14 + 0x20]
lea rdx, [rbp - 0x20]
call fcn.18003e700
jmp 0x180005d5a
mov esi, 3
jmp 0x180005d5a
mov esi, 4
jmp 0x180005d5a
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x20], xmm0
mov rcx, qword [rbp - 0x38]
mov r15, qword [rsp + 0xa8]
test rcx, rcx
je 0x180005d9c
mov rdx, qword [rbp - 0x28]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180005d97
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005db7
call fcn.18001df10
mov eax, esi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18001def0
add rsp, 0x60
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
call fcn.1800281cc
int3