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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov ecx, dword [esi + 0x108]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x108]
mov eax, dword [esi + 0x84]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 0xcc]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_public:_class_CRect___thiscall_CMHPControlEdit::GetSpinButtonsRect_void_
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edi
lea eax, [ecx + edi]
mov edi, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
lea ecx, [esp + 0x10]
jne 0x6784eb47
lea ecx, [esp + 0x30]
mov edx, dword [ecx]
mov edi, eax
neg edi
sbb edi, edi
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 4]
and edi, 2
dec edi
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x58], ecx
add eax, 5
push 0
mov ecx, esi
mov dword [esp + 0x58], edx
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControl::RedrawParent_int_
mov edx, dword [esi]
push edi
push 1
mov ecx, esi
call dword [edx + 0x16c]
mov eax, dword [esi + 0x108]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, dword [esi + 0x108]
push 0
push 0x212
push 0x1b3
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
push 0
push 0
lea eax, [esp + 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov eax, dword [esp + 0x34]
cmp eax, 0x202
je 0x6784ecf8
cmp eax, 0x200
jne 0x6784ec43
mov eax, dword [esp + 0x3c]
mov ebp, dword [esi]
mov ecx, eax
shr eax, 0x10
and ecx, 0xffff
push eax
push ecx
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
push eax
mov ecx, esi
call dword [ebp + 0x108]
test eax, eax
je 0x6784ecd8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
mov ecx, esi
mov ebx, eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControl::RedrawParent_int_
jmp 0x6784ecd8
cmp eax, 0x113
jne 0x6784ecb9
cmp dword [esp + 0x38], 0x1b3
jne 0x6784ecb9
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x6784ec90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov ecx, 1
shr eax, 0xa
cmp eax, 5
jb 0x6784ec7a
mov ecx, 0x14
jmp 0x6784ec84
cmp eax, 2
jb 0x6784ec84
mov ecx, 5
mov edx, dword [esi]
push edi
push ecx
mov ecx, esi
call dword [edx + 0x16c]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x6784ecb1
mov eax, dword [esi + 0x108]
push 0
push 0x64
push 0x1b3
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x60], 0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, dword [esi + 0x108]
jne 0x6784ecf8
push 0
push 0
lea eax, [esp + 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov eax, dword [esp + 0x34]
cmp eax, 0x202
jne 0x6784ebf7
mov ecx, dword [esi + 0x108]
push 0x1b3
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xac], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControl::RedrawParent_int_
mov ecx, dword [esi + 0x108]
pop edi
pop esi
pop ebp
mov eax, dword [ecx + 0xec]
pop ebx
cmp eax, 5
je 0x6784ed49
mov eax, dword [ecx]
push 0
push 1
push 0
call dword [eax + 0xc4]
add esp, 0x4c
ret 8