Function at 0x140003450
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
sub rsp, 0x80
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
xorps xmm0, xmm0
mov ebp, r8d
movdqu xmmword [rsp + 0x40], xmm0
mov esi, ecx
mov qword [rsp + 0x50], rcx
mov r12d, ecx
mov ebx, ecx
test r8d, r8d
je 0x140003507
cmp rbp, 0x1000
jb 0x1400034d4
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14000395d
call fcn.140006010
test rax, rax
je 0x140003950
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400034df
mov rcx, rbp
call fcn.140006010
mov rbx, rax
mov rdi, rbx
mov qword [rsp + 0x40], rbx
lea rsi, [rbx + rbp]
mov r12, rsi
mov qword [rsp + 0x50], rsi
mov r8, rbp
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], rsi
jmp 0x14000350c
mov rdi, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub r12, rbx
movsxd rcx, r12d
shl rcx, 2
cmp rcx, 0x7fffffff
jg 0x140003963
movabs rax, 0x5555555555555556
imul rcx
mov r13, rdx
shr r13, 0x3f
add r13, rdx
mov eax, 0x55555556
imul r12d
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [rsp + 0x20], ecx
lea ecx, [rcx + rcx*2]
mov dword [rsp + 0x28], ecx
mov eax, r12d
sub eax, ecx
add r13d, eax
mov eax, 0x6bca1af3
imul r13d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x4c
mov ecx, r13d
sub ecx, eax
je 0x1400035b5
and ecx, 0x80000003
jge 0x1400035a7
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x1400035b5
mov eax, 4
sub eax, ecx
add r13d, eax
xorps xmm0, xmm0
movsxd r15, r13d
movdqu xmmword [rsp + 0x58], xmm0
xor ebp, ebp
mov qword [rsp + 0x68], rbp
xor ebx, ebx
test r13d, r13d
je 0x140003644
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x14000396e
cmp r15, 0x1000
jb 0x140003614
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140003957
call fcn.140006010
test rax, rax
je 0x140003908
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000361f
mov rcx, r15
call fcn.140006010
mov rbx, rax
mov r14, rbx
mov qword [rsp + 0x58], rbx
lea rbp, [rbx + r15]
mov qword [rsp + 0x68], rbp
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], rbp
jmp 0x140003649
mov r14, qword [rsp + 0x58]
test rdi, rdi
je 0x1400038b7
test rbx, rbx
je 0x1400038b7
mov ecx, r12d
call fcn.140002a90
cmp r13d, eax
jl 0x1400038b7
xor r15d, r15d
mov ecx, dword [rsp + 0x20]
lea r13d, [rcx*4]
mov dword [rsp + 0x20], r13d
mov eax, 0x6bca1af3
imul r13d
mov r11d, edx
sar r11d, 5
mov eax, r11d
shr eax, 0x1f
lea r10d, [r15 + 0x13]
xor r9d, r9d
mov r8, rdi
add r11d, eax
js 0x14000375e
cmp r9d, r11d
jne 0x1400036c4
imul eax, r11d, 0x4c
mov ecx, r13d
sub ecx, eax
mov eax, ecx
cdq
and edx, 3
lea r10d, [rdx + rax]
sar r10d, 2
test r10d, r10d
jle 0x14000374e
mov edx, r10d
lea r13, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
movzx ecx, byte [r8 + 1]
movzx eax, byte [r8]
shl eax, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [r8 + 2]
or ecx, eax
shl ecx, 8
add r8, 3
mov eax, ecx
shr rax, 0x1a
movzx eax, byte [rax + r13]
mov byte [rbx], al
shl ecx, 6
mov eax, ecx
shr rax, 0x1a
movzx eax, byte [rax + r13]
mov byte [rbx + 1], al
shl ecx, 6
mov eax, ecx
shr rax, 0x1a
movzx eax, byte [rax + r13]
mov byte [rbx + 2], al
shl ecx, 6
mov eax, ecx
shr rax, 0x1a
movzx eax, byte [rax + r13]
mov byte [rbx + 3], al
add rbx, 4
sub rdx, 1
jne 0x1400036e0
mov r13d, dword [rsp + 0x20]
lea r15d, [r15 + r10*4]
inc r9d
cmp r9d, r11d
jle 0x1400036ab
sub r12d, dword [rsp + 0x28]
lea r9d, [r12 + 1]
mov r10d, 0
cmove r9d, r10d
test r9d, r9d
je 0x1400037f9
mov ecx, r10d
test r12d, r12d
jle 0x14000378a
movzx ecx, byte [r8]
inc r8
shl ecx, 8
cmp r12d, 1
jle 0x14000379c
movzx eax, byte [r8]
or ecx, eax
inc r8
shl ecx, 8
cmp r12d, 2
jle 0x1400037ab
movzx eax, byte [r8]
or ecx, eax
shl ecx, 8
test r9d, r9d
jle 0x1400037d9
mov edx, r9d
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax]
mov eax, ecx
shr rax, 0x1a
movzx eax, byte [rax + r8]
mov byte [rbx], al
inc rbx
shl ecx, 6
sub rdx, 1
jne 0x1400037c0
mov eax, 4
sub eax, r9d
test eax, eax
jle 0x1400037f5
movsxd r8, eax
mov dl, 0x3d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor r10d, r10d
add r15d, 4
movsxd r8, r15d
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
mov rdx, r14
mov rcx, rbx
call fcn.140005230
nop
test r14, r14
je 0x140003854
sub rbp, r14
mov rax, r14
cmp rbp, 0x1000
jb 0x140003848
add rbp, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003908
mov rdx, rbp
mov rcx, r14
call fcn.14000636c
nop
test rdi, rdi
je 0x14000388c
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140003881
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003950
mov rdx, rsi
mov rcx, rdi
call fcn.14000636c
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140005ff0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x30]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
xor r8d, r8d
lea rdx, [0x140008738]
mov rcx, rbx
call fcn.140005230
nop
test r14, r14
je 0x14000391b
sub rbp, r14
mov rax, r14
cmp rbp, 0x1000
jb 0x14000390f
add rbp, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000390f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbp
mov rcx, r14
call fcn.14000636c
nop
test rdi, rdi
je 0x14000388c
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140003881
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003881
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002960
nop
call fcn.140002960
nop
mov ecx, 0x80004005
call fcn.140002a50
int3
call fcn.140005530
int3