Function at 0x140186420
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x158]
cmp r12, qword [r14 + 0x10]
jbe 0x140188e96
push rbp
mov rbp, rsp
sub rsp, 0x1d0
mov qword [rsp + 0x1e8], rbx
mov qword [rsp + 0x1f0], rcx
mov rdx, qword [rax + 0x30]
mov r10, qword [rax + 0x38]
cmp qword [rax + 0x378], 1
nop dword [rax]
jne 0x14018651e
test sil, sil
je 0x140186479
mov rdi, rax
mov r8, rdx
mov rax, r10
jmp 0x140186527
mov r11, qword [0x1401d7de8]
cmp rdi, r11
jae 0x140188e8a
shl rdi, 5
mov r11, qword [0x1401d7de0]
mov r12, qword [r11 + rdi]
mov r13, qword [r11 + rdi + 0x10]
sub rdx, r13
mov r13, qword [r11 + rdi + 8]
mov r11, qword [r11 + rdi + 0x18]
lea rdx, [r12 + rdx]
lea rdx, [rdx - 1]
test r12, r12
je 0x140188e85
mov rdi, rax
mov rax, rdx
cmp r12, 0xffffffffffffffff
jne 0x1401864ce
neg rax
xor edx, edx
jmp 0x1401864d3
cqo
idiv r12
sub r10, r11
lea rdx, [r13 + r10]
lea rdx, [rdx - 1]
nop
test r13, r13
je 0x140188e7d
mov r8, rax
mov rax, rdx
cmp r13, 0xffffffffffffffff
jne 0x1401864fc
neg rax
xor edx, edx
jmp 0x140186501
cqo
idiv r13
test r8, r8
je 0x14018650b
test rax, rax
jne 0x140186527
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
add rsp, 0x1d0
pop rbp
ret
mov rdi, rax
mov r8, rdx
mov rax, r10
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x1f0], rcx
mov qword [rsp + 0x1e8], rbx
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xf0], rax
mov rdx, qword [rdi + 0x60]
dec rdx
nop word [rax + rax]
nop
cmp rdx, 0xe
ja 0x140186cd4
mov byte [rsp + 0x200], sil
lea r9, [0x1402a7420]
jmp qword [r9 + rdx*8]
xor edx, edx
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
xor r12d, r12d
xor r13d, r13d
xor r15d, r15d
xor edx, edx
mov qword [rsp + 0x188], rdx
xor edx, edx
mov qword [rsp + 0x160], rdx
xor edx, edx
mov qword [rsp + 0x178], rdx
xor edx, edx
test sil, sil
jne 0x140186dd4
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0x170], r11
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x198], rdx
mov qword [rsp + 0x168], r10
mov qword [rsp + 0x190], r13
lea rdx, [r9 + 7]
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [r9 + rdx]
lea rdx, [rdx + 7]
mov qword [rsp + 0x158], rdx
imul r9, r8
lea rsi, [r9 + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rsi + r9]
lea rcx, [rcx + 7]
sar rcx, 3
inc rcx
mov qword [rsp + 0xb8], rcx
lea rax, [0x1402038e0]
mov rbx, rcx
call dbg.runtime.makeslice
mov qword [rsp + 0x1c0], rax
mov rbx, qword [rsp + 0xb8]
mov rcx, rbx
lea rax, [0x1402038e0]
call dbg.runtime.makeslice
mov rdx, qword [rsp + 0x158]
sar rdx, 3
mov qword [rsp + 0x100], rdx
xor ecx, ecx
mov rbx, qword [rsp + 0x1c0]
xor esi, esi
jmp 0x140186e05
mov rax, r15
mov rbx, qword [rsp + 0x188]
xor ecx, ecx
xor edi, edi
add rsp, 0x1d0
pop rbp
ret
mov rcx, qword [rsp + 0xc8]
inc rcx
mov rdx, qword [rsp + 0x100]
mov rbx, r12
mov rax, r10
mov r9, qword [rsp + 0xf0]
cmp rcx, r9
jge 0x140187527
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xc0], rsi
nop
mov rax, qword [rsp + 0x1e8]
mov rcx, rbx
mov rdi, qword [rsp + 0xb8]
mov rsi, rdi
mov r8, rsi
mov rbx, qword [rsp + 0x1f0]
call dbg.io.ReadAtLeast
nop dword [rax]
test rbx, rbx
jne 0x140187476
mov r8, qword [rsp + 0xb8]
cmp r8, 1
jb 0x140188e71
lea rsi, [r8 - 1]
mov rcx, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
mov r10, qword [rsp + 0x1b8]
lea rax, [r10 + rsi]
nop dword [rax + rax]
cmp r8, 1
jb 0x140188e65
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x1b0], rax
movzx r11d, byte [r10]
mov r12, qword [rsp + 0x1a8]
lea rdi, [r12 + rsi]
cmp r11b, 1
ja 0x140186ee9
test r11b, r11b
je 0x140186f53
mov rdx, qword [rsp + 0x100]
mov rbx, rdx
jmp 0x140188e35
cmp r11b, 2
jne 0x140186ef6
xor edx, edx
jmp 0x140188e0c
cmp r11b, 3
jne 0x140186f0b
mov r11, qword [rsp + 0x100]
xor edx, edx
jmp 0x140188d6f
cmp r11b, 4
jne 0x14018745b
mov rbx, rcx
mov rsi, rcx
mov r8, rcx
mov r9, qword [rsp + 0x100]
call dbg.image/png.filterPaeth
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x158]
mov r8, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x1b8]
mov r12, qword [rsp + 0x1a8]
mov r11, qword [rsp + 0x1c8]
mov r13, qword [r11 + 0x60]
dec r13
cmp r13, 0xe
ja 0x140187446
lea rdx, [0x1402a74a0]
jmp qword [rdx + r13*8]
mov rdx, qword [rsp + 0x180]
mov rsi, qword [rsp + 0xc0]
jmp 0x140186dec
xor eax, eax
xor ebx, ebx
lea rcx, [0x1402a5580]
lea rdi, [0x1402a49a0]
add rsp, 0x1d0
pop rbp
ret
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0xf8], rbx
cmp qword [0x1401d7110], rbx
je 0x140187493
xor eax, eax
jmp 0x1401874b8
mov rdx, qword [0x1401d7118]
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call dbg.runtime.ifaceeq
mov rcx, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0xf8]
test al, al
jne 0x1401874f9
nop dword [rax]
cmp qword [0x1401d7120], rbx
je 0x1401874cd
xor eax, eax
jmp 0x1401874f5
mov rdx, qword [0x1401d7128]
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
nop dword [rax]
call dbg.runtime.ifaceeq
mov rcx, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0xf8]
test al, al
je 0x140187514
xor eax, eax
xor ebx, ebx
lea rcx, [0x1402a5580]
lea rdi, [0x1402a4970]
add rsp, 0x1d0
pop rbp
ret
xor eax, eax
mov rdi, rcx
mov rcx, rbx
xor ebx, ebx
add rsp, 0x1d0
pop rbp
ret
mov rax, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x188]
xor ecx, ecx
xor edi, edi
add rsp, 0x1d0
pop rbp
ret
movzx r15d, byte [rdx + rdi]
shr r15b, 1
add r13d, r15d
mov byte [rax + rdx], r13b
inc rdx
cmp rdx, r11
jge 0x140188d84
cmp rdx, rcx
jae 0x140188df5
movzx r13d, byte [rdx + rax]
nop
jb 0x140188d5d
jmp 0x140188ded
mov rdx, r11
jmp 0x140188daa
movzx ebx, byte [r13 + rdi]
add rbx, r11
mov rsi, rbx
shr rbx, 0x3f
add rbx, rsi
sar rbx, 1
add r15d, ebx
mov byte [rax + r13], r15b
lea r11, [r13 + 1]
cmp r11, rcx
jge 0x140186f53
jae 0x140188de5
mov r13, r11
sub r11, rdx
movzx r15d, byte [r13 + rax]
cmp r11, rcx
jae 0x140188dd8
movzx r11d, byte [r11 + rax]
cmp r13, rcx
jb 0x140188d89
mov rax, r13
call dbg.runtime.panicIndex
mov rax, r11
nop dword [rax + rax]
call dbg.runtime.panicIndex
mov rax, r11
call dbg.runtime.panicIndex
mov rax, rdx
call dbg.runtime.panicIndex
mov rax, rdx
call dbg.runtime.panicIndex
movzx r13d, byte [rdx + rax]
add r11d, r13d
mov byte [rax + rdx], r11b
inc rdx
cmp rdx, rcx
jge 0x140186f53
movzx r11d, byte [rdx + rdi]
jb 0x140188dfd
mov rax, rdx
nop
call dbg.runtime.panicIndex
movzx r15d, byte [rdx + rax]
add r13d, r15d
mov byte [rax + r11], r13b
lea rdx, [r11 + 1]
cmp rdx, rcx
jge 0x140186f53
nop
jae 0x140188e5a
mov r11, rdx
sub rdx, rbx
movzx r13d, byte [r11 + rax]
cmp rdx, rcx
jb 0x140188e25
mov rax, rdx
call dbg.runtime.panicIndex
mov rax, rdx
nop dword [rax]
call dbg.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call dbg.runtime.panicSliceB
mov eax, 1
xor ecx, ecx
call dbg.runtime.panicSliceB
nop dword [rax]
call dbg.runtime.panicdivide
call dbg.runtime.panicdivide
mov rax, rdi
mov rcx, r11
call dbg.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x28], sil
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
movzx esi, byte [rsp + 0x28]
jmp dbg.image/png.(*decoder).readImagePass