Function at 0x582a50
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 0x58307e
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test eax, eax
je 0x582ae3
mov ecx, dword [eax]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
lea esi, [0x5f5720]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x80]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov dword [esp + 0x60], ebx
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov dword [esp + 0x64], ebx
xor ebx, ebx
jmp 0x582b3a
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x7c
ret
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebx, eax
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], edi
cmp ebx, eax
jge 0x582e5b
mov ecx, dword [ecx + ebx*4]
mov eax, dword [edx + 8]
nop
cmp eax, ecx
jbe 0x583072
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], esi
mov eax, dword [edx + 4]
lea ebx, [ecx + ecx*4]
mov dword [esp + 0x54], ebx
mov eax, dword [eax + ebx*4 + 0x10]
mov ebp, dword [eax]
mov edx, eax
call ebp
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jbe 0x58306b
mov ebx, dword [esp + 4]
mov ebp, dword [eax + 4]
mov esi, dword [esp + 0x54]
mov ebp, dword [ebp + esi*4 + 0xc]
test ebx, ebx
je 0x582bc3
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
jmp 0x582b08
mov dword [esp + 0x6c], ebp
mov ebx, dword [esp]
mov dword [esp + 0x74], ebx
mov esi, dword [ebx + 0x1d0]
mov edi, dword [esp + 0x84]
cmp dword [edi + 0x1dc], esi
je 0x582be7
xor ecx, ecx
jmp 0x582c20
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [edi + 0x1d8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [esp + 0x80]
test cl, cl
je 0x582cd1
mov esi, dword [esp + 0x30]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x34]
cmp edi, esi
jb 0x582c3d
mov edx, dword [esp + 0x68]
jmp 0x582c82
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x5fcfc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edx, edi
mov edi, eax
mov dword [esp + 0x68], edx
mov ecx, dword [0x7c5120]
lea eax, [edx + esi*8 - 8]
lea edx, [edx + esi*8 - 4]
test ecx, ecx
je 0x582cb4
mov dword [esp + 0x50], edi
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x50]
mov dword [eax], ebx
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
jmp 0x582b08
mov esi, dword [ebx + 0x1d0]
test esi, esi
jne 0x582ced
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
jne 0x582cfb
test esi, esi
je 0x582da8
mov esi, dword [edi + 0x1dc]
test esi, esi
jne 0x582da8
mov esi, dword [esp + 0x20]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x24]
cmp edi, esi
jb 0x582d10
mov edx, dword [esp + 0x60]
jmp 0x582d55
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x5fcfc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edx, eax
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x60], edx
mov ecx, dword [0x7c5120]
lea eax, [edx + esi*8 - 8]
lea edx, [edx + esi*8 - 4]
test ecx, ecx
je 0x582d87
mov dword [esp + 0x4c], edi
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x4c]
mov dword [eax], ebx
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov ecx, edi
mov edx, esi
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x582b08
mov esi, dword [esp + 0x28]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x2c]
cmp edi, esi
jb 0x582dbd
mov edx, dword [esp + 0x64]
jmp 0x582e02
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x5fcfc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edx, eax
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x64], edx
mov ecx, dword [0x7c5120]
lea eax, [edx + esi*8 - 8]
lea edx, [edx + esi*8 - 4]
test ecx, ecx
je 0x582e34
mov dword [esp + 0x48], edi
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x48]
mov dword [eax], ebx
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, edi
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x582b08
mov eax, dword [esp + 0x20]
lea ecx, [ebp + eax]
mov edx, dword [esp + 0x28]
add ecx, edx
test ecx, ecx
je 0x583046
mov dword [esp + 0x38], ecx
lea eax, [0x5fcfc0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
cmp ecx, edx
ja 0x582ea3
mov ebx, ecx
jmp 0x582ed5
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x5fcfc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov edx, ecx
mov ecx, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], eax
lea ebp, [0x5fcfc0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x68]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x582f1c
mov ebp, dword [esp + 0x70]
jmp 0x582f56
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x5fcfc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], ebp
lea esi, [0x5fcfc0]
mov dword [esp], esi
sub edx, eax
sub ebx, eax
neg ebx
shl eax, 3
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x582fad
mov ebp, dword [esp + 0x70]
jmp 0x582fe3
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x5fcfc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], ebp
lea esi, [0x5fcfc0]
mov dword [esp], esi
sub edx, eax
sub ebx, eax
neg ebx
shl eax, 3
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x90], eax
add esp, 0x7c
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x7c
ret
mov eax, ebx
call sym.runtime.panicIndex
mov edx, eax
mov eax, ecx
mov ecx, edx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509._CertPool_.findPotentialParents