Function at 0x140008afc
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xee8]
sub rsp, 0xfb0
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rbp + 0xea0], rax
mov r13, rdx
mov r15, rcx
mov qword [rbp], rcx
xor r12d, r12d
mov dword [rsp + 0x7c], r12d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0xc90]
call fcn.140089ff0
mov r8d, 0x104
lea rdx, [rbp + 0xc90]
lea rcx, str._______invalid_file_path
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x140009393
lea rcx, [rbp + 0xc90]
call fcn.14008da94
test rax, rax
je 0x1400093fe
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x1400fe9e0]
movdqu xmmword [rbp + 0x140], xmm1
mov word [rbp + 0x130], r12w
lea esi, [r12 + 2]
mov r8d, esi
lea rdx, [rbp + 0xc90]
lea rcx, [rbp + 0x130]
call fcn.140001a78
nop
lea edi, [rsi - 1]
lea edx, [rsi + 6]
test r13, r13
je 0x140008c11
lea rax, [rbp + 0x130]
cmp qword [rbp + 0x148], rdx
cmovae rax, qword [rbp + 0x130]
movzx ecx, word [rax]
lea rax, [r13 + 0x80]
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], rdx
jb 0x140008c09
mov rax, qword [rax]
mov word [rax], cx
mov word [rax + 2], r12w
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x78], eax
test eax, eax
js 0x14000942c
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
or r14, 0xffffffffffffffff
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
jns 0x140008ccf
cmp eax, 0x80010119
jne 0x1400094df
call fcn.140062924
mov r9d, edi
mov r8, qword [rax]
mov edx, esi
lea rcx, [rbp + 8]
call fcn.14000c39c
nop
lea rcx, [rax + 0x10]
lea rdx, str.It_is_too_late_for_CoInitializeSecurity__trying_to_proceed_anyway.
call fcn.140015a04
nop
lea rcx, [rbp + 0xb0]
call fcn.14000c32c
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x70], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xb0], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0xb0]
call fcn.140069b78
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e6338]
mov r8d, edi
xor edx, edx
lea rcx, [0x1400e6328]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x14000948a
mov qword [rsp + 0x58], r12
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x18]
lea rdx, str.ROOTCIMV2
lea rcx, [rbp - 0x68]
call fcn.140003c5c
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x140008d2d
mov rdx, qword [rdx]
jmp 0x140008d30
mov rdx, r12
lea rax, [rsp + 0x58]
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 rcx, rbx
mov rax, rsi
call qword [case.0x14006c106.0]
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140003cec
test ebx, ebx
js 0x140009534
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
js 0x140009589
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1400fe9e0]
movdqu xmmword [rbp + 0x120], xmm1
mov word [rbp + 0x110], r12w
mov r8d, 0x2c
lea rdx, str.ASSOCIATORS_OF_Win32_LogicalDisk.DeviceID
lea rcx, [rbp + 0x110]
call fcn.140001a78
nop
lea rdx, [rbp + 0x130]
mov esi, 8
cmp qword [rbp + 0x148], rsi
cmovae rdx, qword [rbp + 0x130]
mov r8, qword [rbp + 0x140]
lea rcx, [rbp + 0x110]
call fcn.14000f738
lea r8d, [rsi + 0x2a]
lea rdx, str._WHERE_AssocClass__Win32_LogicalDiskToPartition
lea rcx, [rbp + 0x110]
call fcn.14000f738
mov qword [rbp - 0x78], r12
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rax, qword [rax + 0xa0]
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], rsi
cmovae rdx, qword [rbp + 0x110]
lea rcx, [rbp - 0x40]
call fcn.140003c5c
nop
mov r12, qword [rax]
xor eax, eax
test r12, r12
je 0x140008e71
mov r12, qword [r12]
jmp 0x140008e74
mov r12, rax
mov ecx, SafeArrayPutElement
call fcn.14006b6a0
mov rsi, rax
mov qword [rsp + 0x70], rax
xor ecx, ecx
test rax, rax
je 0x140008ea7
mov qword [rax + 8], rcx
mov dword [rax + 0x10], edi
lea rcx, [0x1400eab28]
call fcn.1400b8dd0
mov qword [rsi], rax
xor ecx, ecx
jmp 0x140008eaa
mov rsi, rcx
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x1400095de
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9d, 0x30
mov r8, r12
mov rdx, qword [rsi]
mov rcx, rbx
mov rax, qword [rbp - 0x68]
call qword [case.0x14006c106.0]
mov ebx, eax
lea rcx, [rbp - 0x48]
call fcn.140003cec
nop
lea rcx, [rbp - 0x40]
call fcn.140003cec
xor r12d, r12d
test ebx, ebx
js 0x1400095e9
mov qword [rbp - 0x80], r12
mov dword [rsp + 0x50], r12d
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140009337
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x80]
mov r8d, edi