Function at 0x14000bca0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14000bfb0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140041ce8], eax
jle 0x14000bded
lea rcx, [0x140041ce8]
call fcn.14002c278
cmp dword [0x140041ce8], 0xffffffff
jne 0x14000bded
movsd xmm0, qword [str.BNX_o_..C]
movsd qword [rbp - 0x19], xmm0
movzx ecx, word [0x140030920]
mov word [rbp - 0x11], cx
movzx eax, byte [0x140030922]
mov byte [rbp - 0x19], 0x45
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
xor byte [rbp - 0x16], 0x3c
xor byte [rbp - 0x15], 0x3d
xor byte [rbp - 0x14], 0x3e
xor byte [rbp - 0x13], 0x3f
xor byte [rbp - 0x12], 0x40
xor cl, 0x41
mov byte [rbp - 0x11], cl
xor byte [rbp - 0x10], 0x42
xor al, 0x43
mov byte [rbp - 0xf], al
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14000bd70
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.140002e80
nop
lea r8, [rbp - 9]
mov rdx, qword [0x140041b80]
mov rcx, rdi
call fcn.14000bfe0
mov qword [0x140041c98], rax
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000bde1
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bddb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002c18c
nop
lea rcx, [0x140041ce8]
call fcn.14002c20c
mov r8, qword [0x140041c98]
test r8, r8
jne 0x14000bfb4
movups xmm0, xmmword [0x14002fa60]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x14002fa70]
movups xmmword [rbp + 7], xmm1
movups xmm0, xmmword [0x14002fa80]
movups xmmword [rbp + 0x17], xmm0
movzx eax, word [0x14002fa90]
mov word [rbp + 0x27], ax
xor ecx, ecx
cmp dword [0x140041010], 2
jl 0x14000bf4a
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b4a0]
movdqa xmm6, xmmword [0x14003b440]
movdqa xmm7, xmmword [0x14003b480]
lea rdx, [rbp - 9]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x18
jl 0x14000be60
cmp ecx, 0x19
jge 0x14000bf8f
movsxd rax, ecx
lea r8, [rbp - 9]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x37
movzx eax, cx
sub ax, dx
add ax, 0x39
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x19
jl 0x14000bf60
lea rdx, [rbp - 9]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
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___void_const____ptr64____ptr64]
lea rdx, [0x140016670]
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 0x14000bfbf
mov r9, rbx
mov rcx, rdi
call fcn.140016920
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret