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

Disassembly:
mov ecx, dword [0x7c4f4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x59388b
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 0x59347e
cmp ebx, 1
je 0x5931cb
cmp ebx, 2
jne 0x5937c5
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 0x59313b
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, [0x6180d5]
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, [0x5f3f60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x62a05c]
mov dword [esp + 0x24], eax
lea eax, [0x5ee9e0]
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 0x5937c5
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, [0x5f3f60]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x61f604]
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 0x5933a4
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
lea eax, [0x5fd260]
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, [0x619782]
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, [0x5fd260]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x62a058]
mov dword [esp + 0x24], eax
lea eax, [0x5ee9e0]
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 0x5937c5
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, [0x5fd260]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x5fd260]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x620898]
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 0x593697
cmp ebx, 7
jne 0x5937c5
mov ebx, dword [esp + 0xac]
cmp ebx, 4
je 0x593543
cmp ebx, 0x10
je 0x593543
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, [0x5ee6e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x6255d8]
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, [0x6188c7]
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, [0x60fae0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
lea eax, [0x62a064]
mov dword [esp + 0x24], eax
lea eax, [0x5edda0]
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 0x5937c5
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 0x5937fb
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, [0x617569]
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, [0x60fc20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [0x62a060]
mov dword [esp + 0x24], eax
lea eax, [0x5ee9e0]
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 0x5937e2
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, [0x5f3f60]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x6259e8]
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