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

Disassembly:
mov eax, dword [0x635490]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x4f88be
cmp byte [eax + 0x60], bl
je 0x4f88be
mov eax, dword [esi + 0xc0c]
cmp eax, 1
je 0x4f88be
cmp eax, ebx
jne 0x4f8872
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc0c], eax
jmp 0x4f88be
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xc0c]
cmp eax, 0x493e0
jbe 0x4f88be
mov eax, dword [esi + 0x70]
mov edi, dword [eax + 0xa8]
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x4f88a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f88a2
xor eax, eax
mov eax, dword [eax + 0x20]
push edi
push 7
push 0x485
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0xc0c], 1
mov eax, dword [esi + 0x148]
push ebp
or ebp, 0xffffffff
cmp eax, ebx
mov dword [esi + 0x8c], ebx
je 0x4f8926
mov ecx, dword [esi + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x158]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x158]
mov dword [esi + 0x15c], ebx
push ecx
call edi
mov edx, dword [esi + 0x154]
push edx
call edi
mov dword [esi + 0x158], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x148], ebx
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x38], ebx
je 0x4f89c3
push ebx
push 1
mov ecx, esi
call fcn.00506ff0
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 4], ebp
jne 0x4f895d
mov eax, dword [esi + 0x14c]
cmp eax, ebp
je 0x4f895d
push 0x3f
push eax
call sub.MFC42.DLL_CAsyncSocket::Attach
mov ecx, dword [esi + 0x38]
mov edi, 0x1bb
cmp dword [ecx + 4], ebp
je 0x4f898b
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
cmp dword [esi + 0x28], edi
je 0x4f8983
mov eax, dword [esi + 0x38]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
call fcn.0044c560
cmp byte [eax + 0x21a], bl
jne 0x4f89ba
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
cmp eax, edi
jne 0x4f89af
cmp ecx, ebx
je 0x4f89ba
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x4f89ba
cmp ecx, ebx
je 0x4f89ba
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x14c], ebp
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x4f8a0b
cmp dword [ecx + 4], ebp
je 0x4f89d8
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [esi + 0x164]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [esi + 0x164]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x4f8a05
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x164], ebx
call fcn.0044c560
cmp byte [eax + 0x21a], bl
jne 0x4f8a92
mov eax, dword [esi + 0x3f0]
xor ebp, ebp
cmp eax, ebx
jle 0x4f8a4d
mov ecx, dword [esi + 0x3ec]
mov edi, dword [ecx + ebp*4]
cmp edi, ebx
je 0x4f8a42
mov edx, dword [edi]
push edx
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, dword [esi + 0x3f0]
inc ebp
cmp ebp, eax
jl 0x4f8a24
mov eax, dword [esi + 0x3ec]
cmp eax, ebx
je 0x4f8a66
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f0], ebx
mov edi, dword [esi + 0x94]
cmp edi, ebx
je 0x4f8a8c
mov ecx, edi
call fcn.00509590
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x94], ebx
mov eax, dword [esi + 0x34]
mov dword [eax + 0x60], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx + 0x64], ebx
mov edx, dword [esi + 0x34]
mov dword [edx + 0x58], ebx
mov eax, dword [esi + 0x34]
mov dword [eax + 0x5c], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx + 0x50], ebx
mov edx, dword [esi + 0x3c8]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x3d0]
mov dword [esi + 0x3c8], ebx
push eax
mov dword [esi + 0x3cc], ebx
call sub.MFC42.DLL_operatordelete
mov edi, dword [esi + 0x3fc]
add esp, 8
cmp edi, ebx
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], ebx
pop ebp
je 0x4f8afe
mov ecx, edi
call fcn.00509700
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
mov dword [esi + 0x3fc], ebx
call fcn.00507be0
mov edx, dword [esi + 0x50]
lea ecx, [esi + 0x50]
call dword [edx + 0x1c]
mov ecx, esi
call sym.ETermProxy.exe_public_virtual:_bool___thiscall_CClientObject::Stop_void_
pop edi
pop esi
pop ebx
ret 4