Function at 0x5c2d60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c3351
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rcx
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x28]
cmp rdx, r9
jne 0x5c2d9b
mov r10, qword [rax + 0x20]
xor r8d, r8d
xor r11d, r11d
jmp 0x5c2dd8
lea rax, [0x006209a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x24
lea rcx, [0x00660be7]
mov qword [rax], rcx
lea rbx, [0x006bdda0]
mov rcx, rax
mov rax, qword [rsp + 0x88]
add rsp, 0x68
pop rbp
ret
inc r8
add r11, 8
cmp r8, r9
jge 0x5c2ded
movzx r12d, byte [r10 + r8]
cmp r12b, 0xff
je 0x5c2dd1
jmp 0x5c32f6
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x80], rbx
cmp r11, 0xffffffffffffffff
jne 0x5c2e0e
xor r11d, r11d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r11
mov r12, qword [rax + 8]
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x30]
mov rbx, rdx
mov rdi, r10
mov rsi, r9
mov rax, r12
call sym.net.IP.Mask
mov rdx, qword [rsp + 0x30]
lea r9, [rdx + 7]
sar r9, 0x3f
shr r9, 0x3d
lea r9, [r9 + rdx]
lea r9, [r9 + 7]
sar r9, 3
cmp rcx, r9
jb 0x5c32e5
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rcx
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsi + 0x10]
cmp rdi, 4
jne 0x5c2f46
mov rdi, qword [rsp + 0x98]
lea r8, [rdi + 2]
mov r10, qword [rsp + 0x88]
cmp r10, r8
jl 0x5c2ee5
cmp r10, rdi
jb 0x5c32d5
mov r11, r10
sub r10, rdi
mov r12, qword [rsp + 0x90]
mov r13, rdi
sub rdi, r12
sar rdi, 0x3f
and r13, rdi
nop word [rax + rax]
cmp r10, 1
jbe 0x5c32c8
mov rdi, qword [rsp + 0x80]
mov word [rdi + r13], 0x100
xor ebx, ebx
xor r10d, r10d
nop
jmp 0x5c306f
lea rax, [0x006209a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x17
lea rcx, [0x0065ae40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov r9, qword [rsp + 0x40]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov r8, r11
lea rbx, [0x006bdda0]
mov r10, rax
mov rax, qword [rsp + 0x60]
jmp 0x5c306f
cmp rdi, 0x10
jne 0x5c300e
mov rdi, qword [rsp + 0x98]
lea r8, [rdi + 2]
mov r10, qword [rsp + 0x88]
cmp r10, r8
jl 0x5c2fb0
cmp r10, rdi
jb 0x5c32bd
mov r11, r10
sub r10, rdi
mov r12, qword [rsp + 0x90]
mov r13, rdi
sub rdi, r12
sar rdi, 0x3f
and r13, rdi
cmp r10, 1
jbe 0x5c32b0
mov rdi, qword [rsp + 0x80]
mov word [rdi + r13], 0x200
xor ebx, ebx
xor r10d, r10d
jmp 0x5c306f
lea rax, [0x006209a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x17
lea rcx, [0x0065ae40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov r9, qword [rsp + 0x40]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov r8, r11
lea rbx, [0x006bdda0]
mov r10, rax
mov rax, qword [rsp + 0x60]
jmp 0x5c306f
lea rax, [0x006209a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x1b
lea rcx, [0x0065ceb3]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov r9, qword [rsp + 0x40]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
lea rbx, [0x006bdda0]
mov r10, rax
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0x60]
test rbx, rbx
jne 0x5c3119
lea r10, [r8 + 1]
nop dword [rax]
cmp r11, r10
jl 0x5c3098
cmp r11, r8
jbe 0x5c32a5
mov byte [rdi + r8], dl
xor edx, edx
xor ebx, ebx
jmp 0x5c30f0
lea rax, [0x006209a0]
nop
call sym.runtime.newobject
mov qword [rax + 8], 0x16
lea rcx, [0x0065a53a]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov r9, qword [rsp + 0x40]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
lea rdx, [0x006bdda0]
mov r10, r11
mov rbx, rax
mov rax, qword [rsp + 0x60]
test rdx, rdx
jne 0x5c310a
cmp byte [rsi], 0
je 0x5c3102
mov edx, 0xffffff80
nop
jmp 0x5c3104
xor edx, edx
lea rsi, [r9 - 1]
jmp 0x5c3128
mov rax, r11
mov rcx, rbx
mov rbx, rdx
add rsp, 0x68
pop rbp
ret
mov rax, r11
mov rcx, r10
add rsp, 0x68
pop rbp
ret
dec rsi
test rsi, rsi
jl 0x5c3137
movzx r8d, byte [rsi + rax]
test r8b, r8b
je 0x5c3125
lea r8, [rsi + 1]
nop dword [rax + rax]
cmp rcx, r8
jb 0x5c3299
mov r9, r8
and r8d, 0x7f
lea r13, [r10 + 1]
or edx, r8d
cmp r11, r13
jl 0x5c3173
nop dword [rax]
cmp r11, r10
jbe 0x5c328e
mov byte [rdi + r10], dl
xor ecx, ecx
xor edx, edx
jmp 0x5c31cf
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x58], r9
lea rax, [0x006209a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x16
lea rcx, [0x0065a53a]
mov qword [rax], rcx
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x80]
mov r9, qword [rsp + 0x58]
mov r11, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
lea rcx, [0x006bdda0]
mov r13, r11
mov rdx, rax
mov rax, qword [rsp + 0x60]
test rcx, rcx
jne 0x5c3274
lea rdx, [rsi + r13]
lea rdx, [rdx + 1]
cmp r11, rdx
jl 0x5c323e
cmp r11, r13
jb 0x5c3283
sub r11, r13
mov rdx, r13
sub r13, r12
sar r13, 0x3f
and r13, rdx
lea rsi, [rdi + r13]
cmp r11, r9
cmovg r11, r9
cmp rax, rsi
je 0x5c3230
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], r11
mov rbx, rax
mov rcx, r11
mov rax, rsi
call sym.runtime.memmove
mov rdx, qword [rsp + 0x58]
mov r11, qword [rsp + 0x50]
lea rax, [r11 + rdx]
xor ebx, ebx
xor ecx, ecx
add rsp, 0x68
pop rbp
ret
lea rax, [0x006209a0]
call sym.runtime.newobject
mov qword [rax + 8], 0x1b
lea rcx, [0x0065cece]
mov qword [rax], rcx
lea rbx, [0x006bdda0]
mov rcx, rax
mov rax, qword [rsp + 0x88]
add rsp, 0x68
pop rbp
ret
mov rax, r11
mov rbx, rcx
mov rcx, rdx
add rsp, 0x68
pop rbp
ret
mov rax, r13
mov rcx, r11
call sym.runtime.panicSliceB
mov rax, r10
mov rcx, r11
call sym.runtime.panicIndex
mov rdx, rcx
mov rcx, r8
nop
call sym.runtime.panicSliceAcap
mov rax, r8
mov rcx, r11
call sym.runtime.panicIndex
mov eax, 1
mov rcx, r10
call sym.runtime.panicIndex
mov rax, rdi
mov rcx, r10
call sym.runtime.panicSliceB
mov eax, 1
mov rcx, r10
call sym.runtime.panicIndex
mov rax, rdi
mov rcx, r10
nop dword [rax + rax]
call sym.runtime.panicSliceB
mov rdx, rcx
mov rcx, r9
call sym.runtime.panicSliceAcap
inc r11
shl r12d, 1
test r12b, 0x80
jne 0x5c32f0
nop dword [rax]
test r12b, r12b
jne 0x5c330b
lea r12, [r8 + 1]
jmp 0x5c3320
mov r11, 0xffffffffffffffff
jmp 0x5c2ded
inc r12
nop word [rax + rax]
cmp r12, r9
jge 0x5c2ded
jae 0x5c3345
movzx r13d, byte [r10 + r12]
test r13b, r13b
je 0x5c3317
mov r11, 0xffffffffffffffff
nop dword [rax]
jmp 0x5c2ded
mov rax, r12
mov rcx, r9
call sym.runtime.panicIndex
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
call sym.runtime.morestack_noctxt.abi0
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]
jmp sym.github.com_miekg_dns.packDataAplPrefix