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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5f1be6
sub esp, 0x90
mov edx, dword [esp + 0x94]
movzx ebx, byte [edx + 8]
test bl, bl
je 0x5f1863
mov ebx, dword [edx + 0x2c]
movzx ebp, byte [ebx + 0x61]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f1846
mov ebx, dword [ebx + 0x84]
test ebx, ebx
je 0x5f1846
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5f1829
mov ebp, 0x3b9aca00
mov ecx, edx
mul ebp
cmp edx, 0x2260f
xchg ebp, ebx
setg bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp eax, 0xf9290000
xchg edi, ebx
seta bl
xchg edi, ebx
and esi, edi
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f17e0
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5f17b5
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
je 0x5f17b5
cmp ebp, 0xffffffff
je 0x5f17b5
mov dword [esp], ecx
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], 0x2b
lea ecx, [0x6a105c]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], edx
movzx ebp, word [ecx + 0x36]
mov esi, dword [0x8542f0]
mov edi, dword [0x8542f4]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
jmp 0x5f18bb
mov dword [esp], ecx
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], 0x34
lea ecx, [0x6a38af]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp], edx
mov byte [esp + 4], 0xa
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], 0x2e
lea ecx, [0x6a1ed5]
mov dword [eax], ecx
lea ecx, [0x6f6df8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
lea eax, [edx + 1]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
cmp edx, edi
jge 0x5f18d3
mov eax, dword [esi + edx*4]
cmp word [eax], bp
jne 0x5f18ac
mov edx, eax
mov eax, dword [esp + 0x3c]
jmp 0x5f18d5
xor edx, edx
test edx, edx
je 0x5f1b9a
mov ebp, dword [ecx + 0x84]
test ebp, ebp
je 0x5f1b9a
mov esi, dword [edx + 0xc]
lea edi, [esi - 1]
cmp edi, 0x13
jae 0x5f1bcd
mov edi, dword [0x854c24]
cmp edi, esi
jbe 0x5f1bc4
mov eax, dword [ecx + 0x88]
mov edi, dword [ecx + 0x8c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x4c], ecx
mov ebx, dword [ebx + 0x14]
mov ecx, dword [0x854c20]
movzx ecx, byte [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
lea eax, [0x693a08]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call sym.crypto_tls._cipherSuiteTLS13_.expandLabel
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
call sym.crypto_tls._Conn_.sessionState
mov eax, dword [esp + 8]
test eax, eax
jne 0x5f1b5d
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x5f19c2
mov ecx, dword [esp + 0x70]
jmp 0x5f19d3
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov ebx, dword [eax + 0x1c]
mov dword [edi + 4], ebx
mov dword [esp + 0x6c], eax
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx + 0x2c]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5f19f1
lea ebx, [0x6aca5c]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0x7c]
lea esi, [esp]
call fcn.0046f4fe
lea edi, [esp]
lea esi, [esp + 0x7c]
call fcn.0046f4fe
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
call sym.time.Time.Add
lea edi, [esp + 0x7c]
lea esi, [esp + 0x1c]
call fcn.0046f4fe
lea edi, [esp + 0x58]
lea esi, [esp + 0x7c]
call fcn.0046f4fe
mov eax, dword [esp + 0x5c]
nop
test eax, 0x80000000
je 0x5f1a70
mov ecx, dword [esp + 0x58]
shl eax, 1
mov edx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, eax
mov eax, edx
shl edx, 1
shr eax, 0x1f
shr ecx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x5f1a78
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add edx, 0x886e0900
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x70], edx
adc eax, 0xfffffff1
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x98]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x78], edx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x5f1aaf
cmp dword [eax + 0x2c], 0xffffffff
sete bl
jmp 0x5f1ab1
xor ebx, ebx
mov byte [ecx + 0xc], bl
lea eax, [0x66e4a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x20]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov edx, dword [0x899508]
test edx, edx
jne 0x5f1aec
mov edx, dword [esp + 0x6c]
jmp 0x5f1afa
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [esp + 0x6c]
mov dword [edi + 4], edx
mov dword [esp + 0x78], eax
mov dword [eax], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
call sym.crypto_tls._Conn_.clientSessionCacheKey
mov eax, dword [esp + 8]
test eax, eax
je 0x5f1b40
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
call ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov eax, esi
mov ecx, edi
call sym.runtime.panicIndexU
lea eax, [0x6603a0]
mov dword [esp], eax
lea eax, [0x6f65e8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.handleNewSessionTicket