Function at 0x5e4fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e96d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], eax
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.004c8230
push str.readChannelToClose
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004b2490
cmp byte [esi + 0x24], 0
mov byte [ebp - 4], 1
je 0x5e5067
cmp dword [esi + 0x28], 0
jne 0x5e5067
mov eax, dword [edi]
mov ecx, edi
push str.No_m_pHandler.
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.004d90e0
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movq qword [ebp - 0x34], xmm0
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
call fcn.0049ead0
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x10]
cmp eax, 5
jne 0x5e50dc
cmp dword [0x7dc738], 0xa
jge 0x5e50d3
mov eax, dword [edi]
mov ecx, edi
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__3_
call dword [eax + 0x14]
inc dword [0x7dc738]
mov dword [esi + 0x10], 0x7530
jmp 0x5e50e0
test eax, eax
je 0x5e5115
cmp dword [esi + 4], 0
jne 0x5e50ee
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x5e50fe
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x5e5115
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x5e51b4
lea ecx, [ebp - 0x44]
call fcn.004a0bb0
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x4c]
mov word [esi + 0x2c], 0
push esi
push 0
push dword [ebp + 8]
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.005e4b50
mov cl, byte [esi + 0x2f]
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x50]
mov byte [eax], cl
test cl, cl
jne 0x5e51e9
cmp byte [esi + 0x2e], cl
jne 0x5e51e2
mov ecx, dword [ebp - 0x4c]
call fcn.004d90b0
test al, al
jne 0x5e51f5
cmp byte [ebp - 0x45], al
je 0x5e51db
mov ecx, dword [ebp - 0x4c]
call fcn.004d9060
test al, al
jne 0x5e51cb
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5e5198
push edi
mov ecx, eax
call fcn.00519240
test al, al
jne 0x5e51c4
cmp byte [esi + 0x2d], 0
je 0x5e50b0
mov eax, dword [ebp + 8]
cmp dword [esi + 0x5c], eax
jne 0x5e50b0
mov byte [ebp - 0x45], 1
jmp 0x5e51f9
mov esi, dword [ebp - 0x4c]
mov ecx, esi
call fcn.004d90e0
mov byte [esi + 0x14], 1
jmp 0x5e51f5
push str.Aborted_by_app.
jmp 0x5e51ee
mov ecx, dword [ebp - 0x4c]
push edi
push str.readChannelData
call fcn.004d9190
jmp 0x5e51f5
push str.readChannelData_failed.
jmp 0x5e51ee
push str.Channel_no_longer_exists.
jmp 0x5e51ee
push str.disconnected.
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x44]
call fcn.0049ecf0
lea ecx, [ebp - 0x1c]
call fcn.004b2630
lea ecx, [ebp - 0x28]
call fcn.004c8300
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14