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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047cfbc
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00440e8c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047cd04
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c7308
test al, al
je 0x4c5d40
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4c5d39
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c7af8
push eax
mov eax, dword [ebp - 4]
call fcn.004c39e0
mov edx, eax
lea ecx, [ebp - 0x14]
pop eax
call fcn.004c3edc
mov edi, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047cff8
mov eax, edi
call fcn.00467ba4
test al, al
je 0x4c5d15
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
jmp 0x4c5d1c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5d58
cmp dword [ebp - 0x14], 0
je 0x4c5d38
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 8]
ret
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x368]
mov eax, dword [ebp - 4]
call fcn.0047cff8
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x36c]
add edx, dword [0x584e68]
cmp eax, edx
jbe 0x4c5e08
mov ebx, dword [ebp - 0xc]
cmp ebx, dword [0x584e60]
jge 0x4c5d8d
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c2b70
jmp 0x4c5db4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x28]
sub eax, dword [0x584e60]
cmp ebx, eax
jle 0x4c5db4
mov ecx, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c2b70
mov ebx, dword [ebp - 8]
cmp ebx, dword [0x584e64]
jge 0x4c5dd0
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004c2b70
jmp 0x4c5dfa
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
sub eax, dword [0x584e64]
cmp ebx, eax
jle 0x4c5dfa
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004c2b70
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x36c], eax
mov eax, dword [ebp + 8]
or dword [eax], 0x80000000
mov eax, dword [ebp - 4]
call fcn.0047cfbc
cmp eax, dword [ebp - 0x18]
je 0x4c5e29
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4