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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caaf5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x68cc00]
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.0042a4a0
mov ecx, dword [ebp - 0x38]
add ecx, 0x79c
mov dword [ebp - 4], 0
push esi
call fcn.0057f500
mov esi, eax
test esi, esi
jne 0x5791e8
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 0x579596
xorps xmm0, xmm0
mov byte [edi + 0x2e], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.0057f230
mov eax, dword [ebp - 0x38]
add eax, 0x79c
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 0x57925f
lea ecx, [esi + 0xb4]
call fcn.00402f10
test eax, eax
je 0x57925f
mov ecx, dword [edi + 0x18]
call fcn.00402f10
mov ecx, dword [edi + 0x18]
test eax, eax
lea eax, [esi + 0xb4]
push eax
jne 0x57924b
call fcn.0043ab90
jmp 0x57925b
call fcn.00435190
lea ecx, [esi + 0xb4]
call fcn.00436ad0
mov byte [ebp - 0x29], 1
cmp dword [edi + 0x1c], 0
je 0x5792ad
cmp byte [ebp + 0xc], 0
jne 0x5792ad
lea eax, [esi + 0xd0]
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.00402f10
test eax, eax
je 0x5792ad
mov ecx, dword [edi + 0x1c]
call fcn.00402f10
mov esi, dword [ebp - 0x3c]
mov ecx, dword [edi + 0x1c]
push esi
test eax, eax
jne 0x57929c
call fcn.0043ab90
jmp 0x57958c
call fcn.00435190
mov ecx, esi
call fcn.00436ad0
jmp 0x57958c
cmp byte [ebp - 0x29], 0
jne 0x57958c
cmp byte [edi + 0x24], 0
je 0x5792cf
cmp dword [edi + 0x28], 0
jne 0x5792cf
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.00571b90
test al, al
jne 0x579300
mov eax, dword [ebx]
mov ecx, ebx
push str.checkSendIgnore_failed.
call dword [eax + 0x14]
xor bl, bl
jmp 0x57958e
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 0x57958c
cmp byte [esi + 0xf0], 0
jne 0x57958c
cmp dword [edi + 4], 0
jne 0x579355
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.0046d400
lea ecx, [edi + 0x40]
call fcn.00402f10
test eax, eax
je 0x579379
lea ecx, [edi + 0x40]
call fcn.00436ad0
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.0057d3e0
test al, al
je 0x579573
nop dword [eax]
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x5793dc
cmp dword [0x69126c], 0xa
jge 0x5793d3
mov eax, dword [ebx]
mov ecx, ebx
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__5_
call dword [eax + 0x14]
inc dword [0x69126c]
mov dword [edi + 0x10], 0x7530
jmp 0x5793e0
test eax, eax
je 0x579415
cmp dword [edi + 4], 0
jne 0x5793ee
call sub.KERNEL32.DLL_GetTickCount
mov dword [edi + 4], eax
cmp dword [edi + 0x10], 0x3e8
jae 0x5793fe
mov dword [edi + 0x10], 0x7530
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [edi + 4]
cmp eax, ecx
jbe 0x579415
sub eax, ecx
cmp eax, dword [edi + 0x10]
ja 0x579512
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 0x579577
cmp byte [ebp - 0x29], 0
jne 0x579462
cmp byte [esi + 0xec], 0
jne 0x579530
cmp byte [ebp - 0x31], 0
jne 0x579475
cmp byte [esi + 0xf1], 0
jne 0x579540
cmp byte [ebp - 0x32], 0
jne 0x579488
cmp byte [esi + 0xf2], 0
jne 0x579550
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x579499
cmp dword [edi + 0x3c], 0x62
je 0x57958c
mov eax, dword [edi + 0x3c]
cmp eax, 0x5e
je 0x57958c
test cl, cl
jne 0x5794b2
cmp eax, 0x5f
je 0x57958c
cmp dword [edi + 0xc], 0
je 0x57956c
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jb 0x57956c
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x5794dd
sub eax, edx
cmp eax, ecx
jae 0x579560
mov ecx, dword [ebp - 0x30]
call fcn.0046d400
lea ecx, [edi + 0x40]
call fcn.00402f10
test eax, eax
je 0x5794f9
lea ecx, [edi + 0x40]
call fcn.00436ad0
mov ecx, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x30]
push edi
call fcn.0057d3e0
test al, al
jne 0x5793b0
xor bl, bl
jmp 0x57958e
mov esi, dword [ebp - 0x30]
mov ecx, esi
call fcn.0046d400
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 0x57958e
cmp byte [ebx + 0x129], 0
je 0x57958c
push str.Returning_because_of_channel_EOF
jmp 0x579585
cmp byte [ebx + 0x129], 0
je 0x57958c
push str.Returning_because_of_channel_exit_status
jmp 0x579585
cmp byte [ebx + 0x129], 0
je 0x57958c
push str.Returning_because_of_channel_exit_signal
jmp 0x579585
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 0x57958e
cmp byte [ebx + 0x129], 0
je 0x57958c
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.0057f250
lea ecx, [ebp - 0x1c]
call fcn.0042a570
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.005af5a8
mov esp, ebp
pop ebp
ret 0x14