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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5cea7b
sub esp, 0xa0
mov eax, dword [edx + 8]
mov dword [esp + 0x9c], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x98], ecx
mov edx, dword [edx + 4]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0xa4]
cmp ebx, 2
jg 0x5ce66e
cmp ebx, 1
je 0x5ce3bb
cmp ebx, 2
jne 0x5ce9b5
mov dword [esp], 0
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.domainToReverseLabels
movzx eax, byte [esp + 0x14]
test al, al
je 0x5ce32b
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x234]
mov ebx, dword [ecx + 0x238]
mov ebp, dword [ecx + 0x230]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x23c]
mov ebx, dword [ecx + 0x240]
mov ebp, dword [ecx + 0x244]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call sym.runtime.convTslice
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x69359e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
lea eax, [0x6603a0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6acd9c]
mov dword [esp + 0x24], eax
lea eax, [0x659700]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call sym.crypto_x509._Certificate_.checkNameConstraints
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5ce9b5
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x6603a0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x69b945]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov dword [esp], 0
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.parseRFC2821Mailbox
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
test cl, cl
je 0x5ce594
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
lea eax, [0x670120]
mov dword [esp], eax
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x264]
mov ebx, dword [ecx + 0x268]
mov ebp, dword [ecx + 0x260]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x26c]
mov ebx, dword [ecx + 0x270]
mov ebp, dword [ecx + 0x274]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call sym.runtime.convTslice
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x694d87]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xd
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
lea eax, [0x670120]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6acd98]
mov dword [esp + 0x24], eax
lea eax, [0x659700]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call sym.crypto_x509._Certificate_.checkNameConstraints
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5ce9b5
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
lea eax, [0x670120]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x670120]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x69cdde]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
cmp ebx, 6
je 0x5ce887
cmp ebx, 7
jne 0x5ce9b5
mov ebx, dword [esp + 0xac]
cmp ebx, 4
je 0x5ce733
cmp ebx, 0x10
je 0x5ce733
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x6593c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x6a272e]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call sym.net.IP.String
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x24c]
mov ebx, dword [ecx + 0x250]
mov ebp, dword [ecx + 0x248]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x254]
mov ebx, dword [ecx + 0x258]
mov ebp, dword [ecx + 0x25c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call sym.runtime.convTslice
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6939e0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xa
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
lea eax, [0x688120]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6acda4]
mov dword [esp + 0x24], eax
lea eax, [0x65a4e0]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call sym.crypto_x509._Certificate_.checkNameConstraints
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5ce9b5
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov dword [esp], 0
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.net_url.Parse
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5ce9eb
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x27c]
mov ebx, dword [ecx + 0x280]
mov ebp, dword [ecx + 0x278]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x284]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x28c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call sym.runtime.convTslice
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6929b6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [0x6883a0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [0x6acda0]
mov dword [esp + 0x24], eax
lea eax, [0x659700]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call sym.crypto_x509._Certificate_.checkNameConstraints
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x5ce9d2
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x6603a0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x6a2bd9]
mov dword [esp], eax
mov dword [esp + 4], 0x30
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
call sym.runtime.morestack
jmp sym.crypto_x509._Certificate_.isValid.func1