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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5c6f74
sub esp, 0x90
mov eax, dword [edx + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x70], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x94]
cmp ebx, 2
jg 0x5c6b89
cmp ebx, 1
je 0x5c6974
cmp ebx, 2
jne 0x5c6eb9
mov dword [esp], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
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 0x5c68f3
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 + 0x230]
mov ebx, dword [ecx + 0x234]
mov ebp, dword [ecx + 0x238]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
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 + 0x70]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6c2793]
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, [0x686720]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6eb834]
mov dword [esp + 0x24], eax
lea eax, [0x67f200]
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 0x5c6eb9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 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, [0x686720]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6cc92a]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x78]
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 + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov dword [esp], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
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], eax
mov dword [esp + 4], ecx
call sym.crypto_x509.parseRFC2821Mailbox
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
test al, al
je 0x5c6b03
lea eax, [0x699c40]
mov dword [esp], eax
lea ecx, [esp + 0x80]
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 + 0x260]
mov ebx, dword [ecx + 0x264]
mov ebp, dword [ecx + 0x268]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
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 + 0x70]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6c42cf]
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, [0x699c40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6eb830]
mov dword [esp + 0x24], eax
lea eax, [0x67f200]
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 0x5c6eb9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x699c40]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x699c40]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6cdf52]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x78]
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 + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
cmp ebx, 6
je 0x5c6d91
cmp ebx, 7
jne 0x5c6eb9
mov ebx, dword [esp + 0x9c]
cmp ebx, 4
je 0x5c6c3f
cmp ebx, 0x10
je 0x5c6c3f
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x67ea40]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6d3c04]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
lea eax, [esp + 0x78]
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 + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa0]
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 + 0x98]
mov dword [esp], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xa0]
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 + 0x248]
mov ebx, dword [ecx + 0x24c]
mov ebp, dword [ecx + 0x250]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
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 + 0x70]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6c2e34]
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, [0x6b5be0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6eb83c]
mov dword [esp + 0x24], eax
lea eax, [0x67f960]
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 0x5c6eb9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov dword [esp], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
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 0x5c6ef3
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x278]
mov ebx, dword [ecx + 0x27c]
mov ebp, dword [ecx + 0x280]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
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 + 0x70]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6c166f]
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, [0x6b5aa0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [0x6eb838]
mov dword [esp + 0x24], eax
lea eax, [0x67f200]
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 0x5c6ed6
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x90
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 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, [0x686720]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6d401f]
mov dword [esp], eax
mov dword [esp + 4], 0x30
lea eax, [esp + 0x78]
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 + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x90
ret
call sym.runtime.morestack
jmp sym.crypto_x509._Certificate_.isValid.func1