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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4da75d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405140
xor eax, eax
push ebp
push 0x4daaee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov ecx, 0x10
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004051b8
mov esi, dword [ebp - 4]
test esi, esi
je 0x4da7aa
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
sub ecx, 0x10
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004051b8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004d8b64
movzx eax, word [ebp - 0x14]
sub ax, 0x64
je 0x4da7f5
dec ax
je 0x4da888
dec ax
je 0x4da94d
dec ax
je 0x4daa12
jmp 0x4daabf
mov eax, dword [ebx]
cmp byte [eax + 0x1d], 0
je 0x4da80e
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x24]
cmp eax, 0xc8
jbe 0x4da837
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x24], eax
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004dab78
test al, al
je 0x4daac6
mov eax, dword [ebx]
mov byte [eax + 0x1d], 1
jmp 0x4daac6
mov eax, dword [0x4f2754]
cmp byte [eax], 0
je 0x4da862
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call fcn.004eb540
test al, al
je 0x4da862
push 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov eax, edi
call fcn.004da2b0
mov eax, dword [0x4f2808]
inc dword [eax]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x1c]
mov edx, 0x4dab04
call fcn.00404fd8
mov eax, dword [ebp - 0x1c]
call fcn.004eb300
jmp 0x4daac6
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x24]
cmp eax, 0x3e8
jbe 0x4da8ee
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
cmp dword [eax], 0
je 0x4da8e0
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ebx]
mov edx, dword [eax]
mov eax, dword [0x4f2644]
mov eax, dword [eax]
call fcn.004d8060
test al, al
je 0x4da8e0
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004db16c
mov eax, dword [ebx]
mov byte [eax + 0x1d], 0
jmp 0x4daac6
mov edx, dword [ebx]
mov eax, edi
call fcn.004daf60
jmp 0x4daac6
mov eax, dword [0x4f2754]
cmp byte [eax], 0
je 0x4da919
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call fcn.004eb540
test al, al
je 0x4da919
push 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov eax, edi
call fcn.004da2b0
mov eax, dword [0x4f230c]
inc dword [eax]
push 0x4dab24
mov eax, dword [ebx]
push dword [eax]
push 0x4dab44
mov eax, dword [ebx]
push dword [eax + 4]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00405054
mov eax, dword [ebp - 0x20]
call fcn.004eb300
jmp 0x4daac6
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x24]
cmp eax, 0x3e8
jbe 0x4da9b3
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
cmp dword [eax], 0
je 0x4da9a5
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ebx]
mov edx, dword [eax]
mov eax, dword [0x4f2644]
mov eax, dword [eax]
call fcn.004d8060
test al, al
je 0x4da9a5
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004dafd4
mov eax, dword [ebx]
mov byte [eax + 0x1d], 0
jmp 0x4daac6
mov edx, dword [ebx]
mov eax, edi
call fcn.004daf60
jmp 0x4daac6
mov eax, dword [0x4f2754]
cmp byte [eax], 0
je 0x4da9de
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call fcn.004eb540
test al, al
je 0x4da9de
push 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov eax, edi
call fcn.004da2b0
mov eax, dword [0x4f2650]
inc dword [eax]
push 0x4dab50
mov eax, dword [ebx]
push dword [eax]
push 0x4dab44
mov eax, dword [ebx]
push dword [eax + 4]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405054
mov eax, dword [ebp - 0x24]
call fcn.004eb300
jmp 0x4daac6
mov eax, dword [ebx]
cmp byte [eax + 0x1d], 0
jne 0x4daa63
mov eax, dword [ebx]
cmp dword [eax], 0
je 0x4daa58
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ebx]
mov edx, dword [eax]
mov eax, dword [0x4f2644]
mov eax, dword [eax]
call fcn.004d8060
test al, al
je 0x4daa58
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004db650
test al, al
je 0x4daac6
mov eax, dword [ebx]
mov byte [eax + 0x1c], 1
jmp 0x4daac6
mov edx, dword [ebx]
mov eax, edi
call fcn.004daf60
jmp 0x4daac6
mov eax, dword [0x4f2754]
cmp byte [eax], 0
je 0x4daa8e
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call fcn.004eb540
test al, al
je 0x4daa8e
push 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov eax, edi
call fcn.004da2b0
mov eax, dword [0x4f27c0]
inc dword [eax]
push 0x4dab6c
mov eax, dword [ebx]
push dword [eax]
push 0x4dab44
mov eax, dword [ebx]
push dword [eax + 4]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00405054
mov eax, dword [ebp - 0x28]
call fcn.004eb300
jmp 0x4daac6
mov eax, dword [0x4f25d8]
inc dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daaf5
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404ce4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ce4
ret