Function at 0x1800b3c20
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 [0x180210790], esi
je 0x1800b3c71
nop word [rax + rax]
cmp rbx, 0x20
jae 0x1800b3c5a
xor ecx, ecx
jmp 0x1800b3c5c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180210790], esi
jne 0x1800b3c50
cmp qword [0x180210798], r14
jne 0x1800b3ca6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180210798], rax
mov ecx, r14d
xchg dword [0x180210790], ecx
test rax, rax
jne 0x1800b3caf
mov eax, 0xfffffff8
jmp 0x1800b4131
mov eax, r14d
xchg dword [0x180210790], eax
mov rcx, qword [0x180210c10]
mov qword [rsp + 0xa8], rdi
movaps xmmword [rsp + 0x70], xmm6
call fcn.18004d3b0
mov edi, dword [0x180111088]
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1800b3ec3
cmp byte [0x1800fd913], r14b
movups xmm0, xmmword [0x1800fd900]
mov eax, dword [0x1800fd910]
mov dword [rbp - 0x40], eax
movups xmmword [rbp - 0x50], xmm0
je 0x1800b3e82
mov r8d, r14d
cmp edi, 2
jl 0x1800b3e47
movdqa xmm0, xmmword [0x1800fddb0]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1800fdc00]
movdqa xmm4, xmmword [0x1800fde80]
movdqa xmm6, xmmword [0x1800fdc50]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 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 [0x1800fdd90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdd90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800b3d40
cmp r8d, 0x14
jge 0x1800b3e82
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1800b3e51
xorps xmm0, xmm0
mov qword [rbp - 0x28], r14
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], r14
lea rax, [rbp - 0x50]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x1800b3ea0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.180013b40
movzx edx, sil
lea rcx, [rbp - 0x38]
call fcn.180028f80
cmp byte [0x180210ba8], r14b
je 0x1800b3f4a
mov rcx, qword [0x180210c10]
lea r8, [0x180210be0]
lea rdx, [0x1800b2d70]
mov rcx, qword [rcx + 0x40]
call fcn.180062f30
test eax, eax
jne 0x1800b3f40
mov rax, qword [0x180210c10]
mov edx, esi
mov rcx, qword [rax + 0x40]
call fcn.1800634f0
test eax, eax
jne 0x1800b3f40
mov rcx, qword [0x180210c10]
lea r8, [0x180210bf8]
lea rdx, [0x1800b3050]
mov rcx, qword [rcx + 0x68]
call fcn.180062f30
test eax, eax
jne 0x1800b3f40
mov rax, qword [0x180210c10]
mov edx, esi
mov rcx, qword [rax + 0x68]
call fcn.1800634f0
test eax, eax
je 0x1800b4124
mov eax, 0xfffffff9
jmp 0x1800b4124
cmp byte [0x1800fd8dd], r14b
mov eax, dword [0x1800fd8d8]
movups xmm0, xmmword [0x1800fd8c8]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1800fd8dc]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x1800b40ed
mov ecx, r14d
cmp edi, 2
jl 0x1800b40b4
movdqa xmm0, xmmword [0x1800fddb0]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1800fdc00]
movdqa xmm4, xmmword [0x1800fde80]
movdqa xmm6, xmmword [0x1800fdc50]
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
nop
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 [0x1800fdd90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], 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 [0x1800fdd90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1800b3fb0
cmp ecx, 0x16
jge 0x1800b40ed
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop
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, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x1800b40c0
xorps xmm0, xmm0
mov qword [rbp - 0x28], r14
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], r14
lea rax, [rbp - 0x50]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1800b4100
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.180013b40
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.180028f80
mov rdi, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret