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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5d66a6
sub esp, 0x90
mov edx, dword [esp + 0x94]
movzx ebx, byte [edx + 8]
test bl, bl
je 0x5d6323
mov ebx, dword [edx + 0x2c]
movzx ebp, byte [ebx + 0x61]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5d6306
mov ebx, dword [ebx + 0x84]
test ebx, ebx
je 0x5d6306
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5d62e9
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 0x5d62a0
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5d6275
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
je 0x5d6275
cmp ebp, 0xffffffff
je 0x5d6275
mov dword [esp], ecx
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], 0x2b
lea ecx, [0x6bbbe4]
mov dword [eax], ecx
lea ecx, [0x713830]
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 [0x882bf0]
mov edi, dword [0x882bf4]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
jmp 0x5d637b
mov dword [esp], ecx
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], 0x34
lea ecx, [0x6be41e]
mov dword [eax], ecx
lea ecx, [0x713830]
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, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x6bca3d]
mov dword [eax], ecx
lea ecx, [0x713830]
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 0x5d6393
mov eax, dword [esi + edx*4]
cmp word [eax], bp
jne 0x5d636c
mov edx, eax
mov eax, dword [esp + 0x3c]
jmp 0x5d6395
xor edx, edx
test edx, edx
je 0x5d665a
mov ebp, dword [ecx + 0x84]
test ebp, ebp
je 0x5d665a
mov esi, dword [edx + 0xc]
lea edi, [esi - 1]
cmp edi, 0x13
jae 0x5d668d
mov edi, dword [0x883484]
cmp edi, esi
jbe 0x5d6684
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 [0x883480]
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, [0x6adfa5]
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 0x5d661d
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 [0x8c87a0]
test ecx, ecx
jne 0x5d6482
mov ecx, dword [esp + 0x70]
jmp 0x5d6493
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 0x5d64b1
lea ebx, [0x6c6f60]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0x7c]
lea esi, [esp]
call fcn.0046cd7e
lea edi, [esp]
lea esi, [esp + 0x7c]
call fcn.0046cd7e
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.0046cd7e
lea edi, [esp + 0x58]
lea esi, [esp + 0x7c]
call fcn.0046cd7e
mov eax, dword [esp + 0x5c]
nop
test eax, 0x80000000
je 0x5d6530
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 0x5d6538
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 0x5d656f
cmp dword [eax + 0x2c], 0xffffffff
sete bl
jmp 0x5d6571
xor ebx, ebx
mov byte [ecx + 0xc], bl
lea eax, [0x6830e0]
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 [0x8c87a0]
test edx, edx
jne 0x5d65ac
mov edx, dword [esp + 0x6c]
jmp 0x5d65ba
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 0x5d6600
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, [0x672480]
mov dword [esp], eax
lea eax, [0x712ee8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.handleNewSessionTicket