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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp esi, ebx
je 0x4370e4
lea edi, [ebp - 0x30]
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, 0x46e6c4
cmp dword [0x4fd60c], ebx
jne 0x437108
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.0043fd51
add esp, 0xc
test eax, eax
je 0x43892e
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0x46e674
mov dword [ebp - 0x10], ebx
call fcn.0043fd51
add esp, 0xc
test eax, eax
je 0x43714b
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.0043fd51
add esp, 0xc
test eax, eax
je 0x43714b
cmp dword [ebp + 0xc], ebx
je 0x437152
push dword [ebp + 0xc]
call fcn.004454b0
test eax, eax
jne 0x437152
jmp 0x43892e
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
push 3
pop esi
cmp word [eax], bx
je 0x43715f
xor esi, esi
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.004419ad
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.DeviceArrived__s___u___S_...
push esi
call fcn.00445f0b
xor eax, eax
mov esi, 0x18e
push esi
mov word [ebp - 0x58c], ax
lea eax, [ebp - 0x58a]
push ebx
push eax
call fcn.0043fd94
mov edi, dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
add esp, 0x20
push ebx
push 0xc8
lea eax, [ebp - 0x58c]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x4371cc
lea eax, [ebp - 0x58c]
push eax
push str._devid_s
push 3
call fcn.00445f0b
add esp, 0xc
cmp dword [0x4fd5c0], ebx
je 0x43892e
cmp dword [0x4fb8d0], ebx
jne 0x43892e
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437248
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 0x43892e
mov eax, dword [0x4fd5c4]
push dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004059c3
test eax, eax
je 0x43892e
push dword [ebp + 8]
mov ecx, dword [0x4fd5c4]
call fcn.00401b35
cmp eax, ebx
je 0x43892e
push eax
call fcn.00430293
jmp 0x43892e
push dword [ebp + 8]
call fcn.0042e410
test eax, eax
je 0x437267
push str._blacklisted_device_interface____ignore
push 1
call fcn.00445f0b
pop ecx
pop ecx
jmp 0x43892e
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], ebx
jne 0x4372a3
push ebx
push dword [ebp + 8]
call fcn.00444c5c
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x43728b
push str._DevInst_not_determined____ignore
push 3
jmp 0x43725b
cmp dword [ebp - 0x10], ebx
jne 0x4372a3
push dword [ebp + 0xc]
call fcn.004454b0
test eax, eax
jne 0x4372a3
push str._not_USB_related____ignore
jmp 0x437287
push dword [ebp + 0xc]
lea eax, [ebp - 0x58c]
push eax
call fcn.004012ba
test eax, eax
je 0x4372bd
push str._blacklisted_device_ID____ignore
jmp 0x437259
xor eax, eax
push esi
mov word [ebp - 0x924], ax
lea eax, [ebp - 0x922]
push ebx
push eax
mov dword [ebp + 0x10], ebx
call fcn.0043fd94
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 - 0x924]
push eax
push dword [ebp + 0x10]
call edi
lea eax, [ebp - 0x924]
push eax
push dword [ebp + 0x10]
push str._parent_devinst_u_id_s
push 3
call fcn.00445f0b
add esp, 0x10
push str.ROOTVOLMGR_
lea eax, [ebp - 0x924]
xor esi, esi
push eax
mov dword [ebp - 8], esi
call fcn.00425855
test eax, eax
jne 0x4373a0
push dword [ebp + 0x10]
mov ecx, dword [0x4fd5c4]
call fcn.00401b35
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, ebx
je 0x43736d
cmp dword [esi + 8], ebx
jne 0x4373a0
push dword [ebp + 0x10]
push str._parent_seems_not_present____fake_an_arrival_notification
push 3
call fcn.00445f0b
add esp, 0xc
push ebx
push dword [ebp + 0x10]
lea eax, [esi + 0xc2c]
push eax
call fcn.004370bd
jmp 0x4373a0
push dword [ebp + 0x10]
push str._parent_unknown_yet____fake_an_arrival_notification
push 3
call fcn.00445f0b
add esp, 0xc
push ebx
push dword [ebp + 0x10]
push 0x44ad64
call fcn.004370bd
push dword [ebp + 0x10]
mov ecx, dword [0x4fd5c4]
call fcn.00401b35
mov esi, eax
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
mov ecx, dword [0x4fd5c4]
call fcn.00401b35
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
je 0x4374c4
lea eax, [edi + 0xe34]
push eax
push dword [edi + 4]
push str.device_found_in_DevList_at_idx_i__devid_s
push 3
call fcn.00445f0b
add esp, 0x10
cmp esi, ebx
je 0x4373e0
push edi
mov ecx, esi
call fcn.00401063
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0xc]
call fcn.00407353
mov ecx, dword [0x4fd5c0]
push 1
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x1c], esi
call fcn.00407353
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x437424
mov ecx, dword [eax + 0xfc0]
cmp ecx, ebx
je 0x437424
push ecx
mov ecx, dword [0x4fd5c4]
call fcn.004011ae
mov eax, dword [ebp - 0xc]
cmp esi, ebx
je 0x43759f
cmp esi, eax
je 0x4374ad
cmp eax, ebx
je 0x4374ad
mov ecx, dword [eax + 0xfb0]
mov ecx, dword [ecx + 0x10]
cmp dword [ecx + 0x1f], 1
je 0x4374ad
mov ecx, dword [eax + 0xfc0]
cmp ecx, ebx
je 0x4374ad
mov ecx, dword [ecx + 0x24]
cmp ecx, ebx
je 0x4374ad
add ecx, 0xc2c
cmp ecx, ebx
je 0x4374ad
mov eax, dword [eax + 0xd48]
cmp dword [eax + 0xfac], ebx
je 0x4374ad
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4374ad
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ecx + 0xd48]
push dword [ecx + 0xfac]
mov ecx, dword [0x4fd5c0]
push eax
call fcn.0040aa66
test eax, eax
je 0x4374ad
push 1
mov ecx, esi
call fcn.0040a12e
mov eax, dword [esi + 0x10]
mov byte [esi + 0xc5c], bl
cmp eax, 0xa
jne 0x437501
mov dword [esi + 0x10], 9
jmp 0x43750d
push dword [ebp + 0xc]
push str.new_device____DevInst_u
push 3
call fcn.00445f0b
mov ecx, dword [0x4fd5c4]
add esp, 0xc
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 0x14], esi
call fcn.0040432d
mov edi, eax
mov dword [ebp - 0x18], eax
cmp edi, ebx
jne 0x4373e0
mov eax, esi
jmp 0x438931
cmp eax, 7
jne 0x43750d
mov dword [esi + 0x10], 6
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x43759f
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x43759f
cmp word [ebp - 0x58c], bx
je 0x437564
add eax, 0xe34
push eax
lea eax, [ebp - 0x58c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x437564
xor eax, eax
mov dword [esi + 0xfc0], ebx
mov word [esi + 0x860], ax
mov word [esi + 0x18], ax
mov word [esi + 0x41c], ax
mov word [esi + 0xa5c], ax
mov dword [esi + 0x1000], ebx
mov dword [esi + 0xfe0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.set_JustArrivedRemovedJUST_ARRIVED_ArrivalRemovalT_u
push 4
mov dword [esi + 0xfdc], eax
call fcn.00445f0b
add esp, 0xc
mov ecx, esi
call fcn.0040a0c7
push ebx
push ebx
push esi
call fcn.004336b6
push str.3abf6f2d_71c4_462a_8a92_1e6861e6af27
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437670
push str.device_is_a_host_controller
push 3
call fcn.00445f0b
pop ecx
pop ecx
cmp esi, ebx
je 0x437698
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x437698
cmp dword [eax + 0x39e4], 0x2d
je 0x437698
cmp eax, ebx
je 0x437698
mov ecx, dword [0x4fd5c4]
push eax
call fcn.004011ae
test eax, eax
je 0x437698
mov edi, dword [esi + 0xfc0]
xor eax, eax
inc eax
mov dword [esi + 0xcdc], eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x24], eax
mov dword [edi + 0x3a78], ebx
mov ecx, dword [0x4fd5c4]
push edi
call fcn.004047f1
mov ecx, dword [0x4fd5c4]
push edi
call fcn.004032f8
lea eax, [esi + 0xfa8]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x43765b
mov dword [ecx + 0x60c], esi
push dword [eax]
mov ecx, dword [0x4fd5c0]
call fcn.00407629
test eax, eax
je 0x437698
push 1
mov ecx, esi
call fcn.0040a12e
mov ecx, esi
call fcn.0040bfc8
jmp 0x43892e
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
cmp eax, ebx
je 0x43769f
push eax
call fcn.00440f3c
push eax
push str._cr_S_getting_parent
push 3
call fcn.00445f0b
add esp, 0xc
xor eax, eax
jmp 0x438931
cmp dword [0x507a24], 3
jl 0x437782
push ebx
push 0xc8
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
test eax, eax
jne 0x437782
lea ecx, [ebp - 0x64]
call fcn.0043d33c
lea ecx, [ebp - 0x64]
call fcn.0043d7a5
push 0x1fc
lea eax, [ebp - 0x788]
push ebx
push eax
mov dword [ebp - 0x78c], ebx
call fcn.0043fd94
push 0x1fc
lea eax, [ebp - 0x3f0]
push ebx
push eax
mov dword [ebp - 0x3f4], ebx
call fcn.0043fd94
add esp, 0x18
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x64]
call fcn.0043d3ca
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp + 0x10]
push str.ParentDevInst_u___s_
push 3
call fcn.00445f0b
add esp, 0x10
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
jle 0x43777a
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x3f4]
push dword [ebp + eax*4 - 0x78c]
push eax
push str.DevPath__i__s___s_
push 3
call fcn.00445f0b
add esp, 0x14
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jl 0x43774e
lea ecx, [ebp - 0x64]
call fcn.0043d784
cmp esi, ebx
jne 0x437999
cmp dword [ebp + 0x10], ebx
je 0x437999
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0x10]
call fcn.00407353
cmp eax, ebx
jne 0x437820
cmp dword [ebp - 0x10], ebx
jne 0x437820
push ebx
push dword [ebp + 0x10]
push 0x44ad64
call fcn.004370bd
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0x10]
call fcn.00407353
cmp eax, ebx
jne 0x437820
push dword [ebp + 0xc]
call fcn.00444955
test eax, eax
je 0x43892e
mov esi, dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
push ebx
mov edi, 0xc8
push edi
lea eax, [ebp - 0x71c]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x43892e
push ebx
push edi
lea eax, [ebp - 0x384]
push eax
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x43892e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43892e
xor eax, eax
push 0x18e
mov word [ebp - 0x1f4], ax
lea eax, [ebp - 0x1f2]
push ebx
push eax
call fcn.0043fd94
add esp, 0xc
push ebx
push 0xc8
lea eax, [ebp - 0x1f4]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
test eax, eax
jne 0x437999
push str.USBVID_
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
lea ecx, [ebp - 0x1f4]
cmp eax, ecx
jne 0x437999
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0x10]
call fcn.00407353
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x437999
cmp dword [0x507a24], 4
jl 0x4378b7
lea eax, [ebp - 0x1f4]
push eax
push str.node_for_parent_dev_not_found___s_
push 4
call fcn.00445f0b
add esp, 0xc
mov esi, str._usb
lea edi, [ebp - 0x3fc]
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 - 0x3ea]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0043fd94
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x3fc]
push eax
call esi
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x23
pop eax
mov word [ebp - 0x3ca], ax
push 0x44b7c8
lea eax, [ebp - 0x3fc]
push eax
call esi
mov eax, str.a5dcbf10_6530_11d2_901f_00c04fb951ed
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], str.f18a0e88_c30c_11d0_8815_00a0c906bed8
mov dword [ebp - 0x38], str.3abf6f2d_71c4_462a_8a92_1e6861e6af27
mov dword [ebp - 0x34], ebx
mov dword [ebp - 8], ebx
mov edi, eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x794]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
lea eax, [ebp - 0x794]
push eax
call esi
push ebx
lea eax, [ebp - 0x794]
push eax
call fcn.00428ea5
test eax, eax
jne 0x437975
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov edi, dword [ebp + eax*4 - 0x40]
cmp edi, ebx
jne 0x437936
jmp 0x437993
push str.arrival_notification_for_child_of_an_unknown_USB_device_received__SILEX______fake_notification_for_USB_dev
push 1
call fcn.00445f0b
pop ecx
pop ecx
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x794]
push eax
call fcn.004370bd
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
push esi
call fcn.00406c0e
test eax, eax
je 0x437b40
push dword [esi + 0xfc0]
mov ecx, dword [0x4fd5c4]
call fcn.004011ae
test eax, eax
je 0x437b40
mov eax, dword [esi + 0xfc0]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x437b40
mov edi, eax
push ebx
mov dword [ebp - 0x18], ebx
push dword [edi + 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [edi + 0x39e0]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Status]
cmp eax, ebx
je 0x437a1e
cmp dword [0x507a24], 4
jl 0x437a0f
push eax
call fcn.00440f3c
push eax
push str.CM_Get_DevNode_Status__cret_S
push 4
call fcn.00445f0b
add esp, 0xc
mov dword [edi + 0x39e4], 0x2d
jmp 0x43892e
push dword [edi + 0x39e4]
push dword [ebp - 0x18]
push dword [edi + 0x10]
push dword [esi + 8]
push esi
push str.found_pTNI0x_08Ix_hti0x_08Ix__DevInst_u_Prob_u__was__u_
push 3
call fcn.00445f0b
mov eax, dword [edi + 0x39e4]
add esp, 0x1c
cmp eax, ebx
jne 0x437aa5
cmp dword [ebp - 0x18], ebx
jne 0x437aaa
mov ecx, dword [0x4fd5c4]
push edi
call fcn.00402d51
test eax, eax
jne 0x437a97
cmp dword [esi + 0xfe0], 1
jne 0x43892e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xfdc]
cmp eax, 0x3e8
jae 0x43892e
cmp dword [0x507a24], 4
jl 0x437a97
push str.same_device_arrived_again____dont_care
push 4
call fcn.00445f0b
pop ecx
pop ecx
push 1
mov ecx, esi
call fcn.0040a12e
jmp 0x43892e
cmp dword [ebp - 0x18], ebx
je 0x437ae1
cmp eax, dword [ebp - 0x18]
jne 0x437ad1
cmp dword [0x507a24], 4
jl 0x43892e
push eax
push str.device_same_problem_code_as_before___i_____dont_care
push 4
call fcn.00445f0b
add esp, 0xc
jmp 0x43892e
cmp dword [ebp - 0x18], ebx
je 0x437ae1
cmp eax, ebx
je 0x437ae1
mov dword [ebp - 0x20], 1
mov ecx, dword [0x4fd5c4]
push edi
call fcn.004032f8
push dword [ebp + 8]
lea eax, [edi + 0xc2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2e
pop eax
mov word [edi + 0xc30], ax
cmp dword [edi + 0x3a28], ebx
jne 0x437b17
cmp dword [edi + 0x3a2c], ebx
je 0x437b39
lea eax, [edi + 0xc2c]
push eax
call fcn.00429f79
push str.PutStorageProps_ThreadProc
push esi
push 0x42ff54
mov dword [edi + 0x3a20], eax
call fcn.00425504
mov ecx, esi
call fcn.0040bf92
cmp edi, ebx
je 0x437698
mov eax, dword [ebp + 8]
mov dword [edi + 8], 1
cmp word [eax], bx
je 0x437b6c
lea eax, [edi + 0xc2c]
cmp word [eax], bx
jne 0x437b6c
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x14], ebx
jne 0x437b7d
mov ecx, dword [0x4fd5c4]
push edi
call fcn.004032f8
mov dword [edi + 0x3a78], ebx
mov ecx, dword [0x4fd5c4]
push edi
call fcn.004047f1
lea eax, [edi + 0x1c34]
push eax
push str._DriverKeyName_s
push 3
call fcn.00445f0b
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x437d3d
mov eax, dword [edi + 0x3a74]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x437d3d
push dword [eax + 0x83c]
mov ecx, dword [0x4fd5c4]
push dword [eax + 0x840]
call fcn.00401d0f
mov esi, eax
cmp esi, ebx
je 0x437d17
lea eax, [esi + 0xe34]
push eax
push str.device_is_a_volume____drive_is__s
push 3
call fcn.00445f0b
mov ecx, dword [0x4fd5c0]
add esp, 0xc
push 1
push dword [esi + 0x14]
call fcn.00407353
cmp eax, ebx
je 0x437c1b
xor ecx, ecx
inc ecx
mov dword [eax + 0xcdc], ecx
push ecx
mov ecx, eax
call fcn.0040a12e
cmp dword [0x493a6c], ebx
je 0x437d17
mov ecx, dword [0x4fd5c0]
push ebx
push dword [esi + 0x10]
call fcn.00407353
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x437d17
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0xc]
call fcn.00407353
mov esi, eax
cmp esi, ebx
je 0x437c69
xor eax, eax
inc eax
push eax
mov ecx, esi
mov dword [esi + 0xcdc], eax
call fcn.0040a12e
jmp 0x437cd6
mov ecx, dword [0x4fd5c0]
call fcn.004075b8
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], edi
mov dword [esi + 0xfe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
lea eax, [esi + 0x18]
push eax
push ebx
push esi
call fcn.00409715
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.00409715
push dword [esi + 0x81c]
mov eax, dword [ebp + 8]
push esi
push dword [eax + 8]
call fcn.00433561
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040bfc8
push str.PutStorageProps_ThreadProc
push esi
push 0x42ff54
call fcn.00425504
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00406d4e
cmp dword [0x493a60], ebx
jne 0x437d00
cmp dword [0x493a68], ebx
je 0x437d17
mov ecx, dword [esi + 0xd48]
call fcn.00406d4e
push dword [0x4fb1c8]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00432679
mov eax, dword [ebp - 0x14]
push 0x4352d6
push 0x7d0
push dword [eax + 0x10]
push dword [0x4fb1c0]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x43892e
push 0x44b180
lea eax, [edi + 0xfc4]
push eax
call fcn.0042580f
test eax, eax
je 0x437d6b
push 0x42e4ca
push 0x7d0
push dword [edi + 0x10]
push dword [0x4fb1c0]
call dword [sym.imp.USER32.dll_SetTimer]
push str.determining_the_parent_node...
push 3
call fcn.00445f0b
pop ecx
pop ecx
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0x10]
call fcn.00407353
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x437e18
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x44c1b8
lea eax, [edi + 0x1d8e]
push eax
call esi
test eax, eax
jne 0x437dfe
push 0x44b900
add edi, 0x1e0e
push edi
call esi
test eax, eax
jne 0x437dfe
push 0x15227010
push dword [0x4fb1c0]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x436fb7
push 0x1f4
push 0x12340001
push dword [0x4fb1c0]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push ebx
push 0x7f8a
call fcn.0042ee26
jmp 0x43892e
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.parent_device_not_found_in_tree____dont_care___s___u_
push 3
call fcn.00445f0b
add esp, 0x10
jmp 0x43892e
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
xor esi, esi
cmp eax, 3
jne 0x438041
mov ecx, dword [ecx + 0xfa8]
cmp dword [ecx + 0x614], 1
jne 0x438041
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
call fcn.00407353
mov esi, eax
cmp esi, ebx
jne 0x437e7b
mov ecx, dword [0x4fd5c0]
call fcn.004075b8
mov esi, eax
mov dword [ebp + 8], 1
cmp esi, ebx
jne 0x437e7b
push 0xc8
call fcn.00432583
jmp 0x437698
mov eax, dword [ebp - 4]
mov dword [esi + 0xd48], eax
mov dword [esi + 0x10], 4
mov dword [esi + 0xfc0], edi
mov dword [esi + 0x1000], ebx
mov dword [esi + 0xfe0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xcdc], 1
mov eax, dword [eax + 0xfc0]
push 0x684
mov dword [esi + 0xfcc], eax
call fcn.0043ff54
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 edi, 0xc34
push edi
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc0]
push dword [eax + 0x10]
mov eax, dword [0x4fd5c0]
mov ecx, dword [eax]
call fcn.0040c343
mov edi, eax
cmp edi, 0xffffffff
je 0x437e6c
push 0x46c4b4
push ebx
push 0x7f8a
call fcn.0042ee26
cmp dword [esi + 8], ebx
jne 0x437f5d
mov eax, dword [esi + 0xfc0]
add eax, 0x1834
push eax
mov eax, dword [ebp - 4]
push esi
push dword [eax + 8]
call fcn.00433561
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040bfc8
mov ecx, dword [ebp - 4]
call fcn.00406d4e
inc edi
push edi
lea eax, [esi + 0xcf6]
push 0x44d630
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x4fd5c0]
add esp, 0xc
push esi
call fcn.00407717
mov eax, dword [esi + 0xfac]
cmp dword [eax + 8], ebx
je 0x437fa7
mov ecx, dword [0x4fd5c0]
call fcn.004089c5
push esi
push dword [esi + 8]
call fcn.00435872
cmp dword [ebp + 8], ebx
jne 0x437fb5
push 1
push ebx
push esi
call fcn.004336b6
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x437ff0
mov ecx, dword [eax + 0x39e4]
add eax, 0x1834
cmp ecx, ebx
je 0x437fed
push ecx
push eax
push str._s_attached_with_problem__u
push dword [0x493a50]
push 1
push dword [0x4fb8f0]
call fcn.00405677
add esp, 0x18
jmp 0x438010
push eax
jmp 0x437ff5
push str.USB_Root_Hub
push str._s_attached
push dword [0x493a50]
push 1
push dword [0x4fb8f0]
call fcn.00405677
add esp, 0x14
push 1
push ebx
push dword [ebp - 4]
call fcn.004336b6
call fcn.0042e6a9
call fcn.004328ed
push ebx
call fcn.0042e837
mov ecx, esi
call fcn.0040bfc8
push 0x320
call fcn.00432583
jmp 0x43892e
cmp eax, 6
je 0x438281
cmp eax, 4
je 0x438281
cmp eax, 5
je 0x438281
cmp eax, 9
je 0x43808a
cmp eax, 0xa
je 0x43808a
cmp eax, 1
je 0x43808a
cmp eax, 3
jne 0x4388ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfa8]
cmp dword [eax + 0x614], 1
je 0x4388ff
lea eax, [edi + 0xe34]
push eax
push str.new_child_device:__s
push 4
call fcn.00445f0b
add esp, 0xc
cmp dword [0x493a6c], ebx
je 0x438204
mov ecx, dword [0x4fd5c0]
push ebx
push dword [ebp + 0xc]
call fcn.00407353
mov esi, eax
cmp esi, ebx
jne 0x4380d7
mov ecx, dword [0x4fd5c0]
call fcn.004075b8
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xd48], eax
cmp dword [esi + 8], ebx
jne 0x4381d9
xor eax, eax
inc eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xfc0], edi
mov dword [esi + 0x1000], ebx
mov dword [esi + 0xfe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfdc], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xcdc], 1
mov ecx, dword [eax + 0xfc0]
mov dword [esi + 0xd48], eax
lea eax, [esi + 0x18]
push eax
push ebx
push esi
mov dword [esi + 0xfcc], ecx
call fcn.00409715
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.00409715
push dword [esi + 0x81c]
mov eax, dword [ebp - 4]
push esi
push dword [eax + 8]
call fcn.00433561
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040bfc8
cmp dword [edi + 0x3a2c], ebx
je 0x438174
push str.PutStorageProps_ThreadProc
push esi
push 0x42ff54
call fcn.00425504
mov edi, dword [ebp - 4]
cmp dword [edi + 0xffc], ebx
jne 0x4381d2
cmp dword [edi + 0x10], 1
je 0x438195
cmp dword [0x493a68], ebx
jne 0x438195
cmp dword [0x493a60], ebx
je 0x4381ac
mov ecx, edi
call fcn.00406d4e
cmp dword [0x493a60], ebx
jne 0x4381d2
cmp dword [0x493a68], ebx
jne 0x4381d2
mov eax, dword [edi + 0x10]
cmp eax, 9
je 0x4381b9
cmp eax, 0xa
jne 0x4381d2
push dword [edi + 8]
push dword [0x4fb1c8]
call fcn.0042726f
test eax, eax
je 0x4381d2
mov ecx, edi
call fcn.00406dbf
mov ecx, esi
call fcn.0040bfc8
mov eax, dword [esi + 0xd48]
cmp eax, ebx
je 0x438204
mov eax, dword [eax + 0xfc0]
cmp eax, ebx
je 0x438204
add eax, 0x39e4
cmp dword [eax], ebx
je 0x438204
mov dword [eax], ebx
mov ecx, dword [esi + 0xd48]
push ebx
call fcn.0040a12e
xor edi, edi
inc edi
cmp dword [ebp - 0xc], ebx
jne 0x438261
mov ecx, dword [0x4fd5c0]
push edi
push dword [ebp + 0xc]
call fcn.00407353
mov esi, eax
cmp esi, ebx
jne 0x438264
push str.pUsbTNI_is_NULL
push 4
call fcn.00445f0b
pop ecx
pop ecx
cmp esi, ebx
je 0x43825a
lea eax, [esi + 0x18]
push eax
push ebx
push esi
call fcn.00409715
lea eax, [esi + 0x41c]
push eax
push edi
push esi
call fcn.00409715
push edi
mov ecx, esi
mov dword [esi + 0xcdc], edi
call fcn.0040a12e
mov ebx, edi
jmp 0x43856e
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0xfc0]
add eax, 0xe34
push eax
push str.pUsbTNI_s
push 4
call fcn.00445f0b
add esp, 0xc
jmp 0x43822f
cmp dword [0x4fabc0], 6
jb 0x4382b3
push str.Port_0
lea eax, [edi + 0x1b34]
push eax
call fcn.0042580f
test eax, eax
je 0x4382b3
lea eax, [edi + 0x1b40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x4382bc
mov eax, dword [edi + 0x39d8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str._portnumber_i
push 3
call fcn.00445f0b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xfc0]
mov eax, dword [eax + 0xfac]
add esp, 0xc
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
cmp ecx, ebx
je 0x437e6c
cmp eax, ebx
je 0x437e6c
cmp dword [eax + 8], ebx
je 0x437e6c
cmp dword [0x493a64], ebx
je 0x438335
cmp dword [0x493a60], ebx
je 0x438335
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x438335
cmp dword [eax + 0x10], 1
jne 0x438335
cmp dword [eax + 0xffc], ebx
jne 0x438335
mov ecx, dword [ebp - 4]
call fcn.00406d4e
push dword [0x4fb1c8]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [0x507a24], 4
jl 0x438356
mov eax, dword [ebp - 0x14]
add eax, 0xc2c
push eax
push str.open_hub__s_...
push 4
call fcn.00445f0b
add esp, 0xc
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push 3
push ebx
push 3
add eax, 0xc2c
push 0x80000000
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x4383fb
push dword [ebp - 0x14]
call fcn.0044394a
push eax
push str.err_S_opening_hub__s
push 1
call fcn.00445f0b
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4383c5
push str.DeviceArrived
push 0x1a63
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.00445f0b
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], ebx
jne 0x4388f6
cmp esi, ebx
je 0x4388f1
mov eax, dword [esi + 0xfc0]
add esi, 0xcf6
push esi
cmp eax, ebx
je 0x4388d1
add eax, 0x1834
push eax
push str._s_attached_to_port__s
jmp 0x4388db
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp word [edi + 0x1c34], bx
je 0x438478
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
jmp 0x438459
push str._device_not_found_on_any_port
push 3
call fcn.00445f0b
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x3e8
ja 0x4384d0
push dword [ebp + 0xc]
call fcn.00444955
test eax, eax
je 0x4384ee
push str.__try_again_in_100_ms...
push 3
call fcn.00445f0b
pop ecx
pop ecx
push 0x64
call esi
push dword [ebp - 0x10]
lea eax, [edi + 0x1c34]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
push dword [ebp - 0xc]
call fcn.00408bbc
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x438415
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*4 + 0x284]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp eax, ebx
jne 0x4384ff
push dword [ebp - 0x10]
push str._pHubInfo__pTNIs__i__is_NULL
push 3
call fcn.00445f0b
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DeviceArrived
push 0x1a82
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.00445f0b
add esp, 0x14
push 0x64
call esi
jmp 0x437e6c
push str._____give_up_for_full_enumeration
push 3
call fcn.00445f0b
pop ecx
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x438931
push str.__because_no_more_present
push 3
call fcn.00445f0b
xor ebx, ebx
inc ebx
jmp 0x4384dc
push eax
call fcn.00406c0e
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x438538
push dword [eax]
push dword [ebp - 0x10]
push str._pHubInfo__pTNIs__i___0x_08Ix__is_invalid
push 3
call fcn.00445f0b
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DeviceArrived
push 0x1a89
jmp 0x4384b3
mov eax, dword [eax]
cmp dword [eax + 4], 0x1000
jle 0x43857d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DeviceArrived
push 0x1a8f
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.00445f0b
add esp, 0x14
push 0x64
call esi
push 0xc8
call fcn.00432583
jmp 0x4384e7
push 0x46c30c
push ebx
push 0x7f8a
call fcn.0042ee26
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [esi + 0xfe0], 1
mov dword [esi + 0xfc0], edi
cmp dword [0x507a24], 4
jl 0x4385bf
push edi
push dword [esi + 8]
push esi
push str.pPortTNI0x_08Ix__pPortTNI__hTreeItem0x_08Ix_pPortTNI__pDeviceInfo0x_08Ix
push 4
call fcn.00445f0b
add esp, 0x14
xor eax, eax
push esi
push dword [ebp - 8]
lea edi, [esi + 0x18]
push dword [ebp - 0xc]
mov word [edi], ax
mov word [esi + 0x41c], ax
mov word [esi + 0x860], ax
mov word [esi + 0xa5c], ax
mov word [esi + 0xdac], ax
mov ecx, dword [0x4fd5c0]
call fcn.0040aa66
push dword [esi + 0xd48]
mov ecx, dword [0x4fd5c0]
push esi
call fcn.004080ab
mov eax, dword [esi + 0x10]
cmp eax, 9
je 0x438614
cmp eax, 0xa
jne 0x438623
cmp word [esi + 0xa5c], bx
jne 0x438623
push esi
call fcn.0042cb9b
push edi
push ebx
push esi
call fcn.00409715
lea eax, [esi + 0x41c]
push eax
xor edi, edi
inc edi
push edi
push esi
call fcn.00409715
push edi
mov ecx, esi
mov dword [esi + 0xcdc], edi
call fcn.0040a12e
mov ecx, esi
call fcn.0040bfc8
cmp dword [0x4fd5f0], ebx
je 0x4386a4
mov edi, dword [ebp - 0x1c]
cmp dword [0x493a60], ebx
jne 0x43866e
cmp edi, ebx
je 0x4386a4
cmp dword [edi + 0x10], 1
jle 0x4386a4
push dword [esi + 8]
push 9
push 0x110b
push dword [0x4fb1c8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, ebx
je 0x4386a4
cmp dword [edi + 0xffc], ebx
jne 0x4386a4
mov ecx, dword [ebp - 4]
call fcn.00406d4e
push dword [0x4fb1c8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xc8
call fcn.00432583
mov eax, dword [esi + 0xfb0]
cmp eax, ebx
je 0x4383c5
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x4383c5
cmp byte [eax + 0x18], bl
je 0x4383c5
cmp dword [esi + 0x10], 7
je 0x4386dd
mov dword [esi + 0x10], 6
cmp dword [esi + 0xfac], ebx
jne 0x4386fc
push 0x684
call fcn.0043ff54
mov dword [esi + 0xfac], eax
inc dword [0x4fab10]
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 - 0xc]
call fcn.0042b43b
test eax, eax
jne 0x438743
mov edi, dword [ebp + 8]
push edi
push str.ERROR:_hub_does_not_provide_a_symname__using_devpath_instead___s_
push 1
call fcn.00445f0b
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 [0x507a24], 4
jl 0x438765
mov eax, dword [esi + 0xfac]
add eax, 0x14
push eax
push str.device_is_a_hub__symname_s
push 4
call fcn.00445f0b
add esp, 0xc
cmp dword [esi + 0xfc0], ebx
je 0x4388c1
push 0x46c258
push ebx
push 0x7f8a
call fcn.0042ee26
mov eax, dword [esi + 0xfc0]
add eax, 0xc2c
cmp word [eax], bx
jne 0x4387af
mov ecx, dword [esi + 0xfac]
add ecx, 0x14
cmp word [ecx], bx
je 0x4387af
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 0x438811
call fcn.0042e6a9
call fcn.004328ed
push ebx
call fcn.0042e837
mov ecx, dword [0x4fd5c0]
push esi
call fcn.00407717
mov eax, dword [esi + 0xfac]
cmp dword [eax + 8], ebx
je 0x4387ee
push esi
push dword [esi + 8]
call fcn.00435872
lea eax, [esi + 0x18]
push eax
push ebx
push esi
call fcn.00409715
lea eax, [esi + 0x41c]
push eax
push 1
push esi
call fcn.00409715
push 1
mov ecx, esi
call fcn.0040a12e
cmp dword [ebp - 0x20], ebx
jne 0x4388f6
mov eax, dword [esi + 0xfc0]
cmp eax, ebx
je 0x438838
lea ecx, [esi + 0xcf6]
push ecx
add eax, 0x1834
push eax
push str._s_attached_to_port__s
jmp 0x438849
lea eax, [esi + 0xcf6]
push eax
push str.USB_Hub
push str._S_attached_to_port__s
push dword [0x493a50]
push 1
push dword [0x4fb8f0]
call fcn.00405677
mov ecx, dword [0x4fd5c0]
add esp, 0x18
call fcn.004089c5
mov eax, dword [esi + 0xfb0]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4388b4
mov dword [ebp + 0xc], ebx
jle 0x4388b4
push 0x30
pop edi
mov eax, dword [esi + 0xfb0]
mov eax, dword [edi + eax]
cmp eax, ebx
je 0x4388a0
cmp dword [eax + 0xfac], ebx
je 0x4388a0
mov ecx, dword [0x4fd5c0]
push eax
call fcn.00407717
inc dword [ebp + 0xc]
mov eax, dword [esi + 0xfb0]
mov ecx, dword [ebp + 0xc]
add edi, 4
cmp ecx, dword [eax + 0x40]
jl 0x43887f
mov ecx, dword [0x4fd5c0]
call fcn.004089c5
jmp 0x4388f6
push str.no_devicepath_
push 1
call fcn.00445f0b
pop ecx
pop ecx
jmp 0x4388f6
push str.USB_device
push str._S_attached_to_port__s
push dword [0x493a50]
push 1
push dword [0x4fb8f0]
call fcn.00405677
add esp, 0x18
call fcn.00432679
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042e6a9
call fcn.004328ed
call fcn.00435a53
push ebx
call fcn.0042e837
push 0xc8
call fcn.00432583
push 1
push ebx
push ebx
push dword [0x4fb1c8]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc