Function at 0x5c0af0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x5c1279
sub esp, 0x14c
movzx eax, byte [esp + 0x150]
cmp al, 0x13
ja 0x5c0c34
cmp al, 0xc
je 0x5c0b5f
cmp al, 0x12
jne 0x5c0b41
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
xor edx, edx
jmp 0x5c11c9
cmp al, 0x13
jne 0x5c0d24
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
xor edx, edx
jmp 0x5c10d3
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov ecx, dword [esp + 0x158]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x15c]
mov dword [esp + 8], edx
call sym.unicode_utf8.Valid
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c0be2
mov dword [esp], 0
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x697853]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
cmp al, 0x14
je 0x5c0df7
cmp al, 0x16
je 0x5c0dbe
cmp al, 0x1e
jne 0x5c0d24
mov eax, dword [esp + 0x158]
test eax, 1
jne 0x5c0cd2
cmp eax, 2
jl 0x5c0c80
mov ecx, dword [esp + 0x154]
movzx edx, byte [eax + ecx - 1]
test dl, dl
jne 0x5c0c87
movzx edx, byte [eax + ecx - 2]
test dl, dl
jne 0x5c0c87
add eax, 0xfffffffe
jmp 0x5c0c87
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x138], eax
lea ecx, [0x6604a0]
mov dword [esp], ecx
mov dword [esp + 4], 0
shr eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x15c]
mov ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x138]
xor esi, esi
jmp 0x5c0fae
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x696340]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
lea ecx, [0x66aea0]
mov dword [esp + 0x140], ecx
movzx eax, al
lea ecx, [0x835b80]
lea eax, [ecx + eax*8]
mov dword [esp + 0x144], eax
lea eax, [0x69aae7]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x14c
ret
mov dword [esp], 0
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x13c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5c0e4c
mov dword [esp], 0
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
cmp edx, ecx
jge 0x5c0f09
movzx ebx, byte [eax + edx]
cmp ebx, 0x80
jge 0x5c0e63
inc edx
jmp 0x5c0e86
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.decoderune
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x28]
cmp ebx, 0x7f
jle 0x5c0e4c
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x6603a0]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
lea eax, [0x6a0e5d]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x13c]
jmp 0x5c0f0b
xor edx, edx
test edx, edx
je 0x5c0f61
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x696351]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
mov word [eax + esi*2 - 2], bp
add edx, 0xfffffffe
mov ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebx, ebp
mov ebp, dword [esp + 0x138]
add ebp, 0xfffffffe
test ebp, ebp
je 0x5c102c
cmp ebp, 1
jbe 0x5c10c6
mov dword [esp + 0x138], ebp
inc esi
movzx edi, byte [ebx]
shl edi, 8
movzx ebp, byte [ebx + 1]
add ebp, edi
cmp ecx, esi
jae 0x5c0f8c
mov dword [esp + 0x134], edx
mov dword [esp + 0x148], ebx
mov word [esp + 0x26], bp
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6604a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x134]
mov ebx, dword [esp + 0x148]
movzx ebp, word [esp + 0x26]
jmp 0x5c0f8c
mov dword [esp + 0x130], ecx
lea edi, [esp + 0x30]
mov edx, eax
xor eax, eax
call fcn.0046efe0
mov dword [esp], edx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x130]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x40
call sym.unicode_utf16.decode
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.slicerunetostring
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
inc edx
cmp eax, edx
jle 0x5c1181
movzx ebx, byte [ecx + edx]
lea ebp, [ebx - 0x61]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x5c10d2
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x5c10d2
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x5c10d2
lea ebp, [ebx - 0x27]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jbe 0x5c10d2
lea ebp, [ebx - 0x2b]
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jbe 0x5c10d2
cmp bl, 0x20
je 0x5c10d2
cmp bl, 0x3a
je 0x5c10d2
cmp bl, 0x3d
je 0x5c10d2
cmp bl, 0x3f
je 0x5c10d2
cmp bl, 0x2a
je 0x5c10d2
cmp bl, 0x26
je 0x5c10d2
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x698e7e]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
inc edx
cmp eax, edx
jle 0x5c1232
movzx ebx, byte [edx + ecx]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x5c11c8
cmp bl, 0x20
je 0x5c11c8
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x697e9d]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseASN1String