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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d7f3c
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 0x5d79f7
movzx ecx, word [eax + 0x36]
mov edx, dword [0x8a2808]
mov ebx, dword [0x8a280c]
xor ebp, ebp
jmp 0x5d7b1a
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x68cba0]
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, [0x6ceae2]
mov dword [eax], ecx
lea ecx, [0x694960]
mov dword [esp], ecx
lea ecx, [0x726b8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.assertI2I2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5d7a89
lea eax, [0x726b8c]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0xd4], eax
mov eax, dword [0x8d0720]
test eax, eax
jne 0x5d7a6d
mov eax, dword [esp + 0x48]
jmp 0x5d7a81
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 0x5d7b01
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [0x68d200]
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 [0x8d0720]
test ecx, ecx
jne 0x5d7ac1
mov ecx, dword [esp + 0x38]
jmp 0x5d7acc
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x7271cc]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
je 0x5d7af9
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 0x5d7b28
mov esi, dword [edx + ebp*4]
cmp word [esi], cx
jne 0x5d7b19
jmp 0x5d7b2a
xor esi, esi
test esi, esi
je 0x5d7e2e
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 0x5d7bad
xor eax, eax
jmp 0x5d7de5
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 + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
call sym.crypto_tls._keyUpdateMsg_.marshal
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5d7e0d
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 0x5d7d79
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
nop
lea edx, [0x694960]
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 0x5d7ce2
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x130], eax
mov eax, dword [0x8d0720]
test eax, eax
jne 0x5d7cc6
mov eax, dword [esp + 0x28]
jmp 0x5d7cda
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 0x5d7d58
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x68d200]
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 [0x8d0720]
test ecx, ecx
jne 0x5d7d1a
mov ecx, dword [esp + 0x30]
jmp 0x5d7d25
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x30]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x7271cc]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x130], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
je 0x5d7d52
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 0x5d7e09
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, [0x694960]
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 0x5d7ea3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0xd4], eax
mov eax, dword [0x8d0720]
test eax, eax
jne 0x5d7e87
mov eax, dword [esp + 0x2c]
jmp 0x5d7e9b
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 0x5d7f1b
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x68d200]
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 [0x8d0720]
test ecx, ecx
jne 0x5d7edb
mov ecx, dword [esp + 0x34]
jmp 0x5d7ee6
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x7271cc]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
je 0x5d7f13
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