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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fff1c
sub esp, 0x5c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ffcc9
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x4ffd3a
lea eax, [0x60f6c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x4ffd1e
lea ecx, [0x64d4da]
mov dword [eax], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x757cf0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov dword [esp + 0x58], eax
mov dword [esp], eax
lea ecx, [0x64d4da]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x58]
jmp 0x4ffcf4
lea edx, [ecx - 1]
cmp edx, 0x100000
jae 0x4fff15
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x40], eax
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x48], ecx
test byte [ecx], al
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4ffd75
mov edi, dword [esp + 0x20]
lea edx, [edi + 1]
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x48]
mov edi, dword [eax + 0xc]
cmp edx, edi
jge 0x4ffeee
cmp edx, 0x100000
jae 0x4fff0e
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], esi
mov eax, dword [ecx + edx*4]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
mov dword [esp + 0x44], ebx
test byte [ebx], al
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
lea ebp, [0x604e20]
mov dword [esp], ebp
mov dword [esp + 4], eax
call dbg.runtime.makeslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xc]
cmp ecx, 0x100000
jle 0x4ffee7
mov ebx, 0x100000
mov dword [esp + 0x4c], edx
mov dword [esp], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call dbg.runtime.memmove
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call dbg.crypto/x509.ParseCertificate
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x4ffec3
mov eax, dword [esp + 0x34]
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jg 0x4ffe84
mov ebp, dword [esp + 0x54]
mov esi, dword [0x79b700]
lea edi, [ebp + eax*4]
test esi, esi
jne 0x4ffe5b
mov dword [ebp + eax*4], edx
jmp 0x4ffd64
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x50]
jmp 0x4ffd64
mov dword [esp + 0x3c], edx
lea edx, [0x6368a0]
mov dword [esp], edx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
jmp 0x4ffe44
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov ebx, ecx
jmp 0x4ffde9
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/x509.extractSimpleChain