Function at 0x1800c2190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x80
xor r14d, r14d
mov esi, 1
mov ebx, r14d
xor eax, eax
lock cmpxchg dword [0x18021e740], esi
je 0x1800c21e1
nop word [rax + rax]
cmp rbx, 0x20
jae 0x1800c21ca
xor ecx, ecx
jmp 0x1800c21cc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18021e740], esi
jne 0x1800c21c0
cmp qword [0x18021e748], r14
jne 0x1800c2216
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18021e748], rax
mov ecx, r14d
xchg dword [0x18021e740], ecx
test rax, rax
jne 0x1800c221f
mov eax, 0xfffffff8
jmp 0x1800c2826
mov eax, r14d
xchg dword [0x18021e740], eax
mov rcx, qword [0x18021ebb8]
mov qword [rsp + 0xa8], rdi
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
call fcn.180058ef0
mov edi, dword [0x18011f090]
mov rbx, 0xffffffffffffffff
movdqa xmm7, xmmword [0x18010ad90]
test al, al
jne 0x1800c24e3
cmp byte [0x18010a90b], r14b
movups xmm3, xmmword [0x18010a8f8]
mov ecx, dword [0x18010a908]
mov dword [rbp - 0x50], ecx
movups xmmword [rbp - 0x60], xmm3
je 0x1800c24aa
mov r8d, r14d
cmp edi, 2
jl 0x1800c2474
movdqa xmm4, xmmword [0x18010b100]
movdqa xmm2, xmmword [0x18010ac10]
movdqa xmm5, xmmword [0x18010aca0]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [0x18010ae10]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x18010ac40]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0x60], xmm2
movdqa xmm2, xmmword [0x18010ac30]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x5c]
andps xmm2, xmm7
pmuldq xmm1, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x5c], xmm2
movdqa xmm2, xmmword [0x18010ac50]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x58]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x58], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movdqa xmm3, xmmword [0x18010ac60]
andps xmm2, xmm7
movd xmm0, dword [rbp - 0x54]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm4
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x54], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movd dword [rbp - 0x50], xmm3
jmp 0x1800c24aa
lea r9, [rbp - 0x60]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1800c2480
xorps xmm0, xmm0
mov qword [rbp - 0x38], r14
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], r14
lea rax, [rbp - 0x60]
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x1800c24c0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.180015c40
movzx edx, sil
lea rcx, [rbp - 0x48]
call fcn.18002c520
cmp byte [0x18021eb50], r14b
je 0x1800c256a
mov rcx, qword [0x18021ebb8]
lea r8, [0x18021eb88]
lea rdx, [0x1800c15e0]
mov rcx, qword [rcx + 0x40]
call fcn.180072630
test eax, eax
jne 0x1800c2560
mov rax, qword [0x18021ebb8]
mov edx, esi
mov rcx, qword [rax + 0x40]
call fcn.180072be0
test eax, eax
jne 0x1800c2560
mov rcx, qword [0x18021ebb8]
lea r8, [0x18021eba0]
lea rdx, [0x1800c18c0]
mov rcx, qword [rcx + 0x68]
call fcn.180072630
test eax, eax
jne 0x1800c2560
mov rax, qword [0x18021ebb8]
mov edx, esi
mov rcx, qword [rax + 0x68]
call fcn.180072be0
test eax, eax
je 0x1800c2814
mov eax, 0xfffffff9
jmp 0x1800c2814
cmp byte [0x18010a925], r14b
movups xmm6, xmmword [str.dVYAC]
movzx eax, word [0x18010a924]
mov edx, dword [0x18010a920]
movups xmmword [rbp - 0x60], xmm6
mov dword [rbp - 0x50], edx
mov word [rbp - 0x4c], ax
je 0x1800c27dd
mov ecx, r14d
cmp edi, 2
jl 0x1800c27a4
movdqa xmm4, xmmword [0x18010b100]
movdqa xmm3, xmmword [0x18010ac10]
movdqa xmm2, xmmword [0x18010ac30]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x18010aca0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov ecx, dword [0x18010ae10]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x60], xmm3
movdqa xmm3, xmmword [0x18010ac40]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x5c]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x5c], xmm2
movdqa xmm2, xmmword [0x18010ac50]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x58]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp - 0x58], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x18010ac60]
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x54]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x54], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
mov ecx, 0x14
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x50], xmm3
mov eax, ecx
lea r8, [rbp - 0x60]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x1800c27b0
xorps xmm0, xmm0
mov qword [rbp - 0x38], r14
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], r14
lea rax, [rbp - 0x60]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1800c27f0
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.180015c40
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.18002c520
movaps xmm6, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
movaps xmm7, xmmword [rsp + 0x60]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret