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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x50efd4], 0
push ebx
push esi
push edi
jne 0x4450d6
cmp dword [0x50e628], 0
jne 0x4450d6
mov esi, dword [ebp + 0x10]
xor eax, eax
cmp dword [0x50e048], 5
push esi
push dword [ebp + 0xc]
setne al
mov edi, 0x1f4
mov ebx, 0x3e8
push str.WM_DEVICECHANGE_uEvent0x_08Ix_lParam0x_08Ix
push 1
dec eax
and eax, edi
add eax, ebx
mov dword [ebp - 4], eax
call fcn.0044fe2e
add esp, 0x10
call fcn.0044fce6
cmp dword [0x51adac], 2
jl 0x444bb6
test esi, esi
je 0x444b98
push dword [esi + 4]
call fcn.00451c4c
jmp 0x444b9d
mov eax, 0x456738
push eax
push dword [ebp + 0xc]
call fcn.00451cb7
push eax
push str.WM_DEVICECHANGE__DBT__S_db_hdr__dbch_devicetype_S
push 2
call fcn.0044fe2e
add esp, 0x10
push esi
push dword [ebp + 0xc]
call fcn.00434888
test eax, eax
je 0x444bd6
push str._ignore
push 2
call fcn.0044fe2e
pop ecx
pop ecx
jmp 0x4450d6
cmp dword [0x4a5b28], 0
je 0x4450d6
mov eax, dword [ebp + 0xc]
cmp eax, 7
je 0x4450a5
mov ebx, 0x8000
cmp eax, ebx
je 0x444f14
jbe 0x4450d6
cmp eax, 0x8003
jbe 0x444ebd
add ebx, 4
cmp eax, ebx
je 0x444d48
cmp eax, 0x8006
jne 0x4450d6
test esi, esi
jne 0x444c52
push str.Dlg_OnDeviceChange
push 0x1d2b
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044fe2e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4450d6
cmp dword [esi + 4], 6
jne 0x4450d6
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
lea edi, [esi + 0x14]
push edi
push 0x454740
mov dword [ebp + 0xc], eax
call fcn.00401000
test eax, eax
jne 0x4450d6
push edi
call fcn.0044bbe9
push eax
push ebx
push dword [ebp + 0xc]
push str._DBT_DEVTYP_HANDLE_hDev0x_08Ix_hNotify0x_08Ix_guid_S
push 3
call fcn.0044fe2e
mov ecx, dword [0x510c44]
add esp, 0x14
push ebx
call fcn.0040209d
mov esi, eax
test esi, esi
je 0x4450d6
lea eax, [esi + 0x1738]
push eax
lea eax, [esi + 0xe38]
push eax
push str._dev_s___s_
push 3
call fcn.0044fe2e
add esp, 0x10
push edi
push 0x454710
call fcn.00401000
test eax, eax
jne 0x444d10
push edi
push 0x454720
call fcn.00401000
test eax, eax
jne 0x444d10
push edi
push 0x4546f0
call fcn.00401000
test eax, eax
jne 0x444d10
push edi
push 0x454700
call fcn.00401000
test eax, eax
jne 0x444d10
push str._ignore
push 3
jmp 0x444bca
push dword [esi + 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x43a01a
push 0x64
push dword [esi + 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x64
push dword [esi + 0x10]
push str._SetTimer__u___i__UpdateStorageProps_TimerProc_
push 4
call fcn.0044fe2e
add esp, 0x10
jmp 0x4450d6
push 0x12340003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x444d6e
push 0x4346f7
push edi
push 0x12340003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
test esi, esi
jne 0x444d79
xor eax, eax
jmp 0x4450d9
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x444e51
lea edi, [esi + 0xc]
push edi
call fcn.0044bd7d
test eax, eax
jne 0x444d9e
push 1
push edi
call fcn.0044bf7f
test eax, eax
je 0x444dae
push eax
push str._______________________S_______________________
push 0
call fcn.0044fe2e
add esp, 0xc
push 4
pop ebx
cmp dword [0x51adac], ebx
jl 0x444dea
push 1
push edi
call fcn.0044bf7f
push eax
push str._clsguid_S
push ebx
call fcn.0044fe2e
add esp, 0xc
cmp dword [0x51adac], ebx
jl 0x444dea
lea eax, [esi + 0x1c]
push eax
push str._devpath_s
push ebx
call fcn.0044fe2e
add esp, 0xc
xor edi, edi
push edi
push edi
add esi, 0x1c
push esi
call fcn.00442601
test eax, eax
jne 0x4450d6
cmp dword [0x51adac], ebx
jl 0x444e18
push dword [ebp - 4]
push str.starting_TIMERIDM_REFRESHTREE_after_DeviceRemoved_returned_false__t_u
push ebx
call fcn.0044fe2e
add esp, 0xc
push 0x15227010
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x43f448
push dword [ebp - 4]
push 0x12340001
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push edi
push 0x7f8a
call fcn.00435888
jmp 0x4450d6
cmp eax, 6
jne 0x444e85
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push str.HANDLE
push str._______________________S_______________________
push 0
call fcn.0044fe2e
push esi
push edi
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044fe2e
add esp, 0x1c
push esi
push ebx
jmp 0x444f0a
cmp eax, 2
jne 0x444e96
push esi
push ebx
call fcn.0043a06d
jmp 0x4450d6
cmp eax, 3
jne 0x4450d6
add esi, 0xc
push esi
push str._name_s
push eax
call fcn.0044fe2e
add esp, 0xc
push esi
push ebx
call fcn.004348c8
jmp 0x4450d6
test esi, esi
je 0x444d72
push dword [esi + 4]
call fcn.00451c4c
push eax
push dword [ebp + 0xc]
call fcn.00451cb7
push eax
push str.WM_DEVICECHANGE__DBT__S_db_hdr__dbch_devicetype_S
push 1
call fcn.0044fe2e
add esp, 0x10
cmp dword [esi + 4], 6
jne 0x4450d6
mov edi, dword [esi + 0x10]
push edi
push dword [esi + 0xc]
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044fe2e
add esp, 0x10
push edi
push dword [ebp + 0xc]
call fcn.00444a2a
jmp 0x4450d6
test esi, esi
je 0x444d72
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x445050
lea edi, [esi + 0xc]
push edi
call fcn.0044bd7d
test eax, eax
jne 0x444f41
push 1
push edi
call fcn.0044bf7f
test eax, eax
je 0x444f51
push eax
push str.______________________S______________________
push 0
call fcn.0044fe2e
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00449c78
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0042feaa
push 4
pop ebx
cmp dword [0x51adac], ebx
jl 0x444fdd
push 1
push edi
call fcn.0044bf7f
push eax
push str._clsguid_S
push ebx
call fcn.0044fe2e
add esp, 0xc
cmp dword [0x51adac], ebx
jl 0x444fdd
lea eax, [esi + 0x1c]
push eax
push str._devpath_s
push ebx
call fcn.0044fe2e
add esp, 0xc
cmp dword [0x51adac], ebx
jl 0x444fdd
lea eax, [ebp - 0x20c]
push eax
push str._krnlnam_s
push ebx
call fcn.0044fe2e
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x50f004], eax
xor eax, eax
cmp word [ebp - 0x20c], ax
je 0x4450d6
push eax
push edi
push eax
add esi, 0x1c
push esi
call fcn.004404f6
test eax, eax
jne 0x4450d6
push 0x15227010
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x51adac], ebx
jl 0x44502e
push str.starting_TIMERIDM_REFRESHTREE_after_DeviceArrived_returned_false
push ebx
call fcn.0044fe2e
pop ecx
pop ecx
push 0x43f448
push dword [ebp - 4]
push 0x12340001
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push 0
jmp 0x444e42
cmp eax, 6
jne 0x444e85
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push str.HANDLE
push str.______________________S______________________
push 0
call fcn.0044fe2e
push esi
push edi
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044fe2e
mov ecx, dword [0x510c44]
add esp, 0x1c
push esi
call fcn.0040209d
test eax, eax
je 0x4450d6
push 0
push 0
push dword [eax + 0x10]
add eax, 0xc30
push eax
call fcn.004404f6
jmp 0x4450d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0x4346f7
push edi
push 0x12340003
push dword [ebp + 8]
mov dword [0x50f004], eax
call esi
push 0x434505
push ebx
push 0x12340004
push dword [ebp + 8]
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc