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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5dae8c
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x5da947
movzx ecx, word [eax + 0x36]
mov edx, dword [0x8b3480]
mov ebx, dword [0x8b3484]
xor ebp, ebp
jmp 0x5daa6a
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6916c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [eax + 4], 0x2b
lea ecx, [0x6d22fd]
mov dword [eax], ecx
lea ecx, [0x698e00]
mov dword [esp], ecx
lea ecx, [0x739240]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.assertI2I2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5da9d9
lea eax, [0x739240]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0xd4], eax
mov eax, dword [0x8e2900]
test eax, eax
jne 0x5da9bd
mov eax, dword [esp + 0x48]
jmp 0x5da9d1
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov edx, dword [ecx + 0xd8]
mov dword [edi + 4], edx
mov dword [ecx + 0xd8], eax
jmp 0x5daa51
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [0x6918a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5daa11
mov ecx, dword [esp + 0x38]
jmp 0x5daa1c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x739890]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5daa49
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0xd8]
mov dword [edi + 4], ecx
mov dword [edx + 0xd8], eax
mov ecx, edx
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
inc ebp
cmp ebp, ebx
jge 0x5daa78
mov esi, dword [edx + ebp*4]
cmp word [esi], cx
jne 0x5daa69
jmp 0x5daa7a
xor esi, esi
test esi, esi
je 0x5dad7e
mov dword [esp + 0x24], esi
mov ecx, dword [eax + 0x11c]
mov edx, dword [eax + 0x120]
mov ebx, dword [eax + 0x124]
lea ebp, [eax + 0xcc]
mov dword [esp + 0x40], ebp
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_tls._cipherSuiteTLS13_.nextTrafficSecret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.crypto_tls._halfConn_.setTrafficSecret
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + 0xc]
test al, al
jne 0x5daafd
xor eax, eax
jmp 0x5dad35
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 0x128]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [sym.crypto_tls._Conn_.handleKeyUpdate.func1]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
mov dword [esp + 0x54], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
call sym.crypto_tls._keyUpdateMsg_.marshal
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5dad5d
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call sym.crypto_tls._Conn_.writeRecordLocked
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5dacc9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
nop
lea edx, [0x698e00]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.assertI2I2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5dac32
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x130], eax
mov eax, dword [0x8e2900]
test eax, eax
jne 0x5dac16
mov eax, dword [esp + 0x28]
jmp 0x5dac2a
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [ecx + 0x134]
mov dword [edi + 4], ebx
mov dword [ecx + 0x134], eax
jmp 0x5daca8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x6918a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5dac6a
mov ecx, dword [esp + 0x30]
jmp 0x5dac75
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x30]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x739890]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x130], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5daca2
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebx + 0x134]
mov dword [edi + 4], ecx
mov dword [ebx + 0x134], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x178]
mov edx, dword [eax + 0x17c]
mov ebx, dword [eax + 0x180]
mov ebp, dword [esp + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_tls._cipherSuiteTLS13_.nextTrafficSecret
mov eax, dword [esp + 0x6c]
add eax, 0x128
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call sym.crypto_tls._halfConn_.setTrafficSecret
mov eax, 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
test al, 1
je 0x5dad59
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp], eax
mov byte [esp + 4], 0x50
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
lea edx, [0x698e00]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.assertI2I2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5dadf3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0xd4], eax
mov eax, dword [0x8e2900]
test eax, eax
jne 0x5dadd7
mov eax, dword [esp + 0x2c]
jmp 0x5dadeb
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov edx, dword [ecx + 0xd8]
mov dword [edi + 4], edx
mov dword [ecx + 0xd8], eax
jmp 0x5dae6b
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x6918a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5dae2b
mov ecx, dword [esp + 0x34]
jmp 0x5dae36
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x739890]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5dae63
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0xd8]
mov dword [edi + 4], ecx
mov dword [edx + 0xd8], eax
mov ecx, edx
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.handleKeyUpdate