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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff120
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6baac0]
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.00420a90
mov ecx, dword [ebp - 0x38]
add ecx, 0x320
mov dword [ebp - 4], 0
push esi
call fcn.00536b70
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
jne 0x53247b
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 0x532778
xorps xmm0, xmm0
mov byte [edi + 0x2e], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.005368a0
mov eax, dword [ebp - 0x38]
add eax, 0x320
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 0x5324ed
add esi, 0xb4
mov ecx, esi
call fcn.00401c90
test eax, eax
je 0x5324ea
mov ecx, dword [edi + 0x18]
call fcn.00401c90
mov ecx, dword [edi + 0x18]
push esi
test eax, eax
jne 0x5324da
call fcn.00415ef0
jmp 0x5324e6
call fcn.00411fb0
mov ecx, esi
call fcn.004132b0
mov byte [ebp - 0x29], 1
mov esi, dword [ebp - 0x3c]
cmp dword [edi + 0x1c], 0
je 0x532535
cmp byte [ebp + 0xc], 0
jne 0x532535
add esi, 0xd0
mov ecx, esi
call fcn.00401c90
test eax, eax
je 0x532535
mov ecx, dword [edi + 0x1c]
call fcn.00401c90
mov ecx, dword [edi + 0x1c]
push esi
test eax, eax
jne 0x532524
call fcn.00415ef0
jmp 0x53276e
call fcn.00411fb0
mov ecx, esi
call fcn.004132b0
jmp 0x53276e
cmp byte [ebp - 0x29], 0
jne 0x53276e
cmp byte [edi + 0x24], 0
je 0x532557
cmp dword [edi + 0x28], 0
jne 0x532557
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 + 0x34], 0
mov dword [edi + 0x54], 0xffffffff
call fcn.0052b780
test al, al
jne 0x532588
mov eax, dword [ebx]
mov ecx, ebx
push str.checkSendIgnore_failed.
call dword [eax + 0x14]
xor bl, bl
jmp 0x532770
mov esi, dword [ebp - 0x3c]
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 al, byte [esi + 0xf2]
mov byte [edi + 0x31], al
cmp byte [esi + 0xed], 0
jne 0x53276e
cmp byte [esi + 0xf0], 0
jne 0x53276e
cmp dword [edi + 4], 0
jne 0x5325d7
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.004efd30
lea ecx, [edi + 0x38]
call fcn.00401c90
test eax, eax
je 0x5325fb
lea ecx, [edi + 0x38]
call fcn.004132b0
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.005358e0
test al, al
je 0x5327d7
nop dword [eax + eax]
cmp dword [edi + 0x10], 5
jne 0x532658
cmp dword [0x6bf904], 0xa
jge 0x532651
mov eax, dword [ebx]
mov ecx, ebx
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__5_
call dword [eax + 0x14]
inc dword [0x6bf904]
mov dword [edi + 0x10], 0x7530
mov ecx, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x30]
push edi
call fcn.00535eb0
test al, al
jne 0x5327f0
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 al, byte [esi + 0xf2]
mov byte [edi + 0x31], al
cmp byte [esi + 0xed], 0
jne 0x5327db
cmp byte [ebp - 0x29], 0
jne 0x5326b1
cmp byte [esi + 0xec], 0
jne 0x532759
cmp byte [ebp - 0x31], 0
jne 0x5326c4
cmp byte [esi + 0xf1], 0
jne 0x5327a0
cmp byte [ebp - 0x32], 0
jne 0x5326d7
cmp byte [esi + 0xf2], 0
jne 0x5327b2
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x5326e8
cmp dword [edi + 0x34], 0x62
je 0x53276e
mov eax, dword [edi + 0x34]
cmp eax, 0x5e
je 0x53276e
test cl, cl
jne 0x5326f9
cmp eax, 0x5f
je 0x53276e
cmp dword [edi + 0xc], 0
je 0x5327d0
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jb 0x5327d0
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x532724
sub eax, edx
cmp eax, ecx
jae 0x5327c4
mov ecx, dword [ebp - 0x30]
call fcn.004efd30
lea ecx, [edi + 0x38]
call fcn.00401c90
test eax, eax
je 0x532740
lea ecx, [edi + 0x38]
call fcn.004132b0
mov ecx, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x30]
push edi
call fcn.005358e0
test al, al
jne 0x532630
xor bl, bl
jmp 0x532770
cmp byte [ebx + 0xad], 0
je 0x53276e
mov eax, dword [ebx]
push str.Returning_because_of_channel_EOF
mov ecx, ebx
call dword [eax + 0x18]
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.005368c0
lea ecx, [ebp - 0x1c]
call fcn.00420b50
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.005ebe04
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebx + 0xad], 0
je 0x53276e
mov eax, dword [ebx]
push str.Returning_because_of_channel_exit_status
jmp 0x532769
cmp byte [ebx + 0xad], 0
je 0x53276e
mov eax, dword [ebx]
push str.Returning_because_of_channel_exit_signal
jmp 0x532769
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 + 0x10], 1
xor bl, bl
jmp 0x532770
cmp byte [ebx + 0xad], 0
je 0x53276e
mov eax, dword [ebx]
push str.Returning_because_of_CHANNEL_CLOSE
jmp 0x532769
mov eax, dword [ebx]
mov ecx, ebx
push str.too_much_time.
call dword [eax + 0x14]
xor bl, bl
jmp 0x532770