Function at 0x1400011c0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xor edi, edi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], dil
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [rdi + 3]
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400012e0
mov qword [rbp + 0x13], rdi
mov dword [rbp + 0xf], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x28
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0xc]
lea r8, [rbp + 0xf]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400012d7
mov ebx, dword [rbp + 0x23]
mov ecx, ebx
call fcn.140001a74
mov r14, rax
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
lea r9d, [rdi + 0xc]
lea r8, [rbp + 0xf]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140001354
mov rcx, r14
call fcn.140001a30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Failed_to_retrieve_serial_number.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001480
lea rdx, [0x140001650]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x2b67
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400013ee
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r9d, dword [r14 + 0x18]
add r9, r14
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140001362
mov rax, qword [rbp + 7]
cmp rdi, rax
ja 0x14000139a
lea rbx, [rbp - 0x11]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x11]
mov qword [rbp - 1], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400013a6
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.140001690
mov rcx, r14
call fcn.140001a30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Serial_Number:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001480
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
mov rcx, rax
call fcn.140001840
jmp 0x1400012f3
call fcn.140001a30
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140001a10
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret