Function at 0x140050650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140091010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140050855
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401bfbe4], eax
jle 0x140050748
lea rcx, [0x1401bfbe4]
call fcn.1400728d0
cmp dword [0x1401bfbe4], 0xffffffff
jne 0x140050748
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov r8d, 0x1f
lea rdx, str.RtlLookupElementGenericTableAvl
lea rcx, [rbp + 0x17]
call fcn.14005a6a0
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x1401bc9a8]
mov rcx, rdi
call fcn.14004f4a0
mov qword [0x1401bfb78], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14005073c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050736
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050736
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b0
nop
lea rcx, [0x1401bfbe4]
call fcn.140072864
mov r8, qword [0x1401bfb78]
test r8, r8
jne 0x140050876
mov dword [rbp - 0x59], 0x41bb41c2
mov dword [rbp - 0x55], 0x41bc41c6
mov dword [rbp - 0x51], 0x41ff41db
mov dword [rbp - 0x4d], 0x41cc41f6
mov dword [rbp - 0x49], 0x41c641c4
mov dword [rbp - 0x45], 0x41d04183
mov dword [rbp - 0x41], 0x418641ca
mov dword [rbp - 0x3d], 0x41c141c1
mov dword [rbp - 0x39], 0x41ce41c7
mov dword [rbp - 0x35], 0x41fe418b
mov dword [rbp - 0x31], 0x41c241d9
mov dword [rbp - 0x2d], 0x41df41e3
mov dword [rbp - 0x29], 0x41d941de
mov dword [rbp - 0x25], 0x41c441c6
mov dword [rbp - 0x21], 0x41da41f0
mov dword [rbp - 0x1d], 0x41d541d2
mov dword [rbp - 0x19], 0x41d441dc
mov dword [rbp - 0x15], 0x41fb41cf
mov dword [rbp - 0x11], 0x41d041d8
mov dword [rbp - 0xd], 0x41b241da
mov dword [rbp - 9], 0x41a141a8
mov dword [rbp - 5], 0x41a54197
mov dword [rbp - 1], 0x41aa41a7
mov dword [rbp + 3], 0x418941a2
mov dword [rbp + 7], 0x41a641bf
xor eax, eax
mov word [rbp + 0xb], ax
mov byte [rbp + 0xd], 1
mov edx, 0x4199
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x59], cx
inc rax
cmp rax, 0x32
jb 0x140050820
mov byte [rbp + 0xd], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055b70
lea rdx, [0x140055d50]
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 eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400726c0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.1400599f0
test al, al
je 0x140050855
mov rax, qword [rbp + 0x37]
jmp 0x140050857