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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x586b93
sub esp, 0x50
lea eax, [esp + 0x54]
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 0x5868d3
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x586944
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x62101f]
mov dword [eax], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
mov edi, eax
mov eax, edx
mov edx, ecx
mov ecx, ebx
mov ebx, ebp
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x58]
test edi, edi
je 0x586b1d
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadASN1ObjectIdentifier
movzx eax, byte [esp + 8]
test al, al
je 0x586aba
mov eax, dword [0x77fa80]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [0x77fa84]
jmp 0x586b4d
mov eax, 0
jle 0x586a27
mov ecx, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x5869d4
mov ebx, dword [esp + 0x3c]
jmp 0x586a12
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5f3be0]
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 ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [ebx + ecx*4 - 4], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
jmp 0x586936
mov eax, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jb 0x586a3c
mov ebp, dword [esp + 0x38]
mov ebx, ecx
jmp 0x586a6e
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5fb8e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov dword [ebp + ecx*4 - 8], edx
mov dword [ebp + ecx*4 - 4], esi
mov edx, dword [0x7c5120]
test edx, edx
je 0x586aa1
mov edx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov esi, dword [ebp + ecx*4 - 0xc]
mov dword [edi + 4], esi
mov edi, edx
mov dword [ebp + ecx*4 - 0xc], edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x3c]
jmp 0x586936
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x62101f]
mov dword [eax], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
lea eax, [ebp + 0x10]
dec ebx
test ebx, ebx
jle 0x5869ba
mov ebp, eax
cmp dword [eax + 8], ecx
jne 0x586b49
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], eax
mov esi, dword [eax + 4]
xor edi, edi
jmp 0x586b7a
mov ebx, dword [esp + 0x34]
jmp 0x586b49
inc edi
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
cmp edi, ecx
jge 0x586b8a
mov eax, dword [edx + edi*4]
lea ebx, [esi + edi*4]
cmp dword [ebx], eax
je 0x586b71
jmp 0x586b6b
mov eax, dword [eax]
test ebx, ebx
jmp 0x5869bf
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseExtKeyUsageExtension