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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x4c3668
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c3d0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x58]
mov edx, 0xcb
mov eax, dword [ebp - 8]
call fcn.00474024
cmp dword [ebp - 0x58], 0
je 0x4c3c06
lea eax, [ebp - 0x14]
call fcn.00405f48
push eax
push 0x4c3d20
lea ecx, [ebp - 0x5c]
mov edx, 0xcb
mov eax, dword [ebp - 8]
call fcn.00474024
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x4c3c06
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3d38
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c3803
lea eax, [ebp - 0x64]
push eax
mov eax, 0x4c3d5c
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
call fcn.004c056c
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x24]
call fcn.00405f60
cmp dword [ebp - 0x24], 0
je 0x4c3771
lea eax, [ebp - 0x68]
call fcn.004049d4
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xf0]
call fcn.00406058
mov eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x320]
mov edx, 0x4c3d78
call fcn.004045d4
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00404b20
mov edx, dword [ebp - 0x6c]
pop eax
call fcn.00404b94
jne 0x4c3771
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x4c37bc
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3d88
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c37ad
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
mov eax, dword [ebp - 4]
mov byte [eax + 0x332], 1
jmp 0x4c3c06
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x328]
mov edx, 0x4c3da0
call fcn.004045d4
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
call fcn.00404b20
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 8]
call fcn.00476e54
mov byte [ebp - 9], 1
jmp 0x4c3c06
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
je 0x4c3851
mov eax, dword [ebp - 4]
mov byte [eax + 0x332], 0
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.004c616c
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.00404b20
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.00476e54
jmp 0x4c3c06
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0x3a98
jb 0x4c3c06
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3de4
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c3c06
push 0
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x320]
call fcn.0041494c
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push 0x4c3e08
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3e1c
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c3c06
push 0
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x324]
call fcn.0041494c
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push 0x4c3e08
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x24]
mov ecx, 0x4c3e2c
call fcn.00405f8c
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00406058
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4c3e44
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x2c], 0
je 0x4c3c06
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4c3e60
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x28], 0
je 0x4c3ba9
lea eax, [ebp - 0xb4]
call fcn.004100f4
push eax
push 0
push 0x4c3e80
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406058
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x18]
call fcn.00413774
mov eax, dword [ebp - 0x18]
call fcn.00404588
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4c3ba9
call fcn.0040a8fc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xb8]
call fcn.0040b534
push dword [ebp - 0xb8]
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xbc]
call fcn.00408e38
push dword [ebp - 0xbc]
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc0]
call fcn.00408e38
push dword [ebp - 0xc0]
push 0x4c3e90
mov eax, 0x4d47d4
mov edx, 4
call fcn.00404648
lea edx, [ebp - 0xc8]
xor eax, eax
call fcn.00402aec
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.004093cc
push dword [ebp - 0xc4]
push 0x4c3ea0
push dword [0x4d47d4]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404648
mov eax, dword [ebp - 0x1c]
call fcn.00409274
test al, al
jne 0x4c3ba9
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [0x4cfd88]
mov eax, dword [eax]
mov ecx, dword [eax + 0x364]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.004bfe5c
test al, al
je 0x4c3ba9
cmp dword [0x4d47dc], 2
jg 0x4c3c06
inc dword [0x4d47dc]
lea ecx, [ebp - 0x20]
mov edx, 5
mov eax, dword [ebp - 0x1c]
call fcn.004bfcf0
mov edx, dword [ebp - 0x20]
mov eax, 0x4c3eb0
call fcn.004048cc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4c3c06
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
dec ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.004047e8
mov eax, 0x4d47d8
mov edx, dword [0x4d47d0]
call fcn.0040431c
mov eax, 0x4d47e0
mov edx, dword [ebp - 0x20]
call fcn.0040431c
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3ebc
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c3c06
push 0
lea eax, [ebp - 0xd8]
mov edx, dword [ebp - 0x20]
call fcn.0041494c
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push 0x4c3e08
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0xdc]
mov edx, dword [ebp - 0x24]
mov ecx, 0x4c3e2c
call fcn.00405f8c
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00406058
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0x3a98
jbe 0x4c3c06
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c3ee4
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c3c06
mov eax, dword [ebp - 0x24]
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 0x4c3d18
lea eax, [ebp - 0xdc]
call fcn.00405f48
lea eax, [ebp - 0xd8]
call fcn.004100f4
lea eax, [ebp - 0xc8]
mov edx, 5
call fcn.004042ec
lea eax, [ebp - 0xb4]
call fcn.004100f4
lea eax, [ebp - 0xa4]
call fcn.00405f48
lea eax, [ebp - 0xa0]
mov edx, dword [0x401120]
mov ecx, 2
call fcn.00404e34
lea eax, [ebp - 0x80]
call fcn.004042c8
lea eax, [ebp - 0x7c]
call fcn.004049d4
lea eax, [ebp - 0x78]
call fcn.004042c8
lea eax, [ebp - 0x74]
call fcn.004049d4
lea eax, [ebp - 0x70]
call fcn.004042c8
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004049ec
lea eax, [ebp - 0x64]
call fcn.00405f48
lea eax, [ebp - 0x5c]
mov edx, dword [0x4011d4]
mov ecx, 2
call fcn.00404e34
lea eax, [ebp - 0x54]
call fcn.00405f48
lea eax, [ebp - 0x50]
call fcn.00405f48
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.004100f4
lea eax, [ebp - 0x2c]
mov edx, dword [0x4bbd0c]
mov ecx, 3
call fcn.00404e34
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004042ec
lea eax, [ebp - 0x14]
call fcn.00405f48
ret