Function at 0x436c69
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
mov dword [ebp - 0x568], ecx
lea edi, [ebp - 0xdc]
pop ecx
mov esi, str._:EFIRufus_ntfs_x64.efi
mov dword [ebp - 0x2c], str.USBSTOR
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [ebp - 0x28], str.RTSUER
mov eax, edx
mov dword [ebp - 0x24], str.CMIUCR
push 8
movsw word es:[edi], word [esi]
mov ebx, edx
pop esi
mov dword [ebp - 0x528], eax
lea edi, [ebp - 0x498]
mov dword [ebp - 0x514], eax
mov ecx, esi
mov eax, dword [str.___:_]
mov dword [ebp - 0xc], eax
mov ax, word [0x4cf890]
push edx
mov word [ebp - 8], ax
xor eax, eax
rep stosd dword es:[edi], eax
push edx
push 0x14b
push dword [0x5222a4]
mov ecx, esi
mov dword [ebp - 0x550], esi
lea edi, [ebp - 0x4b8]
mov dword [ebp - 0x20], str.EUCR
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], str.UASPSTOR
mov esi, edx
mov dword [ebp - 0x18], str.VUSBSTOR
mov dword [ebp - 0x14], str.ETRONSTOR
mov dword [ebp - 0x10], str.ASUSSTPT
mov dword [ebp - 0x608], str.SCSI
mov dword [ebp - 0x604], 0x4cf77c
mov dword [ebp - 0x600], str.PCISTOR
mov dword [ebp - 0x5fc], str.RTSOR
mov dword [ebp - 0x5f8], str.JMCR
mov dword [ebp - 0x5f4], str.JMCF
mov dword [ebp - 0x5f0], str.RIMMPTSK
mov dword [ebp - 0x5ec], str.RIMSPTSK
mov dword [ebp - 0x5e8], str.RISD
mov dword [ebp - 0x5e4], str.RIXDPTSK
mov dword [ebp - 0x5e0], str.TI21SONY
mov dword [ebp - 0x5dc], str.ESD7SK
mov dword [ebp - 0x5d8], str.ESM7SK
mov dword [ebp - 0x5d4], str.O2MD
mov dword [ebp - 0x5d0], str.O2SD
mov dword [ebp - 0x5cc], str.VIACR
mov dword [ebp - 0x5c8], str._SD_
mov dword [ebp - 0x5c4], str._SDHC_
mov dword [ebp - 0x5c0], str._MMC_
mov dword [ebp - 0x5bc], str._MS_
mov dword [ebp - 0x5b8], str._MSPro_
mov dword [ebp - 0x5b4], str._xDPicture_
mov dword [ebp - 0x5b0], str._O2Media_
mov dword [ebp - 0x5ac], 0x4cf84c
mov dword [ebp - 0x5a8], str.USB_1.0
mov dword [ebp - 0x5a4], str.USB_1.1
mov dword [ebp - 0x5a0], str.USB_2.0
mov dword [ebp - 0x59c], str.USB_3.0
mov dword [ebp - 0x598], str.USB_3.1
mov dword [ebp - 0x51c], edx
mov dword [ebp - 0x518], edx
mov dword [ebp - 0x56c], 0x5c3a3f
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x564], edx
mov dword [ebp - 0x560], 0x10
mov dword [ebp - 0x558], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x521dc0
call fcn.0042dd0c
mov ecx, 0x521f00
call fcn.0042dd0c
mov ecx, 0x521de0
call fcn.0042dd0c
mov ecx, 0x521910
call fcn.0042dd0c
mov edx, 0x80
lea ecx, [ebp - 0x57c]
call fcn.0042dc5c
xor eax, eax
lea ecx, [ebp - 0x57c]
inc eax
mov edx, 0x4b4dda
push eax
call fcn.0042dc87
mov dword [esp], 0x104
call fcn.004812e1
mov edi, eax
pop ecx
test edi, edi
je 0x438d2a
push 0x12
push esi
push esi
push 0x4b1ef8
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov esi, eax
mov dword [ebp - 0x538], esi
cmp esi, 0xffffffff
je 0x43745a
lea edx, [ebp - 0x51c]
mov ecx, 0x101
call fcn.0042d50b
test eax, eax
je 0x437447
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 0x1c
push eax
push ebx
push esi
mov dword [ebp - 0x534], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x437447
mov eax, dword [ebp - 0x514]
mov dword [ebp - 0x528], eax
cmp dword [0x5223d8], 0
je 0x436f62
lea eax, [ebx + 1]
push eax
push str.Processing_Hub__d:
call fcn.0042ed57
pop ecx
pop ecx
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x4f0], 0x1c
push eax
push 0
push 0x4b1ef8
lea eax, [ebp - 0x4d4]
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x437427
xor ecx, ecx
lea eax, [ebp - 0x52c]
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x4f0]
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
jne 0x437427
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x437427
push dword [ebp - 0x52c]
xor eax, eax
inc eax
push eax
call fcn.0047b53f
mov ebx, eax
mov dword [ebp - 0x554], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x437421
push 0
lea eax, [ebp - 0x52c]
mov dword [ebx], 5
push eax
push dword [ebp - 0x52c]
lea eax, [ebp - 0x4f0]
push ebx
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
je 0x437415
push 0
push dword [ebp - 0x4c0]
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Child]
test eax, eax
jne 0x437415
mov byte [edi], al
lea esi, [ebx + 4]
inc eax
lea ecx, [ebp - 0x57c]
push eax
mov edx, esi
call fcn.0042dc87
cmp dword [0x5223d8], 0
mov ebx, eax
pop ecx
mov dword [ebp - 0x510], ebx
je 0x437060
push esi
push ebx
push str.__Hub__d____s
call fcn.0042ed57
add esp, 0xc
test ebx, ebx
js 0x43740f
push 0
push 0x104
push edi
push dword [ebp - 0x530]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDA]
test eax, eax
jne 0x43740f
mov ecx, edi
call fcn.004367c2
mov ebx, dword [ebp - 0x51c]
xor ecx, ecx
mov edx, edi
test ebx, ebx
je 0x4372ce
movsx eax, byte [edi]
jmp 0x4370ae
imul ecx, ecx, 0x1003f
inc edx
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x4370a2
xor ebx, ebx
test ecx, ecx
lea eax, [ebx + 1]
cmovne eax, ecx
xor edx, edx
div dword [ebp - 0x518]
mov ecx, dword [ebp - 0x51c]
lea eax, [ebx + 1]
test edx, edx
cmovne eax, edx
mov esi, eax
mov dword [ebp - 0x520], eax
imul ebx, esi, 0xc
cmp dword [ebx + ecx], 0
je 0x4371b3
cmp dword [ebx + ecx], eax
jne 0x43710d
mov eax, dword [ebx + ecx + 4]
test eax, eax
mov ecx, str._NULL_
cmovne ecx, eax
push ecx
push edi
call fcn.00481660
pop ecx
pop ecx
test eax, eax
je 0x4372ae
mov eax, esi
mov ecx, dword [ebp - 0x518]
xor edx, edx
add ecx, 0xfffffffe
div ecx
lea ecx, [edx + 1]
imul edx, ecx, 0xc
imul eax, dword [ebp - 0x518], 0xc
mov dword [ebp - 0x544], ecx
mov dword [ebp - 0x524], edx
mov dword [ebp - 0x548], eax
mov eax, esi
sub ebx, edx
sub eax, ecx
cmp esi, ecx
ja 0x437153
mov esi, dword [ebp - 0x518]
add esi, eax
add ebx, dword [ebp - 0x548]
jmp 0x437155
mov esi, eax
mov eax, dword [ebp - 0x520]
cmp esi, eax
je 0x4371ad
mov edx, dword [ebp - 0x51c]
cmp dword [ebx + edx], eax
mov edx, dword [ebp - 0x524]
jne 0x4371a1
mov eax, dword [ebp - 0x51c]
mov ecx, str._NULL_
mov eax, dword [ebx + eax + 4]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.00481660
pop ecx
pop ecx
test eax, eax
je 0x4372ae
mov ecx, dword [ebp - 0x544]
mov edx, dword [ebp - 0x524]
mov eax, dword [ebp - 0x51c]
cmp dword [ebx + eax], 0
jne 0x437139
mov ecx, dword [ebp - 0x51c]
mov eax, dword [ebp - 0x518]
cmp dword [ebp - 0x528], eax
jb 0x43723f
push eax
push str.hash_table_is_full___d_entries_
call fcn.0042ed57
pop ecx
pop ecx
xor esi, esi
mov ebx, dword [ebp - 0x51c]
cmp dword [0x5223d8], 0
je 0x4371ee
push edi
push esi
push str.__Found_ID__03d_:__s
call fcn.0042ed57
add esp, 0xc
push 0
push dword [ebp - 0x530]
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Sibling]
test eax, eax
jne 0x43740f
push eax
push 0x104
push edi
mov byte [edi], al
push dword [ebp - 0x530]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDA]
test eax, eax
jne 0x4371ee
mov ecx, edi
call fcn.004367c2
xor ecx, ecx
mov edx, edi
test ebx, ebx
je 0x4372ce
movsx eax, byte [edi]
jmp 0x4372e1
imul ebx, esi, 0xc
push dword [ebx + ecx + 4]
call fcn.004812c6
mov eax, dword [ebp - 0x520]
pop ecx
mov ecx, dword [ebp - 0x51c]
push edi
and dword [ebx + ecx + 4], 0
mov dword [ebx + ecx], eax
call fcn.004816f0
pop ecx
inc eax
push eax
call fcn.004812e1
pop ecx
mov ecx, dword [ebp - 0x51c]
mov dword [ebx + ecx + 4], eax
test eax, eax
jne 0x43728c
push str.could_not_duplicate_string_for_hash_table_n
call fcn.0042ed57
jmp 0x4371cd
push edi
call fcn.004816f0
pop ecx
inc eax
push eax
mov eax, dword [ebp - 0x51c]
push edi
push dword [ebx + eax + 4]
call fcn.00476fc0
add esp, 0xc
inc dword [ebp - 0x528]
test esi, esi
je 0x4371d0
mov ebx, dword [ebp - 0x51c]
mov ecx, dword [ebp - 0x510]
imul eax, esi, 0xc
mov dword [eax + ebx + 8], ecx
jmp 0x4371d6
xor esi, esi
jmp 0x4371d6
imul ecx, ecx, 0x1003f
inc edx
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x4372d5
xor ebx, ebx
test ecx, ecx
lea eax, [ebx + 1]
cmovne eax, ecx
xor edx, edx
div dword [ebp - 0x518]
mov ecx, dword [ebp - 0x51c]
lea eax, [ebx + 1]
test edx, edx
cmovne eax, edx
mov esi, eax
mov dword [ebp - 0x520], eax
imul ebx, esi, 0xc
cmp dword [ebx + ecx], 0
je 0x4373e6
cmp dword [ebx + ecx], eax
jne 0x437340
mov eax, dword [ebx + ecx + 4]
test eax, eax
mov ecx, str._NULL_
cmovne ecx, eax
push ecx
push edi
call fcn.00481660
pop ecx
pop ecx
test eax, eax
je 0x4372ae
mov eax, esi
mov ecx, dword [ebp - 0x518]
xor edx, edx
add ecx, 0xfffffffe
div ecx
lea ecx, [edx + 1]
imul edx, ecx, 0xc
imul eax, dword [ebp - 0x518], 0xc
mov dword [ebp - 0x544], ecx
mov dword [ebp - 0x524], edx
mov dword [ebp - 0x548], eax
mov eax, esi
sub ebx, edx
sub eax, ecx
cmp esi, ecx
ja 0x437386
mov esi, dword [ebp - 0x518]
add esi, eax
add ebx, dword [ebp - 0x548]
jmp 0x437388
mov esi, eax
mov eax, dword [ebp - 0x520]
cmp esi, eax
je 0x4373e0
mov edx, dword [ebp - 0x51c]
cmp dword [ebx + edx], eax
mov edx, dword [ebp - 0x524]
jne 0x4373d4
mov eax, dword [ebp - 0x51c]
mov ecx, str._NULL_
mov eax, dword [ebx + eax + 4]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.00481660
pop ecx
pop ecx
test eax, eax
je 0x4372ae
mov ecx, dword [ebp - 0x544]
mov edx, dword [ebp - 0x524]
mov eax, dword [ebp - 0x51c]
cmp dword [ebx + eax], 0
jne 0x43736c
mov ecx, dword [ebp - 0x51c]
mov eax, dword [ebp - 0x518]
cmp dword [ebp - 0x528], eax
jae 0x4371c1
imul ebx, esi, 0xc
push dword [ebx + ecx + 4]
call fcn.004812c6
mov eax, dword [ebp - 0x520]
jmp 0x437251
mov esi, dword [ebp - 0x538]
push dword [ebp - 0x554]
call fcn.004812c6
pop ecx
mov ebx, dword [ebp - 0x534]
lea eax, [ebp - 0x4d4]
inc ebx
push eax
push ebx
push esi
mov dword [ebp - 0x534], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x436f49
jmp 0x437453
mov eax, dword [ebp - 0x514]
mov dword [ebp - 0x528], eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push edi
call fcn.004812c6
xor ebx, ebx
xor esi, esi
pop ecx
push str.UASPSTOR
push dword [ebp + esi*4 - 0x2c]
call fcn.00481660
pop ecx
pop ecx
push 0x102
push dword [ebp + esi*4 - 0x2c]
test eax, eax
lea edi, [ebp - 0x498]
mov ecx, esi
lea edi, [edi + esi*4]
cmovne ecx, dword [ebp - 0x550]
push edi
mov dword [ebp - 0x550], ecx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_List_SizeA]
test eax, eax
je 0x4374a6
and dword [edi], 0
mov eax, dword [edi]
test eax, eax
je 0x4374af
dec ebx
add ebx, eax
inc esi
cmp esi, 8
jb 0x437465
mov edi, dword [ebp - 0x560]
xor esi, esi
push 0x4cf77c
push dword [ebp + esi*4 - 0x608]
call fcn.00481660
pop ecx
test eax, eax
pop ecx
mov ecx, esi
cmovne ecx, edi
inc esi
mov edi, ecx
cmp esi, 0x10
jb 0x4374bd
mov eax, dword [ebp - 0x550]
mov esi, str.C:UsersGauravDownloads_formatusb_master_1__formatusb_master_srcdev.c
mov dword [ebp - 0x560], edi
test eax, eax
je 0x4374f9
cmp eax, 8
jb 0x43750c
push 0x23a
push esi
push str._uasp_start___0____uasp_start___ARRAYSIZE_usbstor_name__
call fcn.00486ba7
add esp, 0xc
test edi, edi
je 0x437515
cmp edi, 0x10
jb 0x437528
push 0x23b
push esi
push str._card_start___0____card_start___ARRAYSIZE_genstor_name__
call fcn.00486ba7
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x534], esi
test ebx, ebx
je 0x43761d
lea eax, [ebx + 1]
push eax
call fcn.004812e1
mov edi, eax
mov dword [ebp - 0x534], edi
pop ecx
test edi, edi
jne 0x437562
push str.Could_not_allocate_Device_ID_list
call fcn.0042ed57
mov ebx, esi
mov esi, edi
pop ecx
jmp 0x438d2a
xor eax, eax
xor esi, esi
xor ebx, ebx
inc eax
mov dword [ebp + ebx - 0x4b8], esi
cmp dword [ebp + ebx - 0x498], eax
jbe 0x43760b
push 0x102
push dword [ebp + ebx - 0x498]
add edi, esi
push edi
push dword [ebp + ebx - 0x2c]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_ListA]
test eax, eax
jne 0x437602
cmp dword [0x5223d8], eax
je 0x4375d0
push dword [ebp + ebx - 0x2c]
push str.Processing_IDs_belonging_to__s:
call fcn.0042ed57
pop ecx
pop ecx
jmp 0x4375cb
push edi
push str.___s
call fcn.0042ed57
push edi
call fcn.004816f0
inc edi
add esp, 0xc
add edi, eax
cmp byte [edi], 0
jne 0x4375b4
add esi, dword [ebp + ebx - 0x498]
mov edi, dword [ebp - 0x534]
push 2
pop ecx
cmp esi, ecx
jbe 0x437608
lea eax, [edi - 1]
add eax, esi
cmp byte [eax - 1], 0
je 0x4375fa
cmp byte [eax], 0
jne 0x4375fa
cmp byte [eax + 1], 0
je 0x437608
dec esi
dec eax
cmp esi, ecx
ja 0x4375e9
jmp 0x437608
mov edi, dword [ebp - 0x534]
xor eax, eax
inc eax
add ebx, 4
cmp ebx, 0x20
jb 0x437569
mov esi, dword [ebp - 0x534]
push 0x12
push 0
push 0
push 0x4b5f80
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x538], eax
cmp eax, 0xffffffff
jne 0x437656
call fcn.0042fc51
push eax
push str.SetupDiGetClassDevs__Interface__failed:__s
call fcn.0042ed57
mov ebx, dword [ebp - 0x54c]
pop ecx
pop ecx
jmp 0x438d2a
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 0x1c
push ecx
xor edi, edi
push edi
push eax
mov dword [ebp - 0x548], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x438c77
mov ebx, 0x104
lea eax, [ebp - 0x1e8]
push ebx
push 0
push eax
call fcn.00478bc0
add esp, 0xc
lea eax, [ebp - 0x50c]
push 0x1c
push 0
push eax
call fcn.00478bc0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x544], eax
mov edi, 0x4b4dda
lea eax, [ebp - 0x52c]
mov dword [ebp - 0x510], edi
push eax
push ebx
mov ebx, dword [ebp - 0x538]
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x55c]
push eax
push 0x16
lea eax, [ebp - 0x4d4]
push eax
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x437702
call fcn.0042fc51
push eax
push str.SetupDiGetDeviceRegistryProperty__Enumerator_Name__failed:__s
call fcn.0042ed57
pop ecx
jmp 0x438c47
xor esi, esi
lea eax, [ebp - 0x1e8]
push str.USBSTOR
push eax
call fcn.0048ad35
pop ecx
pop ecx
test eax, eax
je 0x437723
inc esi
cmp esi, 8
jb 0x437704
jmp 0x437746
xor ecx, ecx
inc ecx
mov byte [ebp - 0x4f8], cl
test esi, esi
je 0x437746
movzx eax, byte [ebp - 0x4f6]
cmp esi, dword [ebp - 0x550]
cmovb eax, ecx
mov byte [ebp - 0x4f6], al
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x608]
mov ecx, str._NULL_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1e8]
push ecx
push eax
call fcn.0048ad35
pop ecx
pop ecx
test eax, eax
je 0x437774
inc esi
cmp esi, 0x10
jb 0x437748
jmp 0x437793
movzx eax, byte [ebp - 0x4f6]
xor ecx, ecx
inc ecx
cmp esi, dword [ebp - 0x560]
mov byte [ebp - 0x4f7], cl
cmovae eax, ecx
mov byte [ebp - 0x4f6], al
mov eax, dword [0x5223d8]
test eax, eax
je 0x4377b4
lea eax, [ebp - 0x1e8]
push eax
push str.Processing__s_device:
call fcn.0042ed57
mov eax, dword [0x5223d8]
pop ecx
pop ecx
cmp byte [ebp - 0x4f8], 0
jne 0x4377d8
cmp byte [ebp - 0x4f7], 0
jne 0x4377d8
test eax, eax
je 0x438c48
push str.__Disabled_by_policy
jmp 0x438c42
mov esi, 0x104
lea eax, [ebp - 0x1e8]
push esi
push 0
push eax
call fcn.00478bc0
add esp, 0xc
lea eax, [ebp - 0x52c]
push eax
push esi
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x55c]
push eax
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x4d4]
push eax
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
je 0x43787a
mov dword [ebp - 0x594], str.Arsenal_________Virtual_
xor esi, esi
mov dword [ebp - 0x590], str.KernSafeVirtual_________
mov dword [ebp - 0x58c], str.Msft____Virtual_Disk____
mov dword [ebp - 0x588], str.VMware__VMware_Virtual_S
mov eax, dword [ebp + esi*4 - 0x594]
mov ecx, str._NULL_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1e8]
push ecx
push eax
call fcn.00478e50
pop ecx
pop ecx
test eax, eax
jne 0x4378bd
inc esi
cmp dword [0x521dd4], eax
setne al
add eax, 3
cmp esi, eax
jl 0x437845
mov byte [ebp - 0x4f4], 0
cmp byte [ebp - 0x4f6], 0
jne 0x43796d
push 3
lea eax, [ebp - 0x1e8]
push str.SCSIDisk
push eax
call fcn.004873d4
add esp, 0xc
test eax, eax
jne 0x43796d
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x5c8]
test esi, esi
jne 0x4378c8
xor eax, eax
jmp 0x4378dc
xor eax, eax
inc eax
mov byte [ebp - 0x4f4], al
jmp 0x437881
push esi
call fcn.004816f0
inc eax
pop ecx
cmp eax, 0x10
jae 0x4378df
push esi
call fcn.004816f0
pop ecx
inc eax
jmp 0x4378e2
push 0x10
pop eax
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00476fc0
add esp, 0xc
test esi, esi
jne 0x4378f8
xor eax, eax
jmp 0x43790c
push esi
call fcn.004816f0
inc eax
pop ecx
cmp eax, 0x10
jae 0x43790f
push esi
call fcn.004816f0
pop ecx
inc eax
jmp 0x437912
push 0x10
pop eax
mov byte [ebp + eax - 0x3d], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00478e50
pop ecx
pop ecx
test eax, eax
jne 0x43795e
lea eax, [ebp - 0x3c]
push eax
call fcn.004816f0
pop ecx
mov byte [ebp + eax - 0x3d], 0x26
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00478e50
pop ecx
pop ecx
test eax, eax
jne 0x43795e
inc edi
cmp edi, 7
jb 0x4378ae
jmp 0x437967
xor eax, eax
inc eax
mov byte [ebp - 0x4f6], al
mov edi, dword [ebp - 0x510]
cmp dword [0x5223d8], 0
je 0x437989
lea eax, [ebp - 0x1e8]
push eax
push str.__Hardware_ID:__s
call fcn.0042ed57
pop ecx
pop ecx
lea eax, [ebp - 0x52c]
mov esi, 0x104
push eax
push esi
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x4d4]
push eax
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
test eax, eax
jne 0x437a21
call fcn.0042fc51
push eax
push str.SetupDiGetDeviceInstanceId_failed:__s
call fcn.0042ed57
mov esi, str._N_A_
push esi
call fcn.004816f0
add esp, 0xc
mov ecx, 0x104
inc eax
cmp eax, ecx
jae 0x4379e1
push esi
call fcn.004816f0
pop ecx
inc eax
jmp 0x4379e3
mov eax, ecx
push eax
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.00476fc0
add esp, 0xc
push esi
call fcn.004816f0
inc eax
pop ecx
cmp eax, 0x104
jae 0x437a12
push esi
call fcn.004816f0
pop ecx
inc eax
mov esi, 0x104
jmp 0x437a19
mov esi, 0x104
mov eax, esi
mov byte [ebp + eax - 0x3f9], 0
push esi
lea eax, [ebp - 0x1e8]
push 0
push eax
call fcn.00478bc0
add esp, 0xc
lea eax, [ebp - 0x52c]
push eax
push esi
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x55c]
push eax
push 0x1f
lea eax, [ebp - 0x4d4]
push eax
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
je 0x437a7a
mov eax, dword [ebp - 0x1e8]
push 2
pop ecx
sub eax, ecx
je 0x437a6f
sub eax, 1
jne 0x437a7a
xor eax, eax
inc eax
mov byte [ebp - 0x4f3], al
jmp 0x437a81
mov byte [ebp - 0x4f3], 0
push esi
lea eax, [ebp - 0x1e8]
push 0
push eax
call fcn.00478bc0
add esp, 0xc
lea eax, [ebp - 0x52c]
lea edx, [ebp - 0x4d4]
push eax
push ecx
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x55c]
push eax
push ecx
mov ecx, ebx
call fcn.0043607d
add esp, 0x14
test eax, eax
jne 0x437b76
call fcn.0042fc51
push eax
push str.SetupDiGetDeviceRegistryProperty__Friendly_Name__failed:__s
call fcn.0042ed57
mov ebx, 0xbe5
push ebx
call fcn.00414768
add esp, 0xc
test eax, eax
je 0x437afb
push ebx
call fcn.00414768
pop ecx
push eax
call fcn.004816f0
inc eax
pop ecx
cmp eax, esi
jb 0x437afb
mov eax, esi
jmp 0x437b15
push ebx
call fcn.00414768
pop ecx
test eax, eax
je 0x437b14
push ebx
call fcn.00414768
pop ecx
push eax
call fcn.004816f0
pop ecx
inc eax
push eax
push ebx
call fcn.00414768
pop ecx
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00476fc0
add esp, 0xc
push ebx
call fcn.00414768
pop ecx
test eax, eax
je 0x437b4f
push ebx
call fcn.00414768
pop ecx
push eax
call fcn.004816f0
inc eax
pop ecx
cmp eax, esi
jb 0x437b4f
mov eax, esi
jmp 0x437b69
push ebx
call fcn.00414768
pop ecx
test eax, eax
je 0x437b68
push ebx
call fcn.00414768
pop ecx
push eax
call fcn.004816f0
pop ecx
inc eax
mov byte [ebp + eax - 0x1e9], 0
jmp 0x438189
cmp byte [ebp - 0x4f4], 0
jne 0x4383fe
mov esi, dword [ebp - 0x534]
test esi, esi
je 0x438196
cmp byte [esi], 0
mov ebx, esi
mov dword [ebp - 0x524], esi
je 0x438196
push 0
push ebx
lea eax, [ebp - 0x570]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeA]
test eax, eax
je 0x437bd5
cmp dword [0x5223d8], 0
je 0x437c9f
push ebx
push str.Could_not_locate_device_node_for__s
call fcn.0042ed57
pop ecx
pop ecx
jmp 0x437c9f
push 0
push dword [ebp - 0x570]
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Child]
test eax, eax
je 0x437c03
cmp dword [0x5223d8], 0
je 0x437c9f
push ebx
push str.Could_not_get_children_of__s
jmp 0x437bc9
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x4c0]
jne 0x437c61
mov eax, dword [ebp - 0x550]
xor edi, edi
mov dword [ebp - 0x510], edi
mov ecx, dword [ebp + eax*4 - 0x4b8]
lea eax, [ebx + 2]
add ecx, esi
cmp eax, ecx
mov ecx, ebx
sbb al, al
inc al
mov byte [ebp - 0x4f5], al
call fcn.004367c2
xor ecx, ecx
mov edx, ebx
cmp dword [ebp - 0x51c], ecx
je 0x437e6e
movsx eax, byte [ebx]
jmp 0x437cc9
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x4c0]
je 0x437c77
push 0
push eax
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Sibling]
test eax, eax
je 0x437c53
jmp 0x437c8d
cmp dword [0x5223d8], 0
je 0x437c8d
push ebx
push str.NOTE:_Matched_instance_from_sibling_for__s
call fcn.0042ed57
pop ecx
pop ecx
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x4c0]
je 0x437c11
push ebx
call fcn.004816f0
inc ebx
add ebx, eax
pop ecx
mov dword [ebp - 0x524], ebx
cmp byte [ebx], 0
jne 0x437ba2
jmp 0x438189
imul ecx, ecx, 0x1003f
inc edx
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x437cbd
xor ebx, ebx
inc ebx
test ecx, ecx
mov eax, ebx
cmovne eax, ecx
xor edx, edx
div dword [ebp - 0x518]
mov eax, dword [ebp - 0x51c]
test edx, edx
cmovne ebx, edx
mov esi, ebx
imul edi, esi, 0xc
mov dword [ebp - 0x520], esi
cmp dword [edi + eax], 0
je 0x437dc6
cmp dword [edi + eax], ebx
jne 0x437d35
mov eax, dword [edi + eax + 4]
mov ecx, str._NULL_
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0x524]
call fcn.00481660
pop ecx
pop ecx
test eax, eax
jne 0x437d35
mov edi, dword [ebp - 0x510]
mov ebx, dword [ebp - 0x524]
jmp 0x437e76
mov ecx, dword [ebp - 0x518]
xor edx, edx
mov eax, ebx
lea ecx, [ecx - 2]
div ecx
lea ecx, [edx + 1]
imul edx, ecx, 0xc
imul eax, dword [ebp - 0x518], 0xc
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x554], eax
mov eax, esi
sub edi, edx
sub eax, ecx
cmp esi, ecx
ja 0x437d7d
mov esi, dword [ebp - 0x518]
add esi, eax
add edi, dword [ebp - 0x554]
jmp 0x437d7f
mov esi, eax
mov eax, dword [ebp - 0x51c]
cmp esi, ebx
je 0x437dc6
cmp dword [edi + eax], ebx
jne 0x437dc0
mov eax, dword [edi + eax + 4]
mov ecx, str._NULL_
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0x524]
call fcn.00481660
pop ecx
pop ecx
test eax, eax
je 0x437de7
mov ecx, dword [ebp - 0x520]
mov edx, dword [ebp - 0x53c]
mov eax, dword [ebp - 0x51c]
cmp dword [edi + eax], 0
jne 0x437d63
mov edx, dword [ebp - 0x518]
cmp dword [ebp - 0x528], edx
jb 0x437df5
push edx
push str.hash_table_is_full___d_entries_
call fcn.0042ed57
pop ecx
xor esi, esi
pop ecx
mov edi, esi
jmp 0x437ded
mov edi, dword [ebp - 0x510]
mov ebx, dword [ebp - 0x524]
jmp 0x437e70
imul edi, esi, 0xc
push dword [edi + eax + 4]
call fcn.004812c6
mov eax, dword [ebp - 0x51c]
pop ecx
and dword [edi + eax + 4], 0
mov dword [edi + eax], ebx
mov ebx, dword [ebp - 0x524]
push ebx
call fcn.004816f0
pop ecx
inc eax
push eax
call fcn.004812e1
pop ecx
mov ecx, dword [ebp - 0x51c]
mov dword [edi + ecx + 4], eax
test eax, eax
jne 0x437e44
push str.could_not_duplicate_string_for_hash_table_n
call fcn.0042ed57
xor esi, esi
pop ecx
mov edi, esi
jmp 0x437e70
push ebx
call fcn.004816f0
pop ecx
inc eax
push eax
mov eax, dword [ebp - 0x51c]
push ebx
push dword [edi + eax + 4]
call fcn.00476fc0
mov edi, dword [ebp - 0x510]
add esp, 0xc
inc dword [ebp - 0x528]
jmp 0x437e70
xor esi, esi
mov dword [ebp - 0x520], esi
cmp dword [0x5223d8], 0
je 0x437e8e
push ebx
push esi
push str.__Matched_with_ID__03d_:__s
call fcn.0042ed57
add esp, 0xc
push dword [ebp - 0x524]
xor ebx, ebx
and dword [ebp - 0x53c], ebx
call fcn.004816f0
pop ecx
test eax, eax
je 0x437f31
mov esi, dword [ebp - 0x53c]
push 2
pop eax
mov dword [ebp - 0x510], edi
cmp esi, eax
jae 0x437f2b
mov ecx, dword [ebp - 0x524]
mov al, byte [ebx + ecx]
cmp al, 0x5c
jne 0x437ed1
xor eax, eax
lea edi, [eax + 1]
jmp 0x437f1a
cmp dword [ebp - 0x510], 0
je 0x437f14
mov dword [ebp - 0x510], edi
cmp al, 0x5f
jne 0x437f14
push 0x10
lea eax, [ecx + 1]
add eax, ebx
push 0
push eax
call fcn.00488f0a
movzx ecx, ax
add esp, 0xc
mov eax, esi
mov dword [ebp - 0x508], ecx
inc esi
mov dword [ebp - 0x510], edi
test eax, eax
jne 0x437f14
mov dword [ebp - 0x50c], ecx
jmp 0x437f1a
mov edi, dword [ebp - 0x510]
push dword [ebp - 0x524]
inc ebx
call fcn.004816f0
pop ecx
cmp ebx, eax
jb 0x437eb0
mov esi, dword [ebp - 0x520]
cmp dword [ebp - 0x50c], 0
mov eax, 0x4b4dda
mov ebx, dword [ebp - 0x51c]
mov edi, str._ID_
cmove edi, eax
imul eax, esi, 0xc
cmp dword [eax + ebx + 8], 0
jne 0x438122
push 0
push dword [ebp - 0x570]
lea eax, [ebp - 0x580]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test eax, eax
jne 0x438122
push eax
push 0x104
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x580]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDA]
test eax, eax
jne 0x438122
lea eax, [ebp - 0x2f0]
mov edi, str._GP_
mov ecx, eax
mov dword [ebp - 0x524], eax
mov dword [ebp - 0x510], edi
call fcn.004367c2
xor ecx, ecx
lea edx, [ebp - 0x2f0]
test ebx, ebx
je 0x438102
movsx eax, byte [ebp - 0x2f0]
jmp 0x437fda
imul ecx, ecx, 0x1003f
inc edx
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x437fce
xor ebx, ebx
inc ebx
test ecx, ecx
mov eax, ebx
cmovne eax, ecx
xor edx, edx
div dword [ebp - 0x518]
mov eax, dword [ebp - 0x51c]
test edx, edx
cmovne ebx, edx
mov esi, ebx
imul edi, esi, 0xc
cmp dword [edi + eax], 0
je 0x4380d7
cmp dword [edi + eax], ebx
jne 0x438041
mov eax, dword [edi + eax + 4]
mov ecx, str._NULL_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x2f0]
push ecx
push eax
call fcn.00481660
pop ecx
pop ecx
test eax, eax
jne 0x438041
mov edi, dword [ebp - 0x510]
mov ebx, dword [ebp - 0x51c]
jmp 0x438104
mov ecx, dword [ebp - 0x518]
xor edx, edx
mov eax, ebx
lea ecx, [ecx - 2]
div ecx
lea ecx, [edx + 1]
imul edx, ecx, 0xc
imul eax, dword [ebp - 0x518], 0xc
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x53c], eax
mov eax, esi
sub edi, edx
sub eax, ecx
cmp esi, ecx
ja 0x438089
mov esi, dword [ebp - 0x518]
add esi, eax
add edi, dword [ebp - 0x53c]
jmp 0x43808b
mov esi, eax
mov eax, dword [ebp - 0x51c]
cmp esi, ebx
je 0x4380d7
cmp dword [edi + eax], ebx
jne 0x4380d1
mov eax, dword [edi + eax + 4]
mov ecx, str._NULL_
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x2f0]
push ecx
push eax
call fcn.00481660
pop ecx
pop ecx
test eax, eax
je 0x438030
mov ecx, dword [ebp - 0x554]
mov edx, dword [ebp - 0x520]
mov eax, dword [ebp - 0x51c]
cmp dword [edi + eax], 0
jne 0x43806f
mov edx, dword [ebp - 0x518]
cmp dword [ebp - 0x528], edx
jb 0x4381d9
push edx
push str.hash_table_is_full___d_entries_
call fcn.0042ed57
mov edi, dword [ebp - 0x510]
mov ebx, dword [ebp - 0x51c]
pop ecx
pop ecx
xor esi, esi
cmp dword [0x5223d8], 0
je 0x438122
lea eax, [ebp - 0x2f0]
push eax
push esi
push str.__Matched_with__GP__ID__03d_:__s
call fcn.0042ed57
add esp, 0xc
imul esi, esi, 0xc
mov eax, dword [esi + ebx + 8]
test eax, eax
je 0x438189
cmp dword [0x5223d8], 0
je 0x43814d
mov ecx, dword [ebp - 0x57c]
push dword [ecx + eax*4]
push eax
push str.__Matched_with_Hub__d_:__s
call fcn.0042ed57
add esp, 0xc
mov ecx, dword [esi + ebx + 8]
lea eax, [ebp - 0x50c]
mov edx, dword [ebp - 0x524]
push eax
mov eax, dword [ebp - 0x57c]
mov ecx, dword [eax + ecx*4]
call fcn.00436107
pop ecx
test eax, eax
je 0x438189
mov eax, dword [esi + ebx + 8]
mov edi, 0x4b4dda
mov ecx, dword [ebp - 0x57c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x544], eax
cmp byte [ebp - 0x4f4], 0
jne 0x4383fe
cmp byte [ebp - 0x4f6], 0
mov cl, byte [ebp - 0x4f8]
mov eax, dword [ebp - 0x508]
je 0x438260
test cl, cl
je 0x4381c8
cmp dword [ebp - 0x50c], 0
jne 0x438260
test eax, eax
jne 0x438260
lea eax, [ebp - 0x1e8]
push eax
push str.Found_card_reader_device__s
jmp 0x43840a
imul edi, esi, 0xc
push dword [edi + eax + 4]
call fcn.004812c6
mov eax, dword [ebp - 0x51c]
pop ecx
and dword [edi + eax + 4], 0
mov dword [edi + eax], ebx
lea eax, [ebp - 0x2f0]
push eax
call fcn.004816f0
pop ecx
inc eax
push eax
call fcn.004812e1
mov ebx, dword [ebp - 0x51c]
pop ecx
mov dword [edi + ebx + 4], eax
test eax, eax
jne 0x43822d
push str.could_not_duplicate_string_for_hash_table_n
call fcn.0042ed57
mov edi, dword [ebp - 0x510]
pop ecx
jmp 0x438102
lea eax, [ebp - 0x2f0]
push eax
call fcn.004816f0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x2f0]
push eax
push dword [edi + ebx + 4]
call fcn.00476fc0
mov edi, dword [ebp - 0x510]
add esp, 0xc
inc dword [ebp - 0x528]
jmp 0x438104
test cl, cl
jne 0x4382b1
cmp byte [ebp - 0x4f5], cl
jne 0x4382b1
cmp byte [ebp - 0x4f3], cl
je 0x4382b1
cmp dword [0x4dcaa8], 0
lea eax, [ebp - 0x1e8]
push eax
jne 0x4382a7
push str.Found_non_USB_removable_device__s___Eliminated
call fcn.0042ed57
cmp dword [0x5223d8], 0
pop ecx
pop ecx
je 0x438c48
push str.If_you_REALLY_need__you_can_enable_listing_of_this_device_with__Ctrl__Alt__F_
jmp 0x438c42
push str.Found_non_USB_removable_device__s
jmp 0x43840a
cmp dword [ebp - 0x50c], 0
jne 0x438334
test eax, eax
jne 0x438334
test cl, cl
jne 0x4382df
cmp dword [0x5223d8], eax
je 0x438c48
lea eax, [ebp - 0x1e8]
push eax
push str.Found_non_USB_non_removable_device__s___Eliminated
jmp 0x4376f7
mov ebx, str.____:____
push ebx
call fcn.004816f0
inc eax
mov esi, 0x104
pop ecx
cmp eax, esi
jae 0x4382ff
push ebx
call fcn.004816f0
pop ecx
inc eax
jmp 0x438301
mov eax, esi
push eax
lea eax, [ebp - 0x2f0]
push ebx
push eax
call fcn.00476fc0
add esp, 0xc
push ebx
call fcn.004816f0
inc eax
pop ecx
cmp eax, esi
jae 0x438328
push ebx
call fcn.004816f0
pop ecx
inc eax
jmp 0x43832a
mov eax, esi
mov byte [ebp + eax - 0x2f1], 0
jmp 0x438392
cmp dword [0x4dca74], 0
je 0x43836b
cmp dword [ebp - 0x50c], 0x525
jne 0x438354
cmp eax, 0x622b
je 0x438c48
cmp dword [ebp - 0x50c], 0x781
jne 0x43836b
cmp eax, 0x75a0
je 0x438c48
push eax
push dword [ebp - 0x50c]
lea eax, [ebp - 0x2f0]
push str._04X:_04X
push 0x104
push eax
call fcn.00403163
add esp, 0x14
mov byte [ebp - 0x1ed], 0
cmp dword [ebp - 0x504], 6
lea eax, [ebp - 0x2f0]
mov cl, byte [ebp - 0x4f5]
mov ebx, 0x4b4dda
push edi
push eax
sbb edx, edx
lea eax, [ebp - 0x1e8]
and edx, dword [ebp - 0x504]
test cl, cl
push eax
mov eax, 0x4cfd94
mov dword [ebp - 0x504], edx
cmove eax, ebx
push eax
push dword [ebp + edx*4 - 0x5ac]
mov eax, str.UAS__
cmove eax, ebx
push eax
push str.Found__s_s_s_device__s___s___s
call fcn.0042ed57
mov eax, dword [ebp - 0x500]
add esp, 0x1c
test eax, eax
je 0x438411
add eax, 0x2f
push eax
push str.NOTE:_This_device_is_a_USB_3._c_device_operating_at_lower_speed...
jmp 0x43840a
lea eax, [ebp - 0x1e8]
push eax
push str.Found_VHD_device__s
call fcn.0042ed57
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x4f0], 0x1c
push ebx
call fcn.004812c6
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x4f0]
pop ecx
push eax
push ebx
push 0x4b5f80
lea eax, [ebp - 0x4d4]
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x438c20
xor ecx, ecx
lea eax, [ebp - 0x52c]
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x510], ecx
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
jne 0x438649
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x438633
push dword [ebp - 0x52c]
xor eax, eax
inc eax
push eax
call fcn.0047b53f
mov dword [ebp - 0x510], eax
pop ecx
pop ecx
test eax, eax
jne 0x4384a9
push str.Unable_to_allocate_data_for_SP_DEVICE_INTERFACE_DETAIL_DATA
jmp 0x43864e
push 0
lea ecx, [ebp - 0x52c]
mov dword [eax], 5
push ecx
push dword [ebp - 0x52c]
push eax
lea eax, [ebp - 0x4f0]
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
jne 0x4384e7
call fcn.0042fc51
push eax
push str.SetupDiGetDeviceInterfaceDetail__actual__failed:__s
call fcn.0042ed57
pop ecx
jmp 0x438653
mov esi, dword [ebp - 0x510]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438529
call fcn.0042fc51
push eax
push esi
push str.Could_not_open__s:__s
call fcn.0042ed57
add esp, 0xc
jmp 0x438654
mov edx, esi
mov ecx, edi
call fcn.00404e9c
mov esi, eax
push edi
mov dword [ebp - 0x53c], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x438654
xor ecx, ecx
lea eax, [esi + 0x80]
inc ecx
mov dword [ebp - 0x520], eax
push ecx
push 0
xor edx, edx
mov ecx, eax
call fcn.00403d18
pop ecx
pop ecx
xor ecx, ecx
mov esi, eax
push ecx
lea eax, [ebp - 0x584]
push eax
push 0x80
lea eax, [ebp - 0x478]
push eax
push ecx
push ecx
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4385a0
cmp dword [ebp - 0x584], 0
jbe 0x4385a0
xor eax, eax
lea edi, [eax + 1]
jmp 0x4385a2
xor edi, edi
cmp esi, 0xffffffff
je 0x4385b2
test esi, esi
je 0x4385b2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x438c16
mov esi, dword [ebp - 0x520]
mov ecx, esi
call fcn.004057c2
test edx, edx
jne 0x4385d6
cmp eax, 0x800000
jb 0x438695
lea eax, [ebp - 0x54c]
mov ecx, esi
push eax
lea edx, [ebp - 0x28]
call fcn.00405531
pop ecx
test eax, eax
je 0x438654
cmp byte [ebp - 0x4f7], 0
mov bl, byte [ebp - 0x28]
je 0x438702
cmp byte [ebp - 0x4f5], 0
jne 0x438702
cmp byte [ebp - 0x4f4], 0
jne 0x438702
cmp byte [ebp - 0x4f3], 0
jne 0x4386b4
push dword [ebp - 0x510]
call fcn.004812c6
jmp 0x438c47
call fcn.0042fc51
push eax
push str.SetupDiGetDeviceInterfaceDetail__dummy__failed:__s
call fcn.0042ed57
pop ecx
pop ecx
xor eax, eax
jmp 0x43865a
push str.SetupDiGetDeviceInterfaceDetail__dummy____no_data_was_allocated
call fcn.0042ed57
pop ecx
mov eax, dword [ebp - 0x510]
push eax
inc ebx
call fcn.004812c6
pop ecx
lea eax, [ebp - 0x4f0]
push eax
push ebx
push 0x4b5f80
lea eax, [ebp - 0x4d4]
push eax
push dword [ebp - 0x538]
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x438c20
mov esi, dword [ebp - 0x538]
jmp 0x43844d
push 8
push str.Device_eliminated_because_it_is_smaller_than__d_MB
call fcn.0042ed57
push dword [ebp - 0x510]
call fcn.004812c6
add esp, 0xc
jmp 0x438c48
cmp dword [0x4dcaa8], 0
jne 0x438702
lea esi, [ebp - 0x28]
test bl, bl
je 0x4386e7
mov al, bl
mov byte [ebp - 0x56c], al
lea eax, [ebp - 0x56c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 2
pop ecx
cmp eax, ecx
jne 0x4386e7
inc esi
mov al, byte [esi]
test al, al
jne 0x4386c6
cmp byte [esi], 0
je 0x4386fc
push str.Device_eliminated_because_it_contains_a_mounted_partition_that_is_set_as_non_removable
call fcn.0042ed57
pop ecx
jmp 0x438623
mov esi, dword [ebp - 0x520]
cmp dword [0x4dcaa0], 0
jne 0x438765
cmp byte [ebp - 0x4f4], 0
jne 0x438765
cmp byte [ebp - 0x4f6], 0
jne 0x438765
mov edx, dword [ebp - 0x50c]
lea eax, [ebp - 0x1e8]
push eax
push dword [ebp - 0x508]
mov ecx, esi
call fcn.0042cf94
pop ecx
pop ecx
test eax, eax
jle 0x438765
push eax
push str.Device_eliminated_because_it_was_detected_as_a_Hard_Drive__score__d___0_
call fcn.0042ed57
cmp dword [0x4dcaa8], 0
pop ecx
pop ecx
jne 0x43875e
push str.If_this_device_is_not_a_Hard_Drive__please_e_mail_the_author_of_this_application
call fcn.0042ed57
pop ecx
push str.NOTE:_You_can_enable_the_listing_of_Hard_Drives_under_advanced_drive_properties
jmp 0x4386f1
mov edi, dword [ebp - 0x54c]
mov eax, str._NULL_
test edi, edi
push str.PortableBaseLayer
cmovne eax, edi
push eax
call fcn.00481660
pop ecx
pop ecx
test eax, eax
jne 0x438790
push str.Device_eliminated_because_it_is_a_Windows_Sandbox_VHD
jmp 0x4386f1
cmp byte [ebp - 0x4f4], 0
je 0x4387ac
cmp dword [0x4da380], 0
jne 0x4387ac
push str.Device_eliminated_because_listing_of_VHDs_is_disabled__Alt_G_
jmp 0x4386f1
test bl, bl
jne 0x4387e2
mov ecx, esi
call fcn.004057c2
push edx
mov edx, dword [0x521f20]
xor ecx, ecx
push eax
call fcn.0042fdeb
push eax
push dword [ebp - 0x53c]
push edi
push 0xbe6
call fcn.00414768
add esp, 0x18
mov ebx, eax
jmp 0x438b28
lea esi, [ebp - 0x28]
lea eax, [ebp - 0xdc]
mov byte [ebp - 0xdc], bl
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43880f
test bl, bl
je 0x43880e
mov edx, esi
mov cl, byte [edx + 1]
mov byte [edx], cl
lea edx, [edx + 1]
test cl, cl
jne 0x438802
dec esi
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x4387e5
mov bh, byte [ebp - 0x28]
mov bl, byte [ebp - 0x27]
test bh, bh
je 0x438832
test bl, bl
je 0x438832
mov esi, 0xbe7
push esi
call fcn.00414768
pop ecx
jmp 0x438839
mov eax, edi
mov esi, 0xbe7
test eax, eax
je 0x438865
test bh, bh
je 0x43884e
test bl, bl
je 0x43884e
push esi
call fcn.00414768
pop ecx
jmp 0x438850
mov eax, edi
push eax
call fcn.004816f0
pop ecx
inc eax
mov ecx, 0x80
cmp eax, ecx
jb 0x438865
mov esi, ecx
jmp 0x438899
test bh, bh
je 0x438876
test bl, bl
je 0x438876
push esi
call fcn.00414768
pop ecx
jmp 0x438878
mov eax, edi
test eax, eax
je 0x438896
test bh, bh
je 0x43888d
test bl, bl
je 0x43888d
push esi
call fcn.00414768
pop ecx
jmp 0x43888f
mov eax, edi
push eax
call fcn.004816f0
pop ecx
lea esi, [eax + 1]
test bh, bh
je 0x4388ae
test bl, bl
je 0x4388ae
push 0xbe7
call fcn.00414768
pop ecx
jmp 0x4388b0
mov eax, edi
push esi
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00476fc0
add esp, 0xc
test bh, bh
je 0x4388d7
test bl, bl
je 0x4388d7
mov esi, 0xbe7
push esi
call fcn.00414768
pop ecx
jmp 0x4388de
mov eax, edi
mov esi, 0xbe7
test eax, eax
je 0x43890a
test bh, bh
je 0x4388f3
test bl, bl
je 0x4388f3
push esi
call fcn.00414768
pop ecx
jmp 0x4388f5
mov eax, edi
push eax
call fcn.004816f0
pop ecx
inc eax
mov ecx, 0x80
cmp eax, ecx
jb 0x43890a
mov eax, ecx
jmp 0x43893c
test bh, bh
je 0x43891b
test bl, bl
je 0x43891b
push esi
call fcn.00414768
pop ecx
jmp 0x43891d
mov eax, edi
test eax, eax
je 0x43893b
test bh, bh
je 0x438932
test bl, bl
je 0x438932
push esi
call fcn.00414768
pop ecx
jmp 0x438934
mov eax, edi
push eax
call fcn.004816f0
pop ecx
inc eax
xor ebx, ebx
mov byte [ebp + eax - 0xc1], 0
xor edi, edi
cmp byte [ebp - 0x28], bl
je 0x438a8f
test edi, edi
jne 0x438a66
mov al, byte [ebp + ebx - 0x28]
mov byte [ebp - 0x53d], al
mov byte [ebp - 0xa], al
cmp dword [0x4dca1c], edi
je 0x4389cb
push 0x4d00ac
call fcn.004816f0
mov esi, eax
lea eax, [ebp - 0xc0]
pop ecx
push eax
call fcn.004816f0
pop ecx
push 0x7f
pop ecx
sub ecx, eax
lea eax, [esi + 1]
cmp eax, ecx
jae 0x4389a4
push 0x4d00ac
call fcn.004816f0
pop ecx
lea ecx, [eax + 1]
jmp 0x4389b6
lea eax, [ebp - 0xc0]
push eax
call fcn.004816f0
pop ecx
push 0x7f
pop ecx
sub ecx, eax
push ecx
lea eax, [ebp - 0xc0]
push 0x4d00ac
push eax
call fcn.00481780
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call fcn.004816f0
mov esi, eax
lea eax, [ebp - 0xc0]
pop ecx
push eax
call fcn.004816f0
pop ecx
push 0x7f
pop ecx
sub ecx, eax
lea eax, [esi + 1]
cmp eax, ecx
jae 0x4389ff
lea eax, [ebp - 0xc]
push eax
call fcn.004816f0
pop ecx
lea ecx, [eax + 1]
jmp 0x438a11
lea eax, [ebp - 0xc0]
push eax
call fcn.004816f0
pop ecx
push 0x7f
pop ecx
sub ecx, eax
push ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00481780
movsx esi, byte [ebp - 0x53d]
add esp, 0xc
mov ecx, 0x5222c0
call fcn.0043604a
add eax, 0x41
mov ecx, 0x521f60
cmp esi, eax
push 1
pop eax
cmove edi, eax
call fcn.0043604a
add eax, 0x41
cmp esi, eax
push 2
pop eax
cmove edi, eax
inc ebx
cmp byte [ebp + ebx - 0x28], 0
jne 0x438951
test edi, edi
je 0x438a8f
mov ecx, str.system_disk
cmp edi, 1
mov eax, str.disk_from_which_FormatUsb_is_running
cmovne eax, ecx
push eax
movsx eax, byte [ebp + ebx - 0x29]
push eax
push str.Removing__C:_from_the_list:_This_is_the__s_
call fcn.0042ed57
add esp, 0xc
jmp 0x438623
mov ecx, dword [ebp - 0x520]
call fcn.004057c2
push edx
mov edx, dword [0x521f20]
xor ecx, ecx
push eax
call fcn.0042fdeb
cmp dword [0x4dca1c], 0
pop ecx
pop ecx
push eax
mov ecx, 0x4b4dda
mov eax, 0x4d00ac
cmove eax, ecx
push eax
lea eax, [ebp - 0xc0]
push str._s___s_
push eax
call fcn.004816f0
pop ecx
mov ecx, 0x80
sub ecx, eax
lea eax, [ebp - 0xc0]
push ecx
push eax
call fcn.004816f0
pop ecx
lea ecx, [ebp - 0xc0]
add eax, ecx
push eax
call fcn.00403163
add esp, 0x14
lea eax, [ebp - 0xc0]
push eax
call fcn.004816f0
lea esi, [ebp - 0x41]
sub esi, eax
lea eax, [ebp - 0xc0]
pop ecx
push eax
call fcn.004816f0
mov edi, dword [ebp - 0x54c]
lea ebx, [ebp - 0xc0]
pop ecx
mov byte [eax + esi], 0
xor eax, eax
lea edx, [ebp - 0x3f8]
inc eax
mov ecx, 0x521dc0
push eax
call fcn.0042dc87
xor eax, eax
lea edx, [ebp - 0x1e8]
pop ecx
inc eax
mov ecx, 0x521f00
push eax
call fcn.0042dc87
xor eax, eax
mov edx, edi
pop ecx
inc eax
mov ecx, 0x521de0
push eax
call fcn.0042dc87
mov eax, dword [ebp - 0x544]
pop ecx
test eax, eax
je 0x438b95
xor ecx, ecx
mov edx, eax
inc ecx
push ecx
mov ecx, 0x521910
call fcn.0042dc87
pop ecx
test eax, eax
js 0x438b95
mov ecx, dword [0x521914]
mov eax, dword [ebp - 0x4fc]
mov dword [ecx*4 + 0x521dfc], eax
mov esi, dword [0x5222a4]
mov ecx, ebx
call fcn.00403761
mov edi, eax
push edi
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x53c], eax
test edi, edi
je 0x438bd2
push edi
call fcn.004812c6
mov eax, dword [ebp - 0x53c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x520]
push esi
push 0x151
push dword [0x5222a4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
call fcn.0043308b
cmp dword [ebp - 0x558], eax
jg 0x438623
mov edx, ebx
call fcn.0043308b
mov dword [ebp - 0x558], eax
jmp 0x438623
push str.Device_eliminated_because_it_appears_to_contain_no_media
jmp 0x4386f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x438c3d
call fcn.0042fc51
push eax
push str.SetupDiEnumDeviceInterfaces_failed:__s
jmp 0x4376f7
push str.A_device_was_eliminated_because_it_didnt_report_itself_as_a_disk
call fcn.0042ed57
pop ecx
mov edi, dword [ebp - 0x548]
lea eax, [ebp - 0x4d4]
push eax
inc edi
push edi
push dword [ebp - 0x538]
mov dword [ebp - 0x548], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x43767f
mov esi, dword [ebp - 0x534]
push dword [ebp - 0x538]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x558]
push 0x160
push dword [0x5222a4]
call ebx
cmp dword [ebp - 0x568], 0x80
jb 0x438cf8
xor edi, edi
push edi
push edi
push 0x146
push dword [0x5222a4]
call ebx
test eax, eax
je 0x438cf8
push 0
push edi
push 0x150
push dword [0x5222a4]
call ebx
cmp eax, dword [ebp - 0x568]
je 0x438cef
push 0
push 0
push 0x146
push dword [0x5222a4]
inc edi
call ebx
cmp edi, eax
jb 0x438cbf
jmp 0x438cf8
xor eax, eax
inc eax
mov dword [ebp - 0x564], eax
xor eax, eax
cmp dword [ebp - 0x564], eax
push 0
cmovne eax, edi
push eax
push 0x14e
push dword [0x5222a4]
call ebx
push 0
push 0x103e9
push 0x111
push dword [0x522464]
call ebx
xor ebx, ebx
inc ebx
push 1
push 0x3eb
push dword [0x522464]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x28
push dword [0x522464]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.004812c6
pop ecx
lea ecx, [ebp - 0x57c]
call fcn.0042dd56
mov eax, dword [ebp - 0x51c]
test eax, eax
je 0x438d9c
mov edi, dword [ebp - 0x518]
add edi, 1
je 0x438d95
lea esi, [eax + 4]
cmp dword [esi - 4], 0
je 0x438d87
push dword [esi]
call fcn.004812c6
and dword [esi], 0
pop ecx
add esi, 0xc
sub edi, 1
jne 0x438d76
mov eax, dword [ebp - 0x51c]
push eax
call fcn.004812c6
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret