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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r9
movzx r12d, r8b
mov ebx, edx
mov r13, rcx
mov r15, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
xor eax, eax
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov rdx, rcx
lea rcx, [r11 - 0x60]
call fcn.14006faf0
nop
lea rbp, [r13 + 0x480]
mov edx, ebx
mov rcx, rbp
call fcn.140132870
mov rbx, rax
test rax, rax
jne 0x14012d4c8
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 0x14012d84b
mov byte [rdi + 0x4a], 0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.140132640
nop
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
xor r14b, r14b
cmp qword [rdi + 0x20], 0
je 0x14012d53f
lea rcx, [rbx + 0xe0]
call fcn.1400372d0
test eax, eax
je 0x14012d53f
mov rcx, qword [rdi + 0x20]
call fcn.1400372d0
lea rdx, [rbx + 0xe0]
mov rcx, qword [rdi + 0x20]
test eax, eax
jne 0x14012d52b
call fcn.140038c30
jmp 0x14012d53c
call fcn.1400348f0
lea rcx, [rbx + 0xe0]
call fcn.140035e00
mov r14b, 1
cmp qword [rdi + 0x28], 0
je 0x14012d593
test r12b, r12b
jne 0x14012d593
lea rcx, [rbx + 0x110]
call fcn.1400372d0
test eax, eax
je 0x14012d593
mov rcx, qword [rdi + 0x28]
call fcn.1400372d0
lea rdx, [rbx + 0x110]
mov rcx, qword [rdi + 0x28]
test eax, eax
jne 0x14012d57d
call fcn.140038c30
jmp 0x14012d83e
call fcn.1400348f0
lea rcx, [rbx + 0x110]
call fcn.140035e00
jmp 0x14012d83e
test r14b, r14b
jne 0x14012d83e
cmp byte [rdi + 0x38], r14b
je 0x14012d5b9
cmp qword [rdi + 0x40], 0
jne 0x14012d5b9
mov rax, qword [rsi]
lea rdx, str.No_m_pHandler.
mov rcx, rsi
call qword [rax + 0x28]
mov dword [rdi + 0x50], 0
mov dword [rdi + 0x88], 0xffffffff
mov r8, rsi
mov rdx, r15
mov rcx, r13
call fcn.140126d70
test al, al
jne 0x14012d5f3
mov rax, qword [rsi]
lea rdx, str.checkSendIgnore_failed.
mov rcx, rsi
call qword [rax + 0x28]
xor bl, bl
jmp 0x14012d840
movzx eax, byte [rbx + 0x141]
mov byte [rdi + 0x49], al
movzx eax, byte [rbx + 0x140]
mov byte [rdi + 0x48], al
movzx eax, byte [rbx + 0x145]
mov byte [rdi + 0x4c], al
movzx eax, byte [rbx + 0x146]
mov byte [rdi + 0x4d], al
cmp byte [rbx + 0x141], 0
jne 0x14012d83e
cmp byte [rbx + 0x144], 0
jne 0x14012d83e
cmp dword [rdi + 8], 0
jne 0x14012d643
call sub.KERNEL32.dll_GetTickCount
mov dword [rdi + 8], eax
call sub.KERNEL32.dll_GetTickCount
mov r14d, eax
mov rcx, r15
call fcn.1400aeb50
lea rcx, [rdi + 0x58]
call fcn.1400372d0
test eax, eax
je 0x14012d669
lea rcx, [rdi + 0x58]
call fcn.140035e00
movzx eax, byte [rbx + 0x140]
mov byte [rsp + 0x20], al
movzx eax, byte [rbx + 0x145]
mov byte [rsp + 0x21], al
movzx eax, byte [rbx + 0x146]
mov byte [rsp + 0x22], al
mov r9, rsi
mov r8, r15
mov rdx, rdi
mov rcx, r13
call fcn.1401309c0
test al, al
je 0x14012d821
cmp dword [rdi + 0x14], 0
je 0x14012d6ce
cmp dword [rdi + 8], 0
jne 0x14012d6b7
call sub.KERNEL32.dll_GetTickCount
mov dword [rdi + 8], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rdi + 8]
cmp eax, ecx
jbe 0x14012d6ce
sub eax, ecx
cmp eax, dword [rdi + 0x14]
ja 0x14012d7b5
movzx eax, byte [rbx + 0x141]
mov byte [rdi + 0x49], al
movzx eax, byte [rbx + 0x140]
mov byte [rdi + 0x48], al
movzx eax, byte [rbx + 0x145]
mov byte [rdi + 0x4c], al
movzx eax, byte [rbx + 0x146]
mov byte [rdi + 0x4d], al
cmp byte [rbx + 0x141], 0
jne 0x14012d825
cmp byte [rsp + 0x20], 0
jne 0x14012d717
cmp byte [rbx + 0x140], 0
jne 0x14012d7d6
cmp byte [rsp + 0x21], 0
jne 0x14012d72b
cmp byte [rbx + 0x145], 0
jne 0x14012d7e8
cmp byte [rsp + 0x22], 0
jne 0x14012d73f
cmp byte [rbx + 0x146], 0
jne 0x14012d7fa
test r12b, r12b
jne 0x14012d74e
cmp dword [rdi + 0x50], 0x62
je 0x14012d83e
mov eax, dword [rdi + 0x50]
cmp eax, 0x5e
je 0x14012d83e
test r12b, r12b
jne 0x14012d768
cmp eax, 0x5f
je 0x14012d83e
cmp dword [rdi + 0x10], 0
je 0x14012d81c
call sub.KERNEL32.dll_GetTickCount
cmp eax, r14d
jb 0x14012d81c
sub eax, r14d
mov ecx, dword [rdi + 0x14]
test ecx, ecx
je 0x14012d78e
cmp eax, ecx
jae 0x14012d80c
mov rcx, r15
call fcn.1400aeb50
lea rcx, [rdi + 0x58]
call fcn.1400372d0
test eax, eax
je 0x14012d68a
lea rcx, [rdi + 0x58]
call fcn.140035e00
jmp 0x14012d68a
mov rcx, r15
call fcn.1400aeb50
mov byte [r15 + 0x18], 1
mov rax, qword [rsi]
lea rdx, str.too_much_time.
mov rcx, rsi
call qword [rax + 0x28]
xor bl, bl
jmp 0x14012d840
cmp byte [rsi + 0xa9], 0
je 0x14012d83e
lea rdx, str.Returning_because_of_channel_EOF
jmp 0x14012d835
cmp byte [rsi + 0xa9], 0
je 0x14012d83e
lea rdx, str.Returning_because_of_channel_exit_status
jmp 0x14012d835
cmp byte [rsi + 0xa9], 0
je 0x14012d83e
lea rdx, str.Returning_because_of_channel_exit_signal
jmp 0x14012d835
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 + 0x18], 1
xor bl, bl
jmp 0x14012d840
cmp byte [rsi + 0xa9], 0
je 0x14012d83e
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 + 0x30]
call fcn.140132660
nop
lea rcx, [rsp + 0x48]
call fcn.14006fbb0
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140168e10
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret