Function at 0x4369ef
Capabilities:
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp esi, ebx
je 0x436a16
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x46d1d4
cmp dword [0x4fc58c], ebx
jne 0x436a3a
push 0x10
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.0043f43e
add esp, 0xc
test eax, eax
je 0x438131
push 0x10
lea eax, [ebp - 0x2c]
push eax
push 0x46d174
mov dword [ebp - 0x14], ebx
call fcn.0043f43e
add esp, 0xc
test eax, eax
je 0x436a7d
push 0x10
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.0043f43e
add esp, 0xc
test eax, eax
je 0x436a7d
cmp dword [ebp + 0xc], ebx
je 0x436a84
push dword [ebp + 0xc]
call fcn.0042e006
test eax, eax
jne 0x436a84
jmp 0x438131
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
push 3
pop esi
cmp word [eax], bx
je 0x436a91
xor esi, esi
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00441097
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.DeviceArrived__s___u___S_...
push esi
call fcn.004453fb
xor eax, eax
mov edi, 0x18e
push edi
mov word [ebp - 0x588], ax
lea eax, [ebp - 0x586]
push ebx
push eax
call fcn.0043f481
mov esi, dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
add esp, 0x20
push ebx
push 0xc8
lea eax, [ebp - 0x588]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x436afe
lea eax, [ebp - 0x588]
push eax
push str._devid_s
push 3
call fcn.004453fb
add esp, 0xc
cmp dword [0x4fc540], ebx
je 0x438131
cmp dword [0x4fa850], ebx
jne 0x438131
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x436b7a
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
test eax, eax
jne 0x438131
mov eax, dword [0x4fc544]
push dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.00405939
test eax, eax
je 0x438131
push dword [ebp + 8]
mov ecx, dword [0x4fc544]
call fcn.00401ad7
cmp eax, ebx
je 0x438131
push eax
call fcn.0042ff61
jmp 0x438131
push dword [ebp + 8]
call fcn.0042dfce
test eax, eax
je 0x436b99
push str._blacklisted_device_interface____ignore
push 1
call fcn.004453fb
pop ecx
pop ecx
jmp 0x438131
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
jne 0x436bd5
push ebx
push dword [ebp + 8]
call fcn.0044429d
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x436bbd
push str._DevInst_not_determined____ignore
push 3
jmp 0x436b8d
cmp dword [ebp - 0x14], ebx
jne 0x436bd5
push dword [ebp + 0xc]
call fcn.0042e006
test eax, eax
jne 0x436bd5
push str._not_USB_related____ignore
jmp 0x436bb9
xor eax, eax
push edi
mov word [ebp - 0x920], ax
lea eax, [ebp - 0x91e]
push ebx
push eax
mov dword [ebp + 0x10], ebx
call fcn.0043f481
add esp, 0xc
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
push ebx
push 0xc8
lea eax, [ebp - 0x920]
push eax
push dword [ebp + 0x10]
call esi
lea eax, [ebp - 0x920]
push eax
push dword [ebp + 0x10]
push str._parent_devinst_u_id_s
push 3
call fcn.004453fb
add esp, 0x10
push str.ROOTVOLMGR_
lea eax, [ebp - 0x920]
xor edi, edi
push eax
mov dword [ebp - 8], edi
call fcn.004254e1
test eax, eax
jne 0x436cb8
push dword [ebp + 0x10]
mov ecx, dword [0x4fc544]
call fcn.00401ad7
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, ebx
je 0x436c85
cmp dword [edi + 8], ebx
jne 0x436cb8
push dword [ebp + 0x10]
push str._parent_seems_not_present____fake_an_arrival_notification
push 3
call fcn.004453fb
add esp, 0xc
push ebx
push dword [ebp + 0x10]
lea eax, [edi + 0xc2c]
push eax
call fcn.004369ef
jmp 0x436cb8
push dword [ebp + 0x10]
push str._parent_unknown_yet____fake_an_arrival_notification
push 3
call fcn.004453fb
add esp, 0xc
push ebx
push dword [ebp + 0x10]
push 0x449d34
call fcn.004369ef
push dword [ebp + 0x10]
mov ecx, dword [0x4fc544]
call fcn.00401ad7
mov edi, eax
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
mov ecx, dword [0x4fc544]
call fcn.00401ad7
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x436d61
lea eax, [ebx + 0xe34]
push eax
push dword [ebx + 4]
push str.device_found_in_DevList_at_idx_i__devid_s
push 3
call fcn.004453fb
mov ecx, dword [0x4fc544]
add esp, 0x10
push ebx
call fcn.00403297
cmp edi, esi
je 0x436d03
push ebx
mov ecx, edi
call fcn.00401063
mov ecx, dword [0x4fc540]
push esi
push dword [ebp + 0xc]
call fcn.004072a3
mov ecx, dword [0x4fc540]
push 1
push dword [ebp + 0xc]
mov edi, eax
call fcn.004072a3
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x436d41
mov eax, dword [eax + 0xfc0]
cmp eax, esi
je 0x436d41
mov ecx, dword [0x4fc544]
push eax
call fcn.004011ae
cmp edi, esi
je 0x436e39
mov eax, dword [edi + 0x10]
mov byte [edi + 0xc5c], 0
cmp eax, 0xa
jne 0x436d9b
mov dword [edi + 0x10], 9
jmp 0x436da7
push dword [ebp + 0xc]
push str.new_device____DevInst_u
push 3
call fcn.004453fb
mov ecx, dword [0x4fc544]
add esp, 0xc
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 8]
inc edi
mov dword [ebp - 0x10], edi
call fcn.004042cc
mov ebx, eax
cmp ebx, esi
jne 0x436d03
mov eax, edi
jmp 0x438134
cmp eax, 7
jne 0x436da7
mov dword [edi + 0x10], 6
mov eax, dword [edi + 0xfc0]
cmp eax, esi
je 0x436e39
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x436e39
cmp word [ebp - 0x588], si
je 0x436dfe
add eax, 0xe34
push eax
lea eax, [ebp - 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436dfe
xor eax, eax
mov dword [edi + 0xfc0], esi
mov word [edi + 0x860], ax
mov word [edi + 0x18], ax
mov word [edi + 0x41c], ax
mov word [edi + 0xa5c], ax
mov dword [edi + 0xffc], esi
mov dword [edi + 0xfe0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.set_JustArrivedRemovedJUST_ARRIVED_ArrivalRemovalT_u
push 4
mov dword [edi + 0xfdc], eax
call fcn.004453fb
add esp, 0xc
mov ecx, edi
call fcn.00409ea4
push esi
push esi
push edi
call fcn.004330e9
push str.3abf6f2d_71c4_462a_8a92_1e6861e6af27
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x436f0a
push str.device_is_a_host_controller
push 3
call fcn.004453fb
pop ecx
pop ecx
cmp edi, esi
je 0x436f32
mov eax, dword [edi + 0xfc0]
cmp eax, esi
je 0x436f32
cmp dword [eax + 0x39e4], 0x2d
je 0x436f32
cmp eax, esi
je 0x436f32
mov ecx, dword [0x4fc544]
push eax
call fcn.004011ae
test eax, eax
je 0x436f32
mov ebx, dword [edi + 0xfc0]
xor eax, eax
inc eax
mov dword [edi + 0xcdc], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x3a78], esi
mov ecx, dword [0x4fc544]
push ebx
call fcn.00404767
mov ecx, dword [0x4fc544]
push ebx
call fcn.00403297
lea eax, [edi + 0xfa8]
mov ecx, dword [eax]
cmp ecx, esi
je 0x436ef5
mov dword [ecx + 0x60c], edi
push dword [eax]
mov ecx, dword [0x4fc540]
call fcn.004075c0
test eax, eax
je 0x436f32
push 1
mov ecx, edi
call fcn.00409ef4
mov ecx, edi
call fcn.0040bbdc
jmp 0x438131
push esi
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
cmp eax, esi
je 0x436f39
push eax
call fcn.00440629
push eax
push str._cr_S_getting_parent
push 3
call fcn.004453fb
add esp, 0xc
xor eax, eax
jmp 0x438134
cmp dword [0x506bac], 3
jl 0x43701c
push esi
push 0xc8
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
test eax, eax
jne 0x43701c
lea ecx, [ebp - 0x60]
call fcn.0043ca27
lea ecx, [ebp - 0x60]
call fcn.0043ce90
push 0x1fc
lea eax, [ebp - 0x3ec]
push esi
push eax
mov dword [ebp - 0x3f0], esi
call fcn.0043f481
push 0x1fc
lea eax, [ebp - 0x784]
push esi
push eax
mov dword [ebp - 0x788], esi
call fcn.0043f481
add esp, 0x18
lea eax, [ebp - 0x788]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x60]
call fcn.0043cab5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp + 0x10]
push str.ParentDevInst_u___s_
push 3
call fcn.004453fb
add esp, 0x10
cmp dword [ebp - 8], esi
mov dword [ebp - 4], esi
jle 0x437014
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x788]
push dword [ebp + eax*4 - 0x3f0]
push eax
push str.DevPath__i__s___s_
push 3
call fcn.004453fb
add esp, 0x14
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x436fe8
lea ecx, [ebp - 0x60]
call fcn.0043ce6f
cmp edi, esi
jne 0x4371f5
cmp dword [ebp + 0x10], esi
je 0x4371f5
mov ecx, dword [0x4fc540]
push esi
push dword [ebp + 0x10]
call fcn.004072a3
cmp eax, esi
jne 0x437078
push esi
push dword [ebp + 0x10]
push 0x449d34
call fcn.004369ef
mov ecx, dword [0x4fc540]
push esi
push dword [ebp + 0x10]
call fcn.004072a3
cmp eax, esi
jne 0x437078
cmp dword [ebp - 0x14], esi
jne 0x437078
push dword [ebp + 0xc]
call fcn.00444048
neg eax
sbb eax, eax
inc eax
jmp 0x438134
xor eax, eax
push 0x18e
mov word [ebp - 0x1f0], ax
lea eax, [ebp - 0x1ee]
push esi
push eax
call fcn.0043f481
add esp, 0xc
push esi
push 0xc8
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
test eax, eax
jne 0x4371f5
push str.USBVID_
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
lea ecx, [ebp - 0x1f0]
cmp eax, ecx
jne 0x4371f5
mov ecx, dword [0x4fc540]
push esi
push dword [ebp + 0x10]
call fcn.004072a3
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, esi
jne 0x4371f5
cmp dword [0x506bac], 4
jl 0x43710f
lea eax, [ebp - 0x1f0]
push eax
push str.node_for_parent_dev_not_found___s_
push 4
call fcn.004453fb
add esp, 0xc
mov esi, str._usb
lea edi, [ebp - 0x3f8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1f6
lea eax, [ebp - 0x3e6]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0043f481
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x3f8]
push eax
call esi
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x23
pop eax
mov word [ebp - 0x3c6], ax
push 0x44a798
lea eax, [ebp - 0x3f8]
push eax
call esi
and dword [ebp - 0x30], 0
and dword [ebp - 8], 0
mov eax, str.a5dcbf10_6530_11d2_901f_00c04fb951ed
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], str.f18a0e88_c30c_11d0_8815_00a0c906bed8
mov dword [ebp - 0x34], str.3abf6f2d_71c4_462a_8a92_1e6861e6af27
mov edi, eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x790]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
lea eax, [ebp - 0x790]
push eax
call esi
push 0
lea eax, [ebp - 0x790]
push eax
call fcn.00428b31
test eax, eax
jne 0x4371d1
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov edi, dword [ebp + eax*4 - 0x3c]
test edi, edi
jne 0x437191
jmp 0x4371f0
push str.arrival_notification_for_child_of_an_unknown_USB_device_received__SILEX______fake_notification_for_USB_dev
push 1
call fcn.004453fb
pop ecx
pop ecx
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x790]
push eax
call fcn.004369ef
mov edi, dword [ebp - 4]
xor esi, esi
push edi
call fcn.00406b7b
test eax, eax
je 0x4373a1
push dword [edi + 0xfc0]
mov ecx, dword [0x4fc544]
call fcn.004011ae
test eax, eax
je 0x4373a1
mov eax, dword [edi + 0xfc0]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x4373a1
mov ecx, dword [0x4fc544]
mov ebx, eax
push ebx
call fcn.00403297
push esi
mov dword [ebp - 8], esi
push dword [ebx + 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0x39e0]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Status]
cmp eax, esi
je 0x437286
cmp dword [0x506bac], 4
jl 0x437277
push eax
call fcn.00440629
push eax
push str.CM_Get_DevNode_Status__cret_S
push 4
call fcn.004453fb
add esp, 0xc
mov dword [ebx + 0x39e4], 0x2d
jmp 0x438131
push dword [ebx + 0x39e4]
push dword [ebp - 8]
push dword [ebx + 0x10]
push dword [edi + 8]
push edi
push str.found_pTNI0x_08Ix_hti0x_08Ix__DevInst_u_Prob_u__was__u_
push 3
call fcn.004453fb
mov ecx, dword [ebx + 0x39e4]
mov eax, dword [ebp - 8]
add esp, 0x1c
cmp ecx, esi
jne 0x43730f
cmp eax, esi
jne 0x437313
mov ecx, dword [0x4fc544]
push ebx
call fcn.00402cf3
test eax, eax
jne 0x437301
cmp dword [edi + 0xfe0], 1
jne 0x438131
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0xfdc]
cmp eax, 0x3e8
jae 0x438131
cmp dword [0x506bac], 4
jl 0x437301
push str.same_device_arrived_again____dont_care
push 4
call fcn.004453fb
pop ecx
pop ecx
push 1
mov ecx, edi
call fcn.00409ef4
jmp 0x438131
cmp eax, esi
je 0x437348
cmp ecx, eax
jne 0x437339
cmp dword [0x506bac], 4
jl 0x438131
push ecx
push str.device_same_problem_code_as_before___i_____dont_care
push 4
call fcn.004453fb
add esp, 0xc
jmp 0x438131
cmp eax, esi
je 0x437348
cmp ecx, esi
je 0x437348
mov dword [ebp - 0x1c], 1
push dword [ebp + 8]
mov dword [ebx + 0x39e4], eax
lea eax, [ebx + 0xc2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2e
pop eax
mov word [ebx + 0xc30], ax
cmp dword [ebx + 0x3a28], esi
jne 0x437378
cmp dword [ebx + 0x3a2c], esi
je 0x43739a
lea eax, [ebx + 0xc2c]
push eax
call fcn.00429c05
push str.PutStorageProps_ThreadProc
push edi
push 0x42fc22
mov dword [ebx + 0x3a20], eax
call fcn.00425190
mov ecx, edi
call fcn.0040bba7
cmp ebx, esi
je 0x436f32
mov eax, dword [ebp + 8]
mov dword [ebx + 8], 1
cmp word [eax], si
je 0x4373cd
lea eax, [ebx + 0xc2c]
cmp word [eax], si
jne 0x4373cd
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x10], esi
jne 0x4373de
mov ecx, dword [0x4fc544]
push ebx
call fcn.00403297
mov dword [ebx + 0x3a78], esi
mov ecx, dword [0x4fc544]
push ebx
call fcn.00404767
lea eax, [ebx + 0x1c34]
push eax
push str._DriverKeyName_s
push 3
call fcn.004453fb
add esp, 0xc
cmp dword [ebp - 0x14], esi
je 0x437599
mov eax, dword [ebx + 0x3a74]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x437599
push dword [eax + 0x83c]
mov ecx, dword [0x4fc544]
push dword [eax + 0x840]
call fcn.00401cb1
mov edi, eax
cmp edi, esi
je 0x437573
lea eax, [edi + 0xe34]
push eax
push str.device_is_a_volume____drive_is__s
push 3
call fcn.004453fb
mov ecx, dword [0x4fc540]
add esp, 0xc
xor esi, esi
inc esi
push esi
push dword [edi + 0x14]
call fcn.004072a3
test eax, eax
je 0x43747b
push esi
mov ecx, eax
mov dword [eax + 0xcdc], esi
call fcn.00409ef4
cmp dword [0x492a60], 0
je 0x437573
mov ecx, dword [0x4fc540]
push 0
push dword [edi + 0x10]
call fcn.004072a3
mov edi, eax
test edi, edi
je 0x437573
mov ecx, dword [0x4fc540]
push 0
push dword [ebp + 0xc]
call fcn.004072a3
mov esi, eax
test esi, esi
je 0x4374cb
xor eax, eax
inc eax
push eax
mov ecx, esi
mov dword [esi + 0xcdc], eax
call fcn.00409ef4
jmp 0x437533
mov ecx, dword [0x4fc540]
call fcn.0040754f
mov esi, eax
xor eax, eax
inc eax
mov dword [esi + 0xd48], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0xfc0], ebx
mov dword [esi + 0xfe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
lea eax, [esi + 0x18]
push eax
push 0
push esi
call fcn.004094de
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004094de
push dword [esi + 0x81c]
push esi
push dword [edi + 8]
call fcn.00432f94
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040bbdc
push str.PutStorageProps_ThreadProc
push esi
push 0x42fc22
call fcn.00425190
mov ecx, edi
call fcn.00406cb0
cmp dword [0x492a54], 0
jne 0x43755c
cmp dword [0x492a5c], 0
je 0x437573
mov ecx, dword [edi + 0xd48]
call fcn.00406cb0
push dword [0x4fa148]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004320cf
mov eax, dword [ebp - 4]
push 0x434c30
push 0x7d0
push dword [eax + 0x10]
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x438131
push 0x44a150
lea eax, [ebx + 0xfc4]
push eax
call fcn.0042549b
test eax, eax
je 0x4375c7
push 0x42e199
push 0x7d0
push dword [ebx + 0x10]
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_SetTimer]
push str.determining_the_parent_node...
push 3
call fcn.004453fb
pop ecx
pop ecx
mov ecx, dword [0x4fc540]
push esi
push dword [ebp + 0x10]
call fcn.004072a3
mov dword [ebp - 0xc], eax
cmp eax, esi
jne 0x437674
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x44b138
lea eax, [ebx + 0x1d8e]
push eax
call edi
test eax, eax
jne 0x43765a
push 0x44a8d0
add ebx, 0x1e0e
push ebx
call edi
test eax, eax
jne 0x43765a
push 0x15227010
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x4368e9
push 0x1f4
push 0x12340001
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push esi
push 0x7f8a
call fcn.0042eaf5
jmp 0x438131
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.parent_device_not_found_in_tree____dont_care___s___u_
push 3
call fcn.004453fb
add esp, 0x10
jmp 0x438131
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x10]
xor esi, esi
cmp eax, 3
jne 0x437894
mov ecx, dword [ecx + 0xfa8]
cmp dword [ecx + 0x614], 1
jne 0x437894
mov ecx, dword [0x4fc540]
and dword [ebp + 8], esi
push esi
push dword [ebp + 0xc]
call fcn.004072a3
mov esi, eax
test esi, esi
jne 0x4376d6
mov ecx, dword [0x4fc540]
call fcn.0040754f
xor edi, edi
mov esi, eax
inc edi
mov dword [ebp + 8], edi
test esi, esi
jne 0x4376d9
push 0xc8
call fcn.00431fd9
jmp 0x436f32
xor edi, edi
inc edi
mov eax, dword [ebp - 0xc]
and dword [esi + 0xffc], 0
mov dword [esi + 0xd48], eax
mov dword [esi + 0x10], 4
mov dword [esi + 0xfc0], ebx
mov dword [esi + 0xfe0], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xcdc], edi
mov eax, dword [eax + 0xfc0]
push 0x684
mov dword [esi + 0xfcc], eax
call fcn.0043f641
mov dword [esi + 0xfac], eax
mov dword [eax], edi
mov eax, dword [esi + 0xfac]
mov dword [eax + 0x284], esi
mov eax, dword [esi + 0xfac]
pop ecx
add ebx, 0xc34
push ebx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xfc0]
push dword [eax + 0x10]
mov eax, dword [0x4fc540]
mov ecx, dword [eax]
call fcn.0040bf53
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4376c7
push 0x46b0b8
push 0
push 0x7f8a
call fcn.0042eaf5
cmp dword [esi + 8], 0
jne 0x4377b2
mov eax, dword [esi + 0xfc0]
add eax, 0x1834
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax + 8]
call fcn.00432f94
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040bbdc
mov ecx, dword [ebp - 0xc]
call fcn.00406cb0
inc ebx
push ebx
lea eax, [esi + 0xcf6]
push 0x44c504
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x4fc540]
add esp, 0xc
push esi
call fcn.004076ae
mov eax, dword [esi + 0xfac]
xor ebx, ebx
cmp dword [eax + 8], ebx
je 0x4377fe
mov ecx, dword [0x4fc540]
call fcn.0040878e
push esi
push dword [esi + 8]
call fcn.004351cc
cmp dword [ebp + 8], ebx
jne 0x43780b
push edi
push ebx
push esi
call fcn.004330e9
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x437845
mov ecx, dword [eax + 0x39e4]
add eax, 0x1834
cmp ecx, ebx
je 0x437842
push ecx
push eax
push str._s_attached_with_problem__u
push dword [0x492a44]
push edi
push dword [0x4fa870]
call fcn.004055ed
add esp, 0x18
jmp 0x437864
push eax
jmp 0x43784a
push str.USB_Root_Hub
push str._s_attached
push dword [0x492a44]
push edi
push dword [0x4fa870]
call fcn.004055ed
add esp, 0x14
push edi
push ebx
push dword [ebp - 0xc]
call fcn.004330e9
call fcn.0042e378
call fcn.00432320
push ebx
call fcn.0042e506
mov ecx, esi
call fcn.0040bbdc
push 0x320
call fcn.00431fd9
jmp 0x436d94
cmp eax, 6
je 0x437add
cmp eax, 4
je 0x437add
cmp eax, 5
je 0x437add
cmp eax, 9
je 0x4378dd
cmp eax, 0xa
je 0x4378dd
cmp eax, 1
je 0x4378dd
cmp eax, 3
jne 0x438100
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xfa8]
cmp dword [eax + 0x614], 1
je 0x438100
lea eax, [ebx + 0xe34]
push eax
push str.new_child_device:__s
push 4
call fcn.004453fb
add esp, 0xc
cmp dword [0x492a60], 0
je 0x437a5e
mov ecx, dword [0x4fc540]
push 0
push dword [ebp + 0xc]
call fcn.004072a3
mov esi, eax
test esi, esi
jne 0x43792e
mov ecx, dword [0x4fc540]
call fcn.0040754f
mov edi, dword [ebp - 0xc]
mov esi, eax
mov dword [esi + 0xd48], edi
jmp 0x437931
mov edi, dword [ebp - 0xc]
cmp dword [esi + 8], 0
jne 0x437a30
and dword [esi + 0xffc], 0
xor eax, eax
inc eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xfc0], ebx
mov dword [esi + 0xfe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
mov dword [esi + 0xcdc], 1
mov eax, dword [edi + 0xfc0]
mov dword [esi + 0xfcc], eax
lea eax, [esi + 0x18]
push eax
push 0
push esi
mov dword [esi + 0xd48], edi
call fcn.004094de
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004094de
push dword [esi + 0x81c]
push esi
push dword [edi + 8]
call fcn.00432f94
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040bbdc
cmp dword [ebx + 0x3a2c], 0
je 0x4379cc
push str.PutStorageProps_ThreadProc
push esi
push 0x42fc22
call fcn.00425190
xor ebx, ebx
cmp dword [edi + 0xff8], ebx
jne 0x437a29
cmp dword [edi + 0x10], 1
je 0x4379ec
cmp dword [0x492a5c], ebx
jne 0x4379ec
cmp dword [0x492a54], ebx
je 0x437a03
mov ecx, edi
call fcn.00406cb0
cmp dword [0x492a54], ebx
jne 0x437a29
cmp dword [0x492a5c], ebx
jne 0x437a29
mov eax, dword [edi + 0x10]
cmp eax, 9
je 0x437a10
cmp eax, 0xa
jne 0x437a29
push dword [edi + 8]
push dword [0x4fa148]
call fcn.00426efb
test eax, eax
je 0x437a29
mov ecx, edi
call fcn.00406d21
mov ecx, esi
call fcn.0040bbdc
mov eax, dword [esi + 0xd48]
test eax, eax
je 0x437a5e
mov eax, dword [eax + 0xfc0]
test eax, eax
je 0x437a5e
add eax, 0x39e4
cmp dword [eax], 0
je 0x437a5e
and dword [eax], 0
mov ecx, dword [esi + 0xd48]
push 0
call fcn.00409ef4
mov esi, dword [ebp - 0x18]
xor edi, edi
inc edi
test esi, esi
jne 0x437a7d
mov ecx, dword [0x4fc540]
push edi
push dword [ebp + 0xc]
call fcn.004072a3
mov esi, eax
test esi, esi
je 0x437a9a
mov eax, dword [esi + 0xfc0]
add eax, 0xe34
push eax
push str.pUsbTNI_s
push 4
call fcn.004453fb
add esp, 0xc
jmp 0x437aa8
push str.pUsbTNI_is_NULL
push 4
call fcn.004453fb
pop ecx
pop ecx
test esi, esi
je 0x437d71
lea eax, [esi + 0x18]
push eax
push 0
push esi
call fcn.004094de
lea eax, [esi + 0x41c]
push eax
push edi
push esi
call fcn.004094de
push edi
mov ecx, esi
mov dword [esi + 0xcdc], edi
call fcn.00409ef4
jmp 0x437d71
cmp dword [0x4f9b48], 6
jb 0x437b0f
push str.Port_0
lea eax, [ebx + 0x1b34]
push eax
call fcn.0042549b
test eax, eax
je 0x437b0f
lea eax, [ebx + 0x1b40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x437b18
mov eax, dword [ebx + 0x39d8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str._portnumber_i
push 3
call fcn.004453fb
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xfc0]
mov eax, dword [eax + 0xfac]
add esp, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4376c7
xor ecx, ecx
cmp eax, ecx
je 0x4376c7
cmp dword [eax + 8], ecx
je 0x4376c7
cmp dword [0x492a58], ecx
je 0x437b90
cmp dword [0x492a54], ecx
je 0x437b90
cmp edi, ecx
je 0x437b90
cmp dword [edi + 0x10], 1
jne 0x437b90
cmp dword [edi + 0xff8], ecx
jne 0x437b90
mov ecx, dword [ebp - 0xc]
call fcn.00406cb0
push dword [0x4fa148]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [0x506bac], 4
jl 0x437bb1
mov eax, dword [ebp - 4]
add eax, 0xc2c
push eax
push str.open_hub__s_...
push 4
call fcn.004453fb
add esp, 0xc
mov eax, dword [ebp - 4]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 3
add eax, 0xc2c
push 0x80000000
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x437c5d
push dword [ebp - 0x18]
call fcn.00443016
push eax
push str.err_S_opening_hub__s
push 1
call fcn.004453fb
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x437c26
push str.DeviceArrived
push 0x19ce
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.004453fb
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0
jne 0x4380f7
test esi, esi
je 0x4380f2
mov eax, dword [esi + 0xfc0]
add esi, 0xcf6
push esi
test eax, eax
je 0x4380d2
add eax, 0x1834
push eax
push str._s_attached_to_port__s
jmp 0x4380dc
cmp word [ebx + 0x1c34], 0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x437cdb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
jmp 0x437cbc
push str._device_not_found_on_any_port
push 3
call fcn.004453fb
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x1388
ja 0x437d27
push dword [ebp + 0xc]
call fcn.00444048
test eax, eax
je 0x437d3a
push str.__try_again_in_100_ms...
push 3
call fcn.004453fb
pop ecx
pop ecx
push 0x64
call esi
push dword [ebp - 0x10]
lea eax, [ebx + 0x1c34]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push dword [ebp - 4]
call fcn.00408985
mov dword [ebp - 0x10], eax
test eax, eax
je 0x437c78
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*4 + 0x284]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
test eax, eax
jne 0x437d44
push dword [ebp - 0x10]
push str._pHubInfo__pTNIs__i__is_NULL
push 3
call fcn.004453fb
push str.DeviceArrived
push 0x19ea
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.004453fb
add esp, 0x20
push 0x64
call esi
jmp 0x4376c7
push str._____give_up_for_full_enumeration
push 3
call fcn.004453fb
pop ecx
pop ecx
jmp 0x436f32
push str.__because_no_more_present
jmp 0x436bb9
cmp dword [eax + 4], 0x1000
jle 0x437d7b
push str.DeviceArrived
push 0x19ef
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.004453fb
add esp, 0x14
push 0x64
call esi
xor edi, edi
push 0xc8
jmp 0x43788a
push 0x46af3c
push 0
push 0x7f8a
call fcn.0042eaf5
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [esi + 0xfe0], 1
mov dword [esi + 0xfc0], ebx
cmp dword [0x506bac], 4
jl 0x437dbe
push ebx
push dword [esi + 8]
push esi
push str.pPortTNI0x_08Ix__pPortTNI__hTreeItem0x_08Ix_pPortTNI__pDeviceInfo0x_08Ix
push 4
call fcn.004453fb
add esp, 0x14
xor eax, eax
push esi
push dword [ebp - 0x14]
mov word [esi + 0x18], ax
push dword [ebp - 4]
mov word [esi + 0x41c], ax
mov word [esi + 0x860], ax
mov word [esi + 0xa5c], ax
mov word [esi + 0xdac], ax
mov ecx, dword [0x4fc540]
call fcn.0040a6f0
push dword [esi + 0xd48]
mov ecx, dword [0x4fc540]
push esi
call fcn.00408042
mov eax, dword [esi + 0x10]
cmp eax, 9
je 0x437e11
cmp eax, 0xa
jne 0x437e24
xor ebx, ebx
cmp word [esi + 0xa5c], bx
jne 0x437e26
push esi
call fcn.0042c7f9
jmp 0x437e26
xor ebx, ebx
lea eax, [esi + 0x18]
push eax
push ebx
push esi
call fcn.004094de
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004094de
mov ecx, esi
call fcn.0040bbdc
xor eax, eax
inc eax
push eax
mov ecx, esi
mov dword [esi + 0xcdc], eax
call fcn.00409ef4
cmp dword [0x4fc570], ebx
je 0x437ea4
cmp dword [0x492a54], ebx
jne 0x437e72
cmp edi, ebx
je 0x437ea4
cmp dword [edi + 0x10], 1
jle 0x437ea4
push dword [esi + 8]
push 9
push 0x110b
push dword [0x4fa148]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xff8], ebx
jne 0x437ea4
mov ecx, dword [ebp - 0xc]
call fcn.00406cb0
push dword [0x4fa148]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xc8
call fcn.00431fd9
mov eax, dword [esi + 0xfb0]
cmp eax, ebx
je 0x437c26
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x437c26
cmp byte [eax + 0x18], 0
je 0x437c26
cmp dword [esi + 0x10], 7
je 0x437ede
mov dword [esi + 0x10], 6
cmp dword [esi + 0xfac], ebx
jne 0x437efd
push 0x684
call fcn.0043f641
mov dword [esi + 0xfac], eax
inc dword [0x4f988c]
pop ecx
mov eax, dword [esi + 0xfac]
lea ecx, [eax + 0x21c]
push ecx
add eax, 0x14
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0042b0c6
test eax, eax
jne 0x437f44
mov edi, dword [ebp + 8]
push edi
push str.ERROR:_hub_does_not_provide_a_symname__using_devpath_instead___s_
push 1
call fcn.004453fb
mov eax, dword [esi + 0xfac]
add esp, 0xc
add edi, 8
push edi
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x506bac], 4
jl 0x437f66
mov eax, dword [esi + 0xfac]
add eax, 0x14
push eax
push str.device_is_a_hub__symname_s
push 4
call fcn.004453fb
add esp, 0xc
cmp dword [esi + 0xfc0], ebx
je 0x4380c2
push 0x46ae88
push ebx
push 0x7f8a
call fcn.0042eaf5
mov eax, dword [esi + 0xfc0]
add eax, 0xc2c
cmp word [eax], bx
jne 0x437fb0
mov ecx, dword [esi + 0xfac]
add ecx, 0x14
cmp word [ecx], bx
je 0x437fb0
push ecx
push str.._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [esi + 0xfc0]
cmp word [eax + 0xc2c], bx
je 0x438012
call fcn.0042e378
call fcn.00432320
push ebx
call fcn.0042e506
mov ecx, dword [0x4fc540]
push esi
call fcn.004076ae
mov eax, dword [esi + 0xfac]
cmp dword [eax + 8], ebx
je 0x437fef
push esi
push dword [esi + 8]
call fcn.004351cc
lea eax, [esi + 0x18]
push eax
push ebx
push esi
call fcn.004094de
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004094de
push 1
mov ecx, esi
call fcn.00409ef4
cmp dword [ebp - 0x1c], ebx
jne 0x4380f7
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x438039
lea ecx, [esi + 0xcf6]
push ecx
add eax, 0x1834
push eax
push str._s_attached_to_port__s
jmp 0x43804a
lea eax, [esi + 0xcf6]
push eax
push str.USB_Hub
push str._S_attached_to_port__s
push dword [0x492a44]
push 1
push dword [0x4fa870]
call fcn.004055ed
mov ecx, dword [0x4fc540]
add esp, 0x18
call fcn.0040878e
mov eax, dword [esi + 0xfb0]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4380b5
mov dword [ebp + 0xc], ebx
jle 0x4380b5
push 0x30
pop edi
mov eax, dword [esi + 0xfb0]
mov eax, dword [edi + eax]
cmp eax, ebx
je 0x4380a1
cmp dword [eax + 0xfac], ebx
je 0x4380a1
mov ecx, dword [0x4fc540]
push eax
call fcn.004076ae
inc dword [ebp + 0xc]
mov eax, dword [esi + 0xfb0]
mov ecx, dword [ebp + 0xc]
add edi, 4
cmp ecx, dword [eax + 0x40]
jl 0x438080
mov ecx, dword [0x4fc540]
call fcn.0040878e
jmp 0x4380f7
push str.no_devicepath_
push 1
call fcn.004453fb
pop ecx
pop ecx
jmp 0x4380f7
push str.USB_device
push str._S_attached_to_port__s
push dword [0x492a44]
push 1
push dword [0x4fa870]
call fcn.004055ed
add esp, 0x18
call fcn.004320cf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042e378
call fcn.00432320
call fcn.004353ad
xor esi, esi
push esi
call fcn.0042e506
push 0xc8
call fcn.00431fd9
push 1
push esi
push esi
push dword [0x4fa148]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc