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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741af0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0046f6b0
mov eax, dword [ebp + 8]
add ebx, 0x320
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0048f5d0
mov edi, eax
test edi, edi
jne 0x4a054f
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push str.Channel_no_longer_exists.
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x2e], 1
jmp 0x4a087e
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
mov byte [esi + 0x2e], 0
call fcn.0048f0c0
cmp dword [esi + 0x18], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x13], 0
je 0x4a05aa
lea ebx, [edi + 0xb4]
mov ecx, ebx
call fcn.004033b0
test eax, eax
je 0x4a05aa
mov ecx, dword [esi + 0x18]
call fcn.004033b0
mov ecx, dword [esi + 0x18]
push ebx
test eax, eax
jne 0x4a059a
call fcn.00410920
jmp 0x4a05a6
call fcn.00412840
mov ecx, ebx
call fcn.0040fb90
mov byte [ebp + 0x13], 1
cmp dword [esi + 0x1c], 0
je 0x4a05f2
cmp byte [ebp + 0xc], 0
jne 0x4a05f2
lea ebx, [edi + 0xd0]
mov ecx, ebx
call fcn.004033b0
test eax, eax
je 0x4a05f2
mov ecx, dword [esi + 0x1c]
call fcn.004033b0
mov ecx, dword [esi + 0x1c]
push ebx
test eax, eax
jne 0x4a05e1
call fcn.00410920
jmp 0x4a0872
call fcn.00412840
mov ecx, ebx
call fcn.0040fb90
jmp 0x4a0872
cmp byte [ebp + 0x13], 0
jne 0x4a0872
cmp byte [esi + 0x24], 0
mov ebx, dword [ebp + 0x18]
je 0x4a0619
cmp dword [esi + 0x28], 0
jne 0x4a0619
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.No_m_pHandler.
mov ecx, ebx
call eax
mov ecx, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x34], 0
mov dword [esi + 0x54], 0xffffffff
call fcn.0049d5e0
test al, al
jne 0x4a0677
push str.checkSendIgnore_failed.
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0048f980
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046f6e0
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
movzx ecx, byte [edi + 0xed]
mov byte [esi + 0x2d], cl
mov dl, byte [edi + 0xec]
mov byte [esi + 0x2c], dl
mov al, byte [edi + 0xf1]
mov byte [esi + 0x30], al
movzx ecx, byte [edi + 0xf2]
mov byte [esi + 0x31], cl
cmp byte [edi + 0xed], 0
jne 0x4a0872
cmp byte [edi + 0xf0], 0
jne 0x4a0872
cmp dword [esi + 4], 0
jne 0x4a06c5
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
call fcn.004a71c0
lea ecx, [esi + 0x38]
call fcn.004033b0
test eax, eax
je 0x4a06e9
lea ecx, [esi + 0x38]
call fcn.0040fb90
mov dl, byte [edi + 0xec]
mov cl, byte [edi + 0xf2]
mov al, byte [edi + 0xf1]
mov byte [ebp + 0x13], dl
mov edx, dword [ebp + 0x14]
push ebx
push edx
mov byte [ebp + 0xb], cl
mov ecx, dword [ebp - 0x10]
push esi
mov byte [ebp + 0x1b], al
call fcn.0049e990
test al, al
je 0x4a0646
lea ebx, [ebx]
cmp dword [esi + 0x10], 0
je 0x4a074b
cmp dword [esi + 4], 0
jne 0x4a0734
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x4a074b
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x4a0843
movzx eax, byte [edi + 0xed]
mov byte [esi + 0x2d], al
mov cl, byte [edi + 0xec]
mov byte [esi + 0x2c], cl
mov dl, byte [edi + 0xf1]
mov byte [esi + 0x30], dl
movzx eax, byte [edi + 0xf2]
mov byte [esi + 0x31], al
cmp byte [edi + 0xed], 0
jne 0x4a085b
cmp byte [ebp + 0x13], 0
jne 0x4a0791
cmp byte [edi + 0xec], 0
jne 0x4a08a3
cmp byte [ebp + 0x1b], 0
jne 0x4a07a4
cmp byte [edi + 0xf1], 0
jne 0x4a08b5
cmp byte [ebp + 0xb], 0
jne 0x4a07b7
cmp byte [edi + 0xf2], 0
jne 0x4a08c7
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x4a07c8
cmp dword [esi + 0x34], 0x62
je 0x4a0872
mov eax, dword [esi + 0x34]
cmp eax, 0x5e
je 0x4a0872
test cl, cl
jne 0x4a07e1
cmp eax, 0x5f
je 0x4a0872
cmp dword [esi + 0xc], 0
je 0x4a08d9
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jb 0x4a08e5
sub eax, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4a080c
cmp eax, ecx
jae 0x4a08f1
mov ecx, dword [ebp + 0x14]
call fcn.004a71c0
lea ecx, [esi + 0x38]
call fcn.004033b0
test eax, eax
je 0x4a0828
lea ecx, [esi + 0x38]
call fcn.0040fb90
mov ecx, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push esi
call fcn.0049e990
test al, al
jne 0x4a0720
jmp 0x4a0646
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.004a71c0
mov byte [esi + 0x10], 1
push str.too_much_time.
jmp 0x4a063d
cmp byte [ebx + 0xad], 0
je 0x4a0872
mov edx, dword [ebx]
push str.Returning_because_of_CHANNEL_CLOSE
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0048f980
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046f6e0
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
cmp byte [ebx + 0xad], 0
je 0x4a0872
mov edx, dword [ebx]
push str.Returning_because_of_channel_EOF
jmp 0x4a086b
cmp byte [ebx + 0xad], 0
je 0x4a0872
mov edx, dword [ebx]
push str.Returning_because_of_channel_exit_status
jmp 0x4a086b
cmp byte [ebx + 0xad], 0
je 0x4a0872
mov edx, dword [ebx]
push str.Returning_because_of_channel_exit_signal
jmp 0x4a086b
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 0x10], 1
jmp 0x4a0646
mov edx, dword [ebp + 0x14]
mov byte [edx + 0x10], 1
jmp 0x4a0646
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push str.SSH_read_channel_timeout:_Elapsed_time_greater_than_max_total_time_allowed.
mov ecx, ebx
call edx
mov eax, dword [ebp + 0x14]
mov byte [eax + 0x10], 1
jmp 0x4a0646