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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r9
movzx r12d, r8b
mov ebx, edx
mov r13, rcx
mov r15, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14006fda0
nop
lea rbp, [r13 + 0xad8]
mov edx, ebx
mov rcx, rbp
call fcn.140204fb0
mov r14, rax
test rax, rax
jne 0x1401f87f0
mov rax, qword [rsi]
lea rdx, str.Channel_no_longer_exists.
mov rcx, rsi
call qword [rax + 0x30]
mov byte [rdi + 0x4a], 1
mov bl, 1
jmp 0x1401f8bf1
mov byte [rdi + 0x4a], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x28]
call fcn.140204cf0
nop
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rbp
xor bpl, bpl
cmp qword [rdi + 0x20], 0
je 0x1401f8865
lea rcx, [r14 + 0xe0]
call fcn.140042d30
test eax, eax
je 0x1401f8865
mov rcx, qword [rdi + 0x20]
call fcn.140042d30
mov rcx, qword [rdi + 0x20]
lea rdx, [r14 + 0xe0]
test eax, eax
jne 0x1401f8851
call fcn.1400449f0
jmp 0x1401f8862
call fcn.14003e810
lea rcx, [r14 + 0xe0]
call fcn.140040520
mov bpl, 1
cmp qword [rdi + 0x28], 0
je 0x1401f88b9
test r12b, r12b
jne 0x1401f88b9
lea rcx, [r14 + 0x110]
call fcn.140042d30
test eax, eax
je 0x1401f88b9
mov rcx, qword [rdi + 0x28]
call fcn.140042d30
mov rcx, qword [rdi + 0x28]
lea rdx, [r14 + 0x110]
test eax, eax
jne 0x1401f88a3
call fcn.1400449f0
jmp 0x1401f8be4
call fcn.14003e810
lea rcx, [r14 + 0x110]
call fcn.140040520
jmp 0x1401f8be4
test bpl, bpl
jne 0x1401f8be4
cmp byte [rdi + 0x38], bpl
je 0x1401f88df
cmp qword [rdi + 0x40], 0
jne 0x1401f88df
mov rax, qword [rsi]
lea rdx, str.No_m_pHandler.
mov rcx, rsi
call qword [rax + 0x28]
mov dword [rdi + 0x58], 0
mov dword [rdi + 0x90], 0xffffffff
mov r8, rsi
mov rdx, r15
mov rcx, r13
call fcn.1401f5180
test al, al
jne 0x1401f8919
mov rax, qword [rsi]
lea rdx, str.checkSendIgnore_failed.
mov rcx, rsi
call qword [rax + 0x28]
xor bl, bl
jmp 0x1401f8be6
movzx eax, byte [r14 + 0x141]
mov byte [rdi + 0x49], al
movzx eax, byte [r14 + 0x140]
mov byte [rdi + 0x48], al
movzx eax, byte [r14 + 0x145]
mov byte [rdi + 0x4c], al
mov eax, dword [r14 + 0x148]
mov dword [rdi + 0x50], eax
movzx eax, byte [r14 + 0x146]
mov byte [rdi + 0x54], al
cmp byte [r14 + 0x141], 0
jne 0x1401f8be4
cmp byte [r14 + 0x144], 0
jne 0x1401f8be4
cmp dword [rdi + 8], 0
jne 0x1401f8979
call sub.KERNEL32.dll_GetTickCount
mov dword [rdi + 8], eax
call sub.KERNEL32.dll_GetTickCount
mov ebp, eax
mov rcx, r15
call fcn.1401a2180
lea rcx, [rdi + 0x60]
call fcn.140042d30
test eax, eax
je 0x1401f899e
lea rcx, [rdi + 0x60]
call fcn.140040520
movzx eax, byte [r14 + 0x140]
mov byte [rsp + 0x20], al
movzx eax, byte [r14 + 0x145]
mov byte [rsp + 0x21], al
movzx eax, byte [r14 + 0x146]
mov byte [rsp + 0x22], al
mov r9, rsi
mov r8, r15
mov rdx, rdi
mov rcx, r13
call fcn.1401facb0
test al, al
je 0x1401f8bc7
nop dword [rax + rax]
mov eax, dword [rdi + 0x14]
cmp eax, 5
jne 0x1401f8a10
cmp dword [0x140359a58], 0xa
jge 0x1401f8a07
mov rax, qword [rsi]
lea rdx, str.sshRp.m_totalTimeoutMs_wf_is_too_small__5_
mov rcx, rsi
call qword [rax + 0x28]
inc dword [0x140359a58]
mov dword [rdi + 0x14], 0x7530
jmp 0x1401f8a14
test eax, eax
je 0x1401f8a49
cmp dword [rdi + 8], 0
jne 0x1401f8a22
call sub.KERNEL32.dll_GetTickCount
mov dword [rdi + 8], eax
cmp dword [rdi + 0x14], 0x3e8
jae 0x1401f8a32
mov dword [rdi + 0x14], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rdi + 8]
cmp eax, ecx
jbe 0x1401f8a49
sub eax, ecx
cmp eax, dword [rdi + 0x14]
ja 0x1401f8b5b
movzx eax, byte [r14 + 0x141]
mov byte [rdi + 0x49], al
movzx eax, byte [r14 + 0x140]
mov byte [rdi + 0x48], al
movzx eax, byte [r14 + 0x145]
mov byte [rdi + 0x4c], al
mov eax, dword [r14 + 0x148]
mov dword [rdi + 0x50], eax
movzx eax, byte [r14 + 0x146]
mov byte [rdi + 0x54], al
cmp byte [r14 + 0x141], 0
jne 0x1401f8bcb
cmp byte [rsp + 0x20], 0
jne 0x1401f8aa2
cmp byte [r14 + 0x140], 0
jne 0x1401f8b7c
cmp byte [rsp + 0x21], 0
jne 0x1401f8ab7
cmp byte [r14 + 0x145], 0
jne 0x1401f8b8e
cmp byte [rsp + 0x22], 0
jne 0x1401f8acc
cmp byte [r14 + 0x146], 0
jne 0x1401f8ba0
test r12b, r12b
jne 0x1401f8adb
cmp dword [rdi + 0x58], 0x62
je 0x1401f8be4
mov eax, dword [rdi + 0x58]
cmp eax, 0x5e
je 0x1401f8be4
test r12b, r12b
jne 0x1401f8af5
cmp eax, 0x5f
je 0x1401f8be4
cmp dword [rdi + 0x10], 0
je 0x1401f8bc2
call sub.KERNEL32.dll_GetTickCount
cmp eax, ebp
jb 0x1401f8bc2
sub eax, ebp
mov ecx, dword [rdi + 0x14]
test ecx, ecx
je 0x1401f8b1d
cmp eax, ecx
jae 0x1401f8bb2
mov rcx, r15
call fcn.1401a2180
lea rcx, [rdi + 0x60]
call fcn.140042d30
test eax, eax
je 0x1401f8b3b
lea rcx, [rdi + 0x60]
call fcn.140040520
mov r9, rsi
mov r8, r15
mov rdx, rdi
mov rcx, r13
call fcn.1401facb0
test al, al
jne 0x1401f89e0
xor bl, bl
jmp 0x1401f8be6
mov rcx, r15
call fcn.1401a2180
mov byte [r15 + 0x28], 1
mov rax, qword [rsi]
lea rdx, str.too_much_time.
mov rcx, rsi
call qword [rax + 0x28]
xor bl, bl
jmp 0x1401f8be6
cmp byte [rsi + 0x169], 0
je 0x1401f8be4
lea rdx, str.Returning_because_of_channel_EOF
jmp 0x1401f8bdb
cmp byte [rsi + 0x169], 0
je 0x1401f8be4
lea rdx, str.Returning_because_of_channel_exit_status
jmp 0x1401f8bdb
cmp byte [rsi + 0x169], 0
je 0x1401f8be4
lea rdx, str.Returning_because_of_channel_exit_signal
jmp 0x1401f8bdb
mov rax, qword [rsi]
lea rdx, str.SSH_read_channel_timeout:_Elapsed_time_greater_than_max_total_time_allowed.
mov rcx, rsi
call qword [rax + 0x30]
mov byte [r15 + 0x28], 1
xor bl, bl
jmp 0x1401f8be6
cmp byte [rsi + 0x169], 0
je 0x1401f8be4
lea rdx, str.Returning_because_of_CHANNEL_CLOSE
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.140204d10
nop
lea rcx, [rsp + 0x40]
call fcn.14006fe70
movzx eax, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402474e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret