Function at 0x5bc980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bcfaa
sub esp, 0x6c
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 4]
mov ebp, dword [esp + 0x70]
cmp ebp, 2
jg 0x5bcbe3
cmp ebp, 1
je 0x5bcad1
cmp ebp, 2
jne 0x5bce35
mov dword [esp + 0x68], eax
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.isIA5String
mov eax, dword [esp + 8]
test eax, eax
jne 0x5bcaa1
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5bca69
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x695420]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x5bca63
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
lea eax, [ebx + edx*8 - 4]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [0x8ef900]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
jne 0x5bca8a
mov eax, dword [esp + 0x38]
jmp 0x5bca9a
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
jmp 0x5bce35
lea eax, [0x6dfc2e]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call sym.errors.New
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp + 0x64], ebx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.isIA5String
mov eax, dword [esp + 8]
test eax, eax
jne 0x5bcbb3
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5bcb7b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x695420]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x5bcb75
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
lea eax, [ebx + edx*8 - 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, dword [0x8ef900]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
jne 0x5bcb9c
mov eax, dword [esp + 0x40]
jmp 0x5bcbac
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
jmp 0x5bce35
lea eax, [0x6e1223]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.errors.New
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
cmp ebp, 6
je 0x5bcd13
cmp ebp, 7
jne 0x5bce35
mov eax, dword [esp + 0x78]
cmp eax, 4
je 0x5bcc07
cmp eax, 0x10
jne 0x5bccaf
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x5bcc72
mov dword [esp + 0x60], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6c8ea0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x5bcc66
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0x78]
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
lea ecx, [ebx + ebx*2]
mov dword [ebp + ecx*4 - 8], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + ecx*4 - 4], eax
mov eax, dword [0x8ef900]
test eax, eax
jne 0x5bcc94
mov eax, dword [esp + 0x74]
jmp 0x5bcca6
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov edx, dword [ebp + ecx*4 - 0xc]
mov dword [edi + 4], edx
mov dword [ebp + ecx*4 - 0xc], eax
jmp 0x5bce35
mov dword [esp], eax
call sym.strconv.Itoa
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6e3f9f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.errors.New
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp + 0x5c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.isIA5String
mov eax, dword [esp + 8]
test eax, eax
jne 0x5bcf7a
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call sym.net_url.Parse
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5bcecd
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x5bcdae
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.crypto_x509.domainToReverseLabels
movzx eax, byte [esp + 0x14]
test al, al
je 0x5bce4f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x5bce16
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6c8d60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x5bce0a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0x34]
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
mov ecx, dword [0x8ef900]
test ecx, ecx
je 0x5bce31
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebp + ebx*4 - 4]
mov dword [edi + 4], ecx
mov dword [ebp + ebx*4 - 4], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x6e4584]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x44]
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 + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x695420]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5bcf26
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
lea eax, [0x6df4d8]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
lea eax, [0x6e68f3]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call sym.errors.New
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
call sym.runtime.morestack
jmp sym.crypto_x509.processExtensions.parseSANExtension.func1