Function at 0x140050500
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, r9
mov rdi, r8
mov r12, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400505fd
mov dword [rbp - 0x60], 0x16731606
xor eax, eax
mov dword [rbp - 0x5c], 0x16401602
mov r8d, 0x165d
mov dword [rbp - 0x58], 0x160d162f
mov dword [rbp - 0x54], 0x16091643
mov dword [rbp - 0x50], 0x1602160a
mov dword [rbp - 0x4c], 0x16041612
mov dword [rbp - 0x48], 0x164a160c
mov dword [rbp - 0x44], 0x1608160a
mov dword [rbp - 0x40], 0x161c1609
mov dword [rbp - 0x3c], 0x1603160a
mov dword [rbp - 0x38], 0x16521602
mov dword [rbp - 0x34], 0x161b1607
mov dword [rbp - 0x30], 0x16101655
mov dword [rbp - 0x2c], 0x1616161e
mov dword [rbp - 0x28], 0x165a161d
mov dword [rbp - 0x24], 0x161d160b
mov dword [rbp - 0x20], 0x160a1609
mov dword [rbp - 0x1c], 0x16f2161a
mov dword [rbp - 0x18], 0x16ef
mov byte [rbp - 0x14], 1
nop
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x25
jb 0x1400505c0
mov byte [rbp - 0x14], 0
lea rdx, [rbp - 0x60]
mov rcx, qword [0x140070250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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
jmp 0x140050900
cmp rdi, 0x40000000
jbe 0x1400506cf
mov dword [rbp - 0x60], 0x16731606
xor eax, eax
mov dword [rbp - 0x5c], 0x16401602
mov r8d, 0x165d
mov dword [rbp - 0x58], 0x16031622
mov dword [rbp - 0x54], 0x1643160d
mov dword [rbp - 0x50], 0x16461611
mov dword [rbp - 0x4c], 0x16011601
mov dword [rbp - 0x48], 0x160e1607
mov dword [rbp - 0x44], 0x161c164b
mov dword [rbp - 0x40], 0x161a160c
mov dword [rbp - 0x3c], 0x1615161b
mov dword [rbp - 0x38], 0x161c1603
mov dword [rbp - 0x34], 0x1654165f
mov dword [rbp - 0x30], 0x16191621
mov dword [rbp - 0x2c], 0x16581618
mov dword [rbp - 0x28], 0x1613161b
mov dword [rbp - 0x24], 0x165c161c
mov dword [rbp - 0x20], 0x161b160e
mov dword [rbp - 0x1c], 0x16f4161c
mov dword [rbp - 0x18], 0x16ed16e8
mov dword [rbp - 0x14], 0x16ed
mov byte [rbp - 0x10], 1
nop dword [rax]
nop word [rax + rax]
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x27
jb 0x1400506b0
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x60]
jmp 0x1400505da
mov rcx, rdi
mov qword [rsp + 0xa8], r15
call fcn.14006d494
mov r9, rdi
mov r8, r12
mov rdx, rax
mov rcx, rbx
mov r15, rax
call fcn.14004d360
test al, al
jne 0x1400507cd
xor eax, eax
mov dword [rbp - 0x60], 0x16731606
mov word [rbp - 0x14], ax
mov r8d, 0x165d
mov dword [rbp - 0x5c], 0x16401602
mov dword [rbp - 0x58], 0x16071633
mov dword [rbp - 0x54], 0x16001602
mov dword [rbp - 0x50], 0x16001645
mov dword [rbp - 0x4c], 0x16011606
mov dword [rbp - 0x48], 0x160f1605
mov dword [rbp - 0x44], 0x164c160f
mov dword [rbp - 0x40], 0x16001604
mov dword [rbp - 0x3c], 0x1636164f
mov dword [rbp - 0x38], 0x161c1618
mov dword [rbp - 0x34], 0x16241617
mov dword [rbp - 0x30], 0x16021614
mov dword [rbp - 0x2c], 0x161d1603
mov dword [rbp - 0x28], 0x1614160b
mov dword [rbp - 0x24], 0x1608163a
mov dword [rbp - 0x20], 0x161b1636
mov dword [rbp - 0x1c], 0x16ee160d
mov dword [rbp - 0x18], 0x16ee16e4
mov byte [rbp - 0x12], 1
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x26
jb 0x140050790
mov rcx, qword [0x140070250]
lea rdx, [rbp - 0x60]
mov byte [rbp - 0x12], 0
call fcn.140054ac0
lea rdx, [0x140054ca0]
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
jmp 0x1400508f8
mov r10, qword [rbp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r10 + rax], 0
jne 0x1400507e0
sub rdi, rax
mov qword [rsp + 0xa0], rsi
mov eax, 0
mov ebx, eax
je 0x140050851
movzx r11d, byte [r10]
mov rsi, r15
sub rsi, r14
nop dword [rax + rax]
mov r8, r10
mov rdx, r14
test r11b, r11b
je 0x140050840
movzx ecx, r11b
lea r9, [rsi + rbx]
cmp cl, 0x78
jne 0x140050831
movzx ecx, byte [rdx]
cmp byte [r9 + rdx], cl
jne 0x140050849
movzx ecx, byte [r8 + 1]
inc r8
inc rdx
test cl, cl
jne 0x140050823
cmp byte [r8], al
je 0x140050919
inc rbx
cmp rbx, rdi
jb 0x140050810
mov dword [rbp - 0x60], 0x16731606
mov r8d, 0x165d
mov dword [rbp - 0x5c], 0x16401602
mov dword [rbp - 0x58], 0x16031622
mov dword [rbp - 0x54], 0x1643160d
mov dword [rbp - 0x50], 0x16461611
mov dword [rbp - 0x4c], 0x16011601
mov dword [rbp - 0x48], 0x160e1607
mov dword [rbp - 0x44], 0x161c164b
mov dword [rbp - 0x40], 0x161a160c
mov dword [rbp - 0x3c], 0x1615161b
mov dword [rbp - 0x38], 0x161c1603
mov word [rbp - 0x34], ax
mov byte [rbp - 0x32], 1
nop dword [rax]
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x16
jb 0x1400508b0
mov rcx, qword [0x140070250]
lea rdx, [rbp - 0x60]
mov byte [rbp - 0x32], 0
call fcn.140054ac0
lea rdx, [0x140054ca0]
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]
mov rcx, r15
call fcn.14006cef0
xor eax, eax
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
lea rcx, [rbx + r15]
test rcx, rcx
je 0x140050851
mov rcx, r15
call fcn.14006cef0
lea rax, [rbx + r12]
jmp 0x1400508f0