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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff168
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], eax
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.00420a90
push str.readChannelToClose
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00430cc0
cmp byte [esi + 0x24], 0
mov byte [ebp - 4], 1
je 0x5328c7
cmp dword [esi + 0x28], 0
jne 0x5328c7
mov eax, dword [edi]
mov ecx, edi
push str.No_m_pHandler.
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.004efd30
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movq qword [ebp - 0x34], xmm0
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
call fcn.004118f0
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x10]
cmp eax, 5
jne 0x53293c
cmp dword [0x6bf904], 0xa
jge 0x532933
mov eax, dword [edi]
mov ecx, edi
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__3_
call dword [eax + 0x14]
inc dword [0x6bf904]
mov dword [esi + 0x10], 0x7530
jmp 0x532940
test eax, eax
je 0x532975
cmp dword [esi + 4], 0
jne 0x53294e
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x53295e
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x532975
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x532a14
lea ecx, [ebp - 0x44]
call fcn.004132b0
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x4c]
mov word [esi + 0x2c], 0
push esi
push 0
push dword [ebp + 8]
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x58], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.005323f0
mov cl, byte [esi + 0x2f]
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x50]
mov byte [eax], cl
test cl, cl
jne 0x532a49
cmp byte [esi + 0x2e], cl
jne 0x532a42
mov ecx, dword [ebp - 0x4c]
call fcn.004efd00
test al, al
jne 0x532a55
cmp byte [ebp - 0x45], al
je 0x532a3b
mov ecx, dword [ebp - 0x4c]
call fcn.004efcb0
test al, al
jne 0x532a2b
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5329f8
push edi
mov ecx, eax
call fcn.00480f60
test al, al
jne 0x532a24
cmp byte [esi + 0x2d], 0
je 0x532910
mov eax, dword [ebp + 8]
cmp dword [esi + 0x54], eax
jne 0x532910
mov byte [ebp - 0x45], 1
jmp 0x532a59
mov esi, dword [ebp - 0x4c]
mov ecx, esi
call fcn.004efd30
mov byte [esi + 0x10], 1
jmp 0x532a55
push str.Aborted_by_app.
jmp 0x532a4e
mov ecx, dword [ebp - 0x4c]
push edi
push str.readChannelData
call fcn.004efde0
jmp 0x532a55
push str.readChannelData_failed.
jmp 0x532a4e
push str.Channel_no_longer_exists.
jmp 0x532a4e
push str.disconnected.
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x44]
call fcn.00411b10
lea ecx, [ebp - 0x1c]
call fcn.00430db0
lea ecx, [ebp - 0x28]
call fcn.00420b50
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14