Function at 0x140167480
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov edi, edx
mov rbx, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
lea ecx, [r12 + 0x20]
call fcn.1401c714c
mov qword [rbp - 9], rax
mov qword [rbp + 7], reloc.WS2_32.dll_send
mov qword [rbp + 0xf], 0x1f
movups xmm0, xmmword [str..PhysicalDrive_u]
movups xmmword [rax], xmm0
movzx ecx, word [0x140447320]
mov word [rax + 0x10], cx
movzx ecx, byte [0x140447322]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], r12b
mov r8d, edi
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
call fcn.140155d40
cmp qword [rax + 0x18], 0xf
jbe 0x140167510
mov rax, qword [rax]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
lea rcx, [rbp + 0x17]
call fcn.1401362c0
cmp r14, 0xffffffffffffffff
jne 0x140167560
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
jmp 0x1401676ab
lea rax, [0x1401676d0]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r14
mov qword [rbp - 0x15], r12
mov dword [rbp - 0x19], r12d
mov qword [rbp + 0x7f], r12
mov dword [rbp + 0x77], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rbp - 0x19]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1401675d3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], al
jmp 0x14016769c
mov esi, dword [rbp + 0x83]
mov ecx, esi
call fcn.1401c7524
mov r15, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x21], r15
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rbp - 0x19]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
test eax, eax
jne 0x140167646
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], al
mov rcx, r15
call fcn.1401c7190
nop
jmp 0x14016769c
mov eax, dword [r15 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
test eax, eax
jne 0x14016766a
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], al
mov rcx, r15
call fcn.1401c7190
nop
jmp 0x14016769c
lea rdx, [r15 + rax]
mov qword [rbx + 0x18], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140167680
mov rcx, rbx
call fcn.14013ab10
nop
mov rcx, r15
call fcn.1401c7190
nop
test r14, r14
je 0x1401676ab
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret