Function at 0x4deb60
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x365]
test ecx, ecx
je 0x4deb8f
jmp 0x4dee50
mov ecx, dword [ebp - 0x118]
call fcn.004dd760
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0x568]
test eax, eax
je 0x4debb6
mov ecx, dword [ebp - 0x118]
call fcn.004dd590
push 5
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x374]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x374]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 1
call dword [sym.imp.WINMM.DLL_timeBeginPeriod]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
call dword [sym.imp.WINMM.DLL_timeGetTime]
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x118]
mov byte [edx + 0x53d], 1
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 0x4d4], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x10c]
mov dword [edx + 0x4d8], eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x10c]
mov dword [ecx + 0x444], edx
mov eax, dword [ebp - 0x118]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x118]
mov eax, dword [edx + 0x178]
call eax
mov ecx, dword [ebp - 0x118]
call fcn.004ddda0
mov ecx, dword [ebp - 0x118]
mov byte [ecx + 0x53d], 0
mov ecx, dword [ebp - 0x118]
call fcn.004cee00
call dword [sym.imp.WINMM.DLL_timeGetTime]
sub eax, dword [ebp - 0x10c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 0
fild qword [ebp - 0x120]
fdiv qword [0x6069d8]
sub esp, 8
fstp qword [esp]
push str.Seconds_________g_r_n
lea edx, [ebp - 0x108]
push edx
call fcn.005cc868
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x4dc]
push edx
push str.Sleep_Count_____d_r_n
lea eax, [ebp - 0x108]
push eax
call fcn.005cc868
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x4e4]
push eax
push str.Update_Count____d_r_n
lea ecx, [ebp - 0x108]
push ecx
call fcn.005cc868
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x4e0]
push ecx
push str.Draw_Count______d_r_n
lea edx, [ebp - 0x108]
push edx
call fcn.005cc868
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x544]
push edx
push str.Draw_Time_______d_r_n
lea eax, [ebp - 0x108]
push eax
call fcn.005cc868
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x564]
push eax
push str.Screen_Blt______d_r_n
lea ecx, [ebp - 0x108]
push ecx
call fcn.005cc868
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x544]
mov edx, dword [ebp - 0x118]
add ecx, dword [edx + 0x564]
test ecx, ecx
jle 0x4dee22
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x4e0]
imul eax, eax, 0x3e8
mov ecx, dword [ebp - 0x118]
mov ecx, dword [ecx + 0x544]
mov edx, dword [ebp - 0x118]
add ecx, dword [edx + 0x564]
cdq
idiv ecx
push eax
push 0x613618
lea eax, [ebp - 0x108]
push eax
call fcn.005cc868
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 1
call dword [sym.imp.WINMM.DLL_timeEndPeriod]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x118]
mov edx, dword [eax + 0x54]
call edx
mov eax, dword [ebp - 0x118]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x118]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret