Function at 0x1400c2ed0
Capabilities:
Get storage device properties
Reference sql statements
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 8], rax
xor dil, dil
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
call fcn.140175e90
mov rbx, rax
xor esi, esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
lea r8d, [rsi + 9]
lea rdx, str.DiskIndex
lea rcx, [rbp - 0x58]
call fcn.140018360
nop
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
lea r8d, [rsi + 0x36]
lea rdx, str.SELECT__FROM_Win32_DiskPartition_WHERE_Bootable_True
lea rcx, [rbp - 0x78]
call fcn.140018360
nop
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140176080
mov ebx, eax
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400c2fca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2fc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3234
call fcn.1401a9460
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400c301a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c323a
call fcn.1401a9460
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
test ebx, ebx
js 0x1400c31fa
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400ad5b0
nop
mov r9d, 0x11
lea r8, str..PhysicalDrive
xor edx, edx
mov rcx, rax
call fcn.1400807a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp - 0x78]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbp - 0x68], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400c30eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c30e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3240
call fcn.1401a9460
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x28
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x30]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400c31a3
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400c319e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c322e
call fcn.1401a9460
xor dil, dil
jmp 0x1400c31fa
movzx edi, dil
mov eax, 1
cmp dword [rbp - 4], 0x11
cmove edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400c31fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c31f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c322e
call fcn.1401a9460
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
movzx eax, dil
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
int3