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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4c3f00
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c452f
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 0x4c4478
lea eax, [ebp - 0x14]
call fcn.00405f48
push eax
push 0x4c4540
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 0x4c4478
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c4558
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c4079
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c4578
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c3fed
lea eax, [ebp - 0x60]
call fcn.004049d4
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xa4]
call fcn.00406058
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x320]
call fcn.00404b20
mov edx, dword [ebp - 0x64]
pop eax
call fcn.00404b94
jne 0x4c3fed
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x4c4032
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c4598
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x24], 0
je 0x4c4478
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x114]
call fcn.00406058
jmp 0x4c4478
mov eax, dword [ebp - 8]
call fcn.00476ec0
mov eax, 0x3e8
call fcn.004bfa24
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x328]
mov edx, 0x4c45b8
call fcn.004045d4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call fcn.00404b20
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.00476e54
mov byte [ebp - 9], 1
jmp 0x4c4478
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4c45ec
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x30], 0
je 0x4c4478
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c4604
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
call fcn.004c056c
cmp dword [ebp - 0x24], 0
je 0x4c4478
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 0x4c4614
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, 0x4c4628
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
call fcn.004c056c
cmp dword [ebp - 0x24], 0
je 0x4c4478
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 0x4c4614
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, 0x4c463c
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
call fcn.004c056c
cmp dword [ebp - 0x24], 0
je 0x4c4478
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 0x4c464c
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406058
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4c45ec
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.004c0940
cmp dword [ebp - 0x2c], 0
je 0x4c441b
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4c4664
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.004c056c
cmp dword [ebp - 0x28], 0
je 0x4c441b
lea eax, [ebp - 0xac]
call fcn.004100f4
push eax
push 0
push 0x4c4678
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406058
lea edx, [ebp - 0xac]
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 0x4c441b
mov eax, dword [0x4d47d0]
mov edx, dword [ebp - 0x18]
call fcn.004046d4
je 0x4c42ba
call fcn.0040a8fc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xb0]
call fcn.0040b534
push dword [ebp - 0xb0]
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xb4]
call fcn.00408e38
push dword [ebp - 0xb4]
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xb8]
call fcn.00408e38
push dword [ebp - 0xb8]
push 0x4c4688
mov eax, 0x4d47d4
mov edx, 4
call fcn.00404648
mov eax, 0x4d47d0
mov edx, dword [ebp - 0x18]
call fcn.0040431c
lea edx, [ebp - 0xc0]
xor eax, eax
call fcn.00402aec
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.004093cc
push dword [ebp - 0xbc]
push 0x4c4698
push dword [0x4d47d4]
push 0x4c4688
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404648
mov eax, dword [ebp - 0x1c]
call fcn.00409274
test al, al
jne 0x4c441b
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 0x4c441b
cmp dword [0x4d47dc], 2
jg 0x4c4478
mov eax, dword [0x4d47d8]
mov edx, dword [0x4d47d0]
call fcn.004046d4
je 0x4c43af
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, 0x4c46a8
call fcn.004048cc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4c4478
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
jmp 0x4c43bd
lea eax, [ebp - 0x20]
mov edx, dword [0x4d47e0]
call fcn.00404360
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c46b4
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.004c056c
cmp dword [ebp - 0x24], 0
je 0x4c4478
push 0
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x20]
call fcn.0041494c
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push 0x4c4614
mov eax, dword [ebp - 0x24]
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 0x4c4478
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4c46cc
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
call fcn.004c056c
cmp dword [ebp - 0x24], 0
je 0x4c4478
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 0x4c4539
lea eax, [ebp - 0xd0]
call fcn.004100f4
lea eax, [ebp - 0xc0]
mov edx, 5
call fcn.004042ec
lea eax, [ebp - 0xac]
mov edx, dword [0x401120]
mov ecx, 4
call fcn.00404e34
lea eax, [ebp - 0x6c]
call fcn.004042c8
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.004049ec
lea eax, [ebp - 0x58]
mov edx, dword [0x4011d4]
mov ecx, 2
call fcn.00404e34
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 - 0x30]
mov edx, dword [0x4bbd0c]
mov ecx, 4
call fcn.00404e34
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004042ec
lea eax, [ebp - 0x14]
call fcn.00405f48
ret