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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 2
jne 0x47fa34
xor eax, eax
push ebp
push 0x47fa25
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x47f948
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x47f955
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47fb37
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0x2710
jbe 0x47f97a
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
call fcn.0047f874
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp dword [edx + eax*4 + 4], 0
jne 0x47f9f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x47fa18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 8]
call fcn.00419dc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047e9f0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
jmp 0x47fa18
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47fb37
xor eax, eax
push ebp
push 0x47fb2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x47fa53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x47fa60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47fb37
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0x2710
jbe 0x47fa85
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
call fcn.0047f874
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp dword [edx + eax*4 + 4], 0
jne 0x47fafb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x47fb23
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 8]
call fcn.00419dc8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0047ed5c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
jmp 0x47fb23
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47fb37
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret