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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf098
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c630
mov edi, dword [ebp + 0x14]
push str.readChannelToClose
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.0045a1b0
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0x24], 0
mov byte [ebp - 4], 1
je 0x563a6d
cmp dword [esi + 0x28], 0
jne 0x563a6d
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.No_m_pHandler.
mov ecx, edi
call edx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.004babe0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov byte [ecx], 0
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x14], eax
mov dword [esi + 0x14], edx
call fcn.0041b9a0
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
lea ecx, [ecx]
mov eax, dword [esi + 0x10]
cmp eax, 5
jne 0x563ace
cmp dword [0x689a68], 0xa
jge 0x563ac5
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__3_
mov ecx, edi
call edx
inc dword [0x689a68]
mov dword [esi + 0x10], 0x7530
jmp 0x563ad2
test eax, eax
je 0x563b07
cmp dword [esi + 4], 0
jne 0x563ae0
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x563af0
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x563b07
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x563bec
lea ecx, [ebp - 0x44]
call fcn.0041b6b0
mov edx, dword [ebp + 8]
push edi
push ebx
lea eax, [ebp - 0x44]
push esi
mov ecx, eax
push 0
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
push edx
mov word [esi + 0x2c], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
mov dword [esi + 0x18], eax
call fcn.00562430
mov ecx, dword [ebp + 0x18]
mov bl, al
mov al, byte [esi + 0x2f]
mov byte [ecx], al
test al, al
jne 0x563bf9
cmp byte [esi + 0x2e], al
jne 0x563c44
mov ecx, dword [ebp + 0x10]
call fcn.004babb0
test al, al
jne 0x563c07
test bl, bl
je 0x563c4d
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.004bab80
test al, al
jne 0x563c56
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x563b99
push edi
call fcn.0046eaf0
test al, al
jne 0x563c65
cmp byte [esi + 0x2d], 0
je 0x563aa0
mov edx, dword [ebp + 8]
cmp dword [esi + 0x5c], edx
jne 0x563aa0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041c170
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0045a240
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c660
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, ebx
call fcn.004babe0
mov byte [ebx + 0x14], 1
jmp 0x563c07
mov eax, dword [edi]
push str.disconnected.
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041c170
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0045a240
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c660
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
push str.Channel_no_longer_exists.
jmp 0x563c00
mov eax, dword [edi]
push str.readChannelData_failed.
jmp 0x563c00
push edi
push str.readChannelData
mov ecx, ebx
call fcn.004bac40
jmp 0x563c07
mov eax, dword [edi]
push str.Aborted_by_app.
jmp 0x563c00