Function at 0x409410
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x42be56
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0xa68]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa78]
push 0xd
xor edi, edi
push str.vid_339bpid_
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
call fcn.00403630
push 0x12
push edi
push edi
push 0x433334
mov dword [esp + 0xa80], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4094c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetupDiGetClassDevs_error__error_code___d
call fcn.00404820
add esp, 8
cmp dword [esp + 0x48], 0x10
jb 0x4094c2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040f57f
add esp, 4
xor eax, eax
jmp 0x409777
lea edx, [esp + 0x84]
push edx
push edi
push 0x433334
push edi
push esi
mov dword [esp + 0x98], 0x1c
mov dword [esp + 0x30], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x409758
mov ebp, dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDA]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0x7d0
lea edx, [esp + 0x2a0]
push edx
lea eax, [esp + 0x94]
push eax
push esi
mov dword [esp + 0x80], 0x1c
mov dword [esp + 0x2ac], 5
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
je 0x40972e
lea ecx, [esp + 0x298]
push ecx
call fcn.004180bb
lea edi, [esp + 0x29c]
add esp, 4
mov byte [esp + 0xa0], 0
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x409562
mov dx, word [0x42f3dc]
push 0x1f3
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x2a0]
push ecx
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
test eax, eax
je 0x40972e
lea edx, [esp + 0xa0]
push edx
call fcn.00405b00
mov bl, al
add esp, 4
test bl, bl
mov byte [esp + 0x24], bl
je 0x40972e
mov ecx, dword [esp + 0x7c]
push 0
push 0x1f4
lea eax, [esp + 0xa8]
push eax
push ecx
call ebp
lea edx, [esp + 0xa0]
push edx
call fcn.004180bb
mov eax, dword [esp + 0x80]
add esp, 4
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
mov eax, dword [esp + 0x20]
push 0
push 0x1f4
lea edx, [esp + 0xa8]
push edx
push eax
call ebp
lea ecx, [esp + 0xa0]
push ecx
call fcn.004180bb
mov eax, dword [esp + 0x1c]
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409620
sub eax, edx
je 0x40972e
mov dl, bl
sub dl, 0x41
cmp dl, 0x19
ja 0x40972e
push str.vid_339bpid_
lea ecx, [esp + 0x34]
call fcn.004040a0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.004040d0
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp dword [esp + 0x48], edi
jae 0x40966e
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00417c00
add esp, 8
test eax, eax
je 0x40972e
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x409695
lea eax, [esp + 0x34]
movsx edx, bl
push edx
lea ecx, [esp + 0xa4]
push ecx
push eax
push str.___Find_Fake_pid__s__in_device___s__drive__c__send_SCSI...begin_n
call fcn.00404820
add esp, 0x10
push str.._
lea ecx, [esp + 0x50]
call fcn.00404060
mov edx, dword [esp + 0x24]
push edx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xa78], 1
call fcn.00403320
push 0x3a
push 1
lea ecx, [esp + 0x54]
call fcn.00403320
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x4096f0
lea eax, [esp + 0x50]
push eax
call fcn.00404e30
mov eax, dword [esp + 0x54]
add esp, 4
cmp dword [esp + 0x64], edi
jae 0x409707
lea eax, [esp + 0x50]
push eax
push str.Send_SCSI_command_to_driver___s_...end_n
call fcn.00404820
add esp, 8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], 1
mov byte [esp + 0xa70], 0
call fcn.00402b50
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x84]
push ecx
add eax, 1
push eax
push 0x433334
push 0
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x4094fc
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
cmp dword [esp + 0x48], 0x10
jb 0x409773
mov edx, dword [esp + 0x34]
push edx
call fcn.0040f57f
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.0041811d
add esp, 0xa60
ret