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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4c2038
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c24d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x74]
mov edx, 0xcb
mov eax, dword [ebp - 8]
call fcn.00474024
cmp dword [ebp - 0x74], 0
je 0x4c23d7
lea eax, [ebp - 0x10]
call fcn.00405f48
push eax
push 0x4c24e8
lea ecx, [ebp - 0x78]
mov edx, 0xcb
mov eax, dword [ebp - 8]
call fcn.00474024
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x4c23d7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x4c20d6
lea ecx, [ebp - 0x7c]
mov edx, 0xd3
mov eax, dword [ebp - 8]
call fcn.00474250
mov edx, dword [ebp - 0x7c]
mov eax, 0x4c24fc
call fcn.00404c64
test eax, eax
jle 0x4c20d6
mov byte [ebp - 9], 1
jmp 0x4c23d7
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c2550
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c21e5
lea eax, [ebp - 0x94]
call fcn.004100f4
push eax
push 0
push 0x4c2568
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406058
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x84]
call fcn.00413774
mov edx, dword [ebp - 0x84]
mov eax, 0x4c257c
call fcn.004048cc
test eax, eax
jle 0x4c21e5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x4c21ac
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
push 0x4c258c
mov eax, dword [ebp - 4]
push dword [eax + 0x328]
push 0x4c25cc
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00404648
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
call fcn.00404b20
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
call fcn.00476e54
mov byte [ebp - 9], 1
jmp 0x4c23d7
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c263c
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c23d7
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
jmp 0x4c23d7
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c265c
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
jne 0x4c2288
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0x61a8
jbe 0x4c23d7
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
push 0x4c258c
mov eax, dword [ebp - 4]
push dword [eax + 0x328]
push 0x4c25cc
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.00404648
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.00404b20
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 8]
call fcn.00476e54
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x310], eax
jmp 0x4c23d7
mov eax, dword [ebp - 4]
call fcn.00454be8
push eax
call sub.user32.dll_SetForegroundWindow
push 0
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x320]
call fcn.0041494c
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push 0x4c2568
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 0x14]
mov ecx, 0x4c2680
call fcn.00405f8c
mov eax, dword [ebp - 0xb8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00406058
mov eax, 9
call fcn.004bfb90
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c2698
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c23d7
push 0
lea eax, [ebp - 0xc8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x324]
call fcn.0041494c
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push 0x4c2568
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0xcc]
mov edx, dword [ebp - 0x14]
mov ecx, 0x4c2680
call fcn.00405f8c
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00406058
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 1
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0xbb8
jbe 0x4c23d7
mov edx, 0xd
mov eax, dword [ebp - 8]
call fcn.004bfbc0
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 1
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x310], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c24e0
lea eax, [ebp - 0xcc]
call fcn.00405f48
lea eax, [ebp - 0xc8]
call fcn.004100f4
lea eax, [ebp - 0xb8]
call fcn.00405f48
lea eax, [ebp - 0xb4]
call fcn.004100f4
lea eax, [ebp - 0xa4]
call fcn.004042c8
lea eax, [ebp - 0xa0]
call fcn.004049d4
lea eax, [ebp - 0x9c]
call fcn.004042c8
lea eax, [ebp - 0x98]
call fcn.004049d4
lea eax, [ebp - 0x94]
call fcn.004100f4
lea eax, [ebp - 0x84]
call fcn.004042c8
lea eax, [ebp - 0x7c]
call fcn.004049d4
lea eax, [ebp - 0x78]
mov edx, dword [0x4011d4]
mov ecx, 2
call fcn.00404e34
lea eax, [ebp - 0x70]
call fcn.00405f48
lea eax, [ebp - 0x50]
call fcn.004042c8
lea eax, [ebp - 0x4c]
call fcn.00405f48
lea eax, [ebp - 0x48]
call fcn.00405f48
lea eax, [ebp - 0x44]
call fcn.00405f48
lea eax, [ebp - 0x40]
call fcn.00405f48
lea eax, [ebp - 0x3c]
mov edx, dword [0x4bbd0c]
mov ecx, 2
call fcn.00404e34
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004042ec
lea eax, [ebp - 0x28]
call fcn.004100f4
lea eax, [ebp - 0x14]
call fcn.00405f48
lea eax, [ebp - 0x10]
call fcn.00405f48
ret