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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e925
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004c8230
mov ecx, dword [ebp - 0x38]
add ecx, 0x814
mov dword [ebp - 4], 0
push esi
call fcn.005f1b30
mov esi, eax
test esi, esi
jne 0x5e4bd8
mov eax, dword [ebx]
mov ecx, ebx
push str.Channel_no_longer_exists.
call dword [eax + 0x18]
mov byte [edi + 0x2e], 1
mov bl, 1
jmp 0x5e4f86
xorps xmm0, xmm0
mov byte [edi + 0x2e], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.005f1860
mov eax, dword [ebp - 0x38]
add eax, 0x814
mov byte [ebp - 4], 1
cmp dword [edi + 0x18], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x29], 0
je 0x5e4c4f
lea ecx, [esi + 0xb4]
call fcn.0046e290
test eax, eax
je 0x5e4c4f
mov ecx, dword [edi + 0x18]
call fcn.0046e290
mov ecx, dword [edi + 0x18]
test eax, eax
lea eax, [esi + 0xb4]
push eax
jne 0x5e4c3b
call fcn.004a4df0
jmp 0x5e4c4b
call fcn.0049f1b0
lea ecx, [esi + 0xb4]
call fcn.004a0bb0
mov byte [ebp - 0x29], 1
cmp dword [edi + 0x1c], 0
je 0x5e4c9d
cmp byte [ebp + 0xc], 0
jne 0x5e4c9d
lea eax, [esi + 0xd0]
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.0046e290
test eax, eax
je 0x5e4c9d
mov ecx, dword [edi + 0x1c]
call fcn.0046e290
mov esi, dword [ebp - 0x3c]
mov ecx, dword [edi + 0x1c]
push esi
test eax, eax
jne 0x5e4c8c
call fcn.004a4df0
jmp 0x5e4f7c
call fcn.0049f1b0
mov ecx, esi
call fcn.004a0bb0
jmp 0x5e4f7c
cmp byte [ebp - 0x29], 0
jne 0x5e4f7c
cmp byte [edi + 0x24], 0
je 0x5e4cbf
cmp dword [edi + 0x28], 0
jne 0x5e4cbf
mov eax, dword [ebx]
mov ecx, ebx
push str.No_m_pHandler.
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x30]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x5c], 0xffffffff
call fcn.005e15c0
test al, al
jne 0x5e4cf0
mov eax, dword [ebx]
mov ecx, ebx
push str.checkSendIgnore_failed.
call dword [eax + 0x14]
xor bl, bl
jmp 0x5e4f7e
mov al, byte [esi + 0xed]
mov byte [edi + 0x2d], al
mov al, byte [esi + 0xec]
mov byte [edi + 0x2c], al
mov al, byte [esi + 0xf1]
mov byte [edi + 0x30], al
mov eax, dword [esi + 0xf4]
mov dword [edi + 0x34], eax
mov al, byte [esi + 0xf2]
mov byte [edi + 0x38], al
cmp byte [esi + 0xed], 0
jne 0x5e4f7c
cmp byte [esi + 0xf0], 0
jne 0x5e4f7c
cmp dword [edi + 4], 0
jne 0x5e4d45
call sub.KERNEL32.dll_GetTickCount
mov dword [edi + 4], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
call fcn.004d90e0
lea ecx, [edi + 0x40]
call fcn.0046e290
test eax, eax
je 0x5e4d69
lea ecx, [edi + 0x40]
call fcn.004a0bb0
mov al, byte [esi + 0xec]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
mov al, byte [esi + 0xf1]
push ebx
push dword [ebp - 0x30]
mov byte [ebp - 0x31], al
mov al, byte [esi + 0xf2]
push edi
mov byte [ebp - 0x32], al
call fcn.005e6ec0
test al, al
je 0x5e4f63
nop dword [eax]
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x5e4dcc
cmp dword [0x7dc738], 0xa
jge 0x5e4dc3
mov eax, dword [ebx]
mov ecx, ebx
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__5_
call dword [eax + 0x14]
inc dword [0x7dc738]
mov dword [edi + 0x10], 0x7530
jmp 0x5e4dd0
test eax, eax
je 0x5e4e05
cmp dword [edi + 4], 0
jne 0x5e4dde
call sub.KERNEL32.dll_GetTickCount
mov dword [edi + 4], eax
cmp dword [edi + 0x10], 0x3e8
jae 0x5e4dee
mov dword [edi + 0x10], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [edi + 4]
cmp eax, ecx
jbe 0x5e4e05
sub eax, ecx
cmp eax, dword [edi + 0x10]
ja 0x5e4f02
mov al, byte [esi + 0xed]
mov byte [edi + 0x2d], al
mov al, byte [esi + 0xec]
mov byte [edi + 0x2c], al
mov al, byte [esi + 0xf1]
mov byte [edi + 0x30], al
mov eax, dword [esi + 0xf4]
mov dword [edi + 0x34], eax
mov al, byte [esi + 0xf2]
mov byte [edi + 0x38], al
cmp byte [esi + 0xed], 0
jne 0x5e4f67
cmp byte [ebp - 0x29], 0
jne 0x5e4e52
cmp byte [esi + 0xec], 0
jne 0x5e4f20
cmp byte [ebp - 0x31], 0
jne 0x5e4e65
cmp byte [esi + 0xf1], 0
jne 0x5e4f30
cmp byte [ebp - 0x32], 0
jne 0x5e4e78
cmp byte [esi + 0xf2], 0
jne 0x5e4f40
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x5e4e89
cmp dword [edi + 0x3c], 0x62
je 0x5e4f7c
mov eax, dword [edi + 0x3c]
cmp eax, 0x5e
je 0x5e4f7c
test cl, cl
jne 0x5e4ea2
cmp eax, 0x5f
je 0x5e4f7c
cmp dword [edi + 0xc], 0
je 0x5e4f5c
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jb 0x5e4f5c
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x5e4ecd
sub eax, edx
cmp eax, ecx
jae 0x5e4f50
mov ecx, dword [ebp - 0x30]
call fcn.004d90e0
lea ecx, [edi + 0x40]
call fcn.0046e290
test eax, eax
je 0x5e4ee9
lea ecx, [edi + 0x40]
call fcn.004a0bb0
mov ecx, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x30]
push edi
call fcn.005e6ec0
test al, al
jne 0x5e4da0
xor bl, bl
jmp 0x5e4f7e
mov esi, dword [ebp - 0x30]
mov ecx, esi
call fcn.004d90e0
mov byte [esi + 0x14], 1
mov ecx, ebx
mov eax, dword [ebx]
push str.too_much_time.
call dword [eax + 0x14]
xor bl, bl
jmp 0x5e4f7e
cmp byte [ebx + 0x129], 0
je 0x5e4f7c
push str.Returning_because_of_channel_EOF
jmp 0x5e4f75
cmp byte [ebx + 0x129], 0
je 0x5e4f7c
push str.Returning_because_of_channel_exit_status
jmp 0x5e4f75
cmp byte [ebx + 0x129], 0
je 0x5e4f7c
push str.Returning_because_of_channel_exit_signal
jmp 0x5e4f75
mov eax, dword [ebx]
mov ecx, ebx
push str.SSH_read_channel_timeout:_Elapsed_time_greater_than_max_total_time_allowed.
call dword [eax + 0x18]
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x14], 1
xor bl, bl
jmp 0x5e4f7e
cmp byte [ebx + 0x129], 0
je 0x5e4f7c
push str.Returning_because_of_CHANNEL_CLOSE
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.005f1880
lea ecx, [ebp - 0x1c]
call fcn.004c8300
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14