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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5b8795
sub esp, 0x8c
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadASN1
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b829d
lea eax, [0x68a640]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [eax], 0
jmp 0x5b82ea
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x6c6f38]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x726b8c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
mov dword [edi + ebp*4 - 0xc], ecx
mov eax, ebx
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x5b842d
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x31
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadASN1
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b83e6
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5b8464
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
inc esi
mov edi, dword [ebx]
cmp ebp, esi
jae 0x5b83b3
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x683720]
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 [0x8d0720]
test eax, eax
je 0x5b83a1
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 + 0x28]
mov edi, ecx
mov esi, edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov dword [ebx + 4], esi
lea ebp, [esi + esi*2]
mov dword [edi + ebp*4 - 8], edx
mov dword [edi + ebp*4 - 4], eax
mov eax, dword [0x8d0720]
test eax, eax
je 0x5b82e4
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [eax + ebp*4 - 0xc]
mov dword [edi + 4], edx
mov edi, eax
jmp 0x5b82e4
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x6c6f38]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x726b8c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x8c
ret
lea esi, [esp + 0x78]
call fcn.0046895e
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x5b8345
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadASN1
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b874e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046847b
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadASN1ObjectIdentifier
movzx ecx, byte [esp + 8]
test cl, cl
je 0x5b8707
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x23], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
lea eax, [esp + 0x23]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readASN1
movzx eax, byte [esp + 0x10]
test al, al
je 0x5b86c0
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov byte [esp], al
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_x509.parseASN1String
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x681d20]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5b863f
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [esp + 0x28]
cmp edx, eax
jb 0x5b85b9
mov ecx, dword [esp + 0x38]
jmp 0x5b85eb
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6957a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov ebx, dword [0x8d0720]
lea ebp, [eax + eax*4]
lea edi, [ecx + ebp*4 - 0x14]
test ebx, ebx
je 0x5b8451
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], edi
lea eax, [0x6957a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
jmp 0x5b8451
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5b865c
mov ebx, dword [eax + 4]
jmp 0x5b865e
mov ebx, eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [0x6d1918]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x4c]
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 + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x8c
ret
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x6d0d41]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x726b8c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x6d08fa]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x726b8c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x6cf02c]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x726b8c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseName