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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5c4064
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 0x5c3c79
cmp ebx, 1
je 0x5c3a64
cmp ebx, 2
jne 0x5c3fa9
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 0x5c39e3
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, [0x6bf3a3]
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, [0x681d20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6d9fa0]
mov dword [esp + 0x24], eax
lea eax, [0x679f20]
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 0x5c3fa9
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, [0x681d20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6c9085]
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 0x5c3bf3
lea eax, [0x695440]
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, [0x6c1003]
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, [0x695440]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6d9f9c]
mov dword [esp + 0x24], eax
lea eax, [0x679f20]
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 0x5c3fa9
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, [0x695440]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x695440]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6ca5f9]
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 0x5c3e81
cmp ebx, 7
jne 0x5c3fa9
mov ebx, dword [esp + 0x9c]
cmp ebx, 4
je 0x5c3d2f
cmp ebx, 0x10
je 0x5c3d2f
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, [0x679760]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6d0049]
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, [0x6bfb13]
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, [0x6b3280]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x6d9fa8]
mov dword [esp + 0x24], eax
lea eax, [0x67ae80]
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 0x5c3fa9
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 0x5c3fe3
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, [0x6be684]
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, [0x6b3140]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [0x6d9fa4]
mov dword [esp + 0x24], eax
lea eax, [0x679f20]
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 0x5c3fc6
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, [0x681d20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6d0434]
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