Function at 0x14001e450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14001e72b
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400bcc28], eax
jle 0x14001e55f
lea rcx, [0x1400bcc28]
call fcn.14002dcf0
cmp dword [0x1400bcc28], 0xffffffff
jne 0x14001e55f
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x47], xmm1
mov ecx, 0x20
call fcn.14002dd68
mov qword [rbp + 0x37], rax
movdqa xmm0, xmmword [0x14003a760]
movdqu xmmword [rbp + 0x47], xmm0
movups xmm0, xmmword [str.ExReleaseResourceLite]
movups xmmword [rax], xmm0
mov ecx, dword [0x140030838]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x14003083c]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea r8, [rbp + 0x37]
mov rdx, qword [0x1400bcb18]
mov rcx, rdi
call fcn.14001d460
mov qword [0x1400bcbb8], rax
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0xf
jbe 0x14001e553
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e54d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001e54d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dc40
nop
lea rcx, [0x1400bcc28]
call fcn.14002dc84
mov r8, qword [0x1400bcbb8]
test r8, r8
jne 0x14001e72f
mov dword [rbp - 0x29], 0xb8aab8d1
mov dword [rbp - 0x25], 0xb8adb8d1
mov dword [rbp - 0x21], 0xb8eeb8c8
mov dword [rbp - 0x1d], 0xb8fdb8f9
mov dword [rbp - 0x19], 0xb8f7b8f7
mov dword [rbp - 0x15], 0xb8e1b8b4
mov dword [rbp - 0x11], 0xb8b7b8f9
mov dword [rbp - 0xd], 0xb8f0b8fe
mov dword [rbp - 9], 0xb8ffb8f4
mov dword [rbp - 5], 0xb8d8b8bc
mov dword [rbp - 1], 0xb8cdb8e6
mov dword [rbp + 3], 0xb8cdb8c5
mov dword [rbp + 7], 0xb8c2b8c7
mov dword [rbp + 0xb], 0xb8c0b8d7
mov dword [rbp + 0xf], 0xb8c2b8f4
mov dword [rbp + 0x13], 0xb8c6b8db
mov dword [rbp + 0x17], 0xb8d9b8df
mov dword [rbp + 0x1b], 0xb8c8b8cf
mov dword [rbp + 0x1f], 0xb8c6b8e2
mov dword [rbp + 0x23], 0xb8d4b8c4
xor eax, eax
mov word [rbp + 0x27], ax
mov byte [rbp + 0x29], 1
movdqa xmm3, xmmword [0x14003a720]
movdqa xmm4, xmmword [0x14003a7c0]
mov edx, 0xb891
lea rcx, [rbp - 0x25]
nop
lea rax, [rdx - 0xb891]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
movd xmm1, dword [rcx - 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx - 4], xmm1
lea rax, [rdx - 5]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rcx]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx], xmm1
lea rax, [rdx - 3]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rcx + 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx + 4], xmm1
lea rax, [rdx - 1]
movq xmm0, rdx
movq xmm2, rax
punpcklqdq xmm2, xmm0
movd xmm1, dword [rcx + 8]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx + 8], xmm1
add rdx, 8
lea rcx, [rcx + 0x10]
lea rax, [rdx - 0xb891]
cmp rax, 0x28
jb 0x14001e620
mov byte [rbp + 0x29], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140023cc0
lea rdx, [0x140023ea0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14001e73c
mov r9, rbx
xor edx, edx
mov rcx, rdi
call fcn.140026e60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret