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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4c1ae4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c1e9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x54]
mov edx, 0xcb
mov eax, dword [ebp - 8]
call fcn.00474024
cmp dword [ebp - 0x54], 0
je 0x4c1de2
lea eax, [ebp - 0x10]
call fcn.00405f48
push eax
push 0x4c1eb0
lea ecx, [ebp - 0x58]
mov edx, 0xcb
mov eax, dword [ebp - 8]
call fcn.00474024
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x4c1de2
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c1ec8
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c1c04
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x4c1bcb
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
push 0x4c1ee4
mov eax, dword [ebp - 4]
push dword [eax + 0x328]
push 0x4c1f18
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00404648
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00404b20
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.00476e54
mov byte [ebp - 9], 1
jmp 0x4c1de2
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c1f38
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c1de2
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
jmp 0x4c1de2
lea ecx, [ebp - 0x68]
mov edx, 0xd3
mov eax, dword [ebp - 8]
call fcn.00474250
mov eax, dword [ebp - 0x68]
mov edx, 0x4c1f50
call fcn.00404b94
jne 0x4c1c5b
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004c616c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00404b20
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.00476e54
jmp 0x4c1de2
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c1fa4
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c1de2
push 0
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x320]
call fcn.0041494c
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 0x4c1fb4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c1fc8
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c1de2
push 0
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x324]
call fcn.0041494c
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push 0x4c1fb4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c1fdc
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c1de2
push 0
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.004147dc
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push 0x4c1ff0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0x3a98
jbe 0x4c1de2
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c2008
mov dword [ebp - 0xa8], eax
mov eax, 0x4c201c
mov dword [ebp - 0xa4], eax
lea edx, [ebp - 0xa8]
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c1de2
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
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 0x4c1ea8
lea eax, [ebp - 0xa0]
mov edx, dword [0x401120]
mov ecx, 3
call fcn.00404e34
lea eax, [ebp - 0x70]
call fcn.004042c8
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004049ec
lea eax, [ebp - 0x64]
call fcn.004042c8
lea eax, [ebp - 0x60]
call fcn.004049d4
lea eax, [ebp - 0x58]
mov edx, dword [0x4011d4]
mov ecx, 2
call fcn.00404e34
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