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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x606865
sub esp, 0x84
mov eax, dword [esp + 0x88]
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 0x606348
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x679620]
cmp eax, edx
jne 0x6061ef
mov ebx, ecx
jmp 0x6061f6
mov ebx, ecx
mov ecx, 0
mov dword [esp + 0x60], ecx
jne 0x60628e
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x2c]
mov ebx, dword [edx + 0x24]
test ebx, ebx
je 0x606287
mov dword [esp + 0x54], edx
mov ebx, dword [ecx + 0xb4]
nop
mov ebp, dword [ecx + 0xb0]
mov esi, dword [ecx + 0xb8]
test ebx, ebx
jne 0x6065e2
mov eax, dword [0x854374]
mov dword [esp + 0x2c], eax
movzx edx, word [ecx + 0xc]
mov word [esp + 0x24], dx
lea ebx, [0x6604a0]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [0x854370]
mov dword [esp + 0x68], ecx
mov edx, dword [0x854374]
mov dword [esp + 0x4c], edx
movzx ebx, word [esp + 0x24]
mov ebp, dword [esp + 0x2c]
xor esi, esi
xor edi, edi
jmp 0x6067f8
xor ebx, ebx
jmp 0x60636c
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
lea eax, [0x679620]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
lea eax, [0x6a6435]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x74]
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 + 0x94], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x84
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x84
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
call sym.crypto_tls._Config_.ticketKeys
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], ecx
mov eax, dword [0x899508]
test eax, eax
je 0x6063b1
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ebx + 0x90]
mov dword [edi + 4], eax
mov dword [ebx + 0x90], edx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xb0]
mov ebp, dword [eax + 0xb8]
test ecx, ecx
jne 0x606428
mov ecx, dword [0x854374]
mov dword [esp + 0x28], ecx
movzx edx, word [eax + 0xc]
mov word [esp + 0x26], dx
lea ebx, [0x6604a0]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [0x854370]
mov dword [esp + 0x68], ecx
mov edx, dword [0x854374]
mov dword [esp + 0x4c], edx
movzx ebx, word [esp + 0x26]
mov ebp, dword [esp + 0x28]
xor esi, esi
xor edi, edi
jmp 0x606570
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call sym.crypto_tls._Config_.mutualVersion
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x16]
mov edx, dword [esp + 0x88]
mov word [edx + 0x28], ax
test cl, cl
je 0x6064ca
mov byte [edx + 0x2a], 1
movzx ecx, word [edx + 0x28]
mov word [edx + 0xdc], cx
mov word [edx + 0x138], ax
mov ecx, dword [edx + 0x2c]
movzx ecx, word [ecx + 0x94]
test cx, cx
jne 0x6064a2
cmp ax, 0x303
jae 0x6064a2
mov eax, dword [0x8536cc]
mov dword [esp], eax
call sym.internal_godebug._Setting_.IncNonDefault
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x84
ret
mov dword [esp], edx
mov byte [esp + 4], 0x46
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x659440]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x6a2d5f]
mov dword [esp], eax
mov dword [esp + 4], 0x31
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x84
ret
inc esi
mov ecx, dword [esp + 0x68]
cmp esi, edx
jge 0x6065d2
movzx ecx, word [ecx + esi*2]
cmp cx, bx
ja 0x60656b
inc edi
cmp ebp, edi
jae 0x6065cb
mov dword [esp + 0x48], esi
mov word [esp + 0x22], cx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6604a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
movzx ecx, word [esp + 0x22]
mov edx, dword [esp + 0x4c]
movzx ebx, word [esp + 0x26]
mov esi, dword [esp + 0x48]
mov word [eax + edi*2 - 2], cx
jmp 0x60656b
mov ebx, dword [esp + 0x88]
mov ecx, edi
mov edx, eax
jmp 0x606428
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
lea eax, [0x6827a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov edx, dword [0x899508]
test edx, edx
je 0x606624
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [eax], ebp
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x40]
mov dword [eax + 0x10], ebx
mov ebx, dword [0x899508]
test ebx, ebx
je 0x606640
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [eax + 0xc], ebp
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x54]
mov esi, dword [ecx + 0x4c]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebp
mov ebx, dword [0x899508]
test ebx, ebx
je 0x606663
call sym.runtime.gcWriteBarrier1
mov dword [edi], esi
mov dword [eax + 0x14], esi
mov ebx, dword [ecx + 0x5c]
mov ebp, dword [ecx + 0x60]
mov esi, dword [ecx + 0x58]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebp
mov ebx, dword [0x899508]
test ebx, ebx
je 0x606686
call sym.runtime.gcWriteBarrier1
mov dword [edi], esi
mov dword [eax + 0x20], esi
mov ebx, dword [ecx + 0x78]
mov ebp, dword [ecx + 0x7c]
mov esi, dword [ecx + 0x74]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebp
mov ebx, dword [0x899508]
test ebx, ebx
je 0x6066a9
call sym.runtime.gcWriteBarrier1
mov dword [edi], esi
mov dword [eax + 0x2c], esi
mov ebx, dword [ecx + 0xa4]
mov ebp, dword [ecx + 0xa8]
mov esi, dword [ecx + 0xa0]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebp
mov ebx, dword [0x899508]
test ebx, ebx
jne 0x6066d4
mov ebx, dword [esp + 0x50]
jmp 0x6066e2
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebx, dword [esp + 0x50]
mov dword [edi + 4], ebx
mov dword [eax + 0x38], esi
mov ebp, dword [esp + 0x30]
mov dword [eax + 0x48], ebp
mov ebp, dword [esp + 0x34]
mov dword [eax + 0x4c], ebp
mov dword [eax + 0x44], ebx
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [eax + 0x50], ebp
mov ebp, dword [0x899508]
test ebp, ebp
je 0x606716
call sym.runtime.gcWriteBarrier1
mov dword [edi], esi
mov dword [eax + 0x54], esi
mov ebp, dword [0x899508]
mov esi, dword [ebx + 0x2c]
test ebp, ebp
jne 0x60672f
mov ebp, dword [esp + 0x90]
jmp 0x606740
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [esp + 0x90]
mov dword [edi + 4], ebp
mov dword [eax + 0x58], esi
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ebp
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx + 0x24]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
test eax, eax
jne 0x6067ab
mov eax, dword [esp + 4]
test eax, eax
je 0x606799
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x606780
mov ecx, dword [esp + 0x88]
jmp 0x606794
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x2c]
mov dword [edi + 4], edx
mov dword [ecx + 0x2c], eax
jmp 0x6067a0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov ebx, eax
jmp 0x60636c
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
inc esi
mov ecx, dword [esp + 0x68]
cmp esi, edx
jge 0x60685a
movzx ecx, word [ecx + esi*2]
cmp cx, bx
ja 0x6067f3
inc edi
cmp ebp, edi
jae 0x606853
mov dword [esp + 0x48], esi
mov word [esp + 0x20], cx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6604a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
movzx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x4c]
movzx ebx, word [esp + 0x24]
mov esi, dword [esp + 0x48]
mov word [eax + edi*2 - 2], cx
jmp 0x6067f3
mov ebx, edi
mov esi, ebp
mov ebp, eax
jmp 0x6065e2
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.readClientHello