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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0xec], 9
je 0x4553cc
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4550e6
cmp dword [ebp - 0x18], 0x12
je 0x4553f2
lea eax, [ebp - 0x1c]
push eax
call fcn.004548c0
add esp, 4
jmp 0x4553bf
mov eax, dword [esi + 0xec]
dec eax
cmp eax, 0xa
ja case.0x4550f6.4
jmp dword [eax*4 + 0x45541c]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call edi
cmp dword [ebp - 0x18], 0x12
je 0x4553f2
lea eax, [ebp - 0x1c]
push eax
call fcn.004548c0
add esp, 4
cmp dword [esi + 0xec], 3
je case.0x4550f6.3
push 0x4ff
push 0x3e8
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4553bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00431880
add esp, 4
mov dword [esi + 0xec], eax
cmp dword [0x49807c], 0xffffffff
jne 0x45519e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov dword [ebp + 8], eax
call fcn.00431820
add esp, 4
test eax, eax
je 0x455202
mov ecx, dword [esi + 0xf8]
sub ecx, dword [ebp + 8]
push 0x4ff
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4553bf
call ebx
add eax, 5
push eax
mov dword [ebp + 8], eax
call fcn.00431820
add esp, 4
test eax, eax
je 0x4551d3
mov eax, dword [esi + 0xf8]
sub eax, dword [ebp + 8]
push 0x4ff
push eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4553bf
call ebx
cmp eax, dword [esi + 0xf8]
jge 0x4551f2
nop dword [eax]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
cmp eax, dword [esi + 0xf8]
jl 0x4551e0
mov dword [esi + 0xfc], eax
mov dword [esi + 0xec], 0
mov eax, dword [0x4d384c]
test byte [eax + 0x30c], 2
je 0x4553bf
mov eax, dword [0x4d387c]
test eax, eax
je 0x4553bf
dec eax
mov dword [0x4d387c], eax
jmp 0x4553bf
mov dword [esi + 0xec], 3
jmp 0x4553bf
mov eax, dword [0x4d3850]
push 0
mov eax, dword [eax + 0x48]
call eax
add esp, 4
mov ecx, dword [eax + 4]
mov dword [0x4d3854], ecx
mov ecx, dword [eax + 8]
mov dword [0x4d3858], ecx
mov ecx, dword [eax + 0x44]
mov dword [0x4d3864], ecx
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x294]
mov dword [0x4d386c], eax
and eax, 0x100
mov dword [0x4d3868], ecx
mov dword [ebp + 8], eax
je 0x455297
mov dword [0x4d3864], 0
mov dword [0x4d3868], 0
cmp dword [0x4d3870], 0
je 0x4552af
call fcn.00452650
mov dword [0x4d3870], 0
cmp dword [0x4d3874], 0
je 0x4552d3
call fcn.00453370
push dword [0x4d3874]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4d3874], 0
push 0x4ff
push 0xa
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0
push 5
call fcn.0044eda0
add esp, 8
cmp dword [ebp + 8], 0
je 0x45531e
push 1
push 5
call fcn.0044eda0
push dword [0x4d3854]
push 7
call fcn.0044eda0
push dword [0x4d3858]
push 8
call fcn.0044eda0
add esp, 0x18
push dword [0x4d386c]
push dword [0x4d3868]
push dword [0x4d3864]
push dword [0x4d3858]
push dword [0x4d3854]
push dword [0x4d3878]
call fcn.00454eb0
call fcn.00445980
push 0
push dword [0x4d3874]
push dword [0x4d3878]
call fcn.00445af0
call fcn.00445ae0
push 0x12
mov dword [0x4d389c], eax
mov dword [eax], str.win32dev
mov dword [eax + 4], 0x47a34f
mov dword [eax + 8], fcn.00432420
mov dword [eax + 0xc], fcn.00432420
mov dword [eax + 0x14], 0x454820
mov dword [eax + 0x10], 0x4548a0
call fcn.004327d0
push eax
call fcn.0044e9d0
add esp, 0x2c
push 0x4ff
push 0xa
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [esi + 0xec], 0
cmp dword [esi + 0xec], 9
jne 0x4550b5
mov dword [esi + 0xec], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x495c90
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x2b
push eax
call fcn.0045912a
push 0x495c90
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
call fcn.0045912a
push 0x495c90
lea eax, [ebp + 8]
mov dword [ebp + 8], 0xa
push eax
call fcn.0045912a
inc esi
push ecx
inc ebp
add byte [ebx + 0x51], bl
inc ebp
add byte [eax], al
push ecx
inc ebp
add dh, dl
push ebx
inc ebp
add dh, dl
push ebx
inc ebp
add byte [edi], al
push esp
inc ebp
add ch, bl
push ebx
inc ebp
add byte [edx + edx*2], ch
inc ebp
add dh, dl
push ebx
inc ebp
add dh, dl
push ebx
inc ebp
add byte [ebx], bh
push edx
inc ebp
add ah, cl
int3