Function at 0x1400bf900
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4b8
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x90], 0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], 0x28
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x90]
mov edx, 0x2d1400
mov rax, qword [rsp + 0x4c0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400bf9ac
jmp 0x1400bfc48
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x4c0]
mov r8d, dword [rax + 0x550]
lea rdx, [0x1402f1058]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
lea rdx, [0x1402f1130]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rax, qword [rsp + 0x4c0]
mov r8d, dword [rax + 0x550]
lea rdx, [0x1402f1088]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rcx, qword [rsp + 0x4c0]
call fcn.1400bf4c0
mov r8, rax
lea rdx, [0x1402f1188]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rax, qword [rsp + 0x4c0]
add rax, 0x14
mov r8, rax
lea rdx, [0x1402f10b8]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rax, qword [rsp + 0x4c0]
movzx eax, word [rax + 0x33a]
mov rcx, qword [rsp + 0x4c0]
movzx ecx, word [rcx + 0x338]
mov rdx, qword [rsp + 0x4c0]
add rdx, 0x1a8
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8, rdx
lea rdx, [0x1402f11b8]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov r8, qword [rsp + 0x70]
lea rdx, str.______________________________Vendor_ID_:__s
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov r8, qword [rsp + 0x78]
lea rdx, str._____________________________Product_ID_:__s
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov r8, qword [rsp + 0x80]
lea rdx, str.__________________________Serial_Number_:__s
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov r8, qword [rsp + 0x88]
lea rdx, str._______________________Product_Revision_:__s
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rax, qword [rsp + 0x4c0]
cmp dword [rax + 0x554], 0
je 0x1400bfb87
lea rax, [0x1402f0eb4]
mov qword [rsp + 0x50], rax
jmp 0x1400bfb93
lea rax, [0x1402f0ed4]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
lea rdx, [0x1402f12b8]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rax, qword [rsp + 0x4c0]
cmp dword [rax + 0x558], 0
je 0x1400bfbcb
lea rax, [0x1402f0ef4]
mov qword [rsp + 0x58], rax
jmp 0x1400bfbd7
lea rax, [0x1402f0f14]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, [0x1402f12e8]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rax, qword [rsp + 0x4c0]
cmp dword [rax + 0x55c], 0
je 0x1400bfc0f
lea rax, [0x1402f0f34]
mov qword [rsp + 0x60], rax
jmp 0x1400bfc1b
lea rax, [0x1402f0f54]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, str.___________________________Trim_Enabled_:__s
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
lea rdx, [0x1402f0d82]
mov rcx, qword [rsp + 0x4c8]
call fcn.1400bb100
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x4b8
ret