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

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x614a42
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
test edx, edx
jg 0x6145bd
mov edx, dword [eax + 0x14]
test edx, edx
je 0x61459c
mov edx, dword [edx + 4]
test edx, edx
je 0x61459c
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xcc]
test edx, edx
je 0x61459c
mov dword [esp + 0x50], ecx
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.checkServerHelloOrHRR
mov eax, dword [esp + 4]
test eax, eax
jne 0x61458c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x40], eax
mov ebx, dword [0x9367c0]
test ebx, ebx
je 0x61419f
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x44]
mov dword [edi + 4], ebx
mov dword [edx + 0x44], ecx
test eax, eax
je 0x6141cb
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
lea ecx, [0x910420]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0x10]
lea ebp, [0x772e84]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x61457c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x61429f
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call sym.crypto.Hash.New
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [ecx + 0x18], edx
mov edx, dword [0x9367c0]
test edx, edx
je 0x61423a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], ebx
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
test edx, edx
je 0x61426f
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 4]
lea ecx, [0x910430]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [eax + 0x60]
mov ebx, dword [ebx + 0x14]
lea ebp, [0x772e84]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x61456c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x14]
cmp dword [0x910074], edx
je 0x6142b1
xor ecx, ecx
jmp 0x6142d5
mov eax, dword [0x910070]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x5c]
test cl, cl
je 0x614334
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x6142e8
xor ecx, ecx
xor edx, edx
jmp 0x614314
movzx ecx, byte [eax + 0x39]
test cl, cl
je 0x6142f6
xor ecx, ecx
xor edx, edx
jmp 0x614314
mov byte [eax + 0x39], 1
mov ecx, dword [eax]
mov dword [esp], ecx
call sym.crypto_tls._Conn_.writeChangeCipherRecord
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
jne 0x614560
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.processHelloRetryRequest
mov eax, dword [esp + 4]
test eax, eax
jne 0x614550
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x614545
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov ebx, dword [eax + 0x3c]
mov ebx, dword [ebx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call sym.crypto_tls.cloneHash
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 8]
cmp edx, 0x1e
jb 0x614a37
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov ebp, dword [eax + 0x1c]
mov ecx, dword [ecx]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1e
mov dword [esp + 0xc], edx
call ebp
lea eax, [0x6bd820]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call sym.runtime.makeslice
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 8
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 4]
cmp edx, 0x26
jb 0x614a2b
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [ecx]
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0x4c]
mov dword [esp], esi
add ecx, 0xffffffda
add edx, 0xffffffda
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, 0x26
add ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
call ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x60]
mov edx, dword [edx + 0x14]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.crypto_tls._cipherSuiteTLS13_.extract
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx + 0x18]
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
lea ecx, [0x707989]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x17
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 8
call sym.crypto_tls._cipherSuiteTLS13_.expandLabel
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x14]
lea ebx, [edx - 8]
cmp edx, ebx
jb 0x614a22
mov ebp, dword [esp + 0x2c]
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
sub ecx, edx
add ecx, 8
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, esi
cmp ebp, 8
jne 0x61453e
mov edx, dword [esp + 0x28]
xor ebx, ebx
xor esi, esi
jmp 0x614a0d
xor ecx, ecx
jmp 0x6148aa
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6145fd
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
add esp, 0x58
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
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 + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x46
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6c9800]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x71207e]
mov dword [eax], ecx
lea ecx, [0x771fc4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x58
ret
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0x40]
mov esi, dword [eax + 0x44]
test ebp, ebp
je 0x614638
mov dword [esp + 0x54], esi
mov eax, dword [ebp + 4]
lea ecx, [0x910440]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov ecx, dword [eax + 0xc]
lea edx, [0x772e98]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x61489a
mov eax, dword [esp + 0x50]
mov byte [eax + 0x1cc], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call sym.crypto_tls._clientHandshakeStateTLS13_.processServerHello
mov eax, dword [esp + 4]
test eax, eax
jne 0x61488a
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x614697
xor ecx, ecx
xor edx, edx
jmp 0x6146c3
movzx ecx, byte [eax + 0x39]
test cl, cl
je 0x6146a5
xor ecx, ecx
xor edx, edx
jmp 0x6146c3
mov byte [eax + 0x39], 1
mov ecx, dword [eax]
mov dword [esp], ecx
call sym.crypto_tls._Conn_.writeChangeCipherRecord
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
jne 0x61487e
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.establishHandshakeKeys
mov eax, dword [esp + 4]
test eax, eax
jne 0x61486e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.readServerParameters
mov eax, dword [esp + 4]
test eax, eax
jne 0x61485e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.readServerCertificate
mov eax, dword [esp + 4]
test eax, eax
jne 0x61484e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.readServerFinished
mov eax, dword [esp + 4]
test eax, eax
jne 0x61483e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.sendClientCertificate
mov eax, dword [esp + 4]
test eax, eax
jne 0x61482e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.sendClientFinished
mov eax, dword [esp + 4]
test eax, eax
jne 0x61481e
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.crypto_tls._Conn_.flush
mov eax, dword [esp + 8]
test eax, eax
jne 0x61480e
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x6147e2
movzx eax, byte [eax + 0x24]
test al, al
je 0x6147e2
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov byte [esp + 4], 0x79
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6ca580]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x9367c0]
test ecx, ecx
jne 0x6147c3
mov ecx, dword [esp + 0x48]
jmp 0x6147ce
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7725b0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x58
ret
mov eax, dword [esp + 0x50]
add eax, 0x14
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.sync_atomic.StoreUint32
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
add esp, 0x58
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
cmp ecx, 1
jne 0x6149d1
mov ecx, dword [0x9367c0]
mov edx, dword [eax + 0x60]
mov edx, dword [edx + 0x14]
test ecx, ecx
je 0x6148d0
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx + 0x44]
mov edx, dword [edx + 0x40]
mov dword [ecx + 0x7c], ebx
mov ebx, dword [0x9367c0]
test ebx, ebx
je 0x6148fa
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [ecx + 0x78]
mov dword [edi + 4], ebx
mov dword [ecx + 0x78], edx
mov edx, dword [eax + 0x60]
mov ebx, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
mov dword [eax + 0x40], ebx
mov ebx, dword [0x9367c0]
test ebx, ebx
je 0x614920
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [eax + 0x44]
mov dword [edi + 4], ebx
mov dword [eax + 0x44], edx
mov byte [ecx + 0x94], 1
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x614991
mov ebx, dword [eax + 0x10]
mov ebx, dword [ebx + 0x44]
test ebx, ebx
jne 0x614989
movzx edx, byte [edx + 0x84]
test dl, dl
je 0x614989
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6c9800]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x713740]
mov dword [eax], ecx
lea ecx, [0x771fc4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x58
ret
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x6149ef
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6c9800]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x5b
lea ecx, [0x716c1f]
mov dword [eax], ecx
lea ecx, [0x771fc4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x58
ret
mov ecx, dword [eax + 0x60]
mov byte [ecx + 0x24], 1
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x80]
mov ebp, edx
mov edx, ecx
mov ecx, dword [esp + 0x50]
mov ecx, ebp
mov esi, edx
mov edx, ebx
mov ebx, esi
jmp 0x6145fd
movzx edi, byte [edx + ebx]
movzx eax, byte [ebx + ecx]
xor edi, eax
inc ebx
or esi, edi
mov eax, dword [esp + 0x5c]
cmp ebx, ebp
jl 0x6149fc
xchg esi, eax
movzx edx, al
xchg esi, eax
lea ecx, [edx - 1]
nop
shr ecx, 0x1f
jmp 0x6148aa
mov eax, ebx
mov ecx, edx
call sym.runtime.panicSliceB
mov eax, 0x26
mov ecx, edx
call sym.runtime.panicSliceB
mov ecx, 0x1e
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._clientHandshakeStateTLS13_.handshake