Function at 0x436b01
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 0x436b28
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, 0x46d0c4
cmp dword [0x4fc994], ebx
jne 0x436b4c
push 0x10
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.0043f495
add esp, 0xc
test eax, eax
je 0x438236
push 0x10
lea eax, [ebp - 0x2c]
push eax
push 0x46d074
mov dword [ebp - 0x10], ebx
call fcn.0043f495
add esp, 0xc
test eax, eax
je 0x436b8f
push 0x10
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.0043f495
add esp, 0xc
test eax, eax
je 0x436b8f
cmp dword [ebp + 0xc], ebx
je 0x436b96
push dword [ebp + 0xc]
call fcn.0042e218
test eax, eax
jne 0x436b96
jmp 0x438236
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
push 3
pop esi
cmp word [eax], bx
je 0x436ba3
xor esi, esi
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00440f8f
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.DeviceArrived__s___u___S_...
push esi
call fcn.004452a3
xor eax, eax
mov edi, 0x18e
push edi
mov word [ebp - 0x588], ax
lea eax, [ebp - 0x586]
push ebx
push eax
call fcn.0043f4d8
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 0x436c10
lea eax, [ebp - 0x588]
push eax
push str._devid_s
push 3
call fcn.004452a3
add esp, 0xc
cmp dword [0x4fc948], ebx
je 0x438236
cmp dword [0x4fac58], ebx
jne 0x438236
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x436c8c
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 0x438236
mov eax, dword [0x4fc94c]
push dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.00405951
test eax, eax
je 0x438236
push dword [ebp + 8]
mov ecx, dword [0x4fc94c]
call fcn.00401ad5
cmp eax, ebx
je 0x438236
push eax
call fcn.0043015b
jmp 0x438236
push dword [ebp + 8]
call fcn.0042e1e0
test eax, eax
je 0x436cab
push str._blacklisted_device_interface____ignore
push 1
call fcn.004452a3
pop ecx
pop ecx
jmp 0x438236
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0xc], ebx
jne 0x436ce7
push ebx
push dword [ebp + 8]
call fcn.00444153
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x436ccf
push str._DevInst_not_determined____ignore
push 3
jmp 0x436c9f
cmp dword [ebp - 0x10], ebx
jne 0x436ce7
push dword [ebp + 0xc]
call fcn.0042e218
test eax, eax
jne 0x436ce7
push str._not_USB_related____ignore
jmp 0x436ccb
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.0043f4d8
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.004452a3
add esp, 0x10
push str.ROOTVOLMGR_
lea eax, [ebp - 0x920]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004256d4
test eax, eax
jne 0x436dca
push dword [ebp + 0x10]
mov ecx, dword [0x4fc94c]
call fcn.00401ad5
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, ebx
je 0x436d97
cmp dword [esi + 8], ebx
jne 0x436dca
push dword [ebp + 0x10]
push str._parent_seems_not_present____fake_an_arrival_notification
push 3
call fcn.004452a3
add esp, 0xc
push ebx
push dword [ebp + 0x10]
lea eax, [esi + 0xc2c]
push eax
call fcn.00436b01
jmp 0x436dca
push dword [ebp + 0x10]
push str._parent_unknown_yet____fake_an_arrival_notification
push 3
call fcn.004452a3
add esp, 0xc
push ebx
push dword [ebp + 0x10]
push 0x449d24
call fcn.00436b01
push dword [ebp + 0x10]
mov ecx, dword [0x4fc94c]
call fcn.00401ad5
mov esi, eax
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
mov ecx, dword [0x4fc94c]
call fcn.00401ad5
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x436e76
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.004452a3
mov ecx, dword [0x4fc94c]
add esp, 0x10
push ebx
call fcn.0040328f
cmp esi, edi
je 0x436e15
push ebx
mov ecx, esi
call fcn.00401063
mov ecx, dword [0x4fc948]
push edi
push dword [ebp + 0xc]
call fcn.004076dc
mov ecx, dword [0x4fc948]
push 1
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004076dc
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x436e56
mov eax, dword [eax + 0xfc0]
cmp eax, edi
je 0x436e56
mov ecx, dword [0x4fc94c]
push eax
call fcn.004011ae
cmp esi, edi
je 0x436f2b
mov eax, dword [esi + 0x10]
mov byte [esi + 0xc5c], 0
cmp eax, 0xa
jne 0x436eb0
mov dword [esi + 0x10], 9
jmp 0x436ebc
push dword [ebp + 0xc]
push str.new_device____DevInst_u
push 3
call fcn.004452a3
mov ecx, dword [0x4fc94c]
add esp, 0xc
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 0xc], esi
call fcn.004042e4
mov ebx, eax
cmp ebx, edi
jne 0x436e15
mov eax, esi
jmp 0x438239
cmp eax, 7
jne 0x436ebc
mov dword [esi + 0x10], 6
mov eax, dword [esi + 0xfc0]
cmp eax, edi
je 0x436f2b
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x436f2b
cmp word [ebp - 0x588], di
je 0x436f0f
add eax, 0xe34
push eax
lea eax, [ebp - 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436f0f
xor eax, eax
mov dword [esi + 0xfc0], edi
mov word [esi + 0x860], ax
mov word [esi + 0x18], ax
mov word [esi + 0x41c], ax
mov word [esi + 0xa5c], ax
mov dword [esi + 0xffc], edi
mov dword [esi + 0xfe0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
push str.3abf6f2d_71c4_462a_8a92_1e6861e6af27
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x436ffc
push str.device_is_a_host_controller
push 3
call fcn.004452a3
pop ecx
pop ecx
cmp esi, edi
je 0x437024
mov eax, dword [esi + 0xfc0]
cmp eax, edi
je 0x437024
cmp dword [eax + 0x39e4], 0x2d
je 0x437024
cmp eax, edi
je 0x437024
mov ecx, dword [0x4fc94c]
push eax
call fcn.004011ae
test eax, eax
je 0x437024
mov ebx, dword [esi + 0xfc0]
xor eax, eax
inc eax
mov dword [esi + 0xcdc], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x3a78], edi
mov ecx, dword [0x4fc94c]
push ebx
call fcn.0040477f
mov ecx, dword [0x4fc94c]
push ebx
call fcn.0040328f
lea eax, [esi + 0xfa8]
mov ecx, dword [eax]
cmp ecx, edi
je 0x436fe7
mov dword [ecx + 0x60c], esi
push dword [eax]
mov ecx, dword [0x4fc948]
call fcn.004079e2
test eax, eax
je 0x437024
push 1
mov ecx, esi
call fcn.0040a1f8
mov ecx, esi
call fcn.0040beff
jmp 0x438236
push edi
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
cmp eax, edi
je 0x43702b
push eax
call fcn.00440521
push eax
push str._cr_S_getting_parent
push 3
call fcn.004452a3
add esp, 0xc
xor eax, eax
jmp 0x438239
cmp dword [0x506fb4], 3
jl 0x43710e
push edi
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 0x43710e
lea ecx, [ebp - 0x60]
call fcn.0043ca80
lea ecx, [ebp - 0x60]
call fcn.0043cee9
push 0x1fc
lea eax, [ebp - 0x3ec]
push edi
push eax
mov dword [ebp - 0x3f0], edi
call fcn.0043f4d8
push 0x1fc
lea eax, [ebp - 0x784]
push edi
push eax
mov dword [ebp - 0x788], edi
call fcn.0043f4d8
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.0043cb0e
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp + 0x10]
push str.ParentDevInst_u___s_
push 3
call fcn.004452a3
add esp, 0x10
cmp dword [ebp - 4], edi
mov dword [ebp - 8], edi
jle 0x437106
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x788]
push dword [ebp + eax*4 - 0x3f0]
push eax
push str.DevPath__i__s___s_
push 3
call fcn.004452a3
add esp, 0x14
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jl 0x4370da
lea ecx, [ebp - 0x60]
call fcn.0043cec8
cmp esi, edi
jne 0x4372e7
cmp dword [ebp + 0x10], edi
je 0x4372e7
mov ecx, dword [0x4fc948]
push edi
push dword [ebp + 0x10]
call fcn.004076dc
cmp eax, edi
jne 0x43716a
push edi
push dword [ebp + 0x10]
push 0x449d24
call fcn.00436b01
mov ecx, dword [0x4fc948]
push edi
push dword [ebp + 0x10]
call fcn.004076dc
cmp eax, edi
jne 0x43716a
cmp dword [ebp - 0x10], edi
jne 0x43716a
push dword [ebp + 0xc]
call fcn.00443efe
neg eax
sbb eax, eax
inc eax
jmp 0x438239
xor eax, eax
push 0x18e
mov word [ebp - 0x1f0], ax
lea eax, [ebp - 0x1ee]
push edi
push eax
call fcn.0043f4d8
add esp, 0xc
push edi
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 0x4372e7
push str.USBVID_
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
lea ecx, [ebp - 0x1f0]
cmp eax, ecx
jne 0x4372e7
mov ecx, dword [0x4fc948]
push edi
push dword [ebp + 0x10]
call fcn.004076dc
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x4372e7
cmp dword [0x506fb4], 4
jl 0x437201
lea eax, [ebp - 0x1f0]
push eax
push str.node_for_parent_dev_not_found___s_
push 4
call fcn.004452a3
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.0043f4d8
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 0x44a788
lea eax, [ebp - 0x3f8]
push eax
call esi
and dword [ebp - 0x30], 0
and dword [ebp - 4], 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.00428d93
test eax, eax
jne 0x4372c3
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + eax*4 - 0x3c]
test edi, edi
jne 0x437283
jmp 0x4372e2
push str.arrival_notification_for_child_of_an_unknown_USB_device_received__SILEX______fake_notification_for_USB_dev
push 1
call fcn.004452a3
pop ecx
pop ecx
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x790]
push eax
call fcn.00436b01
mov esi, dword [ebp - 0x18]
xor edi, edi
push esi
call fcn.00406fb4
test eax, eax
je 0x437490
push dword [esi + 0xfc0]
mov ecx, dword [0x4fc94c]
call fcn.004011ae
test eax, eax
je 0x437490
mov eax, dword [esi + 0xfc0]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x437490
mov ecx, dword [0x4fc94c]
mov ebx, eax
push ebx
call fcn.0040328f
push edi
mov dword [ebp - 4], edi
push dword [ebx + 0x10]
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x39e0]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Status]
cmp eax, edi
je 0x437378
cmp dword [0x506fb4], 4
jl 0x437369
push eax
call fcn.00440521
push eax
push str.CM_Get_DevNode_Status__cret_S
push 4
call fcn.004452a3
add esp, 0xc
mov dword [ebx + 0x39e4], 0x2d
jmp 0x438236
push dword [ebx + 0x39e4]
push dword [ebp - 4]
push dword [ebx + 0x10]
push esi
push str.found_pTNI0x_08Ix__DevInst_u_Prob_u__was__u_
push 3
call fcn.004452a3
mov ecx, dword [ebx + 0x39e4]
mov eax, dword [ebp - 4]
add esp, 0x18
cmp ecx, edi
jne 0x4373fe
cmp eax, edi
jne 0x437402
mov ecx, dword [0x4fc94c]
push ebx
call fcn.00402ceb
test eax, eax
jne 0x4373f0
cmp dword [esi + 0xfe0], 1
jne 0x438236
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xfdc]
cmp eax, 0x3e8
jae 0x438236
cmp dword [0x506fb4], 4
jl 0x4373f0
push str.same_device_arrived_again____dont_care
push 4
call fcn.004452a3
pop ecx
pop ecx
push 1
mov ecx, esi
call fcn.0040a1f8
jmp 0x438236
cmp eax, edi
je 0x437437
cmp ecx, eax
jne 0x437428
cmp dword [0x506fb4], 4
jl 0x438236
push ecx
push str.device_same_problem_code_as_before___i_____dont_care
push 4
call fcn.004452a3
add esp, 0xc
jmp 0x438236
cmp eax, edi
je 0x437437
cmp ecx, edi
je 0x437437
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], edi
jne 0x437467
cmp dword [ebx + 0x3a2c], edi
je 0x437489
lea eax, [ebx + 0xc2c]
push eax
call fcn.00429e68
push str.PutStorageProps_ThreadProc
push esi
push 0x42fe1c
mov dword [ebx + 0x3a20], eax
call fcn.00425383
mov ecx, esi
call fcn.0040beca
cmp ebx, edi
je 0x437024
mov eax, dword [ebp + 8]
mov dword [ebx + 8], 1
cmp word [eax], di
je 0x4374bc
lea eax, [ebx + 0xc2c]
cmp word [eax], di
jne 0x4374bc
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0xc], edi
jne 0x4374cd
mov ecx, dword [0x4fc94c]
push ebx
call fcn.0040328f
mov dword [ebx + 0x3a78], edi
mov ecx, dword [0x4fc94c]
push ebx
call fcn.0040477f
lea eax, [ebx + 0x1c34]
push eax
push str._DriverKeyName_s
push 3
call fcn.004452a3
add esp, 0xc
cmp dword [ebp - 0x10], edi
je 0x43768d
mov eax, dword [ebx + 0x3a74]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x43768d
push dword [eax + 0x83c]
mov ecx, dword [0x4fc94c]
push dword [eax + 0x840]
call fcn.00401ca9
mov esi, eax
cmp esi, edi
je 0x437667
lea eax, [esi + 0xe34]
push eax
push str.device_is_a_volume____drive_is__s
push 3
call fcn.004452a3
mov ecx, dword [0x4fc948]
add esp, 0xc
push 1
push dword [esi + 0x14]
call fcn.004076dc
cmp eax, edi
je 0x43756b
xor ecx, ecx
inc ecx
mov dword [eax + 0xcdc], ecx
push ecx
mov ecx, eax
call fcn.0040a1f8
cmp dword [0x492a68], edi
je 0x437667
mov ecx, dword [0x4fc948]
push edi
push dword [esi + 0x10]
call fcn.004076dc
mov dword [ebp + 8], eax
cmp eax, edi
je 0x437667
mov ecx, dword [0x4fc948]
push edi
push dword [ebp + 0xc]
call fcn.004076dc
mov esi, eax
cmp esi, edi
je 0x4375b9
xor eax, eax
inc eax
push eax
mov ecx, esi
mov dword [esi + 0xcdc], eax
call fcn.0040a1f8
jmp 0x437626
mov ecx, dword [0x4fc948]
call fcn.00407984
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xd48], eax
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
lea eax, [esi + 0x18]
push eax
push edi
push esi
call fcn.004098c8
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004098c8
push dword [esi + 0x81c]
mov eax, dword [ebp + 8]
push esi
push dword [eax + 8]
call fcn.00433070
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040beff
push str.PutStorageProps_ThreadProc
push esi
push 0x42fe1c
call fcn.00425383
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004070e9
cmp dword [0x492a5c], edi
jne 0x437650
cmp dword [0x492a64], edi
je 0x437667
mov ecx, dword [esi + 0xd48]
call fcn.004070e9
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004321ab
mov eax, dword [ebp - 8]
push 0x434ced
push 0x7d0
push dword [eax + 0x10]
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x438236
push 0x44a140
lea eax, [ebx + 0xfc4]
push eax
call fcn.0042568e
mov esi, dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x4376bd
push 0x42e3ab
push 0x7d0
push dword [ebx + 0x10]
push dword [0x4fa548]
call esi
push str.determining_the_parent_node...
push 3
call fcn.004452a3
pop ecx
pop ecx
mov ecx, dword [0x4fc948]
push 0
push dword [ebp + 0x10]
call fcn.004076dc
mov edi, eax
test edi, edi
jne 0x437767
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x44b128
lea eax, [ebx + 0x1d8e]
push eax
call edi
test eax, eax
jne 0x43774d
push 0x44a8c0
add ebx, 0x1e0e
push ebx
call edi
test eax, eax
jne 0x43774d
push 0x15227010
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x4369f8
push 0x1f4
push 0x12340001
push dword [0x4fa548]
call esi
push str.OnDevCh
push 0
push 0x7f8a
call fcn.0042ed07
jmp 0x438236
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.parent_device_not_found_in_tree____dont_care___s___u_
push 3
call fcn.004452a3
add esp, 0x10
jmp 0x438236
mov eax, dword [edi + 0x10]
xor esi, esi
cmp eax, 3
jne 0x437983
mov ecx, dword [edi + 0xfa8]
cmp dword [ecx + 0x614], 1
jne 0x437983
mov ecx, dword [0x4fc948]
and dword [ebp + 8], esi
push esi
push dword [ebp + 0xc]
call fcn.004076dc
mov esi, eax
test esi, esi
jne 0x4377c7
mov ecx, dword [0x4fc948]
call fcn.00407984
mov esi, eax
mov dword [ebp + 8], 1
test esi, esi
jne 0x4377c7
push 0xc8
call fcn.004320b5
jmp 0x437024
and dword [esi + 0xffc], 0
mov dword [esi + 0xd48], edi
mov dword [esi + 0x10], 4
mov dword [esi + 0xfc0], ebx
mov dword [esi + 0xfe0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
mov dword [esi + 0xcdc], 1
mov eax, dword [edi + 0xfc0]
push 0x684
mov dword [esi + 0xfcc], eax
call fcn.0043f698
mov dword [esi + 0xfac], eax
mov dword [eax], 1
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 [edi + 0xfc0]
push dword [eax + 0x10]
mov eax, dword [0x4fc948]
mov ecx, dword [eax]
call fcn.0040c276
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4377b8
push 0x46b048
push 0
push 0x7f8a
call fcn.0042ed07
cmp dword [esi + 8], 0
jne 0x4378a0
mov eax, dword [esi + 0xfc0]
add eax, 0x1834
push eax
push esi
push dword [edi + 8]
call fcn.00433070
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040beff
mov ecx, edi
call fcn.004070e9
inc ebx
push ebx
lea eax, [esi + 0xcf6]
push 0x44c630
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x4fc948]
add esp, 0xc
push esi
call fcn.00407ad0
mov eax, dword [esi + 0xfac]
xor ebx, ebx
cmp dword [eax + 8], ebx
je 0x4378eb
mov ecx, dword [0x4fc948]
call fcn.00408b78
push esi
push dword [esi + 8]
call fcn.00435289
cmp dword [ebp + 8], ebx
jne 0x4378f9
push 1
push ebx
push esi
call fcn.004331c5
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x437934
mov ecx, dword [eax + 0x39e4]
add eax, 0x1834
cmp ecx, ebx
je 0x437931
push ecx
push eax
push str._s_attached_with_problem__u
push dword [0x492a4c]
push 1
push dword [0x4fac78]
call fcn.00405605
add esp, 0x18
jmp 0x437954
push eax
jmp 0x437939
push str.USB_Root_Hub
push str._s_attached
push dword [0x492a4c]
push 1
push dword [0x4fac78]
call fcn.00405605
add esp, 0x14
push 1
push ebx
push edi
call fcn.004331c5
call fcn.0042e58a
call fcn.004323fc
push ebx
call fcn.0042e718
mov ecx, esi
call fcn.0040beff
push 0x320
call fcn.004320b5
jmp 0x438236
cmp eax, 6
je 0x437bde
cmp eax, 4
je 0x437bde
cmp eax, 5
je 0x437bde
cmp eax, 9
je 0x4379c9
cmp eax, 0xa
je 0x4379c9
cmp eax, 1
je 0x4379c9
cmp eax, 3
jne 0x438205
mov eax, dword [edi + 0xfa8]
cmp dword [eax + 0x614], 1
je 0x438205
lea eax, [ebx + 0xe34]
push eax
push str.new_child_device:__s
push 4
call fcn.004452a3
add esp, 0xc
cmp dword [0x492a68], esi
je 0x437b5d
mov ecx, dword [0x4fc948]
push 0
push dword [ebp + 0xc]
call fcn.004076dc
mov esi, eax
test esi, esi
jne 0x437a14
mov ecx, dword [0x4fc948]
call fcn.00407984
mov esi, eax
mov dword [esi + 0xd48], edi
cmp dword [esi + 8], 0
jne 0x437b20
mov ecx, dword [0x4fc948]
call fcn.00407984
mov esi, eax
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.004098c8
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004098c8
push dword [esi + 0x81c]
push esi
push dword [edi + 8]
call fcn.00433070
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040beff
cmp dword [ebx + 0x3a2c], 0
je 0x437abc
push str.PutStorageProps_ThreadProc
push esi
push 0x42fe1c
call fcn.00425383
xor ebx, ebx
cmp dword [edi + 0xff8], ebx
jne 0x437b19
cmp dword [edi + 0x10], 1
je 0x437adc
cmp dword [0x492a64], ebx
jne 0x437adc
cmp dword [0x492a5c], ebx
je 0x437af3
mov ecx, edi
call fcn.004070e9
cmp dword [0x492a5c], ebx
jne 0x437b19
cmp dword [0x492a64], ebx
jne 0x437b19
mov eax, dword [edi + 0x10]
cmp eax, 9
je 0x437b00
cmp eax, 0xa
jne 0x437b19
push dword [edi + 8]
push dword [0x4fa550]
call fcn.004270ee
test eax, eax
je 0x437b19
mov ecx, edi
call fcn.0040715a
mov ecx, esi
call fcn.0040beff
mov eax, dword [esi + 0xd48]
test eax, eax
je 0x437b5d
mov eax, dword [eax + 0xfc0]
test eax, eax
je 0x437b5d
cmp dword [eax + 0x39e4], 0
je 0x437b5d
mov eax, dword [esi + 0xd48]
mov eax, dword [eax + 0xfc0]
and dword [eax + 0x39e4], 0
mov ecx, dword [esi + 0xd48]
push 0
call fcn.0040a1f8
xor edi, edi
inc edi
cmp dword [ebp - 0x14], 0
jne 0x437bbe
mov ecx, dword [0x4fc948]
push edi
push dword [ebp + 0xc]
call fcn.004076dc
mov esi, eax
test esi, esi
jne 0x437bc1
push str.pUsbTNI_is_NULL
push 4
call fcn.004452a3
pop ecx
pop ecx
test esi, esi
je 0x437e72
lea eax, [esi + 0x18]
push eax
push 0
push esi
call fcn.004098c8
lea eax, [esi + 0x41c]
push eax
push edi
push esi
call fcn.004098c8
push edi
mov ecx, esi
mov dword [esi + 0xcdc], edi
call fcn.0040a1f8
jmp 0x437e72
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xfc0]
add eax, 0xe34
push eax
push str.pUsbTNI_s
push 4
call fcn.004452a3
add esp, 0xc
jmp 0x437b89
cmp dword [0x4f9f50], 6
jb 0x437c10
push str.Port_0
lea eax, [ebx + 0x1b34]
push eax
call fcn.0042568e
test eax, eax
je 0x437c10
lea eax, [ebx + 0x1b40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x437c19
mov eax, dword [ebx + 0x39d8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push str._portnumber_i
push 3
call fcn.004452a3
mov eax, dword [edi + 0xfc0]
mov ecx, dword [edi + 0xfac]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4377b8
mov eax, ecx
xor ecx, ecx
cmp eax, ecx
je 0x4377b8
cmp dword [eax + 8], ecx
je 0x4377b8
cmp dword [0x492a60], ecx
je 0x437c92
cmp dword [0x492a5c], ecx
je 0x437c92
mov eax, dword [ebp - 0x18]
cmp eax, ecx
je 0x437c92
cmp dword [eax + 0x10], 1
jne 0x437c92
cmp dword [eax + 0xff8], ecx
jne 0x437c92
mov ecx, edi
call fcn.004070e9
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [0x506fb4], 4
jl 0x437cb3
mov eax, dword [ebp - 0x14]
add eax, 0xc2c
push eax
push str.open_hub__s_...
push 4
call fcn.004452a3
add esp, 0xc
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 3
add eax, 0xc2c
push 0x80000000
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x437d5f
push dword [ebp - 0x14]
call fcn.00442f0e
push eax
push str.err_S_opening_hub__s
push 1
call fcn.004452a3
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x437d28
push str.DeviceArrived
push 0x198f
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.004452a3
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0
jne 0x4381fc
test esi, esi
je 0x4381f7
mov eax, dword [esi + 0xfc0]
add esi, 0xcf6
push esi
test eax, eax
je 0x4381d7
add eax, 0x1834
push eax
push str._s_attached_to_port__s
jmp 0x4381e1
cmp word [ebx + 0x1c34], si
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x437ddc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
jmp 0x437dbd
push str._device_not_found_on_any_port
push 3
call fcn.004452a3
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x1388
ja 0x437e28
push dword [ebp + 0xc]
call fcn.00443efe
test eax, eax
je 0x437e3b
push str.__try_again_in_100_ms...
push 3
call fcn.004452a3
pop ecx
pop ecx
push 0x64
call esi
push dword [ebp - 0xc]
lea eax, [ebx + 0x1c34]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push dword [ebp - 8]
call fcn.00408d6f
mov dword [ebp - 0xc], eax
test eax, eax
je 0x437d79
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*4 + 0x284]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
test eax, eax
jne 0x437e45
push dword [ebp - 0xc]
push str._pHubInfo__pTNIs__i__is_NULL
push 3
call fcn.004452a3
push str.DeviceArrived
push 0x19ab
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.004452a3
add esp, 0x20
push 0x64
call esi
jmp 0x4377b8
push str._____give_up_for_full_enumeration
push 3
call fcn.004452a3
pop ecx
pop ecx
jmp 0x437024
push str.__because_no_more_present
jmp 0x436ccb
cmp dword [eax + 4], 0x1000
jle 0x437e83
push str.DeviceArrived
push 0x19b0
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.004452a3
add esp, 0x14
push 0x64
call esi
xor edi, edi
push 0xc8
call fcn.004320b5
mov eax, edi
jmp 0x438239
push 0x46aecc
push 0
push 0x7f8a
call fcn.0042ed07
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [esi + 0xfe0], 1
mov dword [esi + 0xfc0], ebx
cmp dword [0x506fb4], 4
jl 0x437ec6
push ebx
push dword [esi + 8]
push esi
push str.pPortTNI0x_08Ix__pPortTNI__hTreeItem0x_08Ix_pPortTNI__pDeviceInfo0x_08Ix
push 4
call fcn.004452a3
add esp, 0x14
xor eax, eax
push esi
push dword [ebp - 0x10]
lea ebx, [esi + 0x18]
push dword [ebp - 8]
mov word [ebx], ax
mov word [esi + 0x41c], ax
mov word [esi + 0x860], ax
mov word [esi + 0xa5c], ax
mov word [esi + 0xdac], ax
mov ecx, dword [0x4fc948]
call fcn.0040a9f4
push dword [esi + 0xd48]
mov ecx, dword [0x4fc948]
push esi
call fcn.00408464
mov eax, dword [esi + 0x10]
cmp eax, 9
je 0x437f1b
cmp eax, 0xa
jne 0x437f2b
cmp word [esi + 0xa5c], 0
jne 0x437f2b
push esi
call fcn.0042ca1a
push ebx
push 0
push esi
call fcn.004098c8
lea eax, [esi + 0x41c]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
call fcn.004098c8
mov ecx, esi
call fcn.0040beff
push ebx
mov ecx, esi
mov dword [esi + 0xcdc], ebx
call fcn.0040a1f8
cmp dword [0x4fc978], 0
je 0x437fab
cmp dword [0x492a5c], 0
mov ebx, dword [ebp - 0x18]
jne 0x437f79
test ebx, ebx
je 0x437fab
cmp dword [ebx + 0x10], 1
jle 0x437fab
push dword [esi + 8]
push 9
push 0x110b
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0xff8], 0
jne 0x437fab
mov ecx, edi
call fcn.004070e9
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xc8
call fcn.004320b5
mov eax, dword [esi + 0xfb0]
xor ebx, ebx
cmp eax, ebx
je 0x437d28
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x437d28
cmp byte [eax + 0x18], bl
je 0x437d28
cmp dword [esi + 0x10], 7
je 0x437fe6
mov dword [esi + 0x10], 6
cmp dword [esi + 0xfac], ebx
jne 0x438005
push 0x684
call fcn.0043f698
mov dword [esi + 0xfac], eax
inc dword [0x4f9c94]
pop ecx
mov eax, dword [esi + 0xfac]
lea ecx, [eax + 0x21c]
push ecx
add eax, 0x14
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0042b329
test eax, eax
jne 0x43804c
mov edi, dword [ebp + 8]
push edi
push str.ERROR:_hub_does_not_provide_a_symname__using_devpath_instead___s_
push 1
call fcn.004452a3
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 [0x506fb4], 4
jl 0x43806e
mov eax, dword [esi + 0xfac]
add eax, 0x14
push eax
push str.device_is_a_hub__symname_s
push 4
call fcn.004452a3
add esp, 0xc
cmp dword [esi + 0xfc0], ebx
je 0x4381c7
push 0x46ae18
push ebx
push 0x7f8a
call fcn.0042ed07
mov eax, dword [esi + 0xfc0]
add eax, 0xc2c
cmp word [eax], bx
jne 0x4380b8
mov ecx, dword [esi + 0xfac]
add ecx, 0x14
cmp word [ecx], bx
je 0x4380b8
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 0x43811a
call fcn.0042e58a
call fcn.004323fc
push ebx
call fcn.0042e718
mov ecx, dword [0x4fc948]
push esi
call fcn.00407ad0
mov eax, dword [esi + 0xfac]
cmp dword [eax + 8], ebx
je 0x4380f7
push esi
push dword [esi + 8]
call fcn.00435289
lea eax, [esi + 0x18]
push eax
push ebx
push esi
call fcn.004098c8
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.004098c8
push 1
mov ecx, esi
call fcn.0040a1f8
cmp dword [ebp - 0x1c], ebx
jne 0x4381fc
mov eax, dword [esi + 0xfc0]
test eax, eax
je 0x438141
lea ecx, [esi + 0xcf6]
push ecx
add eax, 0x1834
push eax
push str._s_attached_to_port__s
jmp 0x438152
lea eax, [esi + 0xcf6]
push eax
push str.USB_Hub
push str._S_attached_to_port__s
push dword [0x492a4c]
push 1
push dword [0x4fac78]
call fcn.00405605
mov ecx, dword [0x4fc948]
add esp, 0x18
call fcn.00408b78
mov eax, dword [esi + 0xfb0]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4381ba
xor ebx, ebx
test eax, eax
jle 0x4381ba
push 0x30
pop edi
mov eax, dword [esi + 0xfb0]
mov eax, dword [edi + eax]
test eax, eax
je 0x4381ab
cmp dword [eax + 0xfac], 0
je 0x4381ab
mov ecx, dword [0x4fc948]
push eax
call fcn.00407ad0
mov eax, dword [esi + 0xfb0]
inc ebx
add edi, 4
cmp ebx, dword [eax + 0x40]
jl 0x438189
mov ecx, dword [0x4fc948]
call fcn.00408b78
jmp 0x4381fc
push str.no_devicepath_
push 1
call fcn.004452a3
pop ecx
pop ecx
jmp 0x4381fc
push str.USB_device
push str._S_attached_to_port__s
push dword [0x492a4c]
push 1
push dword [0x4fac78]
call fcn.00405605
add esp, 0x18
call fcn.004321ab
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042e58a
call fcn.004323fc
call fcn.0043546a
xor esi, esi
push esi
call fcn.0042e718
push 0xc8
call fcn.004320b5
push 1
push esi
push esi
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc