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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x50bb7c], 0
push ebx
push esi
push edi
jne 0x44367e
cmp dword [0x50b1d4], 0
jne 0x44367e
mov esi, dword [ebp + 0x10]
xor eax, eax
cmp dword [0x50abf8], 5
push esi
push dword [ebp + 0xc]
setne al
mov edi, 0x1f4
mov ebx, 0x3e8
push str.WM_DEVICECHANGE_uEvent_u_lParam0x_08Ix
push 1
dec eax
and eax, edi
add eax, ebx
mov dword [ebp - 4], eax
call fcn.0044def7
add esp, 0x10
call fcn.0044ddaf
cmp dword [0x517934], 2
jl 0x44315e
test esi, esi
je 0x443140
push dword [esi + 4]
call fcn.0044fcf9
jmp 0x443145
mov eax, 0x4546f0
push eax
push dword [ebp + 0xc]
call fcn.0044fd64
push eax
push str.WM_DEVICECHANGE__DBT__S_db_hdr__dbch_devicetype_S
push 2
call fcn.0044def7
add esp, 0x10
push esi
push dword [ebp + 0xc]
call fcn.00433746
test eax, eax
je 0x44317e
push str._ignore
push 2
call fcn.0044def7
pop ecx
pop ecx
jmp 0x44367e
cmp dword [0x4a2b10], 0
je 0x44367e
mov eax, dword [ebp + 0xc]
cmp eax, 7
je 0x44364d
mov ebx, 0x8000
cmp eax, ebx
je 0x4434bc
jbe 0x44367e
cmp eax, 0x8003
jbe 0x443465
add ebx, 4
cmp eax, ebx
je 0x4432f0
cmp eax, 0x8006
jne 0x44367e
test esi, esi
jne 0x4431fa
push str.Dlg_OnDeviceChange
push 0x1c4e
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044def7
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44367e
cmp dword [esi + 4], 6
jne 0x44367e
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
lea edi, [esi + 0x14]
push edi
push 0x452740
mov dword [ebp + 0xc], eax
call fcn.00401000
test eax, eax
jne 0x44367e
push edi
call fcn.0044a11a
push eax
push ebx
push dword [ebp + 0xc]
push str._DBT_DEVTYP_HANDLE_hDev0x_08Ix_hNotify0x_08Ix_guid_S
push 3
call fcn.0044def7
mov ecx, dword [0x50d7ec]
add esp, 0x14
push ebx
call fcn.00401f47
mov esi, eax
test esi, esi
je 0x44367e
lea eax, [esi + 0x1738]
push eax
lea eax, [esi + 0xe38]
push eax
push str._dev_s___s_
push 3
call fcn.0044def7
add esp, 0x10
push edi
push 0x452710
call fcn.00401000
test eax, eax
jne 0x4432b8
push edi
push 0x452720
call fcn.00401000
test eax, eax
jne 0x4432b8
push edi
push 0x4526f0
call fcn.00401000
test eax, eax
jne 0x4432b8
push edi
push 0x452700
call fcn.00401000
test eax, eax
jne 0x4432b8
push str._ignore
push 3
jmp 0x443172
push dword [esi + 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x438b04
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.0044def7
add esp, 0x10
jmp 0x44367e
push 0x12340003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x443316
push 0x4335b5
push edi
push 0x12340003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
test esi, esi
jne 0x443321
xor eax, eax
jmp 0x443681
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x4433f9
lea edi, [esi + 0xc]
push edi
call fcn.0044a2ae
test eax, eax
jne 0x443346
push 1
push edi
call fcn.0044a4b0
test eax, eax
je 0x443356
push eax
push str._______________________S_______________________
push 0
call fcn.0044def7
add esp, 0xc
push 4
pop ebx
cmp dword [0x517934], ebx
jl 0x443392
push 1
push edi
call fcn.0044a4b0
push eax
push str._clsguid_S
push ebx
call fcn.0044def7
add esp, 0xc
cmp dword [0x517934], ebx
jl 0x443392
lea eax, [esi + 0x1c]
push eax
push str._devpath_s
push ebx
call fcn.0044def7
add esp, 0xc
xor edi, edi
push edi
push edi
add esi, 0x1c
push esi
call fcn.00440bf8
test eax, eax
jne 0x44367e
cmp dword [0x517934], ebx
jl 0x4433c0
push dword [ebp - 4]
push str.starting_TIMERID_REFRESHTREE_after_DeviceRemoved_returned_false__t_u
push ebx
call fcn.0044def7
add esp, 0xc
push 0x15227010
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x43e00a
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.004346f7
jmp 0x44367e
cmp eax, 6
jne 0x44342d
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push str.HANDLE
push str._______________________S_______________________
push 0
call fcn.0044def7
push esi
push edi
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044def7
add esp, 0x1c
push esi
push ebx
jmp 0x4434b2
cmp eax, 2
jne 0x44343e
push esi
push ebx
call fcn.00438b57
jmp 0x44367e
cmp eax, 3
jne 0x44367e
add esi, 0xc
push esi
push str._name_s
push eax
call fcn.0044def7
add esp, 0xc
push esi
push ebx
call fcn.00433786
jmp 0x44367e
test esi, esi
je 0x44331a
push dword [esi + 4]
call fcn.0044fcf9
push eax
push dword [ebp + 0xc]
call fcn.0044fd64
push eax
push str.WM_DEVICECHANGE__DBT__S_db_hdr__dbch_devicetype_S
push 1
call fcn.0044def7
add esp, 0x10
cmp dword [esi + 4], 6
jne 0x44367e
mov edi, dword [esi + 0x10]
push edi
push dword [esi + 0xc]
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044def7
add esp, 0x10
push edi
push dword [ebp + 0xc]
call fcn.00442fd3
jmp 0x44367e
test esi, esi
je 0x44331a
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x4435f8
lea edi, [esi + 0xc]
push edi
call fcn.0044a2ae
test eax, eax
jne 0x4434e9
push 1
push edi
call fcn.0044a4b0
test eax, eax
je 0x4434f9
push eax
push str.______________________S______________________
push 0
call fcn.0044def7
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00448216
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0042ee47
push 4
pop ebx
cmp dword [0x517934], ebx
jl 0x443585
push 1
push edi
call fcn.0044a4b0
push eax
push str._clsguid_S
push ebx
call fcn.0044def7
add esp, 0xc
cmp dword [0x517934], ebx
jl 0x443585
lea eax, [esi + 0x1c]
push eax
push str._devpath_s
push ebx
call fcn.0044def7
add esp, 0xc
cmp dword [0x517934], ebx
jl 0x443585
lea eax, [ebp - 0x20c]
push eax
push str._krnlnam_s
push ebx
call fcn.0044def7
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x50bbac], eax
xor eax, eax
cmp word [ebp - 0x20c], ax
je 0x44367e
push eax
push edi
push eax
add esi, 0x1c
push esi
call fcn.0043f0b9
test eax, eax
jne 0x44367e
push 0x15227010
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x517934], ebx
jl 0x4435d6
push str.starting_TIMERID_REFRESHTREE_after_DeviceArrived_returned_false
push ebx
call fcn.0044def7
pop ecx
pop ecx
push 0x43e00a
push dword [ebp - 4]
push 0x12340001
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push 0
jmp 0x4433ea
cmp eax, 6
jne 0x44342d
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push str.HANDLE
push str.______________________S______________________
push 0
call fcn.0044def7
push esi
push edi
push str.hDev0x_08Ix_hNotify0x_08Ix
push 1
call fcn.0044def7
mov ecx, dword [0x50d7ec]
add esp, 0x1c
push esi
call fcn.00401f47
test eax, eax
je 0x44367e
push 0
push 0
push dword [eax + 0x10]
add eax, 0xc30
push eax
call fcn.0043f0b9
jmp 0x44367e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0x4335b5
push edi
push 0x12340003
push dword [ebp + 8]
mov dword [0x50bbac], eax
call esi
push 0x4333c3
push ebx
push 0x12340004
push dword [ebp + 8]
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc