Function at 0x14017a290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140445eb8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x38], 0
mov rax, qword [rdx + 0xc0]
mov rbx, qword [rax + 0x190]
lea rcx, [rsp + 0x38]
call fcn.1401dc450
mov r8, 0xffffffffffffffff
lea rdx, str.InitiatorSecretEncrypted
lea rcx, [rsp + 0x30]
call fcn.1401dcb30
nop
mov rdx, qword [0x140378c60]
mov r8, qword [rsp + 0x30]
test r8, r8
cmovne rdx, r8
lea r8, [rsp + 0x38]
lea rcx, [r15 + 0xc0]
mov rax, rbx
call qword [case.0x140010858.0]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1401dc450
nop
test ebx, ebx
js 0x14017a4e0
lea rcx, [rsp + 0x60]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_void____ptr64]
lea r13, vtable.com::Utf8Str.0
mov qword [rsp + 0x60], r13
lea rcx, [rbp - 0x80]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_void____ptr64]
nop
mov qword [rbp - 0x80], r13
mov rdx, qword [0x140378c60]
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne rdx, rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp - 0x80]
call fcn.1401dc910
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.VBoxRT.dll_public:_char_const____ptr64___cdecl_RTCString::c_str_void_const___ptr64]
mov rcx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, VarR4FromUI1
lea rdx, [rbp - 0x20]
call qword [sym.imp.VBoxRT.dll_RTBase64Decode]
mov ebx, eax
test eax, eax
js 0x14017a48d
mov r14, qword [r14 + 0xc8]
cmp byte [r14 + 0x240], 0
jne 0x14017a3d3
mov ebx, 0xffffffb1
jmp 0x14017a48d
mov rsi, qword [rsp + 0x30]
cmp rsi, 0x20
jae 0x14017a3e8
mov ebx, 0xfffffffe
jmp 0x14017a48d
xor edi, edi
xor ebx, ebx
lea rdx, [rbp - 0x20]
movzx ecx, byte [rbx + r14 + 0x241]
cmp byte [rdx], cl
jne 0x14017a488
inc edi
inc rdx
inc ebx
cmp edi, 8
jb 0x14017a3f0
mov r8, rsi
mov edx, 0xff
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov edx, edi
cmp rdx, rsi
jae 0x14017a458
lea r8, [rbp - 0x60]
nop dword [rax]
movzx ecx, byte [rbx + r14 + 0x241]
xor cl, byte [rbp + rdx - 0x20]
mov byte [r8], cl
lea eax, [rbx + 1]
inc edi
lea r8, [r8 + 1]
mov edx, edi
xor ebx, ebx
cmp eax, 0x40
cmovb ebx, eax
cmp rdx, rsi
jb 0x14017a430
xor ebx, ebx
test rsi, rsi
je 0x14017a488
xor eax, eax
cmp byte [rbp + rax - 0x60], 0
jne 0x14017a47f
lea rcx, [rbp - 0x60]
call qword [sym.imp.VBoxRT.dll_RTStrIsValidEncoding]
test al, al
jne 0x14017a517
mov rsi, qword [rsp + 0x30]
inc ebx
mov eax, ebx
cmp rax, rsi
jb 0x14017a461
mov ebx, 0xfffffffd
lea rcx, [rbp - 0x80]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
test ebx, ebx
js 0x14017a54e
lea rdx, str.InitiatorSecret
lea rcx, [rsp + 0x40]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0x40], r13
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140110f60
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
xor ebx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401dc450
nop
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1401db5e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0x40], r13
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::operator_class_RTCString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
xor ebx, ebx
jmp 0x14017a48d
lea rcx, [rsp + 0x60]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
jmp 0x14017a4e2