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

Disassembly:
mov eax, dword [0x637770]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x4f827e
cmp byte [eax + 0x60], bl
je 0x4f827e
mov eax, dword [esi + 0xc0c]
cmp eax, 1
je 0x4f827e
cmp eax, ebx
jne 0x4f8232
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc0c], eax
jmp 0x4f827e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xc0c]
cmp eax, 0x493e0
jbe 0x4f827e
mov eax, dword [esi + 0x70]
mov edi, dword [eax + 0xa8]
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x4f8260
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f8262
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 0x4f82e6
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 0x4f8383
push ebx
push 1
mov ecx, esi
call fcn.00506ee0
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 4], ebp
jne 0x4f831d
mov eax, dword [esi + 0x14c]
cmp eax, ebp
je 0x4f831d
push 0x3f
push eax
call sub.MFC42.DLL_CAsyncSocket::Attach
mov ecx, dword [esi + 0x38]
mov edi, 0x1bb
cmp dword [ecx + 4], ebp
je 0x4f834b
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
cmp dword [esi + 0x28], edi
je 0x4f8343
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.0044c540
cmp byte [eax + 0x21a], bl
jne 0x4f837a
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
cmp eax, edi
jne 0x4f836f
cmp ecx, ebx
je 0x4f837a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x4f837a
cmp ecx, ebx
je 0x4f837a
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 0x4f83cb
cmp dword [ecx + 4], ebp
je 0x4f8398
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 0x4f83c5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x164], ebx
call fcn.0044c540
cmp byte [eax + 0x21a], bl
jne 0x4f8452
mov eax, dword [esi + 0x3f0]
xor ebp, ebp
cmp eax, ebx
jle 0x4f840d
mov ecx, dword [esi + 0x3ec]
mov edi, dword [ecx + ebp*4]
cmp edi, ebx
je 0x4f8402
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 0x4f83e4
mov eax, dword [esi + 0x3ec]
cmp eax, ebx
je 0x4f8426
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 0x4f844c
mov ecx, edi
call fcn.005094a0
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 0x4f84be
mov ecx, edi
call fcn.00509610
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
mov dword [esi + 0x3fc], ebx
call fcn.00507ad0
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