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

Disassembly:
mov eax, dword [0x637760]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x4f7e8e
cmp byte [eax + 0x60], bl
je 0x4f7e8e
mov eax, dword [esi + 0xc0c]
cmp eax, 1
je 0x4f7e8e
cmp eax, ebx
jne 0x4f7e42
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc0c], eax
jmp 0x4f7e8e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xc0c]
cmp eax, 0x493e0
jbe 0x4f7e8e
mov eax, dword [esi + 0x70]
mov edi, dword [eax + 0xa8]
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x4f7e70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f7e72
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 0x4f7ef6
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 0x4f7f93
push ebx
push 1
mov ecx, esi
call fcn.00506b00
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 4], ebp
jne 0x4f7f2d
mov eax, dword [esi + 0x14c]
cmp eax, ebp
je 0x4f7f2d
push 0x3f
push eax
call sub.MFC42.DLL_CAsyncSocket::Attach
mov ecx, dword [esi + 0x38]
mov edi, 0x1bb
cmp dword [ecx + 4], ebp
je 0x4f7f5b
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
cmp dword [esi + 0x28], edi
je 0x4f7f53
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.0044c4d0
cmp byte [eax + 0x21a], bl
jne 0x4f7f8a
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
cmp eax, edi
jne 0x4f7f7f
cmp ecx, ebx
je 0x4f7f8a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x4f7f8a
cmp ecx, ebx
je 0x4f7f8a
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 0x4f7fdb
cmp dword [ecx + 4], ebp
je 0x4f7fa8
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 0x4f7fd5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x164], ebx
call fcn.0044c4d0
cmp byte [eax + 0x21a], bl
jne 0x4f8062
mov eax, dword [esi + 0x3f0]
xor ebp, ebp
cmp eax, ebx
jle 0x4f801d
mov ecx, dword [esi + 0x3ec]
mov edi, dword [ecx + ebp*4]
cmp edi, ebx
je 0x4f8012
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 0x4f7ff4
mov eax, dword [esi + 0x3ec]
cmp eax, ebx
je 0x4f8036
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 0x4f805c
mov ecx, edi
call fcn.005090c0
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 0x4f80ce
mov ecx, edi
call fcn.00509230
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
mov dword [esi + 0x3fc], ebx
call fcn.005076f0
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