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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5e3a8d
sub esp, 0x110
mov eax, dword [esp + 0x114]
movzx ecx, byte [eax + 0x38]
mov edx, dword [eax]
mov dword [esp + 0x98], edx
test cl, cl
je 0x5e32e9
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5e327f
mov dword [esp], edx
call sym.crypto_tls._Conn_.connectionStateLocked
lea edi, [esp + 0xb4]
lea esi, [esp + 4]
call fcn.004688aa
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x7c], ecx
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.004688aa
mov ecx, dword [esp + 0x7c]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5e329c
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov byte [esp + 4], 0x2a
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp + 0xa0], edx
lea ebx, [0x68b2c0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5e3738
mov eax, dword [esp + 0xc]
lea ecx, [0x6907e0]
cmp eax, ecx
jne 0x5e334a
mov eax, dword [esp + 0x10]
jmp 0x5e334f
mov eax, 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jne 0x5e33f7
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x5e3370
mov ecx, dword [esp + 0x114]
jmp 0x5e3384
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x34]
mov dword [edi + 4], edx
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov dword [esp + 0xa0], edx
lea ebx, [0x68b2c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5e33da
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jmp 0x5e33f7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
lea eax, [0x690840]
cmp ecx, eax
jne 0x5e3405
mov ebx, edx
jmp 0x5e340c
mov ebx, edx
mov edx, 0
jne 0x5e3664
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5e3614
mov eax, dword [edx + 0x3c]
mov ecx, dword [edx + 0x40]
mov ebx, dword [edx + 0x38]
mov ebp, dword [esp + 0x98]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], ecx
mov eax, dword [0x8d0720]
test eax, eax
je 0x5e344a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ebp + 0x44]
mov dword [edi + 4], eax
mov dword [ebp + 0x44], ebx
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov ebx, dword [edx + 0x2c]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
mov eax, dword [0x8d0720]
test eax, eax
je 0x5e3473
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ebp + 0x38]
mov dword [edi + 4], eax
mov dword [ebp + 0x38], ebx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.crypto_tls._Conn_.verifyServerCertificate
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5e35f7
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5e35da
mov eax, dword [esp + 0xc]
lea ecx, [0x690720]
cmp eax, ecx
jne 0x5e34de
mov edx, dword [esp + 0x10]
jmp 0x5e34e3
mov edx, 0
mov dword [esp + 0x90], edx
jne 0x5e3503
movzx eax, word [edx + 0xe]
mov ecx, dword [0x8a2868]
mov ebx, dword [0x8a286c]
xor ebp, ebp
jmp 0x5e3756
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa8], eax
lea eax, [0x690720]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb0], eax
lea eax, [0x6d376c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6cdacb]
mov dword [eax], ecx
lea ecx, [0x726b8c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], eax
lea eax, [0x690840]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb0], eax
lea eax, [0x6d376c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
inc ebp
cmp ebp, ebx
jge 0x5e3a33
lea esi, [ecx + ebp*2]
cmp word [esi], ax
jne 0x5e3755
mov word [esp], ax
call sym.crypto_tls.typeAndHashFromSignatureScheme
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5e3a02
movzx eax, byte [esp + 4]
cmp al, 0xe1
je 0x5e378e
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x5e37de
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6d1840]
mov dword [eax], ecx
lea ecx, [0x726b8c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov byte [esp + 0x67], al
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov dword [esp], ecx
lea ebp, [0x6cb30f]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call sym.crypto_tls.signedMessage
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jbe 0x5e3a83
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [eax + 0x50]
mov ebp, dword [ebp]
mov esi, dword [ebp + 0x50]
mov ebp, dword [ebp + 0x54]
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x78], edi
movzx edi, byte [esp + 0x67]
xchg edi, eax
mov byte [esp], al
xchg edi, eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
call sym.crypto_tls.verifyHandshakeSignature
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5e3976
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0x33
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6d0c47]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x32
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
lea edx, [0x68cba0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x5e394b
mov ecx, dword [esp + 0x80]
jmp 0x5e3959
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x726b8c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0xa0], eax
lea edx, [0x68b2c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
lea eax, [0x727994]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5e39e5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6d1840]
mov dword [eax], ecx
lea ecx, [0x726b8c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._clientHandshakeStateTLS13_.readServerCertificate