Function at 0x18002b6b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
xor ebx, ebx
movaps xmmword [rax - 0x18], xmm6
mov esi, ebx
xor eax, eax
mov edi, 1
lock cmpxchg dword [0x1800ade60], edi
je 0x18002b709
cmp rsi, 0x20
jae 0x18002b6f2
xor ecx, ecx
jmp 0x18002b6f4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rsi
xor eax, eax
lock cmpxchg dword [0x1800ade60], edi
jne 0x18002b6e8
cmp qword [0x1800ade68], rbx
mov rsi, 0xffffffffffffffff
mov r14d, dword [0x1800ab090]
movdqa xmm6, xmmword [0x1800a0280]
movaps xmmword [rsp + 0x70], xmm7
jne 0x18002b75c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, 9
mov ecx, ebx
test rax, rax
mov qword [0x1800ade68], rax
xchg dword [0x1800ade60], ecx
cmovne edi, ebx
jne 0x18002b918
jmp 0x18002b764
mov eax, ebx
xchg dword [0x1800ade60], eax
cmp edi, 1
je 0x18002b918
movups xmm0, xmmword [0x18009c6b0]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x18009c6c0]
movsd qword [rbp + 0x27], xmm0
cmp r14d, 2
jl 0x18002b8a3
movdqa xmm0, xmmword [0x1800a02c0]
lea rcx, [rbp + 0x17]
movdqa xmm5, xmmword [0x1800a0170]
mov edx, ebx
movdqa xmm4, xmmword [0x1800a0330]
movdqa xmm7, xmmword [0x1800a01d0]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
nop
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
paddd xmm3, xmm5
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add edx, 8
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
movd xmm0, r8d
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp edx, 0x18
jl 0x18002b7c0
jmp 0x18002b8e1
lea r9, [rbp + 0x17]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x18002b8b0
xorps xmm0, xmm0
mov qword [rbp + 7], rbx
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], rbx
lea rax, [rbp + 0x17]
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x18002b8f7
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.180012cd0
mov dl, 1
lea rcx, [rbp - 9]
call fcn.180025530
cmp qword [0x1800ae1e0], rbx
je 0x18002b9aa
call fcn.1800285f0
mov rcx, rax
mov rdi, rax
call fcn.1800488d0
test al, al
je 0x18002b94b
mov rcx, qword [0x1800abe28]
cmp rcx, rsi
je 0x18002b94b
mov rcx, qword [rcx + rdi]
jmp 0x18002b94e
mov rcx, rbx
call fcn.1800488d0
test al, al
je 0x18002b9aa
mov ecx, 0x18
call fcn.18006a6f0
mov r14, qword [0x1800ae1e0]
mov rsi, rax
call fcn.1800285f0
mov rcx, rax
mov rdi, rax
call fcn.1800488d0
test al, al
je 0x18002b990
mov rcx, qword [0x1800abe28]
cmp rcx, 0xffffffffffffffff
je 0x18002b990
mov rbx, qword [rcx + rdi]
mov rdx, qword [rbx]
mov r8, r14
mov rcx, rsi
call fcn.18002c170
mov qword [0x1800ade98], rax
jmp 0x18002bb73
mov eax, dword [0x18009c6a8]
mov ecx, ebx
mov dword [rbp + 0x2f], eax
movzx eax, word [0x18009c6ac]
mov word [rbp + 0x33], ax
movzx eax, byte [0x18009c6ae]
mov byte [rbp + 0x35], al
movups xmm0, xmmword [0x18009c690]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x18009c6a0]
movsd qword [rbp + 0x27], xmm0
cmp r14d, 2
jl 0x18002bb06
movdqa xmm0, xmmword [0x1800a02c0]
lea rdx, [rbp + 0x17]
movdqa xmm5, xmmword [0x1800a0170]
movdqa xmm4, xmmword [0x1800a0330]
movdqa xmm7, xmmword [0x1800a01d0]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
paddd xmm3, xmm5
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add ecx, 8
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
movd xmm0, r8d
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm3, xmm0
movd dword [rdx - 4], xmm3
cmp ecx, 0x18
jl 0x18002ba20
cmp ecx, 0x1f
jge 0x18002bb3d
movsxd rax, ecx
lea r8, [rbp + 0x17]
add r8, rax
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x1f
jl 0x18002bb10
xorps xmm0, xmm0
mov qword [rbp + 7], rbx
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], rbx
lea rax, [rbp + 0x17]
inc rsi
cmp byte [rax + rsi], bl
jne 0x18002bb50
mov r8, rsi
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.180012cd0
mov dl, 1
lea rcx, [rbp - 9]
call fcn.180025530
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret