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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x5024b0
sub esp, 0xe0
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ecx
call dbg.crypto/x509.(*CertPool).findVerifiedParents
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x84], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x80], ebp
xor esi, esi
xor edi, edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x70]
jmp 0x501c77
mov eax, dword [esp + 0xbc]
lea ebp, [eax + 4]
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0xf0]
cmp ebx, esi
jge 0x501cc3
mov dword [esp + 0x58], ebx
mov dword [esp + 0xbc], ebp
mov eax, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.crypto/x509.(*Certificate).Equal
movzx eax, byte [esp + 8]
test al, al
je 0x501bb3
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0xc0]
add esi, 4
mov edi, dword [esp + 0x5c]
inc edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov edx, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc4], edi
cmp esi, ecx
jge 0x501ece
mov eax, dword [esp + 0xf8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [edx]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
cmp ebp, ecx
jae 0x5024a9
mov dword [esp + 0x5c], esi
mov dword [esp + 0xc0], edx
mov ecx, dword [ebx + ebp*4]
mov dword [esp + 0x90], ecx
xor ebx, ebx
mov ebp, dword [esp + 0xec]
jmp 0x501be4
mov dword [esp], ecx
mov dword [esp + 4], 2
mov edx, dword [esp + 0xec]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call dbg.crypto/x509.(*Certificate).isValid
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x501d15
mov edx, dword [esp + 0x60]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x64]
jmp 0x501c33
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ecx
lea eax, [0x6368a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call dbg.runtime.makeslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x78], edx
lea ebx, [0x6368a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x18], edi
call dbg.runtime.typedslicecopy
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jae 0x5024a2
mov edx, dword [esp + 0x78]
lea ebx, [edx + eax*4]
mov ebp, dword [0x79b700]
test ebp, ebp
jne 0x501ea7
mov ebx, dword [esp + 0x90]
mov dword [edx + eax*4], ebx
mov ebx, dword [esp + 0x64]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x60]
cmp ebp, esi
jg 0x501e5b
mov edi, dword [esp + 0xc4]
lea ebx, [ebx + ebx*2]
mov dword [edi + ebx*4 + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + ebx*4 + 8], ecx
lea ecx, [edi + ebx*4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x501e21
mov dword [edi + ebx*4], edx
mov eax, edi
mov ecx, ebp
mov edx, esi
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb8]
jmp 0x501c33
mov dword [esp + 0xac], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0xf0]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0xac]
jmp 0x501e08
lea eax, [0x5f4da0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
jmp 0x501de2
mov dword [esp], ebx
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
jmp 0x501dc8
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ecx
call dbg.crypto/x509.(*CertPool).findVerifiedParents
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 8]
xor esi, esi
mov edi, dword [esp + 0x60]
jmp 0x501ff1
mov eax, dword [esp + 0xa4]
add eax, 4
mov ecx, dword [esp + 0x58]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0xf0]
cmp ebx, edx
jge 0x50204e
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0xa4]
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.crypto/x509.(*Certificate).Equal
movzx eax, byte [esp + 8]
test al, al
je 0x501f23
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0xc0]
add esi, 4
mov edi, dword [esp + 0x5c]
inc edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebp
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x30]
mov ebp, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x60], edi
cmp esi, ebx
jge 0x5023a6
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp edx, ecx
jae 0x50249b
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0xc0], ebp
mov ecx, dword [ebx + edx*4]
mov dword [esp + 0x94], ecx
xor ebx, ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x68]
jmp 0x501f5c
mov dword [esp], ecx
mov dword [esp + 4], 1
mov ebx, dword [esp + 0xec]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
call dbg.crypto/x509.(*Certificate).isValid
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5020a0
mov edx, dword [esp + 0xc4]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x501faa
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
lea eax, [0x6066a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call dbg.runtime.mapaccess2_fast32
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
test cl, cl
je 0x5021f3
mov ecx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], ebp
mov esi, dword [esp + 0x64]
lea edi, [esi + ebx]
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x60]
cmp edi, ecx
ja 0x50218d
cmp edi, ecx
ja 0x50248d
cmp esi, edi
ja 0x50248d
mov dword [esp + 0x64], ecx
sub ecx, esi
lea esi, [esi + esi*2]
mov edi, ecx
neg ecx
shl esi, 2
sar ecx, 0x1f
and esi, ecx
mov ecx, dword [esp + 0xc4]
add esi, ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
lea esi, [0x5f4da0]
mov dword [esp], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call dbg.runtime.typedslicecopy
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xc8]
jmp 0x501faa
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x98], edx
lea eax, [0x5f4da0]
mov dword [esp], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x4c]
jmp 0x502117
lea eax, [0x6368a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call dbg.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
lea ebx, [0x6368a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x18], edi
call dbg.runtime.typedslicecopy
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x502494
mov edx, dword [esp + 0x7c]
lea ebx, [edx + eax*4]
mov ebp, dword [0x79b700]
test ebp, ebp
jne 0x50237f
mov ebx, dword [esp + 0x94]
mov dword [edx + eax*4], ebx
mov dword [esp], ebx
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x14], ecx
call dbg.crypto/x509.(*Certificate).buildChains
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xcc], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc8], ebp
lea esi, [0x6066a0]
mov dword [esp], esi
mov edi, dword [esp + 0xe8]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 8], edi
call dbg.runtime.mapassign_fast32
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov ebx, dword [0x79b700]
test ebx, ebx
jne 0x50235b
mov ebx, dword [esp + 0x8c]
mov dword [eax], ebx
mov eax, edx
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
jmp 0x5020f6
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x8c]
jmp 0x50233d
mov dword [esp], ebx
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x94]
jmp 0x502298
mov ebx, dword [esp + 0x64]
test ebx, ebx
jle 0x50247a
mov ebp, 0
mov esi, 0
jne 0x5023c2
test esi, esi
je 0x5023f3
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], ebp
add esp, 0xe0
ret
mov ebp, dword [esp + 0x80]
test ebp, ebp
je 0x502468
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xd8], 0
mov edx, dword [esp + 0xe4]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
lea eax, [0x7584d0]
mov dword [esp], eax
lea eax, [esp + 0xd0]
mov dword [esp + 4], eax
call dbg.runtime.convT2I
mov esi, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
jmp 0x5023c2
mov eax, edx
mov ecx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb4]
jmp 0x50240c
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0xcc]
jmp 0x5023bc
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/x509.(*Certificate).buildChains