Function at 0x18004a980
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov r10d, dword [rcx + 0x10]
lea r12, [rcx + 0x10]
xor esi, esi
mov dword [rbp + 0x48], r10d
cmp qword [rcx + 0x18], 0x10
mov r8d, r10d
mov rdi, rdx
mov r15, rcx
mov r13d, esi
mov r14d, esi
jb 0x18004a9c3
mov rbx, qword [rcx]
mov rdx, rbx
jmp 0x18004a9c9
mov rbx, r15
mov rdx, r15
mov rax, qword [r12]
mov ecx, esi
add rax, rdx
cmp byte [rax - 1], 0x3d
jne 0x18004a9ec
nop dword [rax + rax]
inc ecx
lea rax, [rax - 1]
cmp byte [rax - 1], 0x3d
je 0x18004a9e0
lea eax, [r8 + r8*2]
add eax, eax
cdq
and edx, 7
add eax, edx
sar eax, 3
sub eax, ecx
movsxd rdx, eax
mov rax, qword [rdi + 0x10]
cmp rdx, rax
ja 0x18004aa20
cmp qword [rdi + 0x18], 0x10
mov rax, rdi
jb 0x18004aa16
mov rax, qword [rdi]
mov qword [rdi + 0x10], rdx
mov byte [rax + rdx], sil
jmp 0x18004aa32
sub rdx, rax
xor r8d, r8d
mov rcx, rdi
call fcn.180063e20
mov r10d, dword [rbp + 0x48]
cmp qword [r15 + 0x18], 0x10
jb 0x18004aa44
mov rcx, qword [r15]
mov rdx, rcx
mov r15, rcx
jmp 0x18004aa4a
mov rcx, r15
mov rdx, r15
add rdx, qword [r12]
mov r8, rsi
mov rax, rdx
sub rax, r15
cmp r15, rdx
cmova rax, rsi
test rax, rax
je 0x18004aac3
cmp rax, 0x40
jb 0x18004aac3
movdqa xmm1, xmmword [0x18024dc90]
and rax, 0xffffffffffffffc0
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add r8, 0x40
psubb xmm0, xmm1
movdqu xmmword [rcx], xmm0
movdqu xmm0, xmmword [rcx + 0x10]
psubb xmm0, xmm1
movdqu xmmword [rcx + 0x10], xmm0
movdqu xmm0, xmmword [rcx + 0x20]
psubb xmm0, xmm1
movdqu xmmword [rcx + 0x20], xmm0
movdqu xmm0, xmmword [rcx + 0x30]
psubb xmm0, xmm1
movdqu xmmword [rcx + 0x30], xmm0
add rcx, 0x40
cmp r8, rax
jne 0x18004aa80
cmp rcx, rdx
je 0x18004aada
nop dword [rax + rax]
dec byte [rcx]
inc rcx
cmp rcx, rdx
jne 0x18004aad0
test r10d, r10d
je 0x18004ae61
movzx r9d, byte [rbp + 0x43]
mov rcx, rsi
movzx r8d, byte [rbp + 0x42]
mov r12d, 0x3f
movzx edx, byte [rbp + 0x41]
movzx eax, byte [rbp + 0x40]
nop
dec r10d
mov dword [rbp + 0x48], r10d
movzx r10d, byte [rbx]
cmp r10b, 0x3d
je 0x18004acd7
mov byte [rbp + rcx + 0x40], r10b
inc rbx
inc rcx
inc r13d
cmp rcx, 4
jne 0x18004acb8
movzx ecx, byte [rbp + 0x40]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x18004ab65
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x18004ab44
lea eax, [rcx - 0x47]
jmp 0x18004ab65
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18004ab50
lea eax, [rcx + 4]
jmp 0x18004ab65
cmp cl, 0x2b
jne 0x18004ab59
mov al, 0x3e
jmp 0x18004ab65
cmp cl, 0x2f
mov eax, 0xff
cmove eax, r12d
movzx r8d, byte [rbp + 0x41]
mov byte [rbp + 0x40], al
lea edx, [r8 - 0x41]
cmp dl, 0x19
jbe 0x18004abab
lea ecx, [r8 - 0x61]
cmp cl, 0x19
ja 0x18004ab85
lea edx, [r8 - 0x47]
jmp 0x18004abab
lea ecx, [r8 - 0x30]
cmp cl, 9
ja 0x18004ab94
lea edx, [r8 + 4]
jmp 0x18004abab
cmp r8b, 0x2b
jne 0x18004ab9e
mov dl, 0x3e
jmp 0x18004abab
cmp r8b, 0x2f
mov edx, 0xff
cmove edx, r12d
movzx r9d, byte [rbp + 0x42]
mov byte [rbp + 0x41], dl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
jbe 0x18004abf4
lea ecx, [r9 - 0x61]
cmp cl, 0x19
ja 0x18004abcc
lea r8d, [r9 - 0x47]
jmp 0x18004abf4
lea ecx, [r9 - 0x30]
cmp cl, 9
ja 0x18004abdb
lea r8d, [r9 + 4]
jmp 0x18004abf4
cmp r9b, 0x2b
jne 0x18004abe6
mov r8b, 0x3e
jmp 0x18004abf4
cmp r9b, 0x2f
mov r8d, 0xff
cmove r8d, r12d
movzx r10d, byte [rbp + 0x43]
mov byte [rbp + 0x42], r8b
lea r9d, [r10 - 0x41]
cmp r9b, 0x19
jbe 0x18004ac3e
lea ecx, [r10 - 0x61]
cmp cl, 0x19
ja 0x18004ac16
lea r9d, [r10 - 0x47]
jmp 0x18004ac3e
lea ecx, [r10 - 0x30]
cmp cl, 9
ja 0x18004ac25
lea r9d, [r10 + 4]
jmp 0x18004ac3e
cmp r10b, 0x2b
jne 0x18004ac30
mov r9b, 0x3e
jmp 0x18004ac3e
cmp r10b, 0x2f
mov r9d, 0xff
cmove r9d, r12d
movzx ecx, al
mov byte [rbp + 0x43], r9b
shl cl, 2
movzx r10d, dl
shr r10b, 4
movzx r11d, r8b
shr r11b, 2
and r10b, 3
add r10b, cl
and r11b, 0xf
movzx ecx, dl
movzx r15d, r8b
shl cl, 4
shl r15b, 6
add r11b, cl
add r15b, r9b
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18004ac84
mov rcx, qword [rdi]
mov byte [rcx + r14], r10b
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18004ac95
mov rcx, qword [rdi]
mov byte [r14 + rcx + 1], r11b
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18004aca7
mov rcx, qword [rdi]
mov byte [r14 + rcx + 2], r15b
mov r13d, esi
add r14, 3
mov rcx, rsi
jmp 0x18004acca
movzx r9d, byte [rbp + 0x43]
movzx r8d, byte [rbp + 0x42]
movzx edx, byte [rbp + 0x41]
movzx eax, byte [rbp + 0x40]
mov r10d, dword [rbp + 0x48]
test r10d, r10d
jne 0x18004ab00
test r13d, r13d
je 0x18004ae61
movsxd rcx, r13d
cmp rcx, 4
jge 0x18004ad10
jae 0x18004ae76
mov byte [rbp + rcx + 0x40], sil
inc rcx
cmp rcx, 4
jl 0x18004ace9
movzx r9d, byte [rbp + 0x43]
movzx r8d, byte [rbp + 0x42]
movzx edx, byte [rbp + 0x41]
movzx eax, byte [rbp + 0x40]
nop
lea r11d, [rax - 0x41]
cmp r11b, 0x19
jbe 0x18004ad4b
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x18004ad28
lea r11d, [rax - 0x47]
jmp 0x18004ad4b
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x18004ad36
lea r11d, [rax + 4]
jmp 0x18004ad4b
cmp al, 0x2b
jne 0x18004ad3f
mov r11b, 0x3e
jmp 0x18004ad4b
cmp al, 0x2f
mov r11d, 0xff
cmove r11d, r12d
lea r10d, [rdx - 0x41]
cmp r10b, 0x19
jbe 0x18004ad86
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x18004ad62
lea r10d, [rdx - 0x47]
jmp 0x18004ad86
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x18004ad6f
lea r10d, [rdx + 4]
jmp 0x18004ad86
cmp dl, 0x2b
jne 0x18004ad79
mov r10b, 0x3e
jmp 0x18004ad86
cmp dl, 0x2f
mov r10d, 0xff
cmove r10d, r12d
lea ecx, [r8 - 0x41]
cmp cl, 0x19
jbe 0x18004adc2
lea eax, [r8 - 0x61]
cmp al, 0x19
ja 0x18004ad9d
lea ecx, [r8 - 0x47]
jmp 0x18004adc2
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x18004adab
lea ecx, [r8 + 4]
jmp 0x18004adc2
cmp r8b, 0x2b
jne 0x18004adb5
mov cl, 0x3e
jmp 0x18004adc2
cmp r8b, 0x2f
mov ecx, 0xff
cmove ecx, r12d
lea edx, [r9 - 0x41]
cmp dl, 0x19
jbe 0x18004adfe
lea eax, [r9 - 0x61]
cmp al, 0x19
ja 0x18004add9
lea edx, [r9 - 0x47]
jmp 0x18004adfe
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x18004ade7
lea edx, [r9 + 4]
jmp 0x18004adfe
cmp r9b, 0x2b
jne 0x18004adf1
mov dl, 0x3e
jmp 0x18004adfe
cmp r9b, 0x2f
mov edx, 0xff
cmove edx, r12d
movzx eax, r10b
shl r11b, 2
shr al, 4
and al, 3
shl r10b, 4
add al, r11b
mov byte [rbp + 0x40], al
movzx eax, cl
shr al, 2
and al, 0xf
shl cl, 6
add al, r10b
add cl, dl
mov byte [rbp + 0x41], al
lea eax, [r13 - 1]
mov byte [rbp + 0x42], cl
movsxd rdx, eax
test eax, eax
jle 0x18004ae61
nop word [rax + rax]
cmp qword [rdi + 0x18], 0x10
mov rax, rdi
movzx ecx, byte [rbp + rsi + 0x40]
jb 0x18004ae52
mov rax, qword [rdi]
mov byte [rax + r14], cl
inc rsi
inc r14
cmp rsi, rdx
jl 0x18004ae40
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18015ce58
int3