Function at 0x14005ef6c
Capabilities:
Get storage device properties

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x1400a3318]
xor rax, rsp
mov qword [rbp + 0x140], rax
and dword [rsp + 0x40], 0
xor eax, eax
and qword [rsp + 0x6c], rax
mov rsi, rcx
and dword [rsp + 0x50], 0
lea rcx, [rbp - 0x50]
xor edx, edx
mov qword [rsp + 0x58], rax
mov r8d, 0x188
mov dword [rsp + 0x60], eax
mov edi, 0x15
call sub.msvcrt.dll_memset
or dword [rsp + 0x74], 0xffffffff
lea ebx, [rdi - 0x14]
xor eax, eax
mov dword [rsp + 0x68], 0x20
and qword [rsp + 0x38], rax
lea r9d, [rdi - 9]
xorps xmm0, xmm0
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 0x40
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0xc
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rsp + 0x4c], ebx
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm0
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
je 0x14005f155
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
and dword [rsp + 0x4c], 0
lea r9d, [rdi - 9]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0xc
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rsp + 0x48], 0x40
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14005f0bb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005f1e9
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14005f1e9
cmp byte [rsp + 0x60], 0
je 0x14005f1e9
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp - 0x78]
mov dword [rsp + 0x28], 0x28
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x2d1480
mov rcx, rsi
sub edi, ebx
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14005f155
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14005f121
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x14005f1e9
cmp eax, 0x80070016
je 0x14005f1e9
mov ecx, 0x64
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
test edi, edi
jg 0x14005f0c6
sub edi, ebx
test edi, edi
jle 0x14005f1e9
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x68]
lea rax, [rbp - 0x50]
mov dword [rsp + 0x28], 0x188
mov r9d, 0x20
mov qword [rsp + 0x20], rax
mov edx, 0x2d148c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14005f1a7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14005f1e9
cmp dword [rsp + 0x40], 0x10
jb 0x14005f1e4
cmp dword [rbp - 0x50], 0x10
jne 0x14005f1e4
cmp dword [rbp - 0x44], 0x78
jne 0x14005f1e4
cmp dword [rbp - 0x48], ebx
jne 0x14005f1e4
mov eax, dword [rbp - 0x4c]
lea rcx, [rbp + 8]
add rcx, rax
lea rdx, str.bitlocker
mov r8d, 0x20
call sub.msvcrt.dll_memcmp
xor ebx, ebx
test eax, eax
setne bl
jmp 0x14005f1e9
mov ebx, 0x8007000d
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140002290
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret