Function at 0x1400bc9a0
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x688
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
xor eax, eax
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x44], ax
xor eax, eax
mov word [rsp + 0x58], ax
mov r9d, sendto
xor r8d, r8d
xor edx, edx
lea rcx, [0x140155bc0]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x1400bca24
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 4
xor eax, eax
jmp 0x1400bce30
mov dword [rsp + 0x5c], 0
jmp 0x1400bca38
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0xc0], 0x20
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c]
lea r8, [0x140155bc0]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bca79
jmp 0x1400bcbe8
mov r8d, 0x400
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.1400e17c0
lea rax, [rsp + 0x270]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 8
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1400e17c0
mov dword [rsp + 0xa0], 0x20
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bcb17
jmp 0x1400bca2e
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1400bcb65
jmp 0x1400bca2e
mov r8d, reloc.WS2_32.dll_inet_ntoa
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.1400e17c0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400bcbd8
mov eax, dword [rsp + 0x690]
cmp dword [rsp + 0x94], eax
jne 0x1400bcbd8
jmp 0x1400bcbe8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bca2e
mov eax, dword [rsp + 0x690]
cmp dword [rsp + 0x94], eax
je 0x1400bcc18
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
xor r8d, r8d
mov edx, dword [rsp + 0xb4]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test eax, eax
je 0x1400bcc51
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
xor r9d, r9d
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
lea rdx, [rsp + 0xe0]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
test eax, eax
je 0x1400bcc90
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 5
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.1400bbf60
test eax, eax
jne 0x1400bccd0
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
mov rax, qword [rsp + 0x6a8]
movzx ecx, word [rsp + 0x48]
mov word [rax], cx
mov rax, qword [rsp + 0x6b0]
movzx ecx, word [rsp + 0x44]
mov word [rax], cx
movzx r8d, word [rsp + 0x58]
movzx edx, word [rsp + 0x44]
movzx ecx, word [rsp + 0x48]
call fcn.1400bbed0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400bcd32
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x1400bcd5f
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x10]
mov byte [rsp + 0x60], al
cmp byte [rsp + 0x60], 1
je 0x1400bcd83
cmp byte [rsp + 0x60], 3
je 0x1400bcda5
cmp byte [rsp + 0x60], 4
je 0x1400bcdca
jmp 0x1400bcdef
mov r9, qword [rsp + 0x6a0]
mov r8, qword [rsp + 0x698]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400bb6a0
mov dword [rsp + 0x40], eax
jmp 0x1400bce0c
mov r9, qword [rsp + 0x6a0]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x698]
mov rcx, qword [rsp + 0x50]
call fcn.1400bc210
mov dword [rsp + 0x40], eax
jmp 0x1400bce0c
mov r9, qword [rsp + 0x6a0]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x698]
mov rcx, qword [rsp + 0x50]
call fcn.1400bc670
mov dword [rsp + 0x40], eax
jmp 0x1400bce0c
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400bce30
cmp dword [rsp + 0x40], 0
jne 0x1400bce21
mov rax, qword [rsp + 0x6b8]
mov dword [rax], 9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x688
ret