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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cab8d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x68cc00]
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.0042a510
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.00447f50
cmp byte [esi + 0x24], 0
mov byte [ebp - 4], 1
je 0x5796f7
cmp dword [esi + 0x28], 0
jne 0x5796f7
mov eax, dword [edi]
mov ecx, edi
push str.No_m_pHandler.
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.0046d450
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.00434a70
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 0x57976c
cmp dword [0x69126c], 0xa
jge 0x579763
mov eax, dword [edi]
mov ecx, edi
push str.sshRp.m_totalTimeoutMs_wf_is_too_small__3_
call dword [eax + 0x14]
inc dword [0x69126c]
mov dword [esi + 0x10], 0x7530
jmp 0x579770
test eax, eax
je 0x5797a5
cmp dword [esi + 4], 0
jne 0x57977e
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x57978e
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x5797a5
sub eax, ecx
cmp eax, dword [esi + 0x10]
ja 0x579844
lea ecx, [ebp - 0x44]
call fcn.00436b40
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 + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.005791e0
mov cl, byte [esi + 0x2f]
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x50]
mov byte [eax], cl
test cl, cl
jne 0x579879
cmp byte [esi + 0x2e], cl
jne 0x579872
mov ecx, dword [ebp - 0x4c]
call fcn.0046d420
test al, al
jne 0x579885
cmp byte [ebp - 0x45], al
je 0x57986b
mov ecx, dword [ebp - 0x4c]
call fcn.0046d3d0
test al, al
jne 0x57985b
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x579828
push edi
mov ecx, eax
call fcn.004a8820
test al, al
jne 0x579854
cmp byte [esi + 0x2d], 0
je 0x579740
mov eax, dword [ebp + 8]
cmp dword [esi + 0x5c], eax
jne 0x579740
mov byte [ebp - 0x45], 1
jmp 0x579889
mov esi, dword [ebp - 0x4c]
mov ecx, esi
call fcn.0046d450
mov byte [esi + 0x14], 1
jmp 0x579885
push str.Aborted_by_app.
jmp 0x57987e
mov ecx, dword [ebp - 0x4c]
push edi
push str.readChannelData
call fcn.0046d500
jmp 0x579885
push str.readChannelData_failed.
jmp 0x57987e
push str.Channel_no_longer_exists.
jmp 0x57987e
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.00434c90
lea ecx, [ebp - 0x1c]
call fcn.00448050
lea ecx, [ebp - 0x28]
call fcn.0042a5e0
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.005af618
mov esp, ebp
pop ebp
ret 0x14