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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4c4d68
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c5139
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 0x4c5082
lea eax, [ebp - 0x10]
call fcn.00405f48
push eax
push 0x4c514c
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 0x4c5082
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c5164
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 0x4c4f12
lea eax, [ebp - 0x60]
call fcn.004049d4
push eax
lea eax, [ebp - 0x64]
call fcn.00405f48
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00406058
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [eax]
call dword [eax + 0x210]
call fcn.00406058
mov eax, dword [ebp - 0x60]
mov edx, 0x4c517c
call fcn.00404b94
jne 0x4c4f12
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x4c4ed9
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c5190
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 0x4c5082
push 0x4c51a8
mov eax, dword [ebp - 4]
push dword [eax + 0x328]
push 0x4c51b8
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00404648
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x14]
call fcn.004c0754
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x14]
call fcn.00405f60
cmp dword [ebp - 0x14], 0
je 0x4c5082
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
mov byte [ebp - 9], 1
jmp 0x4c5082
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c51c4
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 0x4c5082
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
jmp 0x4c5082
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c51d8
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 0x4c5082
push 0
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x320]
call fcn.0041494c
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0x4c51f0
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, 0x4c5204
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 0x4c5082
push 0
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x324]
call fcn.0041494c
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push 0x4c51f0
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, 0x4c5220
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 0x4c5082
push 0
lea eax, [ebp - 0x9c]
xor edx, edx
call fcn.004147dc
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push 0x4c5234
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 0x4c5082
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c524c
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 0x4c5082
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 0x4c5143
lea eax, [ebp - 0x9c]
mov edx, dword [0x401120]
mov ecx, 3
call fcn.00404e34
lea eax, [ebp - 0x6c]
call fcn.004042c8
lea eax, [ebp - 0x68]
call fcn.00405f48
lea eax, [ebp - 0x64]
call fcn.00405f48
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