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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xed8]
sub rsp, 0xfb0
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e30b0]
xor rax, rsp
mov qword [rbp + 0xea0], rax
mov r15, rcx
mov qword [rbp], rcx
xor r13d, r13d
mov dword [rsp + 0x74], r13d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0xc90]
call fcn.1400659b0
mov r8d, 0x104
lea rdx, [rbp + 0xc90]
lea rcx, str._______invalid_file_path
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x14002ac04
lea rcx, [rbp + 0xc90]
call fcn.14006db00
test rax, rax
je 0x14002ac6f
lea esi, [r13 + 2]
mov r8d, esi
lea rdx, [rbp + 0xc90]
lea rcx, [rbp + 0x130]
call fcn.1400191a8
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x70], eax
test eax, eax
js 0x14002ac9d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
lea r14d, [r13 + 3]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
lea edi, [rsi - 1]
test eax, eax
jns 0x14002a5ba
cmp eax, 0x80010119
jne 0x14002ad55
call fcn.14003ab84
mov r9d, edi
mov r8, qword [rax]
mov edx, esi
lea rcx, [rbp + 8]
call fcn.140003144
nop
lea rcx, [rax + 0x10]
lea rdx, str.It_is_too_late_for_CoInitializeSecurity__trying_to_proceed_anyway.
call fcn.140007858
nop
lea rcx, [rbp + 0xb0]
call fcn.1400030e0
nop
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0xb0]
call fcn.140002238
nop
mov qword [rbp - 0x78], r13
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ba0f0]
mov r8d, edi
xor edx, edx
lea rcx, [0x1400ba0e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x14002ad00
mov qword [rsp + 0x58], r13
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x18]
lea rdx, str.ROOTCIMV2
lea rcx, [rbp - 0x50]
call fcn.14002a32c
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x14002a618
mov rdx, qword [rdx]
jmp 0x14002a61b
mov rdx, r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov rax, rsi
call qword [case.0x14004721e.0]
mov ebx, eax
lea rcx, [rbp - 0x50]
call fcn.14002a3bc
test ebx, ebx
js 0x14002adaf
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
js 0x14002ae04
lea rdx, str.ASSOCIATORS_OF_Win32_LogicalDisk.DeviceID
lea rcx, [rbp + 0x110]
call fcn.1400034bc
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.140003440
lea r8d, [rsi + 0x2a]
lea rdx, str._WHERE_AssocClass__Win32_LogicalDiskToPartition
lea rcx, [rbp + 0x110]
call fcn.140003440
mov qword [rbp - 0x80], r13
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov r12, qword [rax + 0xa0]
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], rsi
cmovae rdx, qword [rbp + 0x110]
lea rcx, [rbp - 0x40]
call fcn.14002a32c
nop
mov r14, qword [rax]
test r14, r14
je 0x14002a72a
mov r14, qword [r14]
jmp 0x14002a72d
mov r14, r13
mov ecx, 0x18
call fcn.140046b44
mov rsi, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14002a75b
mov qword [rax + 8], r13
mov dword [rax + 0x10], edi
lea rcx, [0x1400c4d98]
call fcn.140094030
mov qword [rsi], rax
jmp 0x14002a75e
mov rsi, r13
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x14002ae59
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, rbx
mov rax, r12
call qword [case.0x14004721e.0]
mov ebx, eax
lea rcx, [rbp - 0x48]
call fcn.14002a3bc
nop
lea rcx, [rbp - 0x40]
call fcn.14002a3bc
test ebx, ebx
js 0x14002ae64
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x50], r13d
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14002aba8
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov r8d, edi
or r14, 0xffffffffffffffff
mov edx, r14d
mov rax, qword [rax + 0x20]
call qword [case.0x14004721e.0]
mov ebx, eax
test eax, eax
js 0x14002aeb9
cmp dword [rsp + 0x50], r13d
je 0x14002af0e
xor edx, edx
lea r8d, [r14 + 0x19]
lea rcx, [rbp - 0x68]
call fcn.1400659b0
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
lea rdx, str.DeviceID
lea rcx, [rbp - 0x38]
call fcn.14002a32c
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x14002a844
mov rdx, qword [rdx]
jmp 0x14002a847
mov rdx, r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
mov rcx, rbx
mov rax, rsi
call qword [case.0x14004721e.0]
mov ebx, eax
lea rcx, [rbp - 0x38]
call fcn.14002a3bc
test ebx, ebx
js 0x14002af3c
mov esi, 8
cmp word [rbp - 0x68], si
jne 0x14002abd6
cmp qword [rbp - 0x60], r13
je 0x14002abd6
lea r8d, [rsi + 0x26]
lea rdx, str.Associators_of_Win32_DiskPartition.DeviceID
lea rcx, [rbp + 0x110]
call fcn.140004670
mov rdx, qword [rbp - 0x60]
mov r8, r14
inc r8
cmp word [rdx + r8*2], r13w
jne 0x14002a8ae
lea rcx, [rbp + 0x110]
call fcn.140003440
mov r8d, 0x24
lea rdx, str._where_ResultClassWin32_DiskDrive
lea rcx, [rbp + 0x110]
call fcn.140003440
mov qword [rsp + 0x68], r13
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov r12, qword [rax + 0xa0]
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], rsi
cmovae rdx, qword [rbp + 0x110]
lea rcx, [rbp - 0x28]
call fcn.14002a32c
nop
mov r14, qword [rax]
test r14, r14
je 0x14002a91e
mov r14, qword [r14]
jmp 0x14002a921
mov r14, r13
mov ecx, 0x18
call fcn.140046b44
mov rsi, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14002a94f
mov qword [rax + 8], r13
mov dword [rax + 0x10], edi
lea rcx, [0x1400c4d98]
call fcn.140094030
mov qword [rsi], rax
jmp 0x14002a952
mov rsi, r13
mov qword [rbp - 0x30], rsi
test rsi, rsi
je 0x14002af91
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, rbx
mov rax, r12
call qword [case.0x14004721e.0]
mov ebx, eax
lea rcx, [rbp - 0x30]
call fcn.14002a3bc
nop
lea rcx, [rbp - 0x28]
call fcn.14002a3bc
test ebx, ebx
js 0x14002af9c
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x54], r13d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002ab89
mov rax, qword [rcx]
lea r8, [rsp + 0x54]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x60]
mov r8d, edi
or edx, 0xffffffff
mov rax, qword [rax + 0x20]
call qword [case.0x14004721e.0]
mov ebx, eax
test eax, eax
js 0x14002aff1
cmp dword [rsp + 0x54], r13d
je 0x14002b046
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rbp - 0x20]
call fcn.1400659b0
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
lea rdx, str.SerialNumber
lea rcx, [rbp - 0x70]
call fcn.14002a32c
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x14002aa36
mov rdx, qword [rdx]
jmp 0x14002aa39
mov rdx, r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rcx, rbx
mov rax, rsi
call qword [case.0x14004721e.0]
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14002a3bc
test ebx, ebx
js 0x14002b074
mov eax, 8
cmp word [rbp - 0x20], ax
jne 0x14002b0c9
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x14002b0c9
mov rcx, r15
call fcn.1400034bc
mov dword [rsp + 0x74], edi
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002aab4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004721e.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002aacc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004721e.0]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002aaef
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004721e.0]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14002ab06
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004721e.0]
nop
lea rcx, [rbp + 0x110]
call fcn.1400045e4
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002ab2b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004721e.0]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14002ab42
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004721e.0]
nop
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rbp + 0x130]
call fcn.1400045e4
nop
mov rax, r15
mov rcx, qword [rbp + 0xea0]
xor rcx, rsp
call fcn.140046b20
lea r11, [rsp + 0xfb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.14002b0f8
nop
lea rcx, [rsp + 0x68]
call fcn.14002b0f8
nop
lea rcx, [rbp - 0x68]
call sub.OLEAUT32.dll_VariantCopy
lea rdx, str.WMI_query_failed
lea rcx, [rbp + 0x350]
call fcn.1400034bc
nop
mov r8d, 0x84a
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
lea rcx, [rbp + 0x350]
call fcn.14000ee04
nop
lea rdx, str.No_DeviceID_found_in_DiskToPartition_mapping
lea rcx, [rbp + 0x330]
call fcn.1400034bc
nop
mov r8d, 0x816
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
lea rcx, [rbp + 0x330]
call fcn.14000ee04
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rdx, str.GetVolumePathName___failed
lea rcx, [rbp + 0x370]
call fcn.1400034bc
nop
mov edi, 1
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x792
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0xbd0]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0xbd0]
call fcn.140065b40
nop
lea rdx, str.GetVolumePathName___returned_empty_drive_letter._Unable_to_proceed
lea rcx, [rbp + 0x150]
call fcn.1400034bc
nop
mov r8d, 0x797
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
lea rcx, [rbp + 0x150]
call fcn.14000ee04
nop
lea rcx, [rsp + 0x70]
call fcn.14002a328
mov ebx, eax
lea rdx, str.COM_initialization_failed
lea rcx, [rbp + 0x170]
call fcn.1400034bc
nop
mov edi, 1
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x7a4
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x390]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x390]
call fcn.140065b40
nop
lfence
lea rdx, str.CoCreateInstance___failed
lea rcx, [rbp + 0x1b0]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x7cb
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x510]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x510]
call fcn.140065b40
nop
lfence
lea rdx, str.COM_security_initialization_failed
lea rcx, [rbp + 0x190]
call fcn.1400034bc
nop
mov edi, 1
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x7c1
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x450]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x450]
call fcn.140065b40
nop
lfence
lea rdx, str.ConnectServer___failed
lea rcx, [rbp + 0x1d0]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x7dc
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x5d0]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x5d0]
call fcn.140065b40
nop
lfence
lea rdx, str.CoSetProxyBlanket___failed
lea rcx, [rbp + 0x1f0]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x7ed
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x690]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x690]
call fcn.140065b40
nop
mov ecx, 0x8007000e
call fcn.140094020
nop
lfence
lea rdx, str.ExecQuery___failed
lea rcx, [rbp + 0x210]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x7fa
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x750]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x750]
call fcn.140065b40
nop
lfence
lea rdx, str.Enumeration_failed
lea rcx, [rbp + 0x230]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x805
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x810]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x810]
call fcn.140065b40
nop
lea rdx, str.Empty_response_for_DiskToPartition_mapping
lea rcx, [rbp + 0x250]
call fcn.1400034bc
nop
mov r8d, 0x80a
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
lea rcx, [rbp + 0x250]
call fcn.14000ee04
nop
lfence
lea rdx, str.Cant_get_DeviceID
lea rcx, [rbp + 0x270]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x811
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x8d0]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x8d0]
call fcn.140065b40
nop
mov ecx, 0x8007000e
call fcn.140094020
nop
lfence
lea rdx, str.ExecQuery___failed
lea rcx, [rbp + 0x290]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x828
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x990]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0x990]
call fcn.140065b40
nop
lfence
lea rdx, str.Enumeration_failed
lea rcx, [rbp + 0x2b0]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x832
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0xa50]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0xa50]
call fcn.140065b40
nop
lea rdx, str.Empty_response_in_DiskPartitionToDiskDrive_mapping
lea rcx, [rbp + 0x2d0]
call fcn.1400034bc
nop
mov r8d, 0x837
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
lea rcx, [rbp + 0x2d0]
call fcn.14000ee04
nop
lfence
lea rdx, str.Cant_get_SerialNumber
lea rcx, [rbp + 0x2f0]
call fcn.1400034bc
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0x83e
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
mov r8d, ebx
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0xb10]
call fcn.14003e78c
lea rdx, [0x1400e10a0]
lea rcx, [rbp + 0xb10]
call fcn.140065b40
nop
lea rdx, str.No_SerialNumber_found_in_DiskPartitionToDiskDrive_mapping
lea rcx, [rbp + 0x310]
call fcn.1400034bc
nop
mov r8d, 0x843
lea rdx, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendSHIM_srcupdtSHIMEnum.cpp
lea rcx, [rbp + 0x310]
call fcn.14000ee04
int3