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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x679891b8
push eax
mov eax, dword [esp + 0x28]
mov dword fs:[0], esp
sub esp, 0x50
sub eax, 2
push ebx
push ebp
push esi
push edi
je 0x678b78cc
dec eax
je 0x678b780b
dec eax
jne 0x678b7991
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
sub ebx, ecx
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x38]
xor ebp, ebp
sub esi, edx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.GDI32.dll_CreateDIBSection]
push ebp
lea eax, [esp + 0x14]
push ebp
push eax
lea ecx, [esp + 0x44]
push ebp
push ecx
push ebp
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], 1
mov word [esp + 0x5e], 0x20
mov dword [esp + 0x60], ebp
mov dword [esp + 0x28], ebp
call edi
push ebp
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
push ebp
push edx
lea eax, [esp + 0x44]
push ebp
push eax
push ebp
mov dword [esp + 0x2c], ebp
call edi
push ebp
lea ecx, [esp + 0x1c]
push ebp
push ecx
lea edx, [esp + 0x44]
push ebp
push edx
push ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebp
call edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], eax
call fcn.6797d946
push ebp
mov dword [esp + 0x6c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
cmp eax, ebp
jne 0x678b762a
xor ecx, ecx
jmp 0x678b762d
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push 0xcc0020
push ebp
neg eax
push ebp
push ecx
sbb eax, eax
push ebx
push esi
and eax, edx
push ebp
push ebp
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x20]
push edx
push eax
call edi
mov eax, dword [esp + 0x80]
cmp eax, ebp
jne 0x678b7673
xor ecx, ecx
jmp 0x678b7676
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
push ecx
push ebx
push esi
push ebp
push ebp
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x88]
push ecx
push eax
call edi
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
cdq
idiv ebp
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x88]
push edx
push eax
call edi
cmp ebp, 1
jle 0x678b77b3
lea eax, [ebp - 1]
mov dword [esp + 0x8c], 0xff
mov dword [esp + 0x90], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esp + 0x8c]
cdq
idiv ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push ebx
push esi
push edx
push eax
call sym.MfcHlpr520.dll_private:_static_void___cdecl_CMHPAnimationMemDC::AlphaBlendU_unsigned_char___unsigned_char___int__int__unsigned_char___unsigned_char_
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x40]
add esp, 0x18
mov ecx, dword [esp + 0x74]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x74]
push 0
push 0
push eax
mov eax, dword [esp + 0x90]
push ebx
push esi
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x84]
sub eax, edi
cmp eax, ecx
jae 0x678b7784
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
add ecx, 0xff
dec eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
jne 0x678b7707
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
neg eax
sbb eax, eax
and eax, ecx
push eax
call edi
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x88]
push edx
call esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
sub ebx, ecx
xor esi, esi
test ebx, ebx
jle 0x678b7991
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
cdq
idiv ecx
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
sub ebp, edi
mov edi, ebx
mov dword [esp + 0x90], eax
mov eax, ebx
cdq
idiv ecx
lea ecx, [eax + 1]
mov dword [esp + 0x8c], ecx
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x678b786c
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
push 0xcc0020
push edi
push 0
push eax
mov eax, dword [esp + 0x80]
push esi
push ebp
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
add esi, edx
add edi, ecx
cmp esi, ebx
jl 0x678b785e
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x30], ebp
test ecx, ecx
mov dword [esp + 0x34], ebx
jle 0x678b7991
mov eax, dword [esp + 0x90]
sub ebp, esi
cdq
idiv ecx
sub ebx, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], eax
jmp 0x678b7920
mov ecx, dword [esp + 0x8c]
mov eax, ebx
cdq
idiv ecx
mov ecx, eax
mov eax, ebp
cdq
idiv dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
add ecx, edi
sub ecx, edi
add eax, esi
sub eax, esi
test edx, edx
je 0x678b7947
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push ecx
mov ecx, dword [esp + 0x94]
push eax
push edi
mov edx, dword [ecx + 4]
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x88]
add ebx, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x678b7919
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret