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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x5c3ac8
sub esp, 0xf4
mov eax, 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
call sym.crypto_x509.createStoreContext
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
test ecx, ecx
jne 0x5c3417
mov dword [esp + 0x64], ebx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [sym.crypto_x509._Certificate_.systemVerify.func1]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0xf0], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.00468b15
mov dword [esp + 0xc0], 0x2c
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x24]
test edx, edx
jne 0x5c33e1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 1
mov edx, 1
lea ebp, [esp + 0x4c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x38], edx
lea eax, [0x67aa20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x5c345a
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf4
ret
mov ecx, dword [esp + 0x50]
inc ecx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
mov edx, esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
mov edi, ebp
mov ebp, ecx
mov ecx, edi
cmp ebp, ebx
jge 0x5c3538
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x5c3534
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], eax
mov eax, dword [0x8bc26c]
lea ecx, [0x689b00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call sym.runtime.mapaccess2_fast32
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
test cl, cl
je 0x5c3523
mov ebx, dword [eax + 4]
test ebx, ebx
jbe 0x5c3ab2
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x5c34c6
mov eax, dword [esp + 0x68]
jmp 0x5c3502
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x67aa20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ebp, ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5c351a
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + ebx*4 - 4]
mov dword [edi + 4], ecx
mov dword [eax + ebx*4 - 4], edx
jmp 0x5c343f
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x5c343f
xor eax, eax
xor esi, esi
test eax, eax
je 0x5c355f
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], esi
test esi, esi
jbe 0x5c3aa9
mov dword [esp + 0xcc], eax
jmp 0x5c3580
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0xfc]
lea esi, [ecx + 0x10]
mov dword [esp + 0x84], esi
lea edi, [esp + 0xac]
call fcn.00468ffe
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
test ecx, 0x80000000
je 0x5c35d7
mov ebx, edx
shl edx, 1
shl ecx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5c35e9
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, edx
mov edx, ecx
test ebx, ebx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x5c3604
test ebp, 0x3fffffff
sete cl
jmp 0x5c3606
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5c36d7
lea edi, [esp + 0x98]
mov esi, dword [esp + 0x84]
call fcn.00468ffe
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
test ecx, 0x80000000
je 0x5c365e
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5c3670
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov ebp, edx
mov edx, ecx
imul ecx, ebx, 0x3b9aca00
mov eax, 0x3b9aca00
mul edx
add ecx, edx
and ebp, 0x3fffffff
mov edx, ebp
sar ebp, 0x1f
add eax, edx
adc ecx, ebp
add eax, 0x3d1a0000
adc ecx, 0xa1b203eb
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
call sym.runtime.int64div
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0xd53e8000
mov dword [esp + 0x54], ecx
adc edx, 0x19db1de
mov dword [esp + 0x58], edx
lea eax, [esp + 0x54]
jmp 0x5c36d9
xor eax, eax
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
call sym.syscall.CertGetCertificateChain
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test edx, edx
jne 0x5c38c0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [sym.crypto_x509._Certificate_.systemVerify.func2]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xec], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 8], eax
call sym.crypto_x509.verifyChain
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
test eax, eax
jne 0x5c3880
mov edi, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
inc eax
mov esi, dword [esp + 0x100]
cmp edi, eax
jae 0x5c384a
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x74], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x67e3e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x104], eax
lea edi, [eax + eax*2]
mov dword [esi + edi*4 - 8], edx
mov dword [esi + edi*4 - 4], ebx
mov ebx, dword [0x8e2900]
test ebx, ebx
je 0x5c3878
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [esi + edi*4 - 0xc], ecx
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
jbe 0x5c38f8
jl 0x5c3aa4
mov eax, 4
mul ebx
jo 0x5c3a93
mov edi, dword [ecx + 0x18]
mov edx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp eax, edi
ja 0x5c3a93
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], edx
xor eax, eax
jmp 0x5c39b0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x5c3959
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], esi
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x5c]
cmp eax, ebx
jge 0x5c38f8
mov dword [esp + 0x50], eax
mov ecx, dword [edx + eax*4]
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 8], ecx
call sym.crypto_x509.verifyChain
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5c3996
mov eax, dword [esp + 0x108]
mov ebp, dword [esp + 0x104]
inc ebp
mov esi, dword [esp + 0x100]
cmp eax, ebp
jae 0x5c3a5f
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x78], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x67e3e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x104], ebp
lea eax, [ebp + ebp*2]
mov dword [esi + eax*4 - 8], edx
mov dword [esi + eax*4 - 4], ebx
mov ebx, dword [0x8e2900]
test ebx, ebx
je 0x5c3a8a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov dword [esi + eax*4 - 0xc], ecx
jmp 0x5c3996
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5c3a9f
call sym.runtime.panicunsafeslicelen
call sym.runtime.panicunsafeslicenilptr
call sym.runtime.panicunsafeslicelen
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0xf4
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509._Certificate_.systemVerify