Function at 0x14005b420
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbx
nop
push 0x7ecab685
mov qword [rsp], rbp
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
mov qword [rsp - 8], rdi
sub rsp, 8
nop
push 0x4109a5b8
mov qword [rsp], r12
nop
sub rsp, 8
mov qword [rsp], r13
push r14
nop
push 0x71ad1a0f
mov qword [rsp], r15
sub rsp, 0x38
mov r15d, r8d
mov r8, rdx
xchg rdi, r9
mov r9, rcx
xchg rdi, r9
xor esi, esi
mov dword [rsp + 0x24], esi
xorps xmm0, xmm0
xchg rcx, r14
movups xmmword [r14], xmm0
xchg r14, rcx
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x24], 1
mov ebp, esi
test r15d, r15d
je 0x14005b92e
mov edx, esi
movzx ebx, byte [rsp + 0x90]
nop word [rax + rax]
mov ecx, ebp
dec r15d
movzx eax, byte [r8]
inc r8
mov qword [rsp + 0x88], r8
mov byte [rsp + rdx + 0x98], al
inc ebp
inc rdx
mov eax, 0xffffffff
sub eax, ecx
mov r14d, 0xffffffff
sub r14d, ecx
movzx r9d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
cmp rdx, 3
jne 0x14005b766
movzx eax, r13b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x20], cl
movzx ebp, r13b
and bpl, dl
shl bpl, 4
movzx eax, r12b
shr al, 4
add bpl, al
movzx r14d, r12b
and r14b, 0xf
shl r14b, 1
shl r14b, 1
movzx eax, r9b
shr al, 3
shr al, 2
shr al, 1
add r14b, al
movzx eax, r9b
and al, 0x3f
mov byte [rsp + 0x90], al
mov byte [rsp + 0x23], al
lea rax, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rax, qword [0x140167020]
movzx r9d, byte [rcx + rax]
xchg rcx, r9
mov r9, qword [rdi + 0x10]
xchg r9, rcx
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005b5ca
lea rax, [rcx + 1]
xchg rbx, rax
mov qword [rdi + 0x10], rbx
xchg rbx, rax
xchg r13, rax
mov r13, rdi
xchg r13, rax
cmp rdx, 0x10
jb 0x14005b5bc
xchg r8, rax
mov r8, qword [rdi]
xchg r8, rax
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b5e1
movzx r8d, bl
mov edx, 1
xchg r13, rcx
mov r13, rdi
xchg r13, rcx
call fcn.1400312b0
lea rcx, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
xchg rcx, rbp
mov rbp, qword [rdi + 0x10]
xchg rbp, rcx
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005b642
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
cmp rdx, 0x10
jb 0x14005b634
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b659
movzx r8d, bl
mov edx, 1
xchg rcx, r14
mov r14, rdi
xchg rcx, r14
call fcn.1400312b0
lea rcx, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, r14b
movzx r9d, byte [rax + rcx]
xchg rdx, rcx
mov rdx, qword [rdi + 0x10]
xchg rdx, rcx
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005b6be
lea rax, [rcx + 1]
xchg r11, rax
mov qword [rdi + 0x10], r11
xchg r11, rax
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
cmp rdx, 0x10
jb 0x14005b6b0
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b6cf
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400312b0
lea rcx, [0x140167020]
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, byte [rsp + 0x90]
movzx r9d, byte [rax + rcx]
xchg rcx, r15
mov r15, qword [rdi + 0x10]
xchg rcx, r15
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005b734
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
cmp rdx, 0x10
jb 0x14005b726
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b745
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400312b0
mov ebp, esi
mov rdx, rsi
mov eax, esi
mov r14d, esi
xchg r12, r8
mov r12, qword [rsp + 0x88]
xchg r8, r12
movzx r9d, byte [rsp + 0x9a]
test r15d, r15d
jne 0x14005b4bf
test ebp, ebp
je 0x14005b92e
cmp ebp, 3
jge 0x14005b7bf
mov ebx, 3
sub ebx, ebp
movsxd r8, ebx
movsxd rax, ebp
lea rcx, [rsp + 0x98]
add rcx, rax
xor edx, edx
call fcn.14014f766
movzx r9d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
jmp 0x14005b7c2
lea ebx, [rax + 3]
movzx eax, r13b
shr al, 1
shr al, 1
mov byte [rsp + 0x20], al
and r13b, 3
shl r13b, 2
shl r13b, 1
shl r13b, 1
movzx eax, r12b
shr al, 1
shr al, 1
shr al, 2
add r13b, al
mov byte [rsp + 0x21], r13b
and r12b, 0xf
shl r12b, 1
shl r12b, 1
shr r9b, 2
shr r9b, 3
shr r9b, 1
add r12b, r9b
mov byte [rsp + 0x22], r12b
lea eax, [rbp + 1]
movsxd r15, eax
test eax, eax
jle 0x14005b8ae
movzx ebx, byte [rsp + 0x90]
lea r12, [0x140167020]
xchg rcx, r12
mov r12, rcx
xchg r12, rcx
cmp qword [0x140167038], 0x10
cmovae rcx, qword [0x140167020]
movzx eax, byte [rsp + rsi + 0x20]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005b887
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005b879
xchg r10, rax
mov r10, qword [rdi]
xchg r10, rax
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005b89e
movzx r8d, bl
mov edx, 1
xchg rcx, rdi
mov rdi, rcx
xchg rcx, rdi
call fcn.1400312b0
inc rsi
cmp rsi, r15
jl 0x14005b829
lea ebx, [r14 + 3]
cmp ebp, 3
jge 0x14005b92e
movsxd rsi, ebx
movzx ebx, byte [rsp + 0x90]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
xchg r11, rdx
mov r11, qword [rdi + 0x18]
xchg rdx, r11
cmp rcx, rdx
jae 0x14005b910
lea rax, [rcx + 1]
xchg rdx, rax
mov qword [rdi + 0x10], rdx
xchg rdx, rax
xchg rdx, rax
mov rdx, rdi
xchg rdx, rax
cmp rdx, 0x10
jb 0x14005b905
xchg rdx, rax
mov rdx, qword [rdi]
xchg rdx, rax
mov word [rax + rcx], 0x3d
jmp 0x14005b924
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400312b0
sub rsi, 1
jne 0x14005b8ca
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
add rsp, 0x38
push rdx
push rbx
push rax
push rax
push rax
push rax
push rbx
xchg qword [rsp + 0x38], r15
add rsp, 0x40
nop
mov r14, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r13, qword [rsp - 8]
nop
mov r12, qword [rsp]
add rsp, 8
nop
mov rdi, qword [rsp]
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], rsi
nop
mov rbp, qword [rsp]
add rsp, 8
nop
mov rbx, qword [rsp]
add rsp, 8
ret