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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], eax
push edi
mov ebx, edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x4f558b
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x4f558b
test ebx, ebx
je 0x4f558b
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4f53c1
mov dword [edi], esi
cmp dword [ebp + 0x14], esi
je 0x4f53f9
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, eax
mov edx, dword [section..data]
lea eax, [ebx - 1]
cmp ecx, eax
ja 0x4f5521
cmp dword [ebp + 0x10], esi
jne 0x4f5590
mov dword [edi], ecx
jmp 0x4f5590
mov eax, esi
push 1
push esi
inc eax
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push esi
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4f542a
cmp dword [ebp - 0x2c], 0x12
je 0x4f5496
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x10]
cmp eax, 0x64
jb 0x4f53fb
push 6
push esi
push esi
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ecx, eax
lea eax, [ebx - 1]
cmp ecx, eax
jbe 0x4f53d8
cmp ecx, 0xc0
je 0x4f53f9
push 6
push 0x1cff
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ecx, eax
cmp ecx, 0xc0
je 0x4f53f9
cmp ecx, ebx
jne 0x4f53d8
cmp dword [ebp - 8], 0xffffffff
je 0x4f53f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0xc]
sub eax, edx
mov ecx, dword [ebp - 8]
cmp eax, ecx
jae 0x4f54d9
sub ecx, eax
add edx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
jmp 0x4f53f9
mov eax, dword [section..data]
cmp eax, section..data
je 0x4f54cf
test byte [eax + 0x1c], 1
je 0x4f54cf
cmp byte [eax + 0x19], 4
jb 0x4f54cf
call fcn.0042386b
push dword [ebp - 0x14]
mov edx, 0x41c858
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.00421fda
mov esi, 0x834500cc
jmp 0x4f5590
mov edx, dword [section..data]
cmp edx, section..data
je 0x4f5517
test byte [edx + 0x1c], 1
je 0x4f5517
cmp byte [edx + 0x19], 2
jb 0x4f5517
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x41c858
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.004238e7
mov edx, dword [section..data]
mov ecx, 0x102
jmp 0x4f53de
cmp ecx, 0x80
jb 0x4f5541
lea eax, [ebx + 0x7f]
cmp ecx, eax
ja 0x4f5541
cmp dword [ebp + 0x10], esi
jne 0x4f553a
lea eax, [ecx - 0x80]
mov dword [edi], eax
mov esi, 0x834500ca
jmp 0x4f5590
cmp ecx, 0x102
jne 0x4f5552
mov dword [edi], esi
mov esi, 0x834500cb
jmp 0x4f5590
cmp edx, section..data
je 0x4f5584
test byte [edx + 0x1c], 1
je 0x4f5584
cmp byte [edx + 0x19], 2
jb 0x4f5584
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x41c858
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
pop ecx
call fcn.004238e7
mov esi, 0x80004005
jmp 0x4f5590
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14