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

Disassembly:
mov ecx, dword [0x7c4f4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5873db
sub esp, 0xa0
mov byte [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], 0
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 + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea eax, [esp + 0x5c]
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 0x586fc2
mov eax, dword [esp + 0x78]
test eax, eax
je 0x586f63
mov eax, 1
jmp 0x586fc7
lea eax, [esp + 0x5c]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
lea eax, [esp + 0x46]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0xa0
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadOptionalASN1
movzx eax, byte [esp + 0x10]
test al, al
jne 0x586f94
mov eax, 1
jmp 0x586fc7
lea eax, [esp + 0x5c]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
lea eax, [esp + 0x47]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0xa1
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.ReadOptionalASN1
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x586fc7
mov eax, 1
test al, al
jne 0x587397
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x587397
movzx eax, byte [esp + 0x46]
test al, al
jne 0x586ff1
movzx eax, byte [esp + 0x47]
test al, al
je 0x587353
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x587008
mov eax, dword [esp + 0x84]
test eax, eax
je 0x587353
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea eax, [sym.crypto_x509.parseNameConstraintsExtension.func1]
mov dword [esp + 0x98], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x98]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x94], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0xa4]
mov dword [edi + 0x234], eax
mov dword [edi + 0x238], ecx
mov eax, dword [0x7c5080]
test eax, eax
je 0x587124
mov eax, edi
call sym.runtime.gcWriteBarrier8
mov dword [edi], ebp
mov ecx, dword [eax + 0x230]
mov dword [edi + 4], ecx
mov dword [edi + 8], esi
mov ecx, dword [eax + 0x248]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x94]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 0x260]
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x90]
mov dword [edi + 0x18], ecx
mov ecx, dword [eax + 0x278]
mov dword [edi + 0x1c], ecx
mov edi, eax
mov dword [edi + 0x230], ebp
mov dword [edi + 0x24c], ebx
mov dword [edi + 0x250], edx
mov dword [edi + 0x248], esi
mov eax, dword [esp + 0x54]
mov dword [edi + 0x264], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x268], eax
mov eax, dword [esp + 0x94]
mov dword [edi + 0x260], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x27c], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x280], eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x278], eax
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x58732f
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x98]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x94], edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0xa4]
mov dword [edi + 0x240], eax
mov dword [edi + 0x244], ecx
mov eax, dword [0x7c5080]
test eax, eax
je 0x58727e
mov eax, edi
call sym.runtime.gcWriteBarrier8
mov dword [edi], ebp
mov ecx, dword [eax + 0x23c]
mov dword [edi + 4], ecx
mov dword [edi + 8], esi
mov ecx, dword [eax + 0x254]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x94]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 0x26c]
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x90]
mov dword [edi + 0x18], ecx
mov ecx, dword [eax + 0x284]
mov dword [edi + 0x1c], ecx
mov edi, eax
mov dword [edi + 0x23c], ebp
mov dword [edi + 0x258], ebx
mov dword [edi + 0x25c], edx
mov dword [edi + 0x254], esi
mov eax, dword [esp + 0x54]
mov dword [edi + 0x270], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x274], eax
mov eax, dword [esp + 0x94]
mov dword [edi + 0x26c], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x28c], eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x284], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x587304
mov byte [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xcc], eax
add esp, 0xa0
ret
movzx eax, byte [esp + 0xb4]
mov byte [edi + 0x22c], al
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xa0
ret
mov byte [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xcc], eax
add esp, 0xa0
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x622e08]
mov dword [eax], ecx
mov byte [esp + 0xc4], 0
lea ecx, [0x6681c0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xa0
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x623362]
mov dword [eax], ecx
mov byte [esp + 0xc4], 0
lea ecx, [0x6681c0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xa0
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseNameConstraintsExtension