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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0xffffffff
je 0x4e09ce
cmp dword [ebp + 0xc], 0
je 0x4e09ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
xor edx, edx
cmp dword [ebp + 0x18], 0
setne dl
inc edx
mov dword [ebp - 0x1c], edx
push 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jae 0x4e09fd
jmp 0x4e0b12
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jbe 0x4e0a10
mov dword [ebp - 0x20], 0xa
xor ecx, ecx
cmp dword [ebp + 0x10], 0
setne cl
lea ecx, [ecx*8 + 0x40]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
je 0x4e0a59
cmp dword [ebp - 0x18], 0x102
jne 0x4e0b0b
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
je 0x4e0b0b
cmp dword [ebp + 0x10], 0
je 0x4e0a87
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4e0a87
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4e0a5f
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp + 0xc], 0xffffffff
je 0x4e0ad7
cmp dword [ebp + 0xc], 0
je 0x4e0ad7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp + 0xc]
jbe 0x4e0ac8
mov dword [ebp + 0xc], 0
jmp 0x4e0ad1
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x40]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 0
jne 0x4e0b09
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jae 0x4e0b02
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 0x10], 1
jmp 0x4e0b0d
jmp 0x4e0b12
jmp 0x4e09ce
cmp dword [ebp - 0x10], 0
je 0x4e0b9c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 8
call dword [sym.imp.USER32.dll_GetQueueStatus]
shr eax, 0x10
movzx eax, ax
and eax, 8
je 0x4e0b9c
cmp dword [0x5aecc4], 0
jne 0x4e0b59
push str.AMUnblock
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x5aecc4], eax
cmp dword [0x5aecc4], 0
je 0x4e0b84
push 1
mov ecx, dword [0x5aecc4]
push ecx
mov edx, dword [0x5aecc4]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4e0b84
jmp 0x4e0b62
push 0
push 0
mov ecx, dword [0x5aecc4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0x14