Function at 0x180019a70
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.180092f50
sub rsp, rax
mov rax, qword [0x1800ad828]
xor rax, rsp
mov qword [rbp + 0x1110], rax
lea eax, [r9 - 0x13]
mov dword [rsp + 0x44], r9d
mov qword [rbp - 0x80], r8
mov r15d, r9d
mov qword [rsp + 0x30], rdx
mov r14, r8
mov qword [rsp + 0x70], rcx
mov r11, rdx
mov dword [rsp + 0x60], eax
mov r12, rcx
cmp r9d, eax
jbe 0x18001a54b
mov r13, qword [rsp + 0x70]
lea rdx, [0x180000000]
mov esi, dword [rsp + 0x40]
xor ebx, ebx
mov edi, dword [rsp + 0x38]
lea eax, [r15 - 0x36]
movabs r9, 0xaaaaaaaaaaaaaaab
cmp eax, 0x39
ja case.0x180019b15.73
movzx eax, byte [rdx + rax + 0x1a5cc]
mov ecx, dword [rdx + rax*4 + 0x1a57c]
add rcx, rdx
jmp rcx
xor edx, edx
lea rcx, [rbp + 0xcb0]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
jmp 0x18001a500
cmp dword [r14 + 0x224], 1
je 0x18001a529
cmp dword [r14 + 0x220], ebx
je 0x18001a529
xor edx, edx
lea rcx, [rbp + 0xee0]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
jmp 0x18001a500
cmp qword [r14 + 0x18], 0x10
mov rcx, r14
jb 0x180019b71
mov rcx, qword [r14]
mov r8, qword [r11 + 0x10]
mov rax, r9
mul r8
mov r10, rbx
shr rdx, 1
lea rdx, [rdx + rdx*2]
test rdx, rdx
je 0x180019c61
mov rax, r9
dec rdx
mul rdx
mov r9, rdx
shr r9, 1
inc r9
lea r10, [r9 + r9*2]
nop dword [rax]
nop dword [rax + rax]
mov r8d, 0x35
mov eax, r8d
sub eax, 0x35
je 0x180019be8
sub eax, 1
je 0x180019bce
cmp eax, 1
jne 0x180019c46
add r13, 3
jmp 0x180019c46
movzx edx, byte [r13 + 2]
mov rax, qword [0x1800aea28]
and edx, 0x3f
movzx edx, byte [rdx + rax]
mov byte [rcx], dl
inc rcx
jmp 0x180019c46
mov rax, qword [0x1800aea28]
movzx edx, byte [r13]
shr rdx, 2
movzx edx, byte [rdx + rax]
mov byte [rcx], dl
movzx edx, byte [r13]
movzx eax, byte [r13 + 1]
and edx, 3
shl edx, 4
shr eax, 4
add edx, eax
mov rax, qword [0x1800aea28]
movzx edx, byte [rdx + rax]
mov byte [rcx + 1], dl
movzx edx, byte [r13 + 2]
movzx eax, byte [r13 + 1]
shr edx, 6
and eax, 0xf
lea edx, [rdx + rax*4]
mov rax, qword [0x1800aea28]
movzx edx, byte [rdx + rax]
mov byte [rcx + 2], dl
add rcx, 3
inc r8d
cmp r8d, 0x38
jb 0x180019bb6
sub r9, 1
jne 0x180019bb0
mov r8, qword [r11 + 0x10]
cmp r10, r8
jae 0x18001a505
mov esi, dword [rsp + 0x3c]
mov r9d, 0xe3
mov edi, dword [rsp + 0x4c]
nop dword [rax + rax]
mov eax, r9d
sub eax, 0xe0
je 0x180019cf4
sub eax, 1
je 0x180019cd3
sub eax, 1
je 0x180019cb7
cmp eax, 1
jne 0x180019d29
movzx edi, byte [r13]
lea rax, [r10 + 1]
cmp rax, qword [r11 + 0x10]
jae 0x180019cb3
movzx esi, byte [r13 + 1]
jmp 0x180019d29
mov esi, ebx
jmp 0x180019d29
mov rax, qword [0x1800aea28]
mov edx, edi
shr rdx, 2
mov dword [rsp + 0x48], ebx
movzx edx, byte [rdx + rax]
mov byte [rcx], dl
inc rcx
jmp 0x180019d29
mov edx, edi
mov eax, esi
and edx, 3
shr eax, 4
shl edx, 4
add edx, eax
mov rax, qword [0x1800aea28]
movzx edx, byte [rdx + rax]
mov byte [rcx], dl
inc rcx
jmp 0x180019d29
lea rax, [r10 + 1]
cmp rax, qword [r11 + 0x10]
jae 0x180019d1b
mov eax, dword [rsp + 0x48]
mov edx, esi
and edx, 0xf
shr eax, 6
lea edx, [rax + rdx*4]
mov rax, qword [0x1800aea28]
movzx r8d, byte [rdx + rax]
jmp 0x180019d1e
mov r8b, 0x3d
mov byte [rcx], r8b
mov byte [rcx + 1], 0x3d
add rcx, 2
dec r9d
cmp r9d, 0xdf
ja 0x180019c80
mov dword [rsp + 0x4c], edi
mov edi, dword [rsp + 0x38]
mov dword [rsp + 0x3c], esi
mov esi, dword [rsp + 0x40]
jmp 0x18001a505
mov rcx, qword [r11 + 0x10]
mov rax, r9
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, r14
shr rdx, 1
shl rdx, 2
call fcn.180050e30
jmp 0x18001a500
mov edx, dword [rbp + 0x3e0]
mov ecx, 0x5f
nop
mov eax, ecx
sub eax, 0x5f
je 0x180019db9
sub eax, 0x7f
je 0x180019da6
cmp eax, 0x44
jne 0x180019dd7
cmp dword [rbp + 0x1c0], 1
jne 0x18001a529
mov esi, ebx
mov dword [rsp + 0x40], ebx
jmp 0x180019df0
mov eax, 1
xchg dword [rbp + 0x2dc], eax
mov edx, dword [rbp + 0x3e0]
jmp 0x180019dd7
test edx, edx
je 0x18001a529
cmp dword [rbp + 0x3e4], 1
je 0x18001a529
cmp edx, 1
jg 0x18001a529
add ecx, 0xc3
cmp ecx, 0x2a8
jb 0x180019d80
test esi, esi
jne 0x18001a529
nop dword [rax]
mov ecx, 0x5f
mov eax, ecx
sub eax, 0x5f
je 0x180019e1e
sub eax, 0x7f
je 0x180019e11
cmp eax, 0x44
jne 0x180019e30
cmp dword [rbp - 0x70], ebx
mov edi, ebx
seta dil
jmp 0x180019e6b
mov eax, 1
xchg dword [rbp + 0xac], eax
jmp 0x180019e30
cmp dword [rbp + 0x1b4], 1
je 0x180019e45
cmp dword [rbp + 0x1b0], 1
jg 0x180019e66
add ecx, 0xc3
cmp ecx, 0x2a8
jb 0x180019df5
cmp edi, 0xffffffff
jne 0x180019e6f
jmp 0x180019e4e
mov edi, 0xffffffff
mov dword [rsp + 0x38], edi
mov r9d, 0x7f
lea r8, [rbp - 0x70]
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.18002d2e0
jmp 0x180019df0
mov edi, 1
mov dword [rsp + 0x38], edi
xor edx, edx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x70]
mov rcx, r14
lea r8d, [rdx + 0x3d]
call fcn.18005d150
cmp eax, 0xffffffff
je 0x180019ec2
nop dword [rax + rax]
mov r9d, 0x7e
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.180072f50
xor edx, edx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x70]
mov rcx, r14
lea r8d, [rdx + 0x3d]
call fcn.18005d150
cmp eax, 0xffffffff
jne 0x180019e90
lea rax, [rbp - 0x70]
cmp rax, r12
je 0x18001a500
mov rcx, r12
lea rax, [rbp - 0x70]
mov edx, 4
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x180019ee0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
jmp 0x18001a500
cmp qword [rsp + 0x68], rbx
jne case.0x180019b15.73
mov rax, rbx
jmp 0x18001a550
cmp dword [rbp + 0x3e0], ebx
jl 0x18001a04e
test byte [rbp + 0x1c0], 1
jne 0x18001a04e
mov r14d, 0x9e
mov eax, r14d
sub eax, 0x9e
je 0x18001a01d
sub eax, 1
je 0x180019fc2
cmp eax, 1
jne 0x18001a039
mov r9d, 0x117
lea rdx, [rbp - 0x70]
xor r8d, r8d
lea rcx, [rbp - 0x70]
call fcn.18002d2e0
lea rdx, [rbp + 0x620]
lea rcx, [rbp + 0x620]
jmp 0x18001a02b
cmp dword [rbp + 0x1b0], ebx
jle 0x180019fd0
test byte [rbp - 0x70], 1
jne 0x180019fe1
cmp dword [rbp + 0x840], ebx
jle 0x18001a039
test byte [rbp + 0x620], 1
je 0x18001a039
mov r9d, 0x7f
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0xcb0]
lea rcx, [rbp - 0x70]
call fcn.18002d2e0
mov r9d, 0x7e
lea r8, [rbp + 0x620]
lea rdx, [rbp + 0x620]
lea rcx, [rbp + 0xee0]
call fcn.180072f50
jmp 0x18001a039
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x1c0]
mov r9d, 0x117
xor r8d, r8d
call fcn.18002d2e0
inc r14d
cmp r14d, 0xa1
jb 0x180019f80
jmp case.0x180019b15.64
lea r8, [rbp + 0x1c0]
mov ecx, 0x11a
lea rdx, [rbp + 0x3f0]
call fcn.18002dbd0
mov r12, rax
lea rdx, [rbp + 0x1c0]
cmp r12d, 0xffffffff
lea rax, [rbp + 0x3f0]
lea r14, [rbp - 0x70]
mov r9d, 0x7e
cmovne rdx, rax
lea r15, [rbp + 0x620]
lea rax, [rbp + 0x850]
mov r8, rdx
cmovne r14, rax
lea rcx, [rbp + 0x3f0]
lea rax, [rbp + 0xa80]
cmovne r15, rax
lea rax, [rbp + 0x1c0]
cmovne rcx, rax
call fcn.180072f50
lea rax, [rbp - 0x70]
cmp r12d, 0xffffffff
lea rcx, [rbp + 0x850]
mov r9d, 0x7e
cmovne rcx, rax
mov r8, r14
mov rdx, r14
call fcn.180072f50
lea rax, [rbp + 0x620]
cmp r12d, 0xffffffff
lea rcx, [rbp + 0xa80]
mov r9d, 0x7e
cmovne rcx, rax
mov r8, r15
mov rdx, r15
call fcn.180072f50
cmp dword [rbp + 0x610], ebx
jne 0x18001a369
mov r15d, dword [rsp + 0x44]
jmp 0x18001a500
xor edx, edx
lea rcx, [rbp + 0x3f0]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
jmp 0x18001a500
mov r9d, 0x85
lea r8, [rbp + 0xee0]
mov rdx, r11
mov rcx, r14
call fcn.180034a60
test eax, eax
jne 0x18001a541
lea rax, [rbp + 0xcb0]
cmp r14, rax
je 0x18001a1e9
mov rax, r14
lea rcx, [rbp + 0xcb0]
mov edx, 4
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18001a180
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
cmp dword [rbp + 0x1100], ebx
jl 0x18001a20f
test byte [rbp + 0xee0], 1
jne 0x18001a20f
cmp dword [rbp + 0xed0], ebx
jl 0x18001a20f
test byte [rbp + 0xcb0], 1
je 0x18001a529
lea rcx, [rbp + 0x3f0]
mov edx, 4
lea rax, [rbp + 0xee0]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18001a222
jmp 0x180019f33
mov r12, qword [rsp + 0x68]
mov rdx, r11
mov r8, qword [r14]
mov rcx, qword [r12]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14]
mov rax, qword [r12]
mov qword [r12 + 8], rcx
mov byte [rcx + rax], bl
jmp 0x18001a500
lea rcx, [rbp + 0x1c0]
mov edx, 4
lea rax, [rbp + 0xcb0]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18001a2c0
movups xmm0, xmmword [rax]
mov r9d, 0xb4
lea r8, [rsp + 0x50]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rbp + 0x850]
call fcn.180034830
mov r9d, 0xb4
mov dword [rsp + 0x58], 1
lea r8, [rsp + 0x58]
xor edx, edx
lea rcx, [rbp + 0x620]
call fcn.180034830
mov r15d, 0x69
jmp 0x18001a500
cmp dword [rbp + 0x610], ebx
jl 0x18001a500
test byte [rbp + 0x3f0], 1
jne 0x18001a500
mov r14d, SHTestTokenMembership
cmp r14d, 0xf2
jne 0x18001a454
lea r9d, [r14 + 0x25]
xor r8d, r8d
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x3f0]
call fcn.18002d2e0
cmp dword [rbp + 0xa70], ebx
jle 0x18001a3cb
test byte [rbp + 0x850], 1
jne 0x18001a3dc
cmp dword [rbp + 0xca0], ebx
jle 0x18001a41c
test byte [rbp + 0xa80], 1
je 0x18001a41c
mov r9d, 0x7f
lea r8, [rbp + 0x850]
lea rdx, [rbp + 0xcb0]
lea rcx, [rbp + 0x850]
call fcn.18002d2e0
mov r9d, 0x7e
lea r8, [rbp + 0xa80]
lea rdx, [rbp + 0xa80]
lea rcx, [rbp + 0xee0]
call fcn.180072f50
mov r9d, 0x117
lea rdx, [rbp + 0x850]
xor r8d, r8d
lea rcx, [rbp + 0x850]
call fcn.18002d2e0
mov r9d, 0x117
lea rdx, [rbp + 0xa80]
xor r8d, r8d
lea rcx, [rbp + 0xa80]
call fcn.18002d2e0
add r14d, 0x8366
cmp r14d, 0x8366
jbe 0x18001a393
jmp case.0x180019b15.65
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x620]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
jmp 0x18001a500
cmp qword [r11 + 0x18], 0x10
mov r13, r11
jb case.0x180019b15.73
mov r13, qword [r11]
jmp case.0x180019b15.73
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x850]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xa80]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
jmp 0x18001a500
mov rax, qword [r14]
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x78], rax
mov ecx, SHTestTokenMembership
call fcn.18002a140
mov qword [rsp + 0x68], rax
mov r11, qword [rsp + 0x30]
lea rdx, [0x180000000]
dec r15d
mov dword [rsp + 0x44], r15d
cmp r15d, dword [rsp + 0x60]
jbe 0x18001a54b
mov r14, qword [rbp - 0x80]
mov r12, qword [rsp + 0x70]
jmp 0x180019aec
mov dword [rsp + 0x30], 1
jmp 0x18001a54b
mov rax, qword [rsp + 0x68]
jmp 0x18001a550
mov eax, dword [r11 + 0x90]
mov dword [rsp + 0x30], eax
jmp 0x18001a54b
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.180092fc0
mov rbx, qword [rsp + 0x1278]
add rsp, 0x1220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret