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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5f089a
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 0x5f00f5
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5f0095
mov dword [esp], edx
call sym.crypto_tls._Conn_.connectionStateLocked
lea edi, [esp + 0xac]
lea esi, [esp + 4]
call fcn.0046f44a
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x80], ecx
lea edi, [esp]
lea esi, [esp + 0xac]
call fcn.0046f44a
mov ecx, dword [esp + 0x80]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5f00b2
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x78]
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 ebx, dword [eax + 0x44]
test ecx, ecx
je 0x5f012d
mov dword [esp + 0x10c], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x854790]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x10c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f053e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x66b800]
cmp eax, edx
jne 0x5f015f
mov edx, ecx
jmp 0x5f0166
mov edx, ecx
mov ecx, 0
jne 0x5f0209
mov eax, dword [0x899508]
test eax, eax
jne 0x5f017f
mov eax, dword [esp + 0x114]
jmp 0x5f0193
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x34]
mov dword [edi + 4], edx
mov dword [eax + 0x34], ecx
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
test ecx, ecx
je 0x5f01c7
mov dword [esp + 0x10c], edx
mov eax, dword [ecx + 4]
lea ecx, [0x8547a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f01f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5f020b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, edx
lea edx, [0x66b860]
cmp eax, edx
jne 0x5f0219
mov ebx, ecx
jmp 0x5f0220
mov ebx, ecx
mov ecx, 0
jne 0x5f046a
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x5f041a
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x40]
mov ebx, dword [ecx + 0x38]
mov ebp, dword [esp + 0x98]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
mov eax, dword [0x899508]
test eax, eax
je 0x5f025e
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 [ecx + 0x30]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x2c]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], edx
mov eax, dword [0x899508]
test eax, eax
je 0x5f0287
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 [ecx + 0xc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.crypto_tls._Conn_.verifyServerCertificate
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f0401
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 0x5f03e8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x66b740]
cmp eax, edx
jne 0x5f02f4
mov ebx, ecx
jmp 0x5f02fb
mov ebx, ecx
mov ecx, 0
mov dword [esp + 0x90], ecx
jne 0x5f031b
movzx eax, word [ecx + 0xe]
mov edx, dword [0x854340]
mov ebx, dword [0x854344]
xor ebp, ebp
jmp 0x5f0558
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xa0], eax
lea eax, [0x66b740]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xa8], eax
lea eax, [0x6a6435]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x9c]
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 ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
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, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x69ffd2]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x10c], ebx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xa0], eax
lea eax, [0x66b860]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa8], eax
lea eax, [0x6a6435]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x9c]
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 ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
inc ebp
cmp ebp, ebx
jge 0x5f0840
lea esi, [edx + ebp*2]
cmp word [esi], ax
jne 0x5f0557
mov word [esp], ax
call sym.crypto_tls.typeAndHashFromSignatureScheme
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5f080f
movzx eax, byte [esp + 4]
cmp al, 0xe1
je 0x5f0590
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x5f05e0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6a3f12]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
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, [0x69d8ae]
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 0x5f0890
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 + 0x54]
mov ebp, dword [ebp + 0x50]
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x108], eax
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x7c], edi
movzx edi, byte [esp + 0x67]
xchg edi, eax
mov byte [esp], al
xchg edi, eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
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 + 0x108]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
call sym.crypto_tls.verifyHandshakeSignature
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5f0741
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
test ecx, ecx
je 0x5f06e2
mov dword [esp + 0x10c], eax
mov eax, dword [ecx + 4]
lea ecx, [0x8547b0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10c]
lea edx, [0x6f75e4]
mov dword [esp], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5f0724
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 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, [0x6a322b]
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 + 0x84], ecx
lea edx, [0x669360]
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 [0x899508]
test ecx, ecx
jne 0x5f07e4
mov ecx, dword [esp + 0x84]
jmp 0x5f07f2
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
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, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6a3f12]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
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