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

Disassembly:
mov ecx, dword [0x7c4f4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x584fec
sub esp, 0x88
lea eax, [esp + 0x8c]
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 0x584b00
lea eax, [0x5f7240]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov dword [eax], 0
jmp 0x584b4d
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x61da71]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x88
ret
mov dword [edi + ebp*4 - 0xc], ecx
mov eax, ebx
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x584c96
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0x38]
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 0x584c4f
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x584ccd
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
inc esi
mov edi, dword [ebx]
cmp ebp, esi
jae 0x584c1c
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f5080]
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 + 0x84]
mov dword [ebx + 8], eax
mov eax, dword [0x7c5080]
test eax, eax
je 0x584c0a
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 + 0x44]
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 [0x7c5080]
test eax, eax
je 0x584b47
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 0x584b47
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x61da71]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x88
ret
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
lea esi, [esp + 0x58]
call fcn.0046aede
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x584ba8
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x38]
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 0x584fa5
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0046a9fb
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadASN1ObjectIdentifier
movzx ecx, byte [esp + 8]
test cl, cl
je 0x584f5e
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x23], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x48]
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 0x584f17
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
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 + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5f3f60]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x584e9a
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [esp + 0x28]
cmp edx, eax
jb 0x584e14
mov ecx, dword [esp + 0x44]
jmp 0x584e46
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5fd320]
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 + 0x44], ecx
mov ebx, dword [0x7c5080]
lea ebp, [eax + eax*4]
lea edi, [ecx + ebp*4 - 0x14]
test ebx, ebx
je 0x584cba
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x78], edi
lea eax, [0x5fd320]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x78]
jmp 0x584cba
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
je 0x584eb2
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], eax
lea eax, [0x62686a]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x7c]
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 + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x6260c3]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x88
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x625cbb]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x88
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x6249af]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x88
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseName