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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa24
cmp dword [0x5168ac], 4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0xc], eax
jl 0x4467c3
push esi
push str.CFileHandleNames::GetHandleNamesForProcess_ThreadProc_0x_08Ix_...
push 4
call fcn.0044d31e
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa24], ax
lea eax, [ebp - 0xa22]
push eax
call fcn.004476fd
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
add esp, 0xc
lea eax, [edi + 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
cmp eax, ebx
jae 0x4469d9
imul eax, eax, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [esi + 0xc], 0
jne 0x4469fe
mov ecx, dword [ebp - 0xc]
cmp dword [edi + 4], ecx
jne 0x4469fe
xor ecx, ecx
mov word [ebp - 0xa24], cx
mov ebx, dword [esi + 4]
add ebx, eax
mov eax, dword [ebx + 0xc]
test eax, 0x1f0000
je 0x4469c1
push eax
call fcn.00445b8f
test eax, eax
jne 0x4469c1
push ebx
call fcn.00445911
test eax, eax
je 0x4469c1
push 0x400
lea eax, [ebp - 0xa24]
push eax
push ebx
push dword [edi + 4]
mov ecx, esi
call fcn.0044653a
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jae 0x4469fe
xor eax, eax
cmp dword [esi + 0xc], eax
jne 0x4469fe
mov ecx, dword [ebp - 0xc]
cmp dword [edi + 4], ecx
jne 0x4469fe
cmp dword [ebp + 8], eax
je 0x4469c1
cmp word [ebp - 0xa24], ax
je 0x4469c1
push str.Device_
lea eax, [ebp - 0xa24]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [ebp - 0xa24]
cmp eax, ecx
jne 0x4469c1
push 0xc
call fcn.00447831
pop ecx
test eax, eax
je 0x4468fa
mov ecx, eax
call fcn.004457c1
mov dword [ebp + 8], eax
jmp 0x4468fe
and dword [ebp + 8], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
lea eax, [ebp - 0xa24]
push eax
call fcn.0042ae93
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x44694b
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebx + 4]
cmp ecx, dword [eax]
jne 0x44694b
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
mov dword [eax + 0xc], ecx
jmp 0x4469b7
push 0x10
call fcn.00447831
pop ecx
test eax, eax
je 0x446963
mov ecx, eax
call fcn.004457d7
mov dword [ebp - 4], eax
jmp 0x44696a
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x34]
cmp dword [0x5168ac], 4
mov ecx, dword [esi + 0x34]
jl 0x446997
push eax
dec ecx
push ecx
push str.new_ProcessInfos__i_0x_08Ix
push 4
call fcn.0044d31e
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x224]
push eax
call fcn.0042ae93
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, 0x1c
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebp - 0x18]
jb 0x44681b
cmp dword [0x5168ac], 4
jl 0x4469f5
push dword [esi + 0x34]
push esi
push str.CFileHandleNames::GetHandleNamesForProcess_ThreadProc_0x_08Ix__end__p_i
push 4
call fcn.0044d31e
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x4469f7