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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d1c73
sub esp, 0x74
mov edx, dword [0x854ca0]
mov ebx, dword [0x854ca4]
mov ebp, dword [esp + 0x78]
jmp 0x5d16fd
add edx, 0x20
dec ebx
test ebx, ebx
jle 0x5d171c
lea edi, [esp + 0x54]
mov esi, edx
call fcn.0046f4e0
cmp dword [esp + 0x54], ebp
jne 0x5d16f9
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
jmp 0x5d1720
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x38], ebx
test edx, edx
jne 0x5d1762
cmp ebx, 4
jne 0x5d1744
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
jmp 0x5d188c
mov eax, dword [0x853e50]
mov ecx, dword [0x853e54]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp edx, 2
je 0x5d1c47
mov dword [esp + 0x40], edx
cmp edx, 3
jne 0x5d17e2
movzx esi, byte [esp + 0x9c]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d17e2
mov eax, dword [0x853834]
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x5d17a0
mov eax, dword [esp + 4]
cmp byte [eax], 0x31
je 0x5d17c8
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x6f7278]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, dword [0x853834]
mov dword [esp], eax
call sym.internal_godebug._Setting_.IncNonDefault
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x78]
cmp edx, 0x14
jae 0x5d1c29
mov ecx, dword [0x85a364]
cmp edx, ecx
jae 0x5d1c6b
mov eax, dword [0x85a360]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x5d1c29
mov dword [esp], edx
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x78]
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x94]
test edi, edi
je 0x5d1c0b
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
cmp eax, 0x4bcec15d
jne 0x5d19e6
lea eax, [0x66ca00]
cmp edi, eax
jne 0x5d1c0b
cmp ebx, 1
jne 0x5d19b5
lea eax, [ebp - 0xd]
nop
cmp eax, 2
ja 0x5d1957
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
call sym.crypto_rsa.VerifyPSS
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
call sym.crypto_rsa.VerifyPKCS1v15
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call sym.crypto_x509.signaturePublicKeyAlgoMismatchError
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp eax, 0x8c7bd38d
jne 0x5d1ad5
lea eax, [0x6820e0]
cmp edi, eax
jne 0x5d1c0b
cmp ebx, 3
jne 0x5d1aa4
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
call sym.crypto_ecdsa.VerifyASN1
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5d1a6b
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x69cdfe]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call sym.crypto_x509.signaturePublicKeyAlgoMismatchError
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp eax, 0xc0d9e4a4
jne 0x5d1c0b
lea eax, [0x666580]
cmp edi, eax
jne 0x5d1c0b
mov edx, dword [esp + 0x98]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
cmp ebx, 4
jne 0x5d1bc3
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call sym.crypto_ed25519.verify
movzx eax, byte [esp + 0x34]
test al, al
je 0x5d1b8a
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x69dc88]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
lea ecx, [0x666580]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.crypto_x509.signaturePublicKeyAlgoMismatchError
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [0x853e50]
mov ecx, dword [0x853e54]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [0x853e50]
mov ecx, dword [0x853e54]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp], ebp
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x6f7278]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, edx
call sym.runtime.panicIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.checkSignature