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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x4c5264
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c57a4
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 0x4c56ba
lea eax, [ebp - 0x10]
call fcn.00405f48
push eax
push 0x4c57b8
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 0x4c56ba
lea ecx, [ebp - 0x5c]
mov edx, 0xd3
mov eax, dword [ebp - 8]
call fcn.00474250
mov eax, dword [ebp - 0x5c]
mov edx, 0x4c57cc
call fcn.00404b94
jne 0x4c5485
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c581c
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c53db
lea eax, [ebp - 0x64]
call fcn.004049d4
push eax
lea eax, [ebp - 0x68]
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 - 0x68]
push eax
mov eax, dword [eax]
call dword [eax + 0x210]
call fcn.00406058
mov eax, dword [ebp - 0x64]
xor edx, edx
call fcn.00404b94
jne 0x4c53db
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x4c53a2
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x328]
mov edx, 0x4c5834
call fcn.004045d4
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 0x4c56ba
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c586c
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c56ba
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
jmp 0x4c56ba
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c588c
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c56ba
lea eax, [ebp - 0x74]
call fcn.004049d4
push eax
lea eax, [ebp - 0x78]
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 - 0x78]
push eax
mov eax, dword [eax]
call dword [eax + 0x210]
call fcn.00406058
mov eax, dword [ebp - 0x74]
mov edx, 0x4c58a0
call fcn.00404b94
je 0x4c56ba
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x328]
mov edx, 0x4c5834
call fcn.004045d4
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 0x4c56ba
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0x3a98
jb 0x4c56ba
lea ecx, [ebp - 0x84]
mov edx, 0xd3
mov eax, dword [ebp - 8]
call fcn.00474250
mov edx, dword [ebp - 0x84]
mov eax, 0x4c58b0
call fcn.00404c64
test eax, eax
je 0x4c56ba
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c5914
mov dword [ebp - 0x8c], eax
mov eax, 0x4c5930
mov dword [ebp - 0x88], eax
lea edx, [ebp - 0x8c]
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c56ba
push 0
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x320]
call fcn.0041494c
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push 0x4c5940
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, 0x4c5914
mov dword [ebp - 0x8c], eax
mov eax, 0x4c5954
mov dword [ebp - 0x88], eax
lea edx, [ebp - 0x8c]
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c56ba
push 0
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x324]
call fcn.0041494c
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push 0x4c5940
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, 0x4c596c
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c56ba
push 0
lea eax, [ebp - 0xbc]
xor edx, edx
call fcn.004147dc
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push 0x4c5984
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
mov eax, 0x4c599c
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0x4c59b0
mov eax, 0x4c5914
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
push 0
push 0
mov eax, 0x4c59bc
mov dword [ebp - 0xc4], eax
lea edx, [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c72ac
dec eax
jne 0x4c56ba
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x310]
cmp eax, 0x3a98
jbe 0x4c56ba
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4c59d8
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004c0940
cmp dword [ebp - 0x14], 0
je 0x4c56ba
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 0x4c57ae
lea eax, [ebp - 0xbc]
mov edx, dword [0x401120]
mov ecx, 3
call fcn.00404e34
lea eax, [ebp - 0x84]
call fcn.004049d4
lea eax, [ebp - 0x80]
call fcn.004042c8
lea eax, [ebp - 0x7c]
call fcn.004049d4
lea eax, [ebp - 0x78]
call fcn.00405f48
lea eax, [ebp - 0x74]
call fcn.004049d4
lea eax, [ebp - 0x70]
call fcn.004042c8
lea eax, [ebp - 0x6c]
call fcn.004049d4
lea eax, [ebp - 0x68]
call fcn.00405f48
lea eax, [ebp - 0x64]
call fcn.004049d4
lea eax, [ebp - 0x5c]
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