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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c099e
sub esp, 0x6c
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
mov ebp, dword [esp + 0x70]
cmp ebp, 2
jg 0x5c05d3
cmp ebp, 1
je 0x5c04c1
cmp ebp, 2
jne 0x5c0825
mov dword [esp + 0x50], 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 + 0x34], 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 0x5c0491
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5c0459
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x686720]
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 + 0x50]
mov dword [ebx + 8], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5c0453
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 [0x8e2900]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
jne 0x5c047a
mov eax, dword [esp + 0x34]
jmp 0x5c048a
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
jmp 0x5c0825
lea eax, [0x6cd156]
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 + 0x4c], 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 + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.isIA5String
mov eax, dword [esp + 8]
test eax, eax
jne 0x5c05a3
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5c056b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x686720]
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 + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5c0565
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 + 0x28]
mov dword [eax], ecx
mov eax, dword [0x8e2900]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
jne 0x5c058c
mov eax, dword [esp + 0x3c]
jmp 0x5c059c
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
jmp 0x5c0825
lea eax, [0x6ce80c]
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 0x5c0703
cmp ebp, 7
jne 0x5c0825
mov eax, dword [esp + 0x78]
cmp eax, 4
je 0x5c05f7
cmp eax, 0x10
jne 0x5c069f
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 0x5c0662
mov dword [esp + 0x48], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6b5be0]
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 + 0x48]
mov dword [ebx + 8], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5c0656
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 [0x8e2900]
test eax, eax
jne 0x5c0684
mov eax, dword [esp + 0x74]
jmp 0x5c0696
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 0x5c0825
mov dword [esp], eax
call sym.strconv.Itoa
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6d1652]
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 + 0x44], 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 + 0x2c], 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 0x5c096e
mov eax, dword [esp + 0x2c]
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 0x5c08bd
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x5c079e
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 0x5c083f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x5c0806
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6b5aa0]
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 + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5c07fa
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 + 0x30]
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5c0821
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 + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x2c]
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, [0x686720]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x6d1be7]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x54]
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 + 0x38], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x686720]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5c091a
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
lea eax, [0x6cc8f0]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x5c]
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, [0x6d3f8f]
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