Function at 0x437b90
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x47802c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
push str.._s:
xorps xmm0, xmm0
mov dword [ebp - 0x484], edx
lea eax, [ebp - 0x2c]
movq qword [ebp - 0xc], xmm0
push 0x14
push eax
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call fcn.00437920
add esp, 0x10
cmp word [ebp - 0x2c], 0
je 0x437e3c
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x437e3c
push 0
lea eax, [ebp - 0x478]
mov dword [ebp - 0x438], 0xffffffff
push eax
push 0xc
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x478], 0
push eax
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
neg eax
push esi
sbb eax, eax
and eax, dword [ebp - 0x438]
mov dword [ebp - 0x488], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12
push 0
push 0
push 0x461adc
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x437e3c
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x1c
push eax
xor esi, esi
push esi
push 0x461adc
push esi
push ebx
mov dword [ebp - 0x478], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x437e35
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
nop word [eax + eax]
push 0
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x47c], 0
push eax
push 0
push 0
lea eax, [ebp - 0x474]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x437e10
cmp eax, 0x400
ja 0x437e10
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x430], 6
push ecx
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x458], 0x1c
push ecx
push eax
lea eax, [ebp - 0x430]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x474]
movlpd qword [ebp - 0x454], xmm0
push eax
push ebx
movlpd qword [ebp - 0x44c], xmm0
movlpd qword [ebp - 0x444], xmm0
call edi
test eax, eax
je 0x437e10
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x437e03
push 0
lea eax, [ebp - 0x480]
mov dword [ebp - 0x438], 0xffffffff
push eax
push 0xc
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x480], 0
push eax
push 0
push 0
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x438]
cmp eax, dword [ebp - 0x488]
jne 0x437e03
lea esi, [ebp - 0x42c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x437da6
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
mov dword [ebp - 0x480], eax
add eax, 2
push eax
call fcn.0044537b
mov ecx, dword [ebp - 0x484]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x437dfd
push esi
lea ecx, [ebp - 0x42c]
inc esi
push ecx
push esi
push eax
call fcn.00445519
mov eax, dword [ebp - 0x484]
add esp, 0x10
mov ecx, dword [ebp - 0x480]
xor edx, edx
mov eax, dword [eax]
mov word [ecx + eax], dx
mov esi, dword [ebp - 0x478]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
lea eax, [ebp - 0x474]
inc esi
push eax
push esi
push 0x461adc
push 0
push ebx
mov dword [ebp - 0x478], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x437ca0
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a313
mov esp, ebp
pop ebp
ret