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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5622c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 4], 1
jne 0x4487bd
mov eax, dword [ebx + 0x10]
shr eax, 0x19
test al, 1
je 0x4485aa
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x19
mov dword [ebp - 0x18], 0
call fcn.0044a4d0
add esp, 4
push 0x5d377c
mov dword [ebp - 0x34], vtable.nfapi::AutoLock.0
mov dword [ebp - 0x30], 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0xc]
mov dword [ebp - 4], 0
push dword [ebx + 8]
push dword [0x5d3770]
call fcn.0044c5c0
add esp, 0xc
test eax, eax
je 0x4489c8
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [eax - 8]
mov eax, dword [ebx + 0x10]
shr eax, 4
test al, 1
je 0x4486b0
call ecx
mov esi, dword [edi + 0x2c]
lea edx, [edi + 0x2c]
mov dword [edi + 0x44], eax
mov dword [ebp - 0x28], esi
cmp esi, edx
je 0x448686
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0x5d377c
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
lea eax, [esi + 8]
push eax
call fcn.0044a4d0
add esp, 4
mov esi, eax
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x28]
test esi, esi
jne 0x448674
mov eax, dword [edi + 0x34]
mov edx, dword [ecx + 0x14]
cmp eax, edx
jb 0x448656
sub eax, edx
mov dword [edi + 0x34], eax
jmp 0x44865d
mov dword [edi + 0x34], 0
push 0
push ecx
call fcn.0044c790
add esp, 8
lea edx, [edi + 0x2c]
or dword [edi + 0x8b], 0x20
jmp 0x44868d
mov eax, dword [edi + 0x2c]
lea edx, [edi + 0x2c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [eax + 4], ecx
mov dword [edx], ecx
jmp 0x44868d
and dword [edi + 0x8b], 0xffffffdf
test byte [edi + 0x8b], 8
jne 0x4486aa
cmp dword [edx], edx
jne 0x4486aa
push 4
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.0044a620
add esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x10]
shr eax, 5
test al, 1
je 0x448760
call ecx
lea ecx, [edi + 0x38]
mov dword [edi + 0x44], eax
cmp dword [ecx], ecx
je 0x448743
lea ebx, [ebx]
mov ebx, dword [ecx]
push 0x5d377c
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx + 8]
push eax
call fcn.0044a4d0
add esp, 4
mov esi, eax
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
jne 0x448730
mov eax, dword [edi + 0x40]
mov ecx, dword [ebx + 0x14]
cmp eax, ecx
jb 0x448715
sub eax, ecx
mov dword [edi + 0x40], eax
jmp 0x44871c
mov dword [edi + 0x40], 0
push 0
push ebx
call fcn.0044c790
lea ecx, [edi + 0x38]
add esp, 8
cmp dword [ecx], ecx
jne 0x4486d0
jmp 0x448740
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x38]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [eax + 4], ebx
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x2c]
test byte [edi + 0x8b], 8
jne 0x448760
cmp dword [ecx], ecx
jne 0x448760
push 5
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.0044a620
add esp, 0xc
cmp dword [edi + 0x40], 0x40000
ja 0x44879a
cmp dword [edi + 0x34], 0x40000
ja 0x44879a
cmp dword [edi + 0x28], 0x40000
ja 0x44879a
cmp dword [edi + 0x1c], 0x40000
ja 0x44879a
mov eax, dword [edi + 0x8b]
shl eax, 0x1e
sar eax, 0x1f
push eax
push edi
call fcn.0044ace0
add esp, 8
mov eax, dword [ebx + 0x10]
shr eax, 1
test al, 1
je 0x4487ac
push edi
call fcn.00447840
add esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5d377c
call eax
jmp 0x4489d3
push 0x5d377c
mov dword [ebp - 0x34], vtable.nfapi::AutoLock.0
mov dword [ebp - 0x30], 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0xc]
mov dword [ebp - 4], 1
push dword [ebx + 8]
push dword [0x5d3778]
call fcn.0044c5c0
add esp, 0xc
test eax, eax
je 0x4489c8
lea edi, [eax - 8]
mov eax, dword [ebx + 0x10]
shr eax, 0xc
test al, 1
je 0x4488b5
mov esi, dword [edi + 0x2c]
lea eax, [edi + 0x2c]
mov dword [ebp - 0x28], esi
cmp esi, eax
je 0x448911
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 8]
push eax
call fcn.0044a4d0
add esp, 4
mov esi, eax
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
jne 0x44887a
mov edx, dword [ebp - 0x28]
mov eax, dword [edi + 0x34]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
jb 0x448857
sub eax, ecx
mov dword [edi + 0x34], eax
jmp 0x44885e
mov dword [edi + 0x34], 0
mov eax, dword [edx + 4]
mov ecx, dword [edx]
push 0
push edx
mov dword [eax], ecx
mov dword [ecx + 4], eax
call fcn.0044c790
add esp, 8
or dword [edi + 0xa8], 8
lea eax, [edi + 0x2c]
cmp dword [eax], eax
jne 0x4488b5
mov eax, dword [ebx + 8]
mov ecx, 0x5d37b0
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x18], 0
call fcn.0044b3c0
push dword [0x5d37f0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x10]
shr eax, 0xd
test al, 1
je 0x44897b
lea eax, [edi + 0x38]
cmp dword [eax], eax
je 0x448947
lea ebx, [edi + 0x38]
lea ecx, [ecx]
mov esi, dword [ebx]
push 0x5d377c
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 8]
push eax
call fcn.0044a4d0
add esp, 4
mov esi, eax
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
jne 0x44893d
mov edx, dword [ebp - 0x28]
mov eax, dword [edi + 0x40]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
jb 0x44891d
sub eax, ecx
mov dword [edi + 0x40], eax
jmp 0x448924
and dword [edi + 0xa8], 0xfffffff7
jmp 0x44887d
mov dword [edi + 0x40], 0
mov eax, dword [edx + 4]
mov ecx, dword [edx]
push 0
push edx
mov dword [eax], ecx
mov dword [ecx + 4], eax
call fcn.0044c790
add esp, 8
cmp dword [ebx], ebx
jne 0x4488d0
mov ebx, dword [ebp - 0x2c]
lea eax, [edi + 0x38]
cmp dword [eax], eax
jne 0x44897b
mov eax, dword [ebx + 8]
mov ecx, 0x5d37b0
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0xd
mov dword [ebp - 0x18], 0
call fcn.0044b3c0
push dword [0x5d37f0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 0x40], 0x40000
ja 0x4489b5
cmp dword [edi + 0x34], 0x40000
ja 0x4489b5
cmp dword [edi + 0x28], 0x40000
ja 0x4489b5
cmp dword [edi + 0x1c], 0x40000
ja 0x4489b5
mov eax, dword [edi + 0xa8]
shl eax, 0x1e
sar eax, 0x1f
push eax
push edi
call fcn.0044b100
add esp, 8
mov eax, dword [ebx + 0x10]
shr eax, 9
test al, 1
je 0x4489c8
push edi
call fcn.00447650
add esp, 4
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret