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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5ffdfb
sub esp, 0x110
mov eax, dword [esp + 0x114]
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeState_.processServerHello
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 4]
test eax, eax
jne 0x5ffde2
mov byte [esp + 0x6d], cl
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax + 0x28]
mov edx, dword [esp + 0x114]
mov ebx, dword [edx + 0x14]
mov word [esp], cx
mov dword [esp + 4], ebx
call sym.crypto_tls.newFinishedHash
lea edi, [esp + 0xac]
lea esi, [esp + 8]
call fcn.0047243e
mov eax, dword [0x927358]
mov ecx, dword [esp + 0x114]
lea edi, [ecx + 0x18]
mov dword [esp + 0xa8], edi
test eax, eax
je 0x5ff786
lea eax, [0x6e2180]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x114]
mov edi, dword [esp + 0xa8]
lea esi, [esp + 0xac]
call fcn.0047243e
movzx eax, byte [esp + 0x6d]
test al, al
je 0x5ff7a4
mov ecx, dword [esp + 0xa4]
jmp 0x5ff7bc
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx + 0x10]
test ebx, ebx
jne 0x5ff7ee
mov edx, dword [edx + 0x20]
test edx, edx
jne 0x5ff7ee
mov edx, dword [esp + 0x114]
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov ebx, dword [0x927358]
test ebx, ebx
je 0x5ff7e5
mov ebx, dword [edx + 0x38]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [edx + 0x38], 0
jmp 0x5ff7f5
mov edx, dword [esp + 0x114]
mov eax, dword [edx + 0x10]
lea ecx, [0x765f30]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7656e0]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ffdc9
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0xc]
lea edx, [0x765f44]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x7656e0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ffdb0
mov eax, dword [esp + 0xa4]
mov byte [eax + 0x1cc], 1
movzx ecx, byte [esp + 0x6d]
mov byte [eax + 0x35], cl
test cl, cl
je 0x5ffa7b
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeState_.establishKeys
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ffa62
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeState_.readSessionTicket
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ffa49
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
lea edx, [ecx + 0xbd]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call sym.crypto_tls._clientHandshakeState_.readFinished
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ffa30
mov eax, dword [esp + 0xa4]
mov byte [eax + 0xa4], 0
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x5ff969
mov dword [esp], eax
call sym.crypto_tls._Conn_.connectionStateLocked
lea edi, [esp + 0xac]
lea esi, [esp + 4]
call fcn.004723c6
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x8c], ecx
lea edi, [esp]
lea esi, [esp + 0xac]
call fcn.004723c6
mov ecx, dword [esp + 0x8c]
call ecx
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5ff9e7
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
lea edx, [eax + 0xb1]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call sym.crypto_tls._clientHandshakeState_.sendFinished
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ff9ce
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call sym.crypto_tls._Conn_.flush
mov eax, dword [esp + 8]
test eax, eax
je 0x5ffb6d
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x80]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeState_.doFullHandshake
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ffd97
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeState_.establishKeys
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ffd7e
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
lea edx, [ecx + 0xb1]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call sym.crypto_tls._clientHandshakeState_.sendFinished
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ffd65
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call sym.crypto_tls._Conn_.flush
mov eax, dword [esp + 8]
test eax, eax
jne 0x5ffd4c
mov eax, dword [esp + 0xa4]
mov byte [eax + 0xa4], 1
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
call sym.crypto_tls._clientHandshakeState_.readSessionTicket
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ffd33
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
lea edx, [ecx + 0xbd]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call sym.crypto_tls._clientHandshakeState_.readFinished
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ffd1a
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call sym.crypto_tls._clientHandshakeState_.saveSessionTicket
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ffd01
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x70], ebx
mov ebp, dword [edx + 0x18]
mov dword [esp + 0x74], ebp
mov esi, dword [esp + 0xa4]
movzx edi, word [esi + 0x28]
mov word [esp + 0x6e], di
mov esi, dword [eax + 0x14]
mov dword [esp + 0x90], esi
mov esi, dword [eax + 0x50]
mov dword [esp + 0x78], esi
mov esi, dword [eax + 0x54]
mov dword [esp + 0x7c], esi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xa0], eax
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x84], esi
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x88], ecx
mov edx, dword [edx + 0x10]
mov dword [esp + 0x94], edx
lea edi, [0x6d6800]
mov dword [esp], edi
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.crypto_tls._clientHandshakeState_.handshake.ekmFromMasterSecret.func1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x927358]
test ecx, ecx
jne 0x5ffc4d
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
jmp 0x5ffc8c
call sym.runtime.gcWriteBarrier6
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov edx, dword [esp + 0xa0]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x90]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x98]
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], eax
mov esi, dword [esp + 0xa4]
mov esi, dword [esi + 0x84]
mov dword [edi + 0x14], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x10], edx
movzx ecx, word [esp + 0x6e]
mov word [eax + 0x1c], cx
mov dword [eax + 0x20], ebx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x24], ebp
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x84], eax
lea eax, [ecx + 0x14]
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.sync_atomic.StoreUint32
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._clientHandshakeState_.handshake