Function at 0x1800c2610
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 [0x18021e810], esi
je 0x1800c2661
nop word [rax + rax]
cmp rbx, 0x20
jae 0x1800c264a
xor ecx, ecx
jmp 0x1800c264c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18021e810], esi
jne 0x1800c2640
cmp qword [0x18021e818], r14
jne 0x1800c2696
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18021e818], rax
mov ecx, r14d
xchg dword [0x18021e810], ecx
test rax, rax
jne 0x1800c269f
mov eax, 0xfffffff8
jmp 0x1800c2ce8
mov eax, r14d
xchg dword [0x18021e810], eax
mov rcx, qword [0x18021ec80]
mov qword [rsp + 0xa8], rdi
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
call fcn.1800598e0
mov edi, dword [0x18011f090]
mov rbx, 0xffffffffffffffff
movdqa xmm7, xmmword [0x18010bc10]
test al, al
jne 0x1800c2983
cmp byte [0x18010b77b], r14b
movups xmm3, xmmword [0x18010b768]
mov ecx, dword [0x18010b778]
mov dword [rbp - 0x50], ecx
movups xmmword [rbp - 0x60], xmm3
je 0x1800c2943
mov r8d, r14d
cmp edi, 2
jl 0x1800c2908
movdqa xmm4, xmmword [0x18010bfb0]
movdqa xmm2, xmmword [0x18010ba90]
movdqa xmm5, xmmword [0x18010bb90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm6, xmmword [0x18010bc70]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x18010bac0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x18010bab0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
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, xmm5
psubd xmm2, xmm0
pmuldq xmm1, xmm4
movd xmm0, dword [rbp - 0x5c]
andps xmm2, xmm7
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 [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, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x58]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x58], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
movdqa xmm3, xmmword [0x18010bae0]
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x54]
andps xmm2, xmm7
packuswb xmm2, xmm2
pmuldq xmm1, xmm4
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x54], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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 0x1800c2943
lea r9, [rbp - 0x60]
nop dword [rax]
mov eax, 0x1f7047dd
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1800c2910
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
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x1800c2960
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.180015bf0
movzx edx, sil
lea rcx, [rbp - 0x48]
call fcn.18002beb0
cmp byte [0x18021ec20], r14b
je 0x1800c2a0a
mov rcx, qword [0x18021ec80]
lea r8, [0x18021ec50]
lea rdx, [0x1800c1a60]
mov rcx, qword [rcx + 0x40]
call fcn.180072bd0
test eax, eax
jne 0x1800c2a00
mov rax, qword [0x18021ec80]
mov edx, esi
mov rcx, qword [rax + 0x40]
call fcn.180073180
test eax, eax
jne 0x1800c2a00
mov rcx, qword [0x18021ec80]
lea r8, [0x18021ec68]
lea rdx, [0x1800c1d40]
mov rcx, qword [rcx + 0x68]
call fcn.180072bd0
test eax, eax
jne 0x1800c2a00
mov rax, qword [0x18021ec80]
mov edx, esi
mov rcx, qword [rax + 0x68]
call fcn.180073180
test eax, eax
je 0x1800c2cd6
mov eax, 0xfffffff9
jmp 0x1800c2cd6
cmp byte [0x18010b7b5], r14b
movups xmm6, xmmword [str.cSRLqN]
movzx eax, word [0x18010b7b4]
mov edx, dword [0x18010b7b0]
movups xmmword [rbp - 0x60], xmm6
mov dword [rbp - 0x50], edx
mov word [rbp - 0x4c], ax
je 0x1800c2c9f
mov ecx, r14d
cmp edi, 2
jl 0x1800c2c58
movdqa xmm4, xmmword [0x18010bfb0]
movdqa xmm3, xmmword [0x18010ba90]
movdqa xmm2, xmmword [0x18010bab0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm5, xmmword [0x18010bb90]
mov ecx, dword [0x18010bc70]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
pmuldq xmm1, xmm4
andps xmm3, xmm7
movd xmm0, ecx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
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 [0x18010bac0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x18010bad0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp - 0x58], xmm3
shufps xmm1, xmm0, 0xdd
movdqa xmm3, xmmword [0x18010bae0]
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
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
paddd xmm1, xmm3
psrad xmm1, 5
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]
nop word [rax + 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 0x1800c2c70
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 0x1800c2cb2
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.180015bf0
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.18002beb0
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