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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x50aa94], 0
push ebx
push esi
push edi
jne 0x442b93
cmp dword [0x50a0e8], 0
jne 0x442b93
mov esi, dword [ebp + 0x10]
xor eax, eax
cmp dword [0x509b18], 5
push esi
push dword [ebp + 0xc]
setne al
mov edi, 0x1f4
mov ebx, 0x3e8
push str.WM_DEVICECHANGE_uEvent_u_lParam0xI08x
push 1
dec eax
and eax, edi
add eax, ebx
mov dword [ebp - 4], eax
call fcn.0044d31e
add esp, 0x10
call fcn.0044d1d6
test esi, esi
je 0x442662
push dword [esi + 4]
call fcn.0044f123
jmp 0x442667
mov eax, 0x4536f0
push eax
push dword [ebp + 0xc]
call fcn.0044f18e
push eax
push str.WM_DEVICECHANGE__DBT__S_db_hdr__dbch_devicetype_S
push 2
call fcn.0044d31e
add esp, 0x10
push esi
push dword [ebp + 0xc]
call fcn.00433007
test eax, eax
je 0x4426a0
push str._ignore
push 2
call fcn.0044d31e
pop ecx
pop ecx
jmp 0x442b93
cmp dword [0x4a1b10], 0
je 0x442b93
mov eax, dword [ebp + 0xc]
cmp eax, 7
je 0x442b62
mov ebx, 0x8000
cmp eax, ebx
je 0x44299d
jbe 0x442b93
cmp eax, 0x8003
jbe 0x44294e
add ebx, 4
cmp eax, ebx
je 0x442812
cmp eax, 0x8006
jne 0x442b93
test esi, esi
jne 0x44271c
push str.Dlg_OnDeviceChange
push 0x1bb5
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044d31e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x442b93
cmp dword [esi + 4], 6
jne 0x442b93
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
lea edi, [esi + 0x14]
push edi
push 0x451740
mov dword [ebp + 0xc], eax
call fcn.00401000
test eax, eax
jne 0x442b93
push edi
call fcn.00449550
push eax
push ebx
push dword [ebp + 0xc]
push str._DBT_DEVTYP_HANDLE_hDev0x_08Ix_hNotify0x_08Ix_guid_S
push 3
call fcn.0044d31e
mov ecx, dword [0x50c78c]
add esp, 0x14
push ebx
call fcn.00401f47
mov esi, eax
test esi, esi
je 0x442b93
lea eax, [esi + 0x1738]
push eax
lea eax, [esi + 0xe38]
push eax
push str._dev_s___s_
push 3
call fcn.0044d31e
add esp, 0x10
push edi
push 0x451710
call fcn.00401000
test eax, eax
jne 0x4427da
push edi
push 0x451720
call fcn.00401000
test eax, eax
jne 0x4427da
push edi
push 0x4516f0
call fcn.00401000
test eax, eax
jne 0x4427da
push edi
push 0x451700
call fcn.00401000
test eax, eax
jne 0x4427da
push str._ignore
push 3
jmp 0x442694
push dword [esi + 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x4383ce
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.0044d31e
add esp, 0x10
jmp 0x442b93
push 0x12340003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x442838
push 0x432e73
push edi
push 0x12340003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
test esi, esi
jne 0x442843
xor eax, eax
jmp 0x442b96
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x442911
lea edi, [esi + 0xc]
push edi
call fcn.004496e4
test eax, eax
jne 0x442868
push 1
push edi
call fcn.004498e6
test eax, eax
je 0x442878
push eax
push str._______________________S_______________________
push 0
call fcn.0044d31e
add esp, 0xc
push 4
pop ebx
cmp dword [0x5168ac], ebx
jl 0x4428b4
push 1
push edi
call fcn.004498e6
push eax
push str._clsguid_S
push ebx
call fcn.0044d31e
add esp, 0xc
cmp dword [0x5168ac], ebx
jl 0x4428b4
lea eax, [esi + 0x1c]
push eax
push str._devpath_s
push ebx
call fcn.0044d31e
add esp, 0xc
xor edi, edi
push edi
push edi
add esi, 0x1c
push esi
call fcn.004402de
test eax, eax
jne 0x442b93
cmp dword [0x5168ac], ebx
jl 0x4428e2
push dword [ebp - 4]
push str.starting_TIMERID_REFRESHTREE_after_DeviceRemoved_returned_false__t_u
push ebx
call fcn.0044d31e
add esp, 0xc
push 0x15227010
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x43d760
push dword [ebp - 4]
push 0x12340001
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push edi
jmp 0x442ad4
cmp eax, 6
jne 0x442b34
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push str.HANDLE
push str._______________________S_______________________
push 0
call fcn.0044d31e
push esi
push edi
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044d31e
add esp, 0x1c
push esi
push ebx
call fcn.004424fe
jmp 0x442b93
test esi, esi
je 0x44283c
push dword [esi + 4]
call fcn.0044f123
push eax
push dword [ebp + 0xc]
call fcn.0044f18e
push eax
push str.WM_DEVICECHANGE__DBT__S_db_hdr__dbch_devicetype_S
push 1
call fcn.0044d31e
add esp, 0x10
cmp dword [esi + 4], 6
jne 0x442b93
mov edi, dword [esi + 0x10]
push edi
push dword [esi + 0xc]
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044d31e
add esp, 0x10
push edi
push dword [ebp + 0xc]
jmp 0x442944
test esi, esi
je 0x44283c
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x442ae3
lea edi, [esi + 0xc]
push edi
call fcn.004496e4
test eax, eax
jne 0x4429ca
push 1
push edi
call fcn.004498e6
test eax, eax
je 0x4429da
push eax
push str.______________________S______________________
push 0
call fcn.0044d31e
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004476fd
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0042e94c
push 4
pop ebx
cmp dword [0x5168ac], ebx
jl 0x442a66
push 1
push edi
call fcn.004498e6
push eax
push str._clsguid_S
push ebx
call fcn.0044d31e
add esp, 0xc
cmp dword [0x5168ac], ebx
jl 0x442a66
lea eax, [esi + 0x1c]
push eax
push str._devpath_s
push ebx
call fcn.0044d31e
add esp, 0xc
cmp dword [0x5168ac], ebx
jl 0x442a66
lea eax, [ebp - 0x20c]
push eax
push str._krnlnam_s
push ebx
call fcn.0044d31e
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x50aac4], eax
xor eax, eax
cmp word [ebp - 0x20c], ax
je 0x442b93
push eax
push edi
push eax
add esi, 0x1c
push esi
call fcn.0043e7bb
test eax, eax
jne 0x442b93
push 0x15227010
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x5168ac], ebx
jl 0x442ab7
push str.starting_TIMERID_REFRESHTREE_after_DeviceArrived_returned_false
push ebx
call fcn.0044d31e
pop ecx
pop ecx
push 0x43d760
push dword [ebp - 4]
push 0x12340001
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push 0
push 0x7f8a
call fcn.0043401d
jmp 0x442b93
cmp eax, 6
jne 0x442b34
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push str.HANDLE
push str.______________________S______________________
push 0
call fcn.0044d31e
push esi
push edi
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044d31e
mov ecx, dword [0x50c78c]
add esp, 0x1c
push esi
call fcn.00401f47
test eax, eax
je 0x442b93
push 0
push 0
push dword [eax + 0x10]
add eax, 0xc30
push eax
call fcn.0043e7bb
jmp 0x442b93
cmp eax, 2
jne 0x442b42
push esi
push ebx
call fcn.00438421
jmp 0x442b93
cmp eax, 3
jne 0x442b93
add esi, 0xc
push esi
push str._name_s
push eax
call fcn.0044d31e
add esp, 0xc
push esi
push ebx
call fcn.00433047
jmp 0x442b93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0x432e73
push edi
push 0x12340003
push dword [ebp + 8]
mov dword [0x50aac4], eax
call esi
push 0x432c81
push ebx
push 0x12340004
push dword [ebp + 8]
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc