Function at 0x4118a0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4441fe
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4629b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
xorps xmm0, xmm0
mov dword [ebp - 0x70], esi
push 0x12
movups xmmword [ebp - 0x44], xmm0
push 0
movq qword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x44c1d4]
push 0
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], 0x1c
movups xmmword [ebp - 0x6c], xmm0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov edi, eax
cmp edi, 0xffffffff
je 0x411a95
lea eax, [ebp - 0x44]
xor esi, esi
push eax
push esi
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
jne 0x411a8b
nop dword [eax]
push 0x200
push 0
push 0x46c9e8
mov dword [ebp - 0x18], 0
call fcn.0042f620
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x200
push 0x46c9e8
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
push 0x46c9e8
lea ecx, [ebp - 0x5c]
call fcn.00405090
push 0x44c308
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
call fcn.00405090
push 0x447404
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00405090
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040c520
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.004050d0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.004050d0
push str.53f56307_b6bf_11d0_94f2_00a0c91efb8b
lea ecx, [ebp - 0x5c]
call fcn.00409580
push eax
push str.._
push str._s_s_s
push 0xffffffffffffffff
push 0x46c7e8
call fcn.0040d4b0
add esp, 0x18
push 0
push 0
push 3
push 0
push 1
push 0
push 0x46c7e8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x411a66
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push ecx
push 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
push ecx
push 0
push 0
push 0x2d1080
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x24], eax
jne 0x411a66
cmp dword [ebp - 0x74], 1
je 0x411abe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.004050d0
lea eax, [ebp - 0x44]
inc esi
push eax
push esi
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
je 0x411930
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov esi, dword [ebp - 0x70]
push 0x4464a0
mov ecx, esi
call fcn.00405090
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d960
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
push 0x200
push 0
push 0x46c9e8
call fcn.0042f620
add esp, 0xc
push 0
push 0x100
push 0x46c9e8
push dword [ebp - 0x14]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp - 0x70]
push 0x46c9e8
call fcn.00405090
lea ecx, [ebp - 0x5c]
call fcn.004050d0
mov eax, dword [ebp - 0x70]
jmp 0x411aa3