Function at 0x18002f5a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
xor ebx, ebx
mov edi, 1
mov esi, ebx
xor eax, eax
lock cmpxchg dword [0x18020b790], edi
je 0x18002f5f7
cmp rsi, 0x20
jae 0x18002f5e0
xor ecx, ecx
jmp 0x18002f5e2
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rsi
xor eax, eax
lock cmpxchg dword [0x18020b790], edi
jne 0x18002f5d6
cmp qword [0x18020b798], rbx
mov rsi, 0xffffffffffffffff
mov r14d, dword [0x18010c088]
movaps xmmword [rsp + 0x80], xmm6
jne 0x18002f645
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 [0x18020b798], rax
xchg dword [0x18020b790], ecx
cmovne edi, ebx
jne 0x18002f838
jmp 0x18002f64d
mov eax, ebx
xchg dword [0x18020b790], eax
cmp edi, 1
je 0x18002f838
cmp byte [0x1800e945f], bl
movups xmm0, xmmword [0x1800e9448]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800e9458]
movsd qword [rbp + 0x17], xmm0
je 0x18002f801
cmp r14d, 2
jl 0x18002f7c1
movdqa xmm0, xmmword [0x1800fac90]
lea rcx, [rbp + 7]
movdqa xmm5, xmmword [0x1800fab00]
mov edx, ebx
movdqa xmm4, xmmword [0x1800fad20]
movdqa xmm6, xmmword [0x1800fab80]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
nop dword [rax]
nop word [rax + rax]
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
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp edx, 0x18
jl 0x18002f6c0
jmp 0x18002f801
lea r9, [rbp + 7]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x18002f7d0
xorps xmm0, xmm0
mov qword [rbp + 0x37], rbx
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x3f], rbx
lea rax, [rbp + 7]
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x18002f817
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.1800140a0
mov dl, 1
lea rcx, [rbp + 0x27]
call fcn.180029810
cmp qword [0x18020bb60], rbx
je 0x18002f8ca
call fcn.18002c390
mov rcx, rax
mov rdi, rax
call fcn.18004dfe0
test al, al
je 0x18002f86b
mov rcx, qword [0x18010ccd0]
cmp rcx, rsi
je 0x18002f86b
mov rcx, qword [rcx + rdi]
jmp 0x18002f86e
mov rcx, rbx
call fcn.18004dfe0
test al, al
je 0x18002f8ca
mov ecx, 0x18
call fcn.1800b4d44
mov r14, qword [0x18020bb60]
mov rsi, rax
call fcn.18002c390
mov rcx, rax
mov rdi, rax
call fcn.18004dfe0
test al, al
je 0x18002f8b0
mov rcx, qword [0x18010ccd0]
cmp rcx, 0xffffffffffffffff
je 0x18002f8b0
mov rbx, qword [rcx + rdi]
mov rdx, qword [rbx]
mov r8, r14
mov rcx, rsi
call fcn.1800300b0
mov qword [0x18020b810], rax
jmp 0x18002fab3
mov eax, dword [0x1800e9440]
mov ecx, ebx
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1800e9444]
mov word [rbp + 0x23], ax
movzx eax, byte [0x1800e9446]
mov byte [rbp + 0x25], al
movups xmm0, xmmword [0x1800e9428]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800e9438]
movsd qword [rbp + 0x17], xmm0
cmp r14d, 2
jl 0x18002fa44
movdqa xmm0, xmmword [0x1800fac90]
lea rdx, [rbp + 7]
movdqa xmm5, xmmword [0x1800fab00]
movdqa xmm4, xmmword [0x1800fad20]
movdqa xmm6, xmmword [0x1800fab80]
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
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x18
jl 0x18002f940
cmp ecx, 0x1f
jge 0x18002fa7d
movsxd rax, ecx
lea r8, [rbp + 7]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x1f
jl 0x18002fa50
xorps xmm0, xmm0
mov qword [rbp + 0x37], rbx
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x3f], rbx
lea rax, [rbp + 7]
inc rsi
cmp byte [rax + rsi], bl
jne 0x18002fa90
mov r8, rsi
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.1800140a0
mov dl, 1
lea rcx, [rbp + 0x27]
call fcn.180029810
movaps xmm6, xmmword [rsp + 0x80]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret