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

Disassembly:
mov eax, dword [0x641030]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x4fa81e
cmp byte [eax + 0x60], bl
je 0x4fa81e
mov eax, dword [esi + 0xc14]
cmp eax, 1
je 0x4fa81e
cmp eax, ebx
jne 0x4fa7d2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc14], eax
jmp 0x4fa81e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xc14]
cmp eax, 0x493e0
jbe 0x4fa81e
mov eax, dword [esi + 0x74]
mov edi, dword [eax + 0xac]
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x4fa800
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4fa802
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 + 0xc14], 1
mov eax, dword [esi + 0x150]
push ebp
or ebp, 0xffffffff
cmp eax, ebx
mov dword [esi + 0x94], ebx
je 0x4fa886
mov ecx, dword [esi + 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x160]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x164]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x160]
mov dword [esi + 0x164], ebx
push ecx
call edi
mov edx, dword [esi + 0x15c]
push edx
call edi
mov dword [esi + 0x160], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x150], ebx
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x3c], ebx
je 0x4fa91e
push ebx
push 1
mov ecx, esi
call fcn.0050c150
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + 4], ebp
jne 0x4fa8bd
mov eax, dword [esi + 0x154]
cmp eax, ebp
je 0x4fa8bd
push 0x3f
push eax
call sub.MFC42.DLL_CAsyncSocket::Attach
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + 4], ebp
je 0x4fa8e6
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
cmp byte [esi + 0x2c], bl
jne 0x4fa8de
mov eax, dword [esi + 0x3c]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x18]
call fcn.0044c9d0
cmp byte [eax + 0x21a], bl
jne 0x4fa915
mov al, byte [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp al, bl
je 0x4fa90a
cmp ecx, ebx
je 0x4fa915
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x4fa915
cmp ecx, ebx
je 0x4fa915
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x154], ebp
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x4fa966
cmp dword [ecx + 4], ebp
je 0x4fa933
push ebx
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov eax, dword [esi + 0x16c]
push 2
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_shutdown
mov ecx, dword [esi + 0x16c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x4fa960
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x16c], ebx
call fcn.0044c9d0
cmp byte [eax + 0x21a], bl
jne 0x4fa9ed
mov eax, dword [esi + 0x3f8]
xor ebp, ebp
cmp eax, ebx
jle 0x4fa9a8
mov ecx, dword [esi + 0x3f4]
mov edi, dword [ecx + ebp*4]
cmp edi, ebx
je 0x4fa99d
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 + 0x3f8]
inc ebp
cmp ebp, eax
jl 0x4fa97f
mov eax, dword [esi + 0x3f4]
cmp eax, ebx
je 0x4fa9c1
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0x3f8], ebx
mov edi, dword [esi + 0x9c]
cmp edi, ebx
je 0x4fa9e7
mov ecx, edi
call fcn.0050eb80
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x9c], ebx
mov eax, dword [esi + 0x38]
mov dword [eax + 0x60], ebx
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x64], ebx
mov edx, dword [esi + 0x38]
mov dword [edx + 0x58], ebx
mov eax, dword [esi + 0x38]
mov dword [eax + 0x5c], ebx
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x50], ebx
mov edx, dword [esi + 0x3d0]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x3d8]
mov dword [esi + 0x3d0], ebx
push eax
mov dword [esi + 0x3d4], ebx
call sub.MFC42.DLL_operatordelete
mov edi, dword [esi + 0x404]
add esp, 8
cmp edi, ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], ebx
pop ebp
je 0x4faa59
mov ecx, edi
call fcn.0050ecf0
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
mov dword [esi + 0x404], ebx
call fcn.0050cfa0
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x54]
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