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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5d535a
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 0x5d4bb5
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5d4b55
mov dword [esp], edx
call sym.crypto_tls._Conn_.connectionStateLocked
lea edi, [esp + 0xac]
lea esi, [esp + 4]
call fcn.0046ccca
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.0046ccca
mov ecx, dword [esp + 0x80]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5d4b72
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 0x5d4bed
mov dword [esp + 0x10c], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x883060]
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 0x5d4ffe
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x67fd20]
cmp eax, edx
jne 0x5d4c1f
mov edx, ecx
jmp 0x5d4c26
mov edx, ecx
mov ecx, 0
jne 0x5d4cc9
mov eax, dword [0x8c87a0]
test eax, eax
jne 0x5d4c3f
mov eax, dword [esp + 0x114]
jmp 0x5d4c53
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 0x5d4c87
mov dword [esp + 0x10c], edx
mov eax, dword [ecx + 4]
lea ecx, [0x883070]
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 0x5d4cb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5d4ccb
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, edx
lea edx, [0x67fd80]
cmp eax, edx
jne 0x5d4cd9
mov ebx, ecx
jmp 0x5d4ce0
mov ebx, ecx
mov ecx, 0
jne 0x5d4f2a
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x5d4eda
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 [0x8c87a0]
test eax, eax
je 0x5d4d1e
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 [0x8c87a0]
test eax, eax
je 0x5d4d47
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 0x5d4ec1
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 0x5d4ea8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x67fc60]
cmp eax, edx
jne 0x5d4db4
mov ebx, ecx
jmp 0x5d4dbb
mov ebx, ecx
mov ecx, 0
mov dword [esp + 0x90], ecx
jne 0x5d4ddb
movzx eax, word [ecx + 0xe]
mov edx, dword [0x882c40]
mov ebx, dword [0x882c44]
xor ebp, ebp
jmp 0x5d5018
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, [0x67fc60]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xa8], eax
lea eax, [0x6c0bd7]
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, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6baa86]
mov dword [eax], ecx
lea ecx, [0x713830]
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, [0x67fd80]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa8], eax
lea eax, [0x6c0bd7]
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 0x5d5300
lea esi, [edx + ebp*2]
cmp word [esi], ax
jne 0x5d5017
mov word [esp], ax
call sym.crypto_tls.typeAndHashFromSignatureScheme
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5d52cf
movzx eax, byte [esp + 4]
cmp al, 0xe1
je 0x5d5050
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x5d50a0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6be9b1]
mov dword [eax], ecx
lea ecx, [0x713830]
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, [0x6b8584]
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 0x5d5350
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 0x5d5201
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
test ecx, ecx
je 0x5d51a2
mov dword [esp + 0x10c], eax
mov eax, dword [ecx + 4]
lea ecx, [0x883080]
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, [0x714540]
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 0x5d51e4
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, [0x6bdd96]
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, [0x67ca80]
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 [0x8c87a0]
test ecx, ecx
jne 0x5d52a4
mov ecx, dword [esp + 0x84]
jmp 0x5d52b2
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x713830]
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, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6be9b1]
mov dword [eax], ecx
lea ecx, [0x713830]
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