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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ba698
sub esp, 0x64
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5ba1da
mov ecx, dword [eax]
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
lea esi, [0x689540]
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 + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x68]
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 + 0x50], ebx
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
jmp 0x5ba219
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov esi, dword [esp + 0x44]
inc esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov ebx, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], edi
cmp ebx, eax
jge 0x5ba48e
mov ecx, dword [ecx + ebx*4]
mov eax, dword [edx + 8]
nop
cmp eax, ecx
jbe 0x5ba68c
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], esi
mov eax, dword [edx + 4]
shl ecx, 4
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x5ba276
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x50]
jmp 0x5ba1f6
mov ebx, dword [esp]
mov dword [esp + 0x4c], ebx
mov ebp, dword [ebx + 0x1d0]
mov esi, dword [esp + 0x6c]
cmp dword [esi + 0x1dc], ebp
je 0x5ba293
xor eax, eax
jmp 0x5ba2bc
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [esi + 0x1d8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
test al, al
je 0x5ba346
mov ebp, dword [esp + 0x30]
inc ebp
mov edi, dword [esp + 0x34]
cmp edi, ebp
jb 0x5ba2d7
mov eax, dword [esp + 0x58]
jmp 0x5ba315
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6b4880]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
mov eax, edi
mov edi, esi
mov esi, dword [esp + 0x6c]
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5ba331
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [eax + ebp*4 - 4]
mov dword [edi + 4], edx
mov edi, ecx
mov dword [eax + ebp*4 - 4], ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
jmp 0x5ba1f6
mov ebp, dword [ebx + 0x1d0]
test ebp, ebp
jne 0x5ba362
mov edi, dword [esi + 0x1dc]
test edi, edi
jne 0x5ba370
test ebp, ebp
je 0x5ba3f6
mov ebp, dword [esi + 0x1dc]
test ebp, ebp
jne 0x5ba3f6
mov ebp, dword [esp + 0x20]
inc ebp
mov edi, dword [esp + 0x24]
cmp edi, ebp
jb 0x5ba383
mov eax, dword [esp + 0x50]
jmp 0x5ba3bf
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6b4880]
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 + 0x4c]
mov esi, dword [esp + 0x6c]
mov edi, ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5ba3db
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [eax + ebp*4 - 4]
mov dword [edi + 4], edx
mov edi, ecx
mov dword [eax + ebp*4 - 4], ebx
mov ecx, edi
mov edx, ebp
mov ebx, eax
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
jmp 0x5ba1f6
mov ebp, dword [esp + 0x28]
inc ebp
mov edi, dword [esp + 0x2c]
cmp edi, ebp
jb 0x5ba409
mov eax, dword [esp + 0x54]
jmp 0x5ba445
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6b4880]
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 + 0x4c]
mov esi, dword [esp + 0x6c]
mov edi, ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5ba461
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [eax + ebp*4 - 4]
mov dword [edi + 4], edx
mov edi, ecx
mov dword [eax + ebp*4 - 4], ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
jmp 0x5ba1f6
mov eax, dword [esp + 0x20]
lea ecx, [ebp + eax]
mov edx, dword [esp + 0x28]
add ecx, edx
test ecx, ecx
je 0x5ba670
mov dword [esp + 0x38], ecx
lea eax, [0x6b4880]
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 0x5ba4d6
mov ebx, ecx
jmp 0x5ba508
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x6b4880]
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 + 0x40], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], eax
lea ebp, [0x6b4880]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x58]
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 0x5ba54f
mov ebp, dword [esp + 0x5c]
jmp 0x5ba589
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6b4880]
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 + 0x5c], ebp
lea esi, [0x6b4880]
mov dword [esp], esi
sub edx, eax
sub ebx, eax
neg ebx
shl eax, 2
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x50]
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 0x5ba5e0
mov ebp, dword [esp + 0x5c]
jmp 0x5ba616
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6b4880]
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 + 0x5c], ebp
lea esi, [0x6b4880]
mov dword [esp], esi
sub edx, eax
sub ebx, eax
neg ebx
shl eax, 2
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
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