Function at 0x14001c040
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x58], r12d
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x70], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14001c224
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14001c21e
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x140055138]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x140055148]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001c21e
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
lea ecx, [r12 + 0x18]
call fcn.14004de58
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001c153
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2SecurityMicrosoftVolumeEncryption
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001c80c
jmp 0x14001c156
mov rbx, r12
mov qword [rsp + 0x60], rbx
test rbx, rbx
je 0x14001c817
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x80]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14001c1d2
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001c1b3
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001c1c5
call fcn.14004de50
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.14004de50
test edi, edi
js 0x14001c214
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14001c24f
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.14004de58
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001c29d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_EncryptableVolume
call fcn.14004db00
mov qword [rbx], rax
jmp 0x14001c2a0
mov rbx, r12
mov qword [rsp + 0x68], rbx
test rbx, rbx
je 0x14001c817
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.14004de58
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001c2f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, [0x14005580c]
call fcn.14004db00
mov qword [rdi], rax
jmp 0x14001c2f3
mov rdi, r12
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x14001c801
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, gethostbyname
mov r8, r14
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x78]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14001c366
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001c346
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001c358
call fcn.14004de50
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14004de50
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14001c3a5
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001c386
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001c398
call fcn.14004de50
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.14004de50
test r14d, r14d
js 0x14001c209
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x30], r12d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14005b758]
mov qword [rbp + 0x60], rax
lea rax, [0x14005bc60]
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x58], 1
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x60], rdi
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x78], rax
mov qword [rbp + 0xe0], r12
mov dword [rbp + 0xe8], r12d
lea rdx, [0x140056e18]
lea rcx, [rbp + 0x70]
call fcn.140044780
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001c71e
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x78]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 0x30], 0
je 0x14001c71e
mov dword [rbp - 0x20], 0x5c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
mov qword [rbp + 0x34], rax
mov dword [rbp - 0x1c], 0x40000000
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x40]
xor r8d, r8d
lea rdx, str.ProtectionStatus
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.DriveLetter
call qword [rax + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov r8d, 0x15
lea rdx, str.BitLocker_status_for
lea rcx, [rbp - 0x50]
call fcn.14001a7f0
nop
mov dword [rbp - 0xc], 0xff00
lea r9, [rbp - 0x20]
mov edx, 0x444
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova r9, qword [rbp - 0x50]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0xc], r12d
lea r9, [rbp - 0x20]
mov edx, 0x444
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0xc], 0xff00
lea r9, [rbp - 0x20]
mov edx, 0x444
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rbp - 0x60]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0xc], r12d
lea r9, [rbp - 0x20]
mov edx, 0x444
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp - 0x38]
cmp rcx, 1
jb 0x14001c5fc
lea rax, [rbp - 0x50]
cmp rcx, 7
cmova rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], 1
mov dword [rax], 0x20
jmp 0x14001c611
lea r9, [0x1400583e4]
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.1400483e0
mov eax, dword [rbp + 0x48]
test eax, eax
jne 0x14001c625
lea r8d, [rax + 0xc]
lea rdx, [0x1400583e8]
jmp 0x14001c66f
cmp eax, 1
jne 0x14001c647
lea r8d, [rax + 7]
lea rdx, str.Enabled_n
lea rcx, [rbp - 0x50]
call fcn.140041c10
mov dword [rbp - 0xc], 0xff00
jmp 0x14001c67f
cmp eax, 2
jne 0x14001c662
lea r8d, [rax + 0x1d]
lea rdx, str.Enabled__but_in_a_locked_state_n
lea rcx, [rbp - 0x50]
call fcn.140041c10
jmp 0x14001c67f
mov r8d, 8
lea rdx, str.Unknown_n
lea rcx, [rbp - 0x50]
call fcn.140041c10
mov dword [rbp - 0xc], 0xff
lea r9, [rbp - 0x20]
mov edx, 0x444
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova r9, qword [rbp - 0x50]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14001c711
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c70c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c788
call fcn.14004de50
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x14001c470
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x78]
call fcn.140042b60
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova r9, qword [rbp - 0x50]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14001c794
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c78f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c78f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x60], rdi
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x78]
call fcn.14003fa70
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x14001c224
mov ecx, 0x8007000e
call fcn.14004d9d0
nop
mov ecx, 0x8007000e
call fcn.14004d9d0
nop
mov ecx, 0x8007000e
call fcn.14004d9d0
int3