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

Disassembly:
sub esp, 0x410
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x41c]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x3b88]
xor edi, edi
cmp dword [eax], edi
jne 0x4051bc
push ebx
push ebp
mov dword [eax], 1
lea eax, [esi + 0xe38]
push eax
push str.UpdateRegProps__s_...
push 3
pop ebx
push ebx
call fcn.0044fe2e
push str.CM_DRP_INSTALL_STATE...
push ebx
call fcn.0044fe2e
add esp, 0x14
push edi
lea eax, [esp + 0x14]
push eax
lea ebp, [esi + 0x3a5c]
push ebp
push edi
mov edi, dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Registry_PropertyW]
push 0x23
push dword [esi + 0x10]
mov dword [esp + 0x28], 4
call edi
push dword [ebp]
push eax
call fcn.0044b4df
push eax
mov ebp, str._cret_S___u
push ebp
push ebx
call fcn.0044fe2e
push str.CM_DRP_MFG...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0x20f8]
push eax
push 0
push 0xc
push dword [esi + 0x10]
mov dword [esp + 0x28], 0x80
call edi
lea ecx, [esi + 0x20f8]
push ecx
push eax
call fcn.0044b4df
push eax
push str._cret_S___s
push ebx
call fcn.0044fe2e
push str.CM_DRP_UPPERFILTERS...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0x277c]
push eax
push 0
push 0x12
push dword [esi + 0x10]
mov dword [esp + 0x28], 0x200
call edi
mov dword [esp + 0x14], eax
lea eax, [esi + 0x277c]
push eax
call fcn.0042f641
push eax
push dword [esp + 0x18]
call fcn.0044b4df
push eax
push str._cret_S___s
push ebx
call fcn.0044fe2e
push str.CM_DRP_LOWERFILTERS...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0x297c]
push eax
push 0
push 0x13
push dword [esi + 0x10]
mov dword [esp + 0x28], 0x200
call edi
mov dword [esp + 0x14], eax
lea eax, [esi + 0x297c]
push eax
call fcn.0042f641
push eax
push dword [esp + 0x18]
call fcn.0044b4df
push eax
push str._cret_S___s
push ebx
call fcn.0044fe2e
push str.CM_DRP_CAPABILITIES...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0x3a60]
push eax
push 0
push 0x10
push dword [esi + 0x10]
mov dword [esp + 0x28], 4
call edi
push dword [esi + 0x3a60]
mov dword [esp + 0x18], eax
call fcn.0044af8f
push eax
push dword [esp + 0x18]
call fcn.0044b4df
push eax
push str._cret_S___S
push ebx
call fcn.0044fe2e
push str.CM_DRP_LEGACYBUSTYPE...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0x3a64]
push eax
push 0
push 0x15
push dword [esi + 0x10]
mov dword [esp + 0x28], 4
call edi
push dword [esi + 0x3a64]
push eax
call fcn.0044b4df
push eax
push ebp
push ebx
call fcn.0044fe2e
push str.CM_DRP_ADDRESS...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0x3e8
push 0
lea ecx, [esp + 0x18]
lea eax, [esi + 0x3a68]
or dword [eax], 0xffffffff
push ecx
mov dword [esp + 0x1c], 4
push eax
push 0
push 0x1d
push dword [esi + 0x10]
call fcn.00446a3a
push dword [esi + 0x3a68]
mov dword [esi + 0x3a6c], eax
push eax
call fcn.0044b4df
push eax
push ebp
push ebx
call fcn.0044fe2e
push str.CM_DRP_DEVICE_POWER_DATA...
push ebx
call fcn.0044fe2e
add esp, 0x18
push 0x3e8
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 0x3a78]
push eax
push 0
push 0x1f
push dword [esi + 0x10]
mov dword [esp + 0x2c], 0x38
call fcn.00446a3a
push dword [esi + 0x3a7c]
push eax
call fcn.0044b4df
push eax
push ebp
push ebx
call fcn.0044fe2e
add esp, 0x10
cmp dword [0x50e060], 0x502
jb 0x404e6a
push str.CM_DRP_LOCATION_PATHS...
push ebx
call fcn.0044fe2e
pop ecx
pop ecx
push 0
lea eax, [esp + 0x14]
push eax
lea ebp, [esi + 0x2b7c]
push ebp
push 0
push 0x24
push dword [esi + 0x10]
mov dword [esp + 0x28], 0x800
call edi
push ebp
mov dword [esp + 0x18], eax
call fcn.0042f641
push eax
push dword [esp + 0x18]
call fcn.0044b4df
push eax
push str._cret_S___s
push ebx
call fcn.0044fe2e
add esp, 0x10
cmp dword [0x50e060], 0x601
jb 0x404eb8
push str.CM_DRP_BASE_CONTAINERID...
push ebx
call fcn.0044fe2e
pop ecx
pop ecx
push 0
lea eax, [esp + 0x14]
push eax
lea ebp, [esi + 0x39e8]
push ebp
push 0
push 0x25
push dword [esi + 0x10]
mov dword [esp + 0x28], 0x4e
call edi
push ebp
push eax
call fcn.0044b4df
push eax
push str._cret_S___s
push ebx
call fcn.0044fe2e
add esp, 0x10
lea eax, [esi + 0x38c8]
cmp word [eax], 0
mov dword [esp + 0x14], eax
jne 0x404eea
push eax
lea eax, [esi + 0x38e8]
push eax
lea eax, [esi + 0x3888]
push eax
lea eax, [esi + 0x3478]
push eax
lea eax, [esi + 0x1ff0]
push eax
call fcn.004028a4
push 0x10
lea eax, [esi + 0x33bc]
push eax
lea eax, [esi + 0x277c]
push eax
call fcn.00428b66
push 0x10
lea eax, [esi + 0x33fc]
push eax
lea eax, [esi + 0x297c]
push eax
call fcn.00428b66
lea eax, [esi + 0x1cb8]
push eax
push str.SystemCurrentControlSetControlClass
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push 0x455344
lea ebp, [esi + 0x3a38]
or dword [ebp], 0xffffffff
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebp
push str.HcDisableSelectiveSuspend
lea eax, [esp + 0x28]
push eax
mov edi, 0x80000002
push edi
call fcn.00429043
test eax, eax
je 0x404f6c
push dword [ebp]
push str.HcDisableSelectiveSuspend_u
push ebx
call fcn.0044fe2e
add esp, 0xc
push str.Device_Parameters
lea eax, [esi + 0xe38]
push eax
push str.SystemCurrentControlSetEnum
lea eax, [esp + 0x2c]
push 0x455538
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x80
lea ebp, [esi + 0x1638]
xor eax, eax
push ebp
mov word [ebp], ax
push str.CustomName
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.00428e72
test eax, eax
je 0x404fc5
push ebp
push str.CustomName_s
push ebx
call fcn.0044fe2e
add esp, 0xc
lea ebp, [esi + 0x3a3c]
or dword [ebp], 0xffffffff
push ebp
push str.EnableSelectiveSuspend
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x404ff5
push dword [ebp]
push str.EnableSelectiveSuspend_u
push ebx
call fcn.0044fe2e
add esp, 0xc
lea ebp, [esi + 0x3a40]
or dword [ebp], 0xffffffff
push ebp
push str.SelectiveSuspendEnabled
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x405025
push dword [ebp]
push str.SelectiveSuspendEnabled_u
push ebx
call fcn.0044fe2e
add esp, 0xc
lea ebp, [esi + 0x3a44]
or dword [ebp], 0xffffffff
push ebp
push str.SelectiveSuspendOn
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x405055
push dword [ebp]
push str.SelectiveSuspendOn_u
push ebx
call fcn.0044fe2e
add esp, 0xc
lea ebp, [esi + 0x3a48]
or dword [ebp], 0xffffffff
push ebp
push str.DeviceSelectiveSuspended
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x405085
push dword [ebp]
push str.DeviceSelectiveSuspended_u
push ebx
call fcn.0044fe2e
add esp, 0xc
or dword [ebp], 0xffffffff
lea ebp, [esi + 0x3a50]
push ebp
push str.EnumerationRetryCount
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x4050b5
push dword [ebp]
push str.EnumerationRetryCount_u
push ebx
call fcn.0044fe2e
add esp, 0xc
or dword [ebp], 0xffffffff
lea ebp, [esi + 0x3a4c]
push ebp
push str.EnhancedPowerManagementEnabled
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x4050e5
push dword [ebp]
push str.EnhancedPowerManagementEnabled_u
push ebx
call fcn.0044fe2e
add esp, 0xc
push str.Device_Parameters
lea eax, [esi + 0xe38]
push eax
push str.SystemCurrentControlSetEnum
lea eax, [esp + 0x2c]
push str._s_s_sWDF
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ebp, [esi + 0x3a54]
or dword [ebp], 0xffffffff
push ebp
push str.IdleInWorkingState
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x405139
push dword [ebp]
push str.IdleInWorkingState_u
push ebx
call fcn.0044fe2e
add esp, 0xc
lea ebp, [esi + 0x3a58]
or dword [ebp], 0xffffffff
push ebp
push str.WakeFromSleepState
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00429043
test eax, eax
je 0x405169
push dword [ebp]
push str.WakeFromSleepState_u
push ebx
call fcn.0044fe2e
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
lea eax, [esi + 0x3680]
cmp word [eax], 0
jne 0x405196
cmp dword [esi + 0x3a74], 0x1c
je 0x405196
push dword [esp + 0x14]
push eax
push dword [esp + 0x20]
call fcn.004013e5
cmp dword [0x51adac], 4
jl 0x4051ba
call edi
sub eax, ebx
push eax
call edi
sub eax, dword [esp + 0x20]
push eax
push str.UpdateRegProps_T0_u_T1_u
push 4
call fcn.0044fe2e
add esp, 0x10
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x410
ret 4