Function at 0x5d6620
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xe8]
cmp r12, qword [r14 + 0x10]
jbe 0x5d6cac
push rbp
mov rbp, rsp
sub rsp, 0x160
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rbx
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
mov edi, 1
lea rcx, [0x006d9b19]
call fcn.00507ca0
nop dword [rax + rax]
test sil, sil
je 0x5d6734
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0xa8], rcx
call fcn.005d65c0
test al, al
je 0x5d6727
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x50]
call fcn.005d65c0
nop
test al, al
je 0x5d6727
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x68]
call fcn.00506c20
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xb8]
call fcn.00503380
lea rax, [rsp + 0xb8]
mov ebx, 0x2f
call fcn.00503220
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x50]
call fcn.00506c20
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xb8]
nop dword [rax + rax]
call fcn.00503380
jmp 0x5d6779
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
mov rax, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x178]
call fcn.005d65c0
test al, al
je 0x5d6803
mov rax, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x178]
call fcn.00506c20
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xb8]
call fcn.00503380
mov rdx, qword [rsp + 0x180]
test rdx, rdx
je 0x5d678b
mov rsi, qword [rdx]
jmp 0x5d678d
xor esi, esi
mov qword [rsp + 0x80], rsi
lea rax, [0x00675ee0]
xor ebx, ebx
mov rcx, rsi
call fcn.00470240
mov qword [rsp + 0xf8], rax
lea rdi, [rsp + 0x100]
lea rdi, [rdi - 0x20]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0047674b
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0x180]
lea rcx, [rsp + 0x100]
lea rax, [0x00686980]
call fcn.0046ab60
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf8]
xor edx, edx
jmp 0x5d683e
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
mov qword [rsp + 0xd8], rcx
mov qword [rcx + rsi], rdx
lea rax, [rsp + 0x100]
call fcn.0046ad20
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x100]
test r8, r8
je 0x5d68de
lea rbx, [rdx + 1]
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
cmp rax, rbx
jae 0x5d68a2
mov qword [rsp + 0x90], r8
mov qword [rsp + 0xe8], rdx
mov edi, 1
lea rsi, [0x00675ee0]
mov rdx, rax
mov rax, rcx
mov rcx, rdx
call fcn.00470300
mov rdx, qword [rsp + 0xe8]
mov r8, qword [rsp + 0x90]
mov rsi, rcx
mov rcx, rax
mov rax, rsi
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rax
lea rsi, [rbx - 1]
shl rsi, 4
mov qword [rcx + rsi + 8], r8
cmp dword [0x00bef3c0], 0
je 0x5d6810
call fcn.00476240
mov qword [r11], rdx
mov rdi, qword [rcx + rsi]
mov qword [r11 + 8], rdi
jmp 0x5d6810
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0xf0], rcx
mov rbx, rcx
mov rcx, rdx
mov rdi, rax
lea rax, [0x00736260]
nop dword [rax + rax]
call fcn.0053f0e0
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x78]
jmp 0x5d692b
mov rdx, qword [rsp + 0xf8]
add rdx, 0x10
mov rax, qword [rsp + 0x98]
dec rax
test rax, rax
jle 0x5d6aff
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xf8], rdx
mov rcx, qword [rdx]
mov qword [rsp + 0xe0], rcx
mov rdi, qword [rdx + 8]
mov qword [rsp + 0x88], rdi
lea rax, [0x00686980]
mov rbx, qword [rsp + 0x180]
call fcn.00412280
mov rdx, qword [rax]
mov qword [rsp + 0xa0], rdx
mov rsi, qword [rax + 8]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0xb8]
mov ebx, 0x3b
call fcn.00503220
lea rax, [rsp + 0xb8]
mov ebx, 0x20
call fcn.00503220
mov rax, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x88]
call fcn.005d65c0
nop dword [rax]
test al, al
je 0x5d6af2
mov rax, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x88]
call fcn.00506c20
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xb8]
call fcn.00503380
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x48]
nop dword [rax]
call fcn.005d64a0
mov byte [rsp + 0x46], al
test al, al
je 0x5d6a1f
lea rax, [rsp + 0xb8]
mov ebx, 0x2a
call fcn.00503220
lea rax, [rsp + 0xb8]
mov ebx, 0x3d
call fcn.00503220
movzx ecx, byte [rsp + 0x46]
test cl, cl
je 0x5d6a5c
lea rax, [rsp + 0xb8]
lea rbx, [0x006da5ed]
mov ecx, 7
call fcn.00503380
xor eax, eax
xor ecx, ecx
jmp 0x5d6b85
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x48]
call fcn.005d65c0
test al, al
je 0x5d6a91
lea rax, [rsp + 0xb8]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
call fcn.00503380
jmp 0x5d6914
lea rax, [rsp + 0xb8]
mov ebx, 0x22
nop
call fcn.00503220
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x48]
xor eax, eax
xor ebx, ebx
jmp 0x5d6b18
sub rdx, rbx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rbx, rdx
add rbx, rcx
lea rax, [rsp + 0xb8]
mov rcx, rsi
call fcn.00503380
lea rax, [rsp + 0xb8]
mov ebx, 0x22
call fcn.00503220
jmp 0x5d6914
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
lea rax, [rsp + 0xb8]
call fcn.00502ec0
add rsp, 0x160
pop rbp
ret
inc rax
cmp rax, rdx
jge 0x5d6ab8
movzx esi, byte [rax + rcx]
cmp sil, 0x22
je 0x5d6b2d
cmp sil, 0x5c
jne 0x5d6b15
mov qword [rsp + 0x58], rax
sub rax, rbx
mov rsi, rax
neg rax
sar rax, 0x3f
and rbx, rax
add rbx, rcx
lea rax, [rsp + 0xb8]
mov rcx, rsi
call fcn.00503380
lea rax, [rsp + 0xb8]
mov ebx, 0x5c
call fcn.00503220
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x48]
mov rbx, rax
jmp 0x5d6b15
lea rax, [rcx + 1]
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
cmp rax, rdx
jge 0x5d6c7b
mov qword [rsp + 0x70], rax
mov rsi, qword [rsp + 0xa0]
movzx edi, byte [rax + rsi]
mov byte [rsp + 0x47], dil
lea r8d, [rdi - 0x21]
cmp r8b, 0x5e
jae 0x5d6bf4
cmp dil, 0x2a
je 0x5d6bf4
cmp dil, 0x27
je 0x5d6bf4
nop
cmp dil, 0x25
je 0x5d6bf4
mov qword [rsp + 0x60], rcx
mov eax, edi
call fcn.005d6540
test al, al
jne 0x5d6be2
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
jmp 0x5d6b7e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xa0]
sub rax, rcx
mov rdi, rax
neg rax
sar rax, 0x3f
and rcx, rax
lea rbx, [rsi + rcx]
lea rax, [rsp + 0xb8]
mov rcx, rdi
call fcn.00503380
lea rax, [rsp + 0xb8]
mov ebx, 0x25
call fcn.00503220
movzx edx, byte [rsp + 0x47]
shr dl, 4
movzx edx, dl
lea rdi, [0x006dd54f]
movzx ebx, byte [rdi + rdx]
lea rax, [rsp + 0xb8]
call fcn.00503220
movzx edx, byte [rsp + 0x47]
and edx, 0xf
lea rsi, [0x006dd54f]
movzx ebx, byte [rdx + rsi]
lea rax, [rsp + 0xb8]
call fcn.00503220
mov rcx, qword [rsp + 0x70]
lea rdx, [rcx + 1]
jmp 0x5d6b7e
sub rdx, rcx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rcx, rdx
mov rdx, qword [rsp + 0xa0]
lea rbx, [rdx + rcx]
lea rax, [rsp + 0xb8]
mov rcx, rsi
call fcn.00503380
jmp 0x5d6914
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
nop dword [rax + rax]
call fcn.00474300
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.005d6620