Function at 0x44f629
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x28], ebx
mov dword [eax], ebx
jbe 0x44f81f
mov edi, 0x3e8
jmp 0x44f650
xor ebx, ebx
cmp dword [esi + 0x64], 0x2710
jbe 0x44f66d
cmp dword [esi + 0x5c], ebx
je 0x44f66d
mov ecx, esi
call fcn.0044f82c
imul eax, eax, 0xf
mov dword [ebp - 4], eax
jmp 0x44f677
mov dword [ebp - 4], 0x5dc
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x44f682
mov dword [ebp - 4], 1
cmp byte [esi + 0x98], 0
je 0x44f697
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x44f6a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
push dword [esi + 0xc]
lea ebx, [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub ecx, eax
cmp ecx, dword [ebp - 4]
jb 0x44f6c7
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push ecx
mov ecx, dword [ebp + 8]
add eax, ecx
push eax
push dword [esi + 4]
call fcn.0044ecee
add esp, 0x10
test eax, eax
jne 0x44f6f6
mov eax, dword [esi]
push 0
push ebx
mov ecx, esi
push dword [esi + 0x2c]
call dword [eax + 8]
test al, al
je 0x44f828
cmp byte [esi + 0x98], 0
je 0x44f711
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
jmp 0x44f71f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x44f81f
mov ebx, dword [ebp + 0x10]
add dword [ebx], ecx
add dword [esi + 0x54], ecx
add dword [esi + 0x5c], ecx
add dword [esi + 0x68], ecx
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
or eax, edx
mov dword [ebp - 0xc], edx
jne 0x44f753
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 5
push 0
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004364d0
mov ebx, dword [esi + 0x94]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x90]
cmp edx, ebx
mov dword [ebp - 0x14], edx
jl 0x44f7b1
jg 0x44f77e
cmp dword [ebp - 0x18], eax
jb 0x44f7b1
push ebx
push eax
push edx
push dword [ebp - 0x18]
call fcn.00461af0
push ebx
add dword [esi + 0x64], eax
push dword [esi + 0x90]
add dword [esi + 0x70], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00461a30
push 0
push edi
push edx
push eax
call fcn.00461af0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0xf4240
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004364d0
push ebx
push dword [esi + 0x90]
push edx
push eax
call fcn.00461af0
add dword [esi + 0x60], eax
mov ecx, dword [esi + 0x60]
add dword [esi + 0x6c], eax
cmp ecx, edi
jbe 0x44f7f4
mov eax, ecx
xor edx, edx
mov ebx, edi
div ebx
xor edx, edx
add dword [esi + 0x64], eax
mov eax, ecx
mov ecx, edi
div ecx
mov dword [esi + 0x60], edx
mov ecx, dword [esi + 0x6c]
cmp ecx, edi
jbe 0x44f811
mov eax, ecx
xor edx, edx
mov ebx, edi
div ebx
xor edx, edx
add dword [esi + 0x70], eax
mov eax, ecx
mov ecx, edi
div ecx
mov dword [esi + 0x6c], edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ecx], eax
jb 0x44f64e
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x44f821