Function at 0x1800c2d00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x88
mov qword [rax + 0x10], rbx
xor ebx, ebx
mov qword [rax - 8], rdi
xor eax, eax
mov edi, 1
lock cmpxchg dword [0x18021e810], edi
je 0x1800c2d46
cmp rbx, 0x20
jae 0x1800c2d2f
xor ecx, ecx
jmp 0x1800c2d31
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18021e810], edi
jne 0x1800c2d25
cmp qword [0x18021e818], 0
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
jne 0x1800c2d89
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor ecx, ecx
mov qword [0x18021e818], rax
xchg dword [0x18021e810], ecx
test rax, rax
jne 0x1800c2d91
add rsp, 0x88
ret
xor eax, eax
xchg dword [0x18021e810], eax
cmp byte [0x18021ec20], 0
je 0x1800c2e0c
mov rcx, qword [0x18021ec80]
test rcx, rcx
je 0x1800c2e0c
mov rcx, qword [rcx + 0x40]
xor edx, edx
call fcn.180073180
mov rcx, qword [0x18021ec80]
mov rcx, qword [rcx + 0x40]
call fcn.180072f10
mov rcx, qword [0x18021ec80]
xor edx, edx
mov rcx, qword [rcx + 0x68]
call fcn.180073180
mov rcx, qword [0x18021ec80]
mov rcx, qword [rcx + 0x68]
call fcn.180072f10
call fcn.180072af0
mov rcx, qword [0x18021ec80]
mov edx, 8
call fcn.1800c4128
mov qword [0x18021ec80], 0
add rsp, 0x88
ret
cmp byte [0x18010b7b5], 0
movups xmm3, xmmword [str.cSRLqN]
movzx eax, word [0x18010b7b4]
mov edx, dword [0x18010b7b0]
movups xmmword [rsp + 0x20], xmm3
mov dword [rsp + 0x30], edx
mov word [rsp + 0x34], ax
je 0x1800c30af
xor ecx, ecx
cmp dword [0x18011f090], 2
jl 0x1800c3072
movdqa xmm5, xmmword [0x18010bfb0]
movdqa xmm2, xmmword [0x18010ba90]
movdqa xmm4, xmmword [0x18010bc10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x18010bac0]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x18010bb90]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x18010bc70]
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x18010bab0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
pmuldq xmm1, xmm5
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x24], xmm2
movdqa xmm2, xmmword [0x18010bad0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x28]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
pmuldq xmm1, xmm5
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rsp + 0x28], xmm3
shufps xmm1, xmm0, 0xdd
movdqa xmm3, xmmword [0x18010bae0]
paddd xmm1, xmm2
psrad xmm1, 5
mov ecx, 0x14
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x2c]
andps xmm2, xmm4
packuswb xmm2, xmm2
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x2c], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x70]
psubd xmm3, xmm0
andps xmm3, xmm4
movd xmm0, edx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movaps xmm7, xmmword [rsp + 0x60]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x1800c3080
xorps xmm0, xmm0
mov qword [rsp + 0x48], 0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800c30d5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180015bf0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.18002beb0
add rsp, 0x88
ret