Function at 0x180050190
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x180188140]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, r8
mov rdi, rdx
mov qword [rbp - 0x39], r8
lea r8, str.type
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.18003b4ac
cmp word [rdi + 0xe], 3
jne 0x180050545
mov ecx, dword [rdi]
shl rcx, 5
mov rax, qword [rdi + 8]
movabs r14, 0xffffffffffff
and rax, r14
add rcx, rax
mov rbx, qword [rbp - 0x29]
cmp rbx, rcx
je 0x1800504ef
movzx eax, word [rbx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1800504ef
lea r8, str.origin
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.18003b4ac
cmp word [rdi + 0xe], 3
jne 0x180050524
mov ecx, dword [rdi]
shl rcx, 5
mov rax, qword [rdi + 8]
and rax, r14
add rcx, rax
mov rsi, qword [rbp - 0x29]
cmp rsi, rcx
je 0x1800504e6
movzx eax, word [rsi + 0x1e]
shr ax, 0xa
test al, 1
je 0x1800504e6
lea r8, str.target
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.18003b4ac
cmp word [rdi + 0xe], 3
jne 0x1800505ea
mov ecx, dword [rdi]
shl rcx, 5
mov rax, qword [rdi + 8]
and rax, r14
add rcx, rax
mov rdi, qword [rbp - 0x29]
cmp rdi, rcx
je 0x1800504d5
movzx eax, word [rdi + 0x1e]
shr ax, 0xa
test al, 1
je 0x1800504d5
add rbx, 0x10
movzx eax, word [rbx + 0xe]
shr ax, 0xa
test al, 1
je 0x1800505c9
mov eax, 0x1000
test word [rbx + 0xe], ax
je 0x1800502d3
mov r12, rbx
jmp 0x1800502da
mov r12, qword [rbx + 8]
and r12, r14
xor r14d, r14d
xor r15d, r15d
mov rdx, qword [0x180198090]
mov rdx, qword [r15 + rdx]
mov rcx, r12
call fcn.1800d1ea4
test eax, eax
je 0x18005030a
inc r14
add r15, 0x28
cmp r15, 0x1a40
jb 0x1800502e0
mov r14b, 0xa8
cmp r14b, 0xa8
jne 0x1800503b5
movzx eax, word [rbx + 0xe]
shr ax, 0xa
test al, 1
je 0x180050566
mov r15d, 0x1000
test word [rbx + 0xe], r15w
jne 0x180050342
mov rbx, qword [rbx + 8]
movabs rsi, 0xffffffffffff
and rbx, rsi
lea rax, str.mod__is_containing_a_redirect_member_without_a_valid_type:_
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 0x3f
mov qword [rbp + 7], r13
movabs rax, 0xb000000000000000
mov qword [rbp - 9], rax
mov qword [rbp + 0xf], rbx
movabs rax, 0xb000000000000008
mov qword [rbp - 1], rax
mov qword [rbp - 0x49], 2
lea rax, [rbp - 9]
mov qword [rbp - 0x41], rax
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x69], xmm0
movaps xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x49], xmm1
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.18001d598
lea rdx, [rbp - 0x29]
jmp 0x180050516
lea rcx, [rsi + 0x10]
movzx eax, word [rcx + 0xe]
shr ax, 0xa
test al, 1
je 0x1800505a8
mov r15d, 0x1000
movabs rsi, 0xffffffffffff
test word [rcx + 0xe], r15w
jne 0x1800503e7
mov rcx, qword [rcx + 8]
and rcx, rsi
call fcn.18005c650
mov qword [rbp - 0x31], rax
lea rcx, [rdi + 0x10]
movzx eax, word [rcx + 0xe]
shr ax, 0xa
test al, 1
je 0x180050587
test word [rcx + 0xe], r15w
jne 0x180050412
mov rcx, qword [rcx + 8]
and rcx, rsi
call fcn.18005c650
mov rbx, rax
mov qword [rbp - 0x49], rax
movzx edi, r14b
mov ecx, edi
shl rcx, 6
lea rax, [0x180189908]
add rcx, rax
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x69]
call fcn.18002e4ac
mov rcx, qword [rax]
mov qword [rcx + 0x18], rbx
cmp r14b, 0xa8
jb 0x180050455
lea rax, str.invalid
jmp 0x180050464
lea rcx, [rdi + rdi*4]
mov rax, qword [0x180198090]
mov rax, qword [rax + rcx*8]
mov qword [rbp - 0x29], rax
lea rax, str.mod_:_loaded_redirect_:x____:x___
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x29
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.1800534b4
mov rdx, rax
xor ecx, ecx
call fcn.1800480a8
mov al, 1
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800c0610
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, str.mod__is_containing_a_redirect_member_without_a_valid_target
mov qword [rbp - 0x61], 0x3d
jmp 0x1800504fe
lea rax, str.mod__is_containing_a_redirect_member_without_a_valid_origin
jmp 0x1800504dc
lea rax, str.mod__is_containing_a_redirect_member_without_a_valid_type
mov qword [rbp - 0x61], 0x3b
mov qword [rbp - 0x69], rax
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.18004b570
mov rdx, rax
mov ecx, 2
call fcn.1800480a8
xor al, al
jmp 0x1800504ae
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rbp - 0x69]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rbp - 0x69]
call fcn.1800c2cd0
int3