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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5f3c69
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x44]
test ecx, ecx
je 0x5f3520
mov dword [esp + 0x84], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x8eb3e8]
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 + 0x84]
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 0x5f36cb
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ebx, [0x6b6960]
cmp ecx, ebx
jne 0x5f3552
mov eax, edx
jmp 0x5f3559
mov eax, edx
mov edx, 0
mov dword [esp + 0x44], edx
jne 0x5f363f
mov ecx, dword [esp + 0x4c]
test byte [ecx], al
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x10]
mov eax, dword [edx + 4]
mov esi, dword [ebp + 0xa4]
test eax, eax
je 0x5f35ed
test esi, esi
je 0x5f35af
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
mov ebp, dword [ebp + 0xa0]
mov dword [esp + 0x48], ebp
mov edi, dword [edx]
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
jmp 0x5f3bd0
nop
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x6fa5e9]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov ebp, eax
lea eax, [0x75790c]
jmp 0x5f36e4
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5f3636
test esi, esi
je 0x5f3636
nop
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x6f8767]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov ebp, eax
lea eax, [0x75790c]
jmp 0x5f36e4
xor eax, eax
xor ebp, ebp
jmp 0x5f36e4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
lea eax, [0x6b6960]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
lea eax, [0x6fe00a]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x6c]
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 + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x88
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x88
ret
test eax, eax
jne 0x5f3b88
mov ebp, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx + 0xd0], ebp
mov ebp, dword [0x911a40]
test ebp, ebp
je 0x5f3711
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [ecx + 0xcc]
mov dword [edi + 4], ebp
mov dword [ecx + 0xcc], eax
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5f3878
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x5f382f
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], eax
mov esi, dword [edx + 0x10]
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00471f19
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 0x5f37db
mov dword [esp + 0x80], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6cb460]
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 + 0x80]
mov dword [ebx + 8], eax
mov eax, dword [0x911a40]
test eax, eax
je 0x5f37c4
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 + 0x8c]
mov dword [ebp + 4], esi
mov eax, dword [0x911a40]
imul ebp, esi, 0x1c
lea edi, [ebp + edi - 0x1c]
test eax, eax
je 0x5f3820
mov dword [esp + 0x7c], edi
lea eax, [0x6cb460]
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 + 0x8c]
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x50]
call fcn.004723ea
mov ecx, dword [esp + 0x4c]
jmp 0x5f3883
mov dword [esp], ecx
mov byte [esp + 4], 0x6d
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3e
lea ecx, [0x6fce5e]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [edx + 8]
test eax, eax
jne 0x5f3b3f
mov eax, dword [ebx + 0x10]
movzx eax, byte [eax + 0xd4]
test al, al
jne 0x5f38a7
movzx ebp, byte [edx + 0x14]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f3af6
test al, al
je 0x5f3986
movzx eax, byte [edx + 0x14]
test al, al
jne 0x5f3986
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 0x5f3930
mov dword [esp + 0x80], eax
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6cb460]
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 + 0x80]
mov dword [ebx + 8], eax
mov eax, dword [0x911a40]
test eax, eax
je 0x5f3919
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 + 0x8c]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], esi
mov eax, dword [0x911a40]
imul ebp, esi, 0x1c
lea edi, [edi + ebp - 0x1c]
test eax, eax
je 0x5f3977
mov dword [esp + 0x7c], edi
lea eax, [0x6cb460]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x758b28]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
lea esi, [0x758b28]
call fcn.004723ea
mov ecx, dword [esp + 0x4c]
movzx eax, byte [edx + 0x14]
test al, al
je 0x5f3a7a
mov eax, dword [ebx + 0x18]
movzx ebp, word [eax + 0x12]
cmp word [ecx + 0x38], bp
jne 0x5f3a31
mov ebp, dword [eax + 0x6c]
cmp dword [ecx + 0xd0], ebp
jne 0x5f39e8
mov eax, dword [eax + 0x68]
mov edx, dword [ecx + 0xcc]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f39e4
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
jmp 0x5f3a7a
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov byte [esp + 4], 0x28
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x6f97a1]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x28
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6fb8c8]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x5f3ad9
movzx eax, byte [eax + 0x24]
test al, al
jne 0x5f3ad9
mov eax, dword [edx + 0x18]
test eax, eax
je 0x5f3ad9
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6fb8fe]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x88
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x6faee5]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x42
lea ecx, [0x6fd722]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
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 + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
add esp, 0x88
ret
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
cmp ebx, esi
jge 0x5f3c2c
lea ecx, [ebp + ebx*8]
mov edx, dword [ecx + 4]
cmp edx, eax
jne 0x5f3bba
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 0x5f3c14
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 0x5f3bba
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
xor eax, eax
xor ebp, ebp
jmp 0x5f36e4
nop
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov ebp, dword [esp + 4]
mov dword [ebp + 4], 0x2f
lea eax, [0x6f9cba]
mov dword [ebp], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
lea eax, [0x75790c]
jmp 0x5f36e4
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._clientHandshakeStateTLS13_.readServerParameters