Function at 0x1400571a0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x40], 0
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x88]
call fcn.140005a40
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x10000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140077f10
nop
lea rcx, [rsp + 0x88]
call fcn.1400574d0
movzx eax, al
test eax, eax
jne 0x14005727a
mov rcx, qword [rsp + 0xd8]
call fcn.14005c890
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x88]
call fcn.140066550
mov rax, qword [rsp + 0xd8]
jmp 0x1400574b4
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x9c], 0
mov byte [rsp + 0xa0], 0
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x88]
call fcn.140021440
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9d, recv
lea r8, [rsp + 0x98]
mov edx, 0x2d1400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140057332
mov rcx, qword [rsp + 0xd8]
call fcn.14005c890
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x88]
call fcn.140066550
mov rax, qword [rsp + 0xd8]
jmp 0x1400574b4
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x44], eax
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.140005a40
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400b07d8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140057389
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rcx, qword [rsp + 0x50]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x140057392
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x80]
call fcn.140077f50
nop
lea rcx, [rsp + 0x80]
call fcn.140021450
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x88]
call fcn.140021440
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, recv
lea r8, [rsp + 0x98]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14005744c
mov rcx, qword [rsp + 0xd8]
call fcn.14005c890
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x80]
call fcn.140066500
nop
lea rcx, [rsp + 0x88]
call fcn.140066550
mov rax, qword [rsp + 0xd8]
jmp 0x1400574b4
lea rcx, [rsp + 0x80]
call fcn.140021450
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x80]
call fcn.140021450
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x18]
add rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14006ac80
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x80]
call fcn.140066500
nop
lea rcx, [rsp + 0x88]
call fcn.140066550
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0xc0
pop rdi
ret