Function at 0x1f58718a0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1f5871c72
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x90], rsi
test rdi, rdi
jne 0x1f58718e5
mov rax, r8
xor edx, edx
xor r9d, r9d
xor ebx, ebx
xor edi, edi
nop dword [rax + rax]
jmp 0x1f5871a01
nop
cmp rdi, 0x14
jae 0x1f5871c5e
mov rdx, qword [0x1f59a75d8]
nop word [rax + rax]
cmp rdi, rdx
jae 0x1f5871c53
mov rdx, qword [0x1f59a75d0]
movzx edx, byte [rdx + rdi]
cmp r8, rdx
je 0x1f5871967
nop
lea rax, [0x1f59ecac0]
call fcn.1f573f0e0
mov qword [rax + 8], 0x28
lea rcx, [0x1f5a33906]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x90]
lea rdx, [0x1f5a9c160]
xor r9d, r9d
xor r8d, r8d
xor ebx, ebx
mov rdi, rax
mov rax, qword [rsp + 0x98]
jmp 0x1f5871a01
mov qword [rsp + 0x48], rdx
mov rbx, qword [0x1f5c12338]
lea rax, [0x1f59e33c0]
mov rcx, rdi
nop dword [rax]
call fcn.1f5742de0
test bl, bl
je 0x1f58719b6
mov rdx, qword [rax]
mov r9, qword [rax + 8]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
mov rbx, rdx
xor edi, edi
xor edx, edx
jmp 0x1f5871a01
nop
lea rax, [0x1f59ecac0]
nop
call fcn.1f573f0e0
mov qword [rax + 8], 0x25
lea rcx, [0x1f5a32522]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x90]
lea rdx, [0x1f5a9c160]
xor r9d, r9d
xor r8d, r8d
xor ebx, ebx
mov rdi, rax
mov rax, qword [rsp + 0x98]
test rdx, rdx
jne 0x1f5871b15
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x10]
lea r11, [r10 - 1]
lea r12, [r8 + r9]
test r11, r11
jl 0x1f5871a7f
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + r10*8 - 8]
mov r10, rdx
shr rdx, 1
or rdx, r10
mov r10, rdx
shr rdx, 2
or rdx, r10
mov r10, rdx
shr rdx, 4
or rdx, r10
mov r10, rdx
shr rdx, 8
or rdx, r10
mov r10, rdx
shr rdx, 0x10
or rdx, r10
mov r10, rdx
shr rdx, 0x20
or rdx, r10
shl r11, 6
bsr rdx, rdx
mov r10, 0xffffffffffffffff
cmove rdx, r10
lea rdx, [rdx + r11]
lea rdx, [rdx + 1]
jmp 0x1f5871a81
xor edx, edx
lea r10, [r8 + r9]
lea r10, [r10 + 0xb]
lea r11, [rdx + 7]
sar r11, 0x3f
shr r11, 0x3d
lea rdx, [r11 + rdx]
lea rdx, [rdx + 7]
sar rdx, 3
cmp r10, rdx
jg 0x1f5871afa
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x50], rbx
lea rax, [0x1f59d4fc0]
mov rbx, rdx
mov rcx, rbx
call fcn.1f577fce0
mov rcx, qword [rsp + 0x28]
nop word [rax + rax]
nop
cmp rcx, 1
jbe 0x1f5871c49
mov byte [rax + 1], 1
mov r8, qword [rsp + 0x30]
mov edx, 2
jmp 0x1f5871b32
mov rdi, qword [0x1f59a5940]
mov rsi, qword [0x1f59a5948]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x60
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rsi, rdi
mov rdi, rdx
add rsp, 0x60
pop rbp
ret
mov byte [rax + rdx], 0xff
inc rdx
mov rcx, rdi
mov rdi, rcx
sub rcx, r8
lea r9, [rcx - 1]
nop dword [rax]
cmp rdx, r9
jge 0x1f5871b4f
cmp rdx, rdi
jb 0x1f5871b28
jmp 0x1f5871c3e
mov r8, qword [rsp + 0x40]
mov rdx, rdi
sub rdi, r8
nop word [rax + rax]
cmp rdx, rdi
jb 0x1f5871c36
cmp rdi, rcx
jb 0x1f5871c2b
mov qword [rsp + 0x58], rax
mov r8, rdi
sub rdi, rcx
mov r9, rcx
sub rcx, rdx
sar rcx, 0x3f
and r9, rcx
add r9, rax
mov r10, qword [rsp + 0x38]
cmp r10, rdi
cmovl rdi, r10
mov rbx, qword [rsp + 0x50]
nop
cmp rbx, r9
je 0x1f5871bc4
mov qword [rsp + 0x48], r8
mov rax, r9
mov rcx, rdi
call fcn.1f579d320
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x48]
mov r9, r8
sub r8, rdx
sar r8, 0x3f
and r8, r9
add r8, rax
mov rcx, rdx
sub rcx, r9
mov r9, qword [rsp + 0x98]
cmp r9, rcx
cmovl rcx, r9
mov rbx, qword [rsp + 0x90]
cmp rbx, r8
je 0x1f5871c08
mov rax, r8
call fcn.1f579d320
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
mov rbx, rax
mov rcx, rdx
mov rdi, rcx
mov esi, 1
mov rax, qword [rsp + 0x80]
nop
call fcn.1f5875660
add rsp, 0x60
pop rbp
ret
mov rax, rcx
mov rcx, rdi
call fcn.1f579ca00
mov rcx, rdi
call fcn.1f579c9c0
mov rax, rdx
mov rcx, rdi
call fcn.1f579c940
mov eax, 1
call fcn.1f579c940
mov rax, rdi
mov rcx, rdx
call fcn.1f579c960
lea rax, [0x1f59d4f40]
lea rbx, [0x1f5a9af20]
call fcn.1f5769000
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.1f579a640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
nop dword [rax]
jmp fcn.1f58718a0