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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x604722
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
test edx, edx
jg 0x60429d
mov edx, dword [eax + 0x14]
test edx, edx
je 0x60427c
mov edx, dword [edx + 4]
test edx, edx
je 0x60427c
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xcc]
test edx, edx
je 0x60427c
mov dword [esp + 0x50], ecx
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.checkServerHelloOrHRR
mov eax, dword [esp + 4]
test eax, eax
jne 0x60426c
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 [0x927358]
test ebx, ebx
je 0x603e7f
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 0x603eab
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
lea ecx, [0x8fd120]
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, [0x765f30]
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 0x60425c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x603f7f
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 [0x927358]
test edx, edx
je 0x603f1a
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 0x603f4f
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 4]
lea ecx, [0x8fd130]
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, [0x765f30]
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 0x60424c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x14]
cmp dword [0x8fcd74], edx
je 0x603f91
xor ecx, ecx
jmp 0x603fb5
mov eax, dword [0x8fcd70]
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 0x604014
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x603fc8
xor ecx, ecx
xor edx, edx
jmp 0x603ff4
movzx ecx, byte [eax + 0x39]
test cl, cl
je 0x603fd6
xor ecx, ecx
xor edx, edx
jmp 0x603ff4
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 0x604240
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.processHelloRetryRequest
mov eax, dword [esp + 4]
test eax, eax
jne 0x604230
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x604225
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 0x604717
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, [0x6b2120]
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 0x60470b
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, [0x6fbd1b]
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 0x604702
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 0x60421e
mov edx, dword [esp + 0x28]
xor ebx, ebx
xor esi, esi
jmp 0x6046ed
xor ecx, ecx
jmp 0x60458a
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6042dd
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, [0x6bde80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x706bfb]
mov dword [eax], ecx
lea ecx, [0x7651c4]
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 0x604318
mov dword [esp + 0x54], esi
mov eax, dword [ebp + 4]
lea ecx, [0x8fd140]
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, [0x765f44]
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 0x60457a
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 0x60456a
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x604377
xor ecx, ecx
xor edx, edx
jmp 0x6043a3
movzx ecx, byte [eax + 0x39]
test cl, cl
je 0x604385
xor ecx, ecx
xor edx, edx
jmp 0x6043a3
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 0x60455e
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.establishHandshakeKeys
mov eax, dword [esp + 4]
test eax, eax
jne 0x60454e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.readServerParameters
mov eax, dword [esp + 4]
test eax, eax
jne 0x60453e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.readServerCertificate
mov eax, dword [esp + 4]
test eax, eax
jne 0x60452e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.readServerFinished
mov eax, dword [esp + 4]
test eax, eax
jne 0x60451e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.sendClientCertificate
mov eax, dword [esp + 4]
test eax, eax
jne 0x60450e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeStateTLS13_.sendClientFinished
mov eax, dword [esp + 4]
test eax, eax
jne 0x6044fe
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.crypto_tls._Conn_.flush
mov eax, dword [esp + 8]
test eax, eax
jne 0x6044ee
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x6044c2
movzx eax, byte [eax + 0x24]
test al, al
je 0x6044c2
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov byte [esp + 4], 0x79
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6be300]
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 [0x927358]
test ecx, ecx
jne 0x6044a3
mov ecx, dword [esp + 0x48]
jmp 0x6044ae
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7656f0]
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 0x6046b1
mov ecx, dword [0x927358]
mov edx, dword [eax + 0x60]
mov edx, dword [edx + 0x14]
test ecx, ecx
je 0x6045b0
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 [0x927358]
test ebx, ebx
je 0x6045da
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 [0x927358]
test ebx, ebx
je 0x604600
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 0x604671
mov ebx, dword [eax + 0x10]
mov ebx, dword [ebx + 0x44]
test ebx, ebx
jne 0x604669
movzx edx, byte [edx + 0x84]
test dl, dl
je 0x604669
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6bde80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x7083cb]
mov dword [eax], ecx
lea ecx, [0x7651c4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x58
ret
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x6046cf
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6bde80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x5b
lea ecx, [0x70b884]
mov dword [eax], ecx
lea ecx, [0x7651c4]
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 0x6042dd
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 0x6046dc
xchg esi, eax
movzx edx, al
xchg esi, eax
lea ecx, [edx - 1]
nop
shr ecx, 0x1f
jmp 0x60458a
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