Function at 0x140145b30
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rdi
push r14
push r15
sub rsp, 0x48
mov rdi, qword [rdx + 0x20]
mov r14, r8
inc rdi
mov rbx, rdx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x88], rax
mov r15, rax
test rax, rax
jne 0x140145b75
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x40], rsi
mov rsi, qword [rbx + 0x20]
lea rax, [rsi + 1]
cmp rdi, rax
jb 0x140145be3
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140145b9d
mov rdx, qword [rdx + 8]
add rdx, qword [rbx + 0x18]
mov r8, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0
cmp qword [rbx + 0x20], 0
je 0x140145be3
mov ecx, 0x1c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140145be3
mov ecx, 0x1a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rcx, rdi
test rax, rax
jne 0x140145bf3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
jmp 0x14014614c
lea r9, str.CERTIFICATE
mov edx, 0x1c
lea r8, str._____BEGIN__s_____
call fcn.140032340
lea r9, str.CERTIFICATE
mov edx, 0x1a
lea r8, str._____END__s_____
mov rcx, rsi
call fcn.140032340
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rdx, rsi
mov rcx, r15
mov rbp, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbp, rbp
je 0x140145be3
test rbx, rbx
je 0x140145be3
lea rdi, [rbp + 0x1c]
mov qword [rsp + 0x30], r13
cmp rdi, rbx
jae 0x140146139
lfence
sub rbx, rdi
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x140146139
lfence
mov r9, rbx
lea rdx, [rbx + 1]
mov r8, rdi
mov rcx, rax
call fcn.140032270
lea rax, [rsp + 0x70]
mov byte [rbx + r13], 0
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x70], 0
mov rdx, rbx
mov rcx, r13
call fcn.140059df0
test al, al
jne 0x14014612b
mov rdi, qword [rsp + 0x70]
mov rcx, r14
lea rdx, [rdi + 1]
call fcn.14012e080
test eax, eax
je 0x14014612b
mov r9, qword [r14 + 8]
mov rax, rdi
test r9, r9
jne 0x140145cfe
mov r14, rbx
jmp 0x140145d0b
mov r9, qword [r9 + 8]
add r9, qword [r14 + 0x18]
mov r14, rbx
jne 0x140145d14
test rax, rax
jne 0x14014612b
mov qword [rsp + 0x70], 0
cmp rbx, 0xffffffffffffffff
jne 0x140145d3a
lfence
mov r14, rbx
nop dword [rax]
inc r14
cmp byte [r14 + r13], 0
jne 0x140145d30
lea rax, [r14 + 3]
shr rax, 2
lea rdx, [rax + rax*2]
cmp rdi, rdx
jae 0x140145d88
mov rcx, r14
test r14, r14
je 0x140145d61
cmp byte [rcx + r13 - 1], 0x3d
jne 0x140145d61
sub rcx, 1
jne 0x140145d53
mov rax, rcx
and eax, 3
jbe 0x14014612b
shr rcx, 2
lea rdx, [rcx*2 - 1]
add rdx, rax
add rdx, rcx
cmp rdi, rdx
jb 0x14014612b
test r9, r9
jne 0x140145d95
test rdi, rdi
jmp 0x1401460fe
xor r15d, r15d
mov qword [rsp + 0x38], r12
xor r12d, r12d
mov qword [rsp + 0x70], r15
xor ebx, ebx
xor r11d, r11d
test r14, r14
je 0x1401460e9
xor ebp, ebp
xor r10d, r10d
xor r8d, r8d
xor edi, edi
movabs rcx, 0x100002600
cmp r11, r14
jae 0x140145f60
lfence
movzx edi, byte [r11 + r13]
inc r11
cmp edi, 0x41
jb 0x140145de6
cmp dil, 0x5a
jbe 0x140145e1e
lea eax, [rdi - 0x61]
cmp al, 0x19
jbe 0x140145e1e
lea eax, [rdi - 0x2f]
cmp al, 0xa
jbe 0x140145e1e
cmp dil, 0x2b
je 0x140145e1e
cmp dil, 0x3d
je 0x140145e19
cmp dil, 0x20
ja 0x140145e0c
bt rcx, rdi
jb 0x140145e12
mov r12d, 1
cmp r11, r14
jb 0x140145dd3
jmp 0x140145e1e
mov ebx, 1
cmp r11, r14
jae 0x140145f60
nop word [rax + rax]
movzx r8d, byte [r11 + r13]
inc r11
cmp r8d, 0x41
jb 0x140145e44
cmp r8b, 0x5a
jbe 0x140145e81
lea eax, [r8 - 0x61]
cmp al, 0x19
jbe 0x140145e81
lea eax, [r8 - 0x2f]
cmp al, 0xa
jbe 0x140145e81
cmp r8b, 0x2b
je 0x140145e81
cmp r8b, 0x3d
je 0x140145e7c
cmp r8b, 0x20
ja 0x140145e6c
bt rcx, r8
jb 0x140145e72
mov r12d, 1
cmp r11, r14
jb 0x140145e30
jmp 0x140145f60
mov ebx, 1
cmp r11, r14
jae 0x140145f60
nop word [rax + rax]
movzx r10d, byte [r11 + r13]
mov ecx, r8d
inc r11
mov esi, ebx
mov rdx, r9
cmp r10d, 0x41
jb 0x140145eac
cmp r10b, 0x5a
jbe 0x140145ef2
lea eax, [r10 - 0x61]
cmp al, 0x19
jbe 0x140145ef2
lea eax, [r10 - 0x2f]
cmp al, 0xa
jbe 0x140145ef2
cmp r10b, 0x2b
je 0x140145ef2
cmp r10b, 0x3d
je 0x140145eed
cmp r10b, 0xd
je 0x140145ee6
cmp r10b, 0xa
je 0x140145ee6
cmp r10b, 0x20
je 0x140145ee6
cmp r10b, 9
je 0x140145ee6
mov r12d, 1
cmp r11, r14
jb 0x140145e90
jmp 0x140145f60
mov ebx, 1
cmp r11, r14
jae 0x140145f60
lfence
nop word [rax + rax]
movzx ebp, byte [r11 + r13]
mov ecx, r8d
inc r11
cmp ebp, 0x41
jb 0x140145f16
cmp bpl, 0x5a
jbe 0x140145f5b
lea eax, [rbp - 0x61]
cmp al, 0x19
jbe 0x140145f5b
lea eax, [rbp - 0x2f]
cmp al, 0xa
jbe 0x140145f5b
cmp bpl, 0x2b
je 0x140145f5b
cmp bpl, 0x3d
je 0x140145f56
cmp bpl, 0x20
ja 0x140145f46
movabs r8, 0x100002600
bt r8, rbp
jb 0x140145f4c
mov r12d, 1
mov r8d, ecx
cmp r11, r14
jb 0x140145f00
jmp 0x140145f5b
mov ebx, 1
mov r15, qword [rsp + 0x70]
lea eax, [rdi - 0x2b]
mov ecx, r8d
mov edx, r10d
movabs rsi, 0xffffffc07ff1
cmp eax, 0x2f
ja 0x140145f7e
bt rsi, rax
jb 0x140145f8a
lea eax, [rdi - 0x61]
cmp eax, 0x19
ja 0x140146045
lea eax, [rcx - 0x2b]
mov r8, rcx
mov r10, rdx
cmp eax, 0x2f
ja 0x140145f9e
bt rsi, rax
jb 0x140145faa
lea eax, [rcx - 0x61]
cmp eax, 0x19
ja 0x140146045
lea eax, [rdx - 0x2b]
cmp eax, 0x2f
ja 0x140145fb8
bt rsi, rax
jb 0x140145fc4
lea eax, [rdx - 0x61]
cmp eax, 0x19
ja 0x140146045
lea eax, [rbp - 0x2b]
cmp eax, 0x2f
ja 0x140145fd2
bt rsi, rax
jb 0x140145fda
lea eax, [rbp - 0x61]
cmp eax, 0x19
ja 0x140146045
lea rsi, [0x1401aa490]
movzx edx, byte [rcx + rsi]
movzx r8d, byte [r10 + rsi]
movzx eax, dl
movzx ecx, byte [rdi + rsi]
shr al, 4
and al, 3
shl cl, 2
or cl, al
shl dl, 4
mov byte [r9 + r15], cl
movzx eax, r8b
movzx ecx, byte [rbp + rsi]
shr al, 2
and cl, 0x3f
and al, 0xf
shl r8b, 6
or al, dl
or cl, r8b
mov byte [r9 + r15 + 1], al
mov byte [r9 + r15 + 2], cl
add r15, 3
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401460e9
cmp r11, r14
jae 0x1401460e9
jmp 0x140145db3
mov ecx, edi
call fcn.140059be0
test eax, eax
je 0x1401460e9
mov ecx, r8d
call fcn.140059be0
test eax, eax
je 0x1401460e9
mov ecx, r10d
call fcn.140059be0
test eax, eax
je 0x1401460b8
cmp ebp, 0x3d
jne 0x1401460b8
mov eax, r8d
lea r8, [0x1401aa490]
movzx ecx, byte [rdi + r8]
shl cl, 2
movzx edx, byte [rax + r8]
movzx eax, dl
shl dl, 4
shr al, 4
and al, 3
or cl, al
mov eax, r10d
mov byte [r15 + r9], cl
movzx ecx, byte [rax + r8]
shr cl, 2
and cl, 0xf
or cl, dl
mov byte [r15 + r9 + 1], cl
add r15, 2
jmp 0x1401460e9
cmp r10d, 0x3d
jne 0x1401460e9
cmp ebp, r10d
jne 0x1401460e9
mov eax, r8d
lea r8, [0x1401aa490]
movzx ecx, byte [rdi + r8]
shl cl, 2
movzx edx, byte [rax + r8]
shr dl, 4
and dl, 3
or dl, cl
mov byte [r15 + r9], dl
inc r15
mov qword [rsp + 0x70], r15
test r12d, r12d
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x88]
jne 0x14014612b
lfence
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
call fcn.14012e080
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
jmp 0x140146147
lfence
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14014613c
lfence
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov r13, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rbx
ret