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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
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 0x43f0e0
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 eax, dword [ebp + 8]
push 3
pop esi
cmp eax, ebx
je 0x43f0f1
cmp word [eax], bx
je 0x43f0f1
xor esi, esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0044a4b0
mov edi, dword [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push str.DeviceArrived__s___u___S___i_...
push esi
call fcn.0044def7
add esp, 0x18
mov esi, 0x47b480
cmp dword [0x50d834], ebx
jne 0x43f147
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.004481d3
add esp, 0xc
test eax, eax
jne 0x43f147
push str._hidden_volume____ignore
push 3
call fcn.0044def7
pop ecx
pop ecx
jmp 0x440b94
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0x47b430
mov dword [ebp - 8], ebx
call fcn.004481d3
add esp, 0xc
test eax, eax
je 0x43f189
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.004481d3
add esp, 0xc
test eax, eax
je 0x43f189
cmp edi, ebx
je 0x43f194
push edi
call fcn.0044d074
test eax, eax
jne 0x43f190
push str._not_USB_related____ignore
jmp 0x43f139
mov dword [ebp - 8], 1
cmp edi, ebx
jne 0x43f1a4
push 2
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0044c724
mov dword [ebp + 0xc], eax
xor eax, eax
mov edi, 0x18e
push edi
mov word [ebp - 0x364], ax
lea eax, [ebp - 0x362]
push ebx
push eax
call fcn.00448216
mov esi, dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
add esp, 0xc
push ebx
push 0xc8
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 0xc]
call esi
cmp eax, ebx
jne 0x440b7e
lea eax, [ebp - 0x364]
push eax
push str._devid_s
push 3
call fcn.0044def7
add esp, 0xc
cmp dword [0x50d7e8], ebx
je 0x440b94
cmp dword [0x50bb7c], ebx
jne 0x440b94
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x43f270
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], ebx
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
test eax, eax
jne 0x43f264
mov eax, dword [0x50d7ec]
push dword [ebp + 0x10]
mov ecx, dword [eax + 8]
call fcn.004061f7
test eax, eax
je 0x43f264
push dword [ebp + 0x10]
mov ecx, dword [0x50d7ec]
call fcn.00401afc
cmp eax, ebx
je 0x43f264
push eax
call fcn.00436094
cmp dword [0x50d838], ebx
je 0x440b94
push dword [ebp + 8]
call fcn.00433964
test eax, eax
je 0x43f28b
push dword [ebp + 8]
push str._blacklisted_device_interface____ignore___s_
push 1
jmp 0x440b8c
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], ebx
jne 0x43f2d5
cmp dword [ebp + 8], ebx
je 0x43f2d5
push str.DA_3
push 4
call fcn.0044def7
pop ecx
pop ecx
push ebx
push dword [ebp + 8]
call fcn.0044dba2
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x43f2c0
push str._DevInst_not_determined____ignore
jmp 0x43f139
cmp dword [ebp - 8], ebx
jne 0x43f2d5
push dword [ebp + 0xc]
call fcn.0044d074
test eax, eax
je 0x43f182
xor eax, eax
push edi
mov word [ebp - 0x6fc], ax
lea eax, [ebp - 0x6fa]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00448216
add esp, 0xc
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
push ebx
push 0xc8
lea eax, [ebp - 0x6fc]
push eax
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x6fc]
push eax
push dword [ebp - 4]
push str._parent_devinst_u_id_s
push 3
call fcn.0044def7
add esp, 0x10
push str.ROOTVOLMGR_
lea eax, [ebp - 0x6fc]
xor esi, esi
push eax
mov dword [ebp - 0x14], esi
call fcn.004289a6
test eax, eax
jne 0x43f3dc
push dword [ebp - 4]
mov ecx, dword [0x50d7ec]
call fcn.00401afc
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x43f3a2
push dword [esi + 8]
push str.pDevParent__IsPresent_i
push 4
call fcn.0044def7
add esp, 0xc
cmp dword [esi + 8], ebx
jne 0x43f3dc
push dword [ebp - 4]
push str._parent_seems_not_present____fake_an_arrival_notification
push 3
call fcn.0044def7
add esp, 0xc
cmp dword [ebp + 0x14], ebx
jne 0x43f3dc
push 1
push ebx
push dword [ebp - 4]
lea eax, [esi + 0xc30]
push eax
call fcn.0043f0b9
jmp 0x43f3dc
push dword [ebp - 4]
push str._parent_unknown_yet____fake_an_arrival_notification
push 3
call fcn.0044def7
add esp, 0xc
cmp dword [ebp + 0x14], ebx
jne 0x43f3c9
push 1
push ebx
push dword [ebp - 4]
push 0x453148
call fcn.0043f0b9
push dword [ebp - 4]
mov ecx, dword [0x50d7ec]
call fcn.00401afc
mov esi, eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
mov ecx, dword [0x50d7ec]
call fcn.00401afc
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x43f429
lea eax, [ebx + 0xe38]
push eax
push dword [ebx + 4]
push str.device_found_in_DevList_at_idx_i__devid_s
push 3
call fcn.0044def7
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebx + 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, edi
je 0x43f46f
push ebx
mov ecx, esi
call fcn.00401063
jmp 0x43f46f
push dword [ebp + 0xc]
push str.new_device____DevInst_u
push 3
call fcn.0044def7
mov ecx, dword [0x50d7ec]
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040455f
mov ebx, eax
cmp ebx, edi
je 0x440b94
push dword [0x4a2ae4]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp eax, dword [0x4a2b0c]
jle 0x43f46f
call fcn.004360f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov dword [ebx + 0x24], eax
push edi
inc esi
mov dword [ebx + 8], esi
mov dword [ebp - 0xc], edi
push dword [ebx + 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0x39f0]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x43f4c0
mov eax, dword [ebx + 0x39f4]
cmp dword [ebp - 0xc], eax
je 0x43f4c0
push dword [ebp - 0xc]
push eax
push str.problem__u_______u
push esi
call fcn.0044def7
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebx + 0x39f4], eax
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x43f4e9
cmp word [ecx], di
je 0x43f4e9
lea eax, [ebx + 0xc30]
cmp word [eax], di
jne 0x43f4e9
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2e
pop eax
mov word [ebx + 0xc34], ax
mov ecx, dword [0x50d7ec]
push ebx
call fcn.0040348f
mov dword [ebx + 0x3b08], edi
mov ecx, dword [0x50d7ec]
push ebx
call fcn.00404a15
lea eax, [ebx + 0x1c38]
push eax
push str._DriverKeyName_s
push 3
call fcn.0044def7
add esp, 0xc
cmp dword [ebx + 0x3a38], edi
jne 0x43f52d
cmp dword [ebx + 0x3a3c], edi
je 0x43f546
lea esi, [ebx + 0x3a30]
cmp dword [esi], 0xffffffff
jne 0x43f546
lea eax, [ebx + 0xc30]
push eax
call fcn.0042e6f4
mov dword [esi], eax
cmp dword [ebp - 8], edi
je 0x43f5a4
cmp dword [ebx + 0x3b04], edi
jne 0x43f569
mov eax, dword [0x50d7ec]
push dword [ebx + 0x10]
mov ecx, dword [eax + 8]
call fcn.004061f7
mov dword [ebx + 0x3b04], eax
mov eax, dword [ebx + 0x3b04]
cmp eax, edi
je 0x43f587
mov dword [eax + 0xc], 1
mov ecx, dword [ebx + 0x3b04]
call fcn.0040663a
jmp 0x43f5a4
push dword [ebx + 0x10]
lea eax, [ebx + 0xc30]
push eax
mov eax, dword [0x50d7ec]
mov ecx, dword [eax + 8]
call fcn.0040705f
mov dword [ebx + 0x3b04], eax
cmp dword [ebx + 0x3a3c], edi
je 0x43f5c5
lea esi, [ebx + 0x3a30]
cmp dword [esi], 0xffffffff
jne 0x43f5c5
lea eax, [ebx + 0xc30]
push eax
call fcn.0042e6f4
mov dword [esi], eax
mov ecx, dword [0x50d7e8]
push edi
push dword [ebp + 0xc]
call fcn.004082ee
mov ecx, dword [0x50d7e8]
push 1
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.004082ee
mov dword [ebp + 0x10], eax
cmp eax, edi
je 0x43f609
mov ecx, dword [eax + 0xfd0]
cmp ecx, edi
je 0x43f609
push ecx
mov ecx, dword [0x50d7ec]
call fcn.0040121c
mov eax, dword [ebp + 0x10]
cmp esi, edi
je 0x43f709
lea eax, [esi + 0x20]
push eax
push edi
push esi
call fcn.0040ab11
lea eax, [esi + 0x424]
push eax
push 1
push esi
call fcn.0040ab11
cmp esi, dword [ebp + 0x10]
je 0x43f6c1
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x43f6b9
mov ecx, dword [eax + 0xfc8]
cmp ecx, edi
je 0x43f6b9
mov ecx, dword [ecx + 0x10]
cmp dword [ecx + 0x1f], 1
je 0x43f6b9
mov ecx, dword [eax + 0xfd0]
cmp ecx, edi
je 0x43f6b9
mov ecx, dword [ecx + 0x28]
cmp ecx, edi
je 0x43f6b9
add ecx, 0xc30
cmp ecx, edi
je 0x43f6b9
mov eax, dword [eax + 0xd60]
cmp dword [eax + 0xfc4], edi
je 0x43f6b9
push edi
push edi
push 3
push edi
push 3
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x43f6b9
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ecx + 0xd60]
push dword [ecx + 0xfc4]
mov ecx, dword [0x50d7e8]
push eax
call fcn.0040c2e5
test eax, eax
je 0x43f6b9
mov ecx, dword [ebp + 0x10]
push 1
call fcn.0040b812
cmp esi, edi
je 0x43f7e0
push esi
push str.DA_4_pTNI0x_08Ix
push 4
call fcn.0044def7
add esp, 0xc
cmp dword [ebx + 0x3a38], edi
jne 0x43f6e1
cmp dword [ebx + 0x3a3c], edi
je 0x43f6f1
push str.PutStorageProps_ThreadProc
push esi
push 0x435b0b
call fcn.0042868d
mov eax, dword [esi + 0x14]
mov byte [esi + 0xc74], 0
cmp eax, 0xa
jne 0x43f716
mov dword [esi + 0x14], 9
jmp 0x43f722
cmp eax, edi
je 0x43f7e0
jmp 0x43f637
cmp eax, 7
jne 0x43f722
mov dword [esi + 0x14], 6
mov eax, dword [esi + 0xfd0]
cmp eax, edi
je 0x43f7e0
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x43f7e0
push str.DA_5
push 4
call fcn.0044def7
pop ecx
pop ecx
cmp word [ebp - 0x364], di
je 0x43f798
mov eax, dword [esi + 0xfd0]
add eax, 0xe38
push eax
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43f798
xor eax, eax
mov dword [esi + 0xfd0], edi
mov word [esi + 0x868], ax
mov word [esi + 0x20], ax
mov word [esi + 0x424], ax
mov word [esi + 0xa6c], ax
mov word [esi + 0xd64], ax
mov ecx, esi
call fcn.00407b19
mov dword [esi + 0x1010], edi
mov dword [esi + 0xfec], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.set_JustArrivedRemovedJUST_ARRIVED_ArrivalRemovalT_u
push 4
mov dword [esi + 0xfe8], eax
call fcn.0044def7
add esp, 0xc
cmp dword [esi + 8], edi
je 0x43f7e0
mov ecx, esi
call fcn.0040d89e
push 1
mov ecx, esi
call fcn.0040b812
push str.3abf6f2d_71c4_462a_8a92_1e6861e6af27
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x43f8af
push str.device_is_a_host_controller
push 3
call fcn.0044def7
pop ecx
pop ecx
cmp esi, edi
je 0x43f8d7
mov eax, dword [esi + 0xfd0]
cmp eax, edi
je 0x43f8d7
cmp dword [eax + 0x39f4], 0x2d
je 0x43f8d7
cmp eax, edi
je 0x43f8d7
mov ecx, dword [0x50d7ec]
push eax
call fcn.0040121c
test eax, eax
je 0x43f8d7
mov ebx, dword [esi + 0xfd0]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xcf4], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x3b08], edi
mov ecx, dword [0x50d7ec]
push ebx
call fcn.00404a15
mov ecx, dword [0x50d7ec]
push ebx
call fcn.0040348f
lea eax, [esi + 0xfc0]
mov ecx, dword [eax]
cmp ecx, edi
je 0x43f89a
mov dword [ecx + 0x60c], esi
push dword [eax]
mov ecx, dword [0x50d7e8]
call fcn.004087ba
test eax, eax
je 0x43f8d7
push 1
mov ecx, esi
call fcn.0040b812
mov ecx, esi
call fcn.0040d89e
jmp 0x440b94
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
cmp eax, edi
je 0x43f8de
push eax
call fcn.00449a0d
push eax
push str._cr_S_getting_parent
push 3
call fcn.0044def7
add esp, 0xc
xor eax, eax
jmp 0x440b97
xor eax, eax
push 0x18e
mov word [ebp - 0x88c], ax
lea eax, [ebp - 0x88a]
push edi
push eax
call fcn.00448216
add esp, 0xc
push edi
push 0xc8
lea eax, [ebp - 0x88c]
push eax
push dword [ebp - 4]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
cmp esi, edi
jne 0x43fb59
push str.DA_7
push 4
call fcn.0044def7
pop ecx
pop ecx
cmp dword [ebp - 4], edi
je 0x43fcfc
push str.ROOTVOLMGR
lea eax, [ebp - 0x88c]
push eax
call fcn.00428960
xor edi, edi
test eax, eax
jne 0x43f95b
mov ecx, dword [0x50d7e8]
push edi
push dword [ebp - 4]
call fcn.004082ee
cmp eax, edi
jne 0x43f9d6
cmp dword [ebp - 8], edi
jne 0x43f9d6
cmp dword [ebp + 0x14], edi
jne 0x43f975
push 1
push edi
push dword [ebp - 4]
push 0x453148
call fcn.0043f0b9
mov ecx, dword [0x50d7e8]
push edi
push dword [ebp - 4]
call fcn.004082ee
cmp eax, edi
jne 0x43f9d6
push dword [ebp + 0xc]
call fcn.0044c569
test eax, eax
je 0x43f9ca
mov esi, dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
push edi
mov ebx, 0xc8
push ebx
lea eax, [ebp - 0xa1c]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x43f9ca
push edi
push ebx
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x43f9ca
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._no_parent_node__not_a_volume____ignore
push 4
jmp 0x43f13b
xor eax, eax
push 0x18e
mov word [ebp - 0x1d4], ax
lea eax, [ebp - 0x1d2]
push edi
push eax
call fcn.00448216
add esp, 0xc
push edi
push 0xc8
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 4]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
test eax, eax
jne 0x43fcfc
push str.USBVID_
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
lea ecx, [ebp - 0x1d4]
cmp eax, ecx
jne 0x43fcfc
mov ecx, dword [0x50d7e8]
push 0
push dword [ebp - 4]
call fcn.004082ee
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x43fb59
cmp dword [0x517934], 4
jl 0x43fa6e
lea eax, [ebp - 0x1d4]
push eax
push str.node_for_parent_dev_not_found___s_
push 4
call fcn.0044def7
add esp, 0xc
mov esi, str._usb
lea edi, [ebp - 0x56c]
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 - 0x55a]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00448216
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x56c]
push eax
call esi
lea eax, [ebp - 0x56c]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x23
pop eax
mov word [ebp - 0x53a], ax
push 0x453d50
lea eax, [ebp - 0x56c]
push eax
call esi
and dword [ebp - 0x34], 0
and dword [ebp + 0x14], 0
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 edi, eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0xa94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
lea eax, [ebp - 0xa94]
push eax
call esi
push 0
lea eax, [ebp - 0xa94]
push eax
call fcn.0042cad1
test eax, eax
jne 0x43fb33
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + eax*4 - 0x40]
test edi, edi
jne 0x43faf0
jmp 0x43fcfc
push str.arrival_notification_for_child_of_an_unknown_USB_device_received__SILEX______fake_notification_for_USB_dev
push 1
call fcn.0044def7
pop ecx
pop ecx
push 1
push 0
push dword [ebp - 4]
lea eax, [ebp - 0xa94]
push eax
call fcn.0043f0b9
jmp 0x43fcfc
push esi
call fcn.004077a1
test eax, eax
je 0x43fcfc
mov eax, dword [ebp - 0x10]
push dword [eax + 0xfd0]
mov ecx, dword [0x50d7ec]
call fcn.0040121c
test eax, eax
je 0x43fcfc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xfd0]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x10], ecx
jne 0x43fcfc
push str.DA_8
push 4
pop edi
push edi
call fcn.0044def7
mov esi, dword [ebp - 0x10]
mov ebx, dword [esi + 0xfd0]
push dword [ebx + 0x39f4]
mov dword [ebx + 8], 1
push dword [ebp - 0xc]
push dword [ebx + 0x10]
push dword [esi + 8]
push esi
push str.found_pTNI0x_08Ix_hti0x_08Ix__DevInst_u_Prob_u__was__u_
push 3
call fcn.0044def7
add esp, 0x24
cmp dword [ebx + 0x39f4], 0
jne 0x43fcb1
cmp dword [ebp - 0xc], 0
jne 0x43fcb7
mov ecx, dword [0x50d7ec]
push ebx
call fcn.00402e73
test eax, eax
jne 0x43fc2d
cmp dword [esi + 0xfec], 1
jne 0x43fc36
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xfe8]
cmp eax, 0x3e8
jae 0x43fc36
cmp dword [0x517934], edi
jl 0x43fc2d
push str.same_device_arrived_again____dont_care
push edi
call fcn.0044def7
pop ecx
pop ecx
push 1
mov ecx, esi
call fcn.0040b812
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Child]
test eax, eax
jne 0x43fc70
push dword [ebp + 0xc]
push str.PostMessage_WM_APP_SCAN_ARRIVED_CHILDS___u__B
push edi
call fcn.0044def7
add esp, 0xc
push 0
push dword [ebp + 0xc]
push 0x8007
push dword [0x50b228]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.SetTimer_1000__ScanForUnnotifiedDevs_TimerProc_
push edi
call fcn.0044def7
pop ecx
pop ecx
push 0x433438
push 0x3e8
push 0x12340008
push dword [0x50b228]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, esi
call fcn.0040d829
call fcn.0043b5f2
push str.DA_8a_return_true
push edi
call fcn.0044def7
pop ecx
pop ecx
cmp dword [ebp - 0xc], 0
je 0x43fcf5
mov eax, dword [ebx + 0x39f4]
cmp eax, dword [ebp - 0xc]
jne 0x43fce4
cmp dword [0x517934], edi
jl 0x43fcd9
push eax
push str.device_same_problem_code_as_before___i_____dont_care
push edi
call fcn.0044def7
add esp, 0xc
push str.DA_8b_return_true
push edi
jmp 0x43f13b
cmp dword [ebp - 0xc], 0
je 0x43fcf5
test eax, eax
je 0x43fcf5
mov dword [ebp - 0x18], 1
mov ecx, esi
call fcn.0040d829
cmp dword [ebp - 8], 0
je 0x43febe
mov esi, dword [ebx + 0x3b04]
mov dword [ebp + 0x14], esi
test esi, esi
je 0x43febe
push dword [esi + 0x83c]
mov ecx, dword [0x50d7ec]
lea edi, [esi + 0x840]
push dword [edi]
call fcn.00401d6a
mov ecx, dword [edi]
xor edi, edi
inc edi
mov dword [ebx + 0x3a30], ecx
mov dword [ebp + 8], eax
mov dword [esi + 0xc], edi
test eax, eax
je 0x43fe91
add eax, 0xe38
push eax
push str.device_is_a_volume____drive_is__s
push 3
call fcn.0044def7
mov esi, dword [ebp + 8]
mov ecx, dword [0x50d7e8]
add esp, 0xc
push edi
push dword [esi + 0x14]
call fcn.004082ee
test eax, eax
je 0x43fd82
push edi
mov ecx, eax
mov dword [eax + 0xcf4], edi
call fcn.0040b812
cmp dword [0x4a2b20], 0
je 0x43fe91
mov ecx, dword [0x50d7e8]
push 0
push dword [esi + 0x10]
call fcn.004082ee
mov dword [ebp + 8], eax
test eax, eax
je 0x43fe91
mov ecx, dword [0x50d7e8]
push 0
push dword [ebp + 0xc]
call fcn.004082ee
mov esi, eax
test esi, esi
je 0x43fdd0
push edi
mov ecx, esi
mov dword [esi + 0xcf4], edi
call fcn.0040b812
jmp 0x43fe4e
mov ecx, dword [0x50d7e8]
call fcn.00408749
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xd60], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0xfd0], ebx
mov dword [esi + 0xfec], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfe8], eax
add ebx, 0x1c38
push ebx
lea eax, [esi + 0xd64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0x20]
push eax
push 0
push esi
call fcn.0040ab11
lea eax, [esi + 0x424]
push eax
push edi
push esi
call fcn.0040ab11
push dword [esi + 0x824]
mov eax, dword [ebp + 8]
push esi
push dword [eax + 8]
call fcn.0043a0e8
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040d89e
push str.PutStorageProps_ThreadProc_pVolTNI_
push esi
push 0x435b0b
call fcn.0042868d
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00407c0b
cmp dword [0x4a2b14], 0
jne 0x43fe7a
cmp dword [0x4a2b1c], 0
je 0x43fe91
mov ecx, dword [esi + 0xd60]
call fcn.00407c0b
push dword [0x50b230]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x478ca8
call fcn.0043caa0
mov eax, dword [ebp + 0x14]
push 0x43e132
push 0x7d0
push dword [eax + 0x10]
push dword [0x50b228]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
jmp 0x440b97
push 0x4535ac
lea eax, [ebx + 0xfc8]
push eax
call fcn.00428960
test eax, eax
je 0x43feec
push 0x433a20
push 0x7d0
push dword [ebx + 0x10]
push dword [0x50b228]
call dword [sym.imp.USER32.dll_SetTimer]
push str.determining_the_parent_node...
push 3
call fcn.0044def7
pop ecx
pop ecx
mov ecx, dword [0x50d7e8]
push 0
push dword [ebp - 4]
call fcn.004082ee
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x43ff9c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x454838
lea eax, [ebx + 0x1d92]
push eax
call esi
test eax, eax
jne 0x43ff82
push 0x453e68
add ebx, 0x1e12
push ebx
call esi
test eax, eax
jne 0x43ff82
push 0x15227010
push dword [0x50b228]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x43e00a
push 0x1f4
push 0x12340001
push dword [0x50b228]
call dword [sym.imp.USER32.dll_SetTimer]
push str.OnDevCh
push edi
push 0x7f8a
call fcn.004346f7
jmp 0x440b94
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.parent_device_not_found_in_tree____dont_care___s___u_
push 3
call fcn.0044def7
add esp, 0x10
jmp 0x440b94
mov eax, dword [edi + 0x14]
xor esi, esi
cmp eax, 3
jne 0x4401df
mov ecx, dword [edi + 0xfc0]
cmp dword [ecx + 0x614], 1
jne 0x4401df
push str.DA_10_root_hub
push 4
call fcn.0044def7
and dword [ebp + 8], esi
pop ecx
pop ecx
mov ecx, dword [0x50d7e8]
push esi
push dword [ebp + 0xc]
call fcn.004082ee
mov esi, eax
test esi, esi
jne 0x44000a
mov ecx, dword [0x50d7e8]
call fcn.00408749
mov esi, eax
mov dword [ebp + 8], 1
test esi, esi
jne 0x44000a
push 0xc8
call fcn.00438d75
jmp 0x43f8d7
and dword [esi + 0x1010], 0
xor eax, eax
inc eax
mov dword [esi + 0xd60], edi
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], eax
mov dword [esi + 0xfd0], ebx
mov dword [esi + 0xfec], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x684
mov dword [esi + 0xfe8], eax
mov dword [esi + 0xcf4], 1
call fcn.004483d6
pop ecx
test eax, eax
je 0x44005e
mov ecx, eax
call fcn.004076a7
jmp 0x440060
xor eax, eax
mov dword [esi + 0xfc4], eax
mov dword [eax], 1
mov eax, dword [esi + 0xfc4]
mov dword [eax + 0x284], esi
lea eax, [ebx + 0xc38]
push eax
mov eax, dword [esi + 0xfc4]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
add ebx, 0x1c38
push ebx
lea eax, [esi + 0xd64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [edi + 0xfd0]
push dword [eax + 0x10]
mov eax, dword [0x50d7e8]
mov ecx, dword [eax]
call fcn.0040dc8a
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43fffb
push 0x478c34
push 0
push 0x7f8a
call fcn.004346f7
cmp dword [esi + 8], 0
jne 0x4400fc
mov eax, dword [esi + 0xfd0]
add eax, 0x1838
push eax
push esi
push dword [edi + 8]
call fcn.0043a0e8
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040d89e
mov ecx, edi
call fcn.00407c0b
inc ebx
push ebx
lea eax, [esi + 0xd0e]
push 0x4559c4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x50d7e8]
add esp, 0xc
push esi
call fcn.004088a8
mov eax, dword [esi + 0xfc4]
xor ebx, ebx
cmp dword [eax + 8], ebx
je 0x440147
mov ecx, dword [0x50d7e8]
call fcn.00409c40
push esi
push dword [esi + 8]
call fcn.0043c8c1
cmp dword [ebp + 8], ebx
jne 0x440155
push 1
push ebx
push esi
call fcn.0043a270
mov eax, dword [esi + 0xfd0]
cmp eax, ebx
je 0x440190
mov ecx, dword [eax + 0x39f4]
add eax, 0x1838
cmp ecx, ebx
je 0x44018d
push ecx
push eax
push str._s_attached_with_problem__u
push dword [0x4a2afc]
push 1
push dword [0x50bb9c]
call fcn.00405e29
add esp, 0x18
jmp 0x4401b0
push eax
jmp 0x440195
push str.USB_Root_Hub
push str._s_attached
push dword [0x4a2afc]
push 1
push dword [0x50bb9c]
call fcn.00405e29
add esp, 0x14
push 1
push ebx
push edi
call fcn.0043a270
call fcn.00433f5d
call fcn.00439125
push ebx
call fcn.004340eb
mov ecx, esi
call fcn.0040d89e
push 0x320
call fcn.00438d75
jmp 0x440b94
cmp eax, 6
je 0x440430
cmp eax, 4
je 0x440430
cmp eax, 5
je 0x440430
cmp eax, 9
je 0x440225
cmp eax, 0xa
je 0x440225
cmp eax, 1
je 0x440225
cmp eax, 3
jne 0x440aa0
mov eax, dword [edi + 0xfc0]
cmp dword [eax + 0x614], 1
je 0x440aa0
lea eax, [ebx + 0xe38]
push eax
push str.new_child_device:__s
push 4
call fcn.0044def7
add esp, 0xc
cmp dword [0x4a2b20], 0
je 0x4403b0
mov ecx, dword [0x50d7e8]
push 0
push dword [ebp + 0xc]
call fcn.004082ee
mov esi, eax
test esi, esi
jne 0x440271
mov ecx, dword [0x50d7e8]
call fcn.00408749
mov esi, eax
mov dword [esi + 0xd60], edi
cmp dword [esi + 8], 0
jne 0x440382
cmp dword [edi + 8], 0
je 0x440382
and dword [esi + 0x1010], 0
xor eax, eax
inc eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xfd0], ebx
mov dword [esi + 0xfec], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xfe8], eax
lea eax, [ebx + 0x1c38]
push eax
lea eax, [esi + 0xd64]
push eax
mov dword [esi + 0xcf4], 1
mov dword [esi + 0xd60], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0x20]
push eax
push 0
push esi
call fcn.0040ab11
lea eax, [esi + 0x424]
push eax
push 1
push esi
call fcn.0040ab11
push dword [esi + 0x824]
push esi
push dword [edi + 8]
call fcn.0043a0e8
add esp, 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0040d89e
cmp dword [ebx + 0x3a3c], 0
je 0x44031e
push str.PutStorageProps_ThreadProc_pDriveTNI_
push esi
push 0x435b0b
call fcn.0042868d
xor ebx, ebx
cmp dword [edi + 0x1008], ebx
jne 0x44037b
cmp dword [edi + 0x14], 1
je 0x44033e
cmp dword [0x4a2b1c], ebx
jne 0x44033e
cmp dword [0x4a2b14], ebx
je 0x440355
mov ecx, edi
call fcn.00407c0b
cmp dword [0x4a2b14], ebx
jne 0x44037b
cmp dword [0x4a2b1c], ebx
jne 0x44037b
mov eax, dword [edi + 0x14]
cmp eax, 9
je 0x440362
cmp eax, 0xa
jne 0x44037b
push dword [edi + 8]
push dword [0x50b230]
call fcn.0042af96
test eax, eax
je 0x44037b
mov ecx, edi
call fcn.00407d93
mov ecx, esi
call fcn.0040d89e
mov eax, dword [esi + 0xd60]
test eax, eax
je 0x4403b0
mov eax, dword [eax + 0xfd0]
test eax, eax
je 0x4403b0
add eax, 0x39f4
cmp dword [eax], 0
je 0x4403b0
and dword [eax], 0
mov ecx, dword [esi + 0xd60]
push 0
call fcn.0040b812
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4403cd
mov ecx, dword [0x50d7e8]
push 1
push dword [ebp + 0xc]
call fcn.004082ee
mov esi, eax
test esi, esi
je 0x4403ea
mov eax, dword [esi + 0xfd0]
add eax, 0xe38
push eax
push str.pUsbTNI_s
push 4
call fcn.0044def7
add esp, 0xc
jmp 0x4403f8
push str.pUsbTNI_is_NULL
push 4
call fcn.0044def7
pop ecx
pop ecx
test esi, esi
je 0x440aa0
lea eax, [esi + 0x20]
push eax
push 0
push esi
call fcn.0040ab11
lea eax, [esi + 0x424]
push eax
xor edi, edi
inc edi
push edi
push esi
call fcn.0040ab11
push edi
mov ecx, esi
mov dword [esi + 0xcf4], edi
call fcn.0040b812
jmp 0x440aa0
cmp dword [0x50abf8], 6
jb 0x440462
push str.Port_0
lea eax, [ebx + 0x1b38]
push eax
call fcn.00428960
test eax, eax
je 0x440462
lea eax, [ebx + 0x1b44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x44046b
mov eax, dword [ebx + 0x39e8]
mov dword [ebp + 0x14], eax
push dword [ebp + 0x14]
push str._portnumber_i
push 3
call fcn.0044def7
mov eax, dword [edi + 0xfd0]
mov ecx, dword [edi + 0xfc4]
add esp, 0xc
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
test eax, eax
je 0x43fffb
mov eax, ecx
test eax, eax
je 0x43fffb
cmp dword [eax + 8], 0
je 0x43fffb
cmp dword [0x4a2b18], 0
je 0x4404c7
mov ecx, edi
call fcn.00407c0b
push dword [0x50b230]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [0x517934], 4
jl 0x4404e8
mov eax, dword [ebp + 0x10]
add eax, 0xc30
push eax
push str.open_hub__s_...
push 4
call fcn.0044def7
add esp, 0xc
mov edi, dword [ebp + 0x10]
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push 0x80000000
add edi, 0xc30
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
jne 0x44058c
push edi
call fcn.0044b48b
push eax
push str.err_S_opening_hub__s
push 1
call fcn.0044def7
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x440555
push str.DeviceArrived
push 0x2051
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044def7
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x18], 0
jne 0x440a97
test esi, esi
je 0x440a8d
mov eax, dword [esi + 0xfd0]
add esi, 0xd0e
push esi
test eax, eax
je 0x440a6d
add eax, 0x1838
push eax
push str._s_attached_to_port__s
jmp 0x440a77
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [ebx + 0x1c38]
cmp word [edi], 0
mov dword [ebp - 0x20], edi
je 0x440609
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
jmp 0x4405f0
push str._device_not_found_on_any_port
push 3
call fcn.0044def7
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x3e8
ja 0x44065c
push dword [ebp + 0xc]
call fcn.0044c569
test eax, eax
je 0x44067c
push str.__try_again_in_100_ms...
push 3
call fcn.0044def7
pop ecx
pop ecx
push 0x64
call esi
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [eax + 8]
push dword [ebp + 0x10]
call fcn.00409f83
mov dword [ebp + 0x14], eax
test eax, eax
je 0x4405ac
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
lea edi, [eax + ecx*4 + 0x284]
mov eax, dword [edi]
test eax, eax
jne 0x44068d
push ecx
push str._pHubInfo__pTNIs__i__is_NULL
push 3
call fcn.0044def7
add esp, 0xc
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DeviceArrived
push 0x2070
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044def7
add esp, 0x14
push 0x64
call esi
jmp 0x43fffb
push str._____give_up_for_full_enumeration
push 3
call fcn.0044def7
xor esi, esi
pop ecx
pop ecx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x440b97
push str.__because_no_more_present
push 3
call fcn.0044def7
xor esi, esi
inc esi
jmp 0x44066a
push eax
call fcn.004077a1
test eax, eax
jne 0x4406c3
push dword [edi]
push dword [ebp + 0x14]
push str._pHubInfo__pTNIs__i___0x_08Ix__is_invalid
push 3
call fcn.0044def7
add esp, 0x10
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DeviceArrived
push 0x2077
jmp 0x44063f
mov eax, dword [edi]
cmp dword [eax + 4], 0x1000
jle 0x4406e6
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DeviceArrived
push 0x207d
jmp 0x44063f
push 0x478a74
push 0
push 0x7f8a
call fcn.004346f7
mov esi, dword [edi]
mov dword [esi + 0xfec], 1
mov dword [esi + 0xfd0], ebx
cmp dword [0x517934], 4
jl 0x440726
push ebx
push dword [esi + 8]
push esi
push str.pPortTNI0x_08Ix__pPortTNI__hTreeItem0x_08Ix_pPortTNI__pDeviceInfo0x_08Ix
push 4
call fcn.0044def7
add esp, 0x14
push dword [ebp - 0x20]
xor eax, eax
mov word [esi + 0x20], ax
mov word [esi + 0x424], ax
mov word [esi + 0x868], ax
mov word [esi + 0xa6c], ax
mov word [esi + 0xdc4], ax
lea eax, [esi + 0xd64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x50d7e8]
push esi
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.0040c2e5
push dword [esi + 0xd60]
mov ecx, dword [0x50d7e8]
push esi
call fcn.00409233
mov eax, dword [esi + 0x14]
cmp eax, 9
je 0x440789
cmp eax, 0xa
jne 0x44079c
xor ebx, ebx
cmp word [esi + 0xa6c], bx
jne 0x44079e
push esi
call fcn.004317c3
jmp 0x44079e
xor ebx, ebx
lea eax, [esi + 0x20]
push eax
push ebx
push esi
call fcn.0040ab11
lea eax, [esi + 0x424]
push eax
xor edi, edi
inc edi
push edi
push esi
call fcn.0040ab11
push edi
mov ecx, esi
mov dword [esi + 0xcf4], edi
call fcn.0040b812
push ebx
push ebx
push esi
call fcn.0043a270
mov ecx, esi
call fcn.0040d89e
cmp dword [0x50d818], ebx
je 0x44082d
cmp dword [0x4a2b14], ebx
jne 0x4407f4
cmp dword [ebp - 0x10], ebx
je 0x44082d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], edi
jle 0x44082d
push dword [esi + 8]
push 9
push 0x110b
push dword [0x50b230]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x44082d
cmp dword [eax + 0x1008], ebx
jne 0x44082d
mov ecx, dword [ebp - 0x1c]
call fcn.00407c0b
push dword [0x50b230]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xc8
call fcn.00438d75
mov eax, dword [esi + 0xfc8]
cmp eax, ebx
je 0x440555
mov eax, dword [eax + 0x10]
test eax, eax
je 0x440555
cmp byte [eax + 0x18], 0
je 0x440555
cmp dword [esi + 0x14], 7
je 0x440867
mov dword [esi + 0x14], 6
xor ebx, ebx
cmp dword [esi + 0xfc4], ebx
jne 0x440897
push 0x684
call fcn.004483d6
pop ecx
cmp eax, ebx
je 0x440889
mov ecx, eax
call fcn.004076a7
jmp 0x44088b
xor eax, eax
mov dword [esi + 0xfc4], eax
inc dword [0x50aa88]
mov eax, dword [esi + 0xfc4]
lea ecx, [eax + 0x21c]
push ecx
add eax, 0x14
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0042ff4a
test eax, eax
jne 0x4408de
mov edi, dword [ebp + 8]
push edi
push str.ERROR:_hub_does_not_provide_a_symname__using_devpath_instead___s_
push 1
call fcn.0044def7
mov eax, dword [esi + 0xfc4]
add esp, 0xc
add edi, 8
push edi
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x517934], 4
jl 0x440900
mov eax, dword [esi + 0xfc4]
add eax, 0x14
push eax
push str.device_is_a_hub__symname_s
push 4
call fcn.0044def7
add esp, 0xc
cmp dword [esi + 0xfd0], ebx
je 0x440a5d
push 0x4789c0
push ebx
push 0x7f8a
call fcn.004346f7
mov eax, dword [esi + 0xfd0]
add eax, 0xc30
cmp word [eax], bx
jne 0x44094a
mov ecx, dword [esi + 0xfc4]
add ecx, 0x14
cmp word [ecx], bx
je 0x44094a
push ecx
push str.._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [esi + 0xfd0]
cmp word [eax + 0xc30], bx
je 0x4409ac
call fcn.00433f5d
call fcn.00439125
push ebx
call fcn.004340eb
mov ecx, dword [0x50d7e8]
push esi
call fcn.004088a8
mov eax, dword [esi + 0xfc4]
cmp dword [eax + 8], ebx
je 0x440989
push esi
push dword [esi + 8]
call fcn.0043c8c1
lea eax, [esi + 0x20]
push eax
push ebx
push esi
call fcn.0040ab11
lea eax, [esi + 0x424]
push eax
push 1
push esi
call fcn.0040ab11
push 1
mov ecx, esi
call fcn.0040b812
cmp dword [ebp - 0x18], ebx
jne 0x440a97
mov eax, dword [esi + 0xfd0]
test eax, eax
je 0x4409d3
lea ecx, [esi + 0xd0e]
push ecx
add eax, 0x1838
push eax
push str._s_attached_to_port__s
jmp 0x4409e4
lea eax, [esi + 0xd0e]
push eax
push str.USB_Hub
push str._S_attached_to_port__s
push dword [0x4a2afc]
push 1
push dword [0x50bb9c]
call fcn.00405e29
mov ecx, dword [0x50d7e8]
add esp, 0x18
call fcn.00409c40
mov eax, dword [esi + 0xfc8]
test eax, eax
je 0x440a50
mov eax, dword [eax + 0x40]
test eax, eax
je 0x440a50
xor ebx, ebx
test eax, eax
jle 0x440a50
push 0x30
pop edi
mov eax, dword [esi + 0xfc8]
mov eax, dword [edi + eax]
test eax, eax
je 0x440a41
cmp dword [eax + 0xfc4], 0
je 0x440a41
mov ecx, dword [0x50d7e8]
push eax
call fcn.004088a8
mov eax, dword [esi + 0xfc8]
inc ebx
add edi, 4
cmp ebx, dword [eax + 0x40]
jl 0x440a1f
mov ecx, dword [0x50d7e8]
call fcn.00409c40
jmp 0x440a97
push str.no_devicepath_
push 1
call fcn.0044def7
pop ecx
pop ecx
jmp 0x440a97
push str.USB_device
push str._S_attached_to_port__s
push dword [0x4a2afc]
push 1
push dword [0x50bb9c]
call fcn.00405e29
add esp, 0x18
push 0x478990
call fcn.0043caa0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x50d7e8]
call fcn.00409e37
call fcn.00433f5d
call fcn.00439125
xor esi, esi
push esi
call fcn.004340eb
push 0xc8
call fcn.00438d75
push 1
push esi
push esi
push dword [0x50b230]
call dword [sym.imp.USER32.dll_RedrawWindow]
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Child]
test eax, eax
jne 0x440b10
push dword [ebp + 0xc]
push str.PostMessage_WM_APP_SCAN_ARRIVED_CHILDS___u__A
push 4
call fcn.0044def7
add esp, 0xc
push esi
push dword [ebp + 0xc]
push 0x8007
push dword [0x50b228]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.SetTimer_500__Search_TimerProc_
push 4
call fcn.0044def7
mov esi, dword [sym.imp.USER32.dll_SetTimer]
pop ecx
pop ecx
push 0x4388f5
push 0x1f4
push 0x19091969
push dword [0x50b228]
call esi
push str.SetTimer_1000__ScanForUnnotifiedDevs_TimerProc_
push 4
call fcn.0044def7
pop ecx
pop ecx
push 0x433438
push 0x3e8
push 0x12340008
push dword [0x50b228]
call esi
push 0x433559
push 0x7d0
push 0x12340007
push dword [0x50b228]
call esi
call fcn.0043b5f2
jmp 0x440b94
push eax
call fcn.00449a0d
push eax
push str.DA_2_cret_S
push 4
call fcn.0044def7
add esp, 0xc
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10