Function at 0x1800826b0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x8f0], rbx
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rbx, r9
mov r11, r8
mov r9d, edx
mov r10, rcx
test rcx, rcx
je 0x18008291f
test edx, edx
je 0x18008291f
test r8, r8
je 0x18008291f
test rbx, rbx
je 0x18008291f
lea ecx, [r9 + 2]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edi, [rdx*4 + 1]
cmp edi, dword [rbx]
jbe 0x18008281b
lea r8, str.Base64_target_buffer_too_small
mov edx, 0x7ff
lea rcx, [rbp - 0x40]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 5
jl 0x180082814
lea rax, [rsp + 0x58]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x70], 7
xor esi, esi
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [rsi + 0x13]
lea rdx, str.GridCommonUtils.cpp
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
lea r8d, [rsi + 0xc]
lea rdx, str.base64Encode
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1f5
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x48]
lea edx, [rsi + 5]
call fcn.180019ae4
mov dword [rbx], edi
jmp 0x18008291f
mov rcx, r9
add r9, r10
mov rax, r11
lea rdi, [0x180138590]
cmp rcx, 3
jb 0x1800828ac
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [r10]
shr rcx, 2
movzx ecx, byte [rcx + rdi]
mov byte [rax], cl
movzx edx, byte [r10]
and edx, 3
shl rdx, 4
movzx ecx, byte [r10 + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + rdi]
mov byte [rax + 1], cl
movzx edx, byte [r10 + 1]
and edx, 0xf
shl rdx, 2
movzx ecx, byte [r10 + 2]
shr rcx, 6
or rdx, rcx
movzx ecx, byte [rdx + rdi]
mov byte [rax + 2], cl
movzx ecx, byte [r10 + 2]
and ecx, 0x3f
movzx ecx, byte [rcx + rdi]
mov byte [rax + 3], cl
add rax, 4
add r10, 3
sub r8, 3
cmp r8, 3
jge 0x180082840
sub r9, r10
je 0x180082913
movzx ecx, byte [r10]
shr rcx, 2
movzx ecx, byte [rcx + rdi]
mov byte [rax], cl
cmp r9, 1
jne 0x1800828dc
movzx ecx, byte [r10]
and ecx, 3
add rcx, rcx
movzx ecx, byte [rdi + rcx*8]
mov byte [rax + 1], cl
mov byte [rax + 2], 0x3d
jmp 0x180082909
movzx edx, byte [r10]
and edx, 3
shl rdx, 4
movzx ecx, byte [r10 + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + rdi]
mov byte [rax + 1], cl
movzx ecx, byte [r10 + 1]
and ecx, 0xf
movzx ecx, byte [rdi + rcx*4]
mov byte [rax + 2], cl
add rax, 3
mov byte [rax], 0x3d
inc rax
mov byte [rax], 0
sub eax, r11d
mov dword [rbx], eax
mov al, 1
jmp 0x180082921
xor al, al
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1800a6240
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8d0
pop rdi
pop rsi
pop rbp
ret