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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5d4aac
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x44]
test ecx, ecx
je 0x5d43c0
mov dword [esp + 0x80], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x883050]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x80]
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 0x5d458c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ebx, [0x67fde0]
cmp ecx, ebx
jne 0x5d43f2
mov eax, edx
jmp 0x5d43f9
mov eax, edx
mov edx, 0
mov dword [esp + 0x44], edx
jne 0x5d44e0
mov ecx, dword [esp + 0x4c]
test byte [ecx], al
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
mov esi, dword [ebp + 0xa4]
test eax, eax
je 0x5d448e
test esi, esi
je 0x5d4450
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
mov ebp, dword [ebp + 0xa0]
mov dword [esp + 0x48], ebp
mov edi, dword [edx + 0xc]
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
jmp 0x5d4a13
nop
lea eax, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x6bd864]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov ebp, eax
lea eax, [0x713830]
jmp 0x5d45a5
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5d44d7
test esi, esi
je 0x5d44d7
nop
lea eax, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x6bbb63]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov ebp, eax
lea eax, [0x713830]
jmp 0x5d45a5
xor eax, eax
xor ebp, ebp
jmp 0x5d45a5
mov dword [esp + 0x28], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x6c], eax
lea eax, [0x67fde0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
lea eax, [0x6c0bd7]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x68]
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 + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x84
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x84
ret
test eax, eax
jne 0x5d49cb
mov ebp, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc8], ebp
mov ebp, dword [0x8c87a0]
test ebp, ebp
je 0x5d45d3
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [ecx + 0xc4]
mov dword [edi + 4], ebp
mov dword [ecx + 0xc4], eax
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5d4734
mov ebp, dword [edx + 0x14]
test ebp, ebp
je 0x5d46eb
mov eax, dword [edx + 0x18]
mov dword [esp + 0x38], eax
mov esi, dword [edx + 0x1c]
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046c89a
mov dword [esp + 0x50], 4
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x4c]
mov ebp, dword [ecx + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
inc esi
mov edi, dword [ebp]
cmp eax, esi
jae 0x5d4697
mov dword [esp + 0x7c], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x68d700]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c87a0]
test eax, eax
je 0x5d4680
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, ebx
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov dword [ebp + 4], esi
mov eax, dword [0x8c87a0]
lea ebp, [esi + esi*2]
lea edi, [edi + ebp*8 - 0x18]
test eax, eax
je 0x5d46dc
mov dword [esp + 0x78], edi
lea eax, [0x68d700]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x50]
call fcn.0046cd74
mov ecx, dword [esp + 0x4c]
jmp 0x5d473f
mov dword [esp], ecx
mov byte [esp + 4], 0x6d
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], 0x3e
lea ecx, [0x6bfbce]
mov dword [eax], ecx
lea ecx, [0x713830]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x5d4982
mov eax, dword [ebx + 0x10]
movzx eax, byte [eax + 0xd4]
test al, al
jne 0x5d4763
movzx ebp, byte [edx + 0x20]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5d4939
test al, al
je 0x5d483c
movzx eax, byte [edx + 0x20]
test al, al
jne 0x5d483c
mov eax, dword [ecx + 0x10]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
inc esi
nop
mov edi, dword [eax]
cmp ebp, esi
jae 0x5d47e6
mov dword [esp + 0x7c], eax
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x68d700]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c87a0]
test eax, eax
je 0x5d47cf
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, dword [esp + 0x88]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], esi
mov eax, dword [0x8c87a0]
lea ebp, [esi + esi*2]
lea edi, [edi + ebp*8 - 0x18]
test eax, eax
je 0x5d482d
mov dword [esp + 0x78], edi
lea eax, [0x68d700]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x714708]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
lea esi, [0x714708]
call fcn.0046cd74
mov ecx, dword [esp + 0x4c]
movzx eax, byte [edx + 0x20]
test al, al
je 0x5d491c
mov eax, dword [ebx + 0x18]
movzx edx, word [eax + 0x12]
cmp word [ecx + 0x36], dx
jne 0x5d48d3
mov edx, dword [eax + 0x6c]
cmp dword [ecx + 0xc8], edx
jne 0x5d488a
mov eax, dword [eax + 0x68]
mov ebx, dword [ecx + 0xc4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d491c
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov byte [esp + 4], 0x28
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], 0x2e
lea ecx, [0x6bca0f]
mov dword [eax], ecx
lea ecx, [0x713830]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x28
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, [0x6be97b]
mov dword [eax], ecx
lea ecx, [0x713830]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x84
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
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], 0x33
lea ecx, [0x6be183]
mov dword [eax], ecx
lea ecx, [0x713830]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
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], 0x42
lea ecx, [0x6c0408]
mov dword [eax], ecx
lea ecx, [0x713830]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov byte [esp + 4], 0x78
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
add esp, 0x84
ret
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
cmp ebx, esi
jge 0x5d4a6f
lea ecx, [ebp + ebx*8]
mov edx, dword [ecx + 4]
cmp edx, eax
jne 0x5d49fd
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d4a57
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
jmp 0x5d49fd
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
xor eax, eax
xor ebp, ebp
jmp 0x5d45a5
nop
lea eax, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov ebp, dword [esp + 4]
mov dword [ebp + 4], 0x2f
lea eax, [0x6bcfd6]
mov dword [ebp], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
lea eax, [0x713830]
jmp 0x5d45a5
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._clientHandshakeStateTLS13_.readServerParameters