Function at 0x1400b7000
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path
Get disk information via ioctl
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov r12, rdx
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0xc0]
call fcn.140306610
mov edx, 0x102
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400b7084
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001d6f0
lea rcx, str.Error__lu_calling_GetSystemDirectory
mov r9d, 0x573
jmp 0x1400b75a6
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r13d, 3
mov r8d, r13d
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xc0]
call fcn.1402d377c
test eax, eax
jne 0x1400b758c
lea r9, [rbp - 0x58]
lea r8, [0x140429ed0]
mov edx, 0x104
lea rcx, [rbp + 0x2d0]
call fcn.1400711a0
xor eax, eax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b7137
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001d6f0
lea rcx, str.Error__lu_from_CreateFile
mov r9d, 0x58b
jmp 0x1400b75a6
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ntohl
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b71cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001d6f0
mov r10, qword [rax]
mov dword [rsp + 0x38], ebx
lea rcx, str.Error__lu_calling_DeviceIoControl
mov qword [rsp + 0x30], rcx
lea rcx, str.MachineID
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x591
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetDiskSignatureInternal
mov rcx, rax
call qword [r10 + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b75db
mov r9d, dword [rbp - 0x7c]
lea r8, str.SELECT_Signature_FROM_Win32_DiskDrive_WHERE_Index_u
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.14002ca40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1400b722e
cmp eax, 0x80010119
jne 0x1400b75db
mov qword [rsp + 0x78], rdi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1403fd218]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1403fd228]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400b7577
mov qword [rsp + 0x68], rdi
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov ecx, 0x18
call fcn.1402b5c5c
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400b72b9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rdi
mov dword [rsi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x1400b7618
jmp 0x1400b72bc
mov rsi, rdi
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x1400b7623
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, rbx
call r14
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.1400ab090
test ebx, ebx
js 0x1400b7566
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400b7566
mov qword [rsp + 0x58], rdi
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov r15, qword [rax + 0xa0]
mov ecx, 0x18
call fcn.1402b5c5c
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400b738a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rdi
mov dword [rsi + 0x10], 1
lea rcx, [rbp - 0x50]
call fcn.1402b6df0
mov qword [rsi], rax
jmp 0x1400b738d
mov rsi, rdi
mov qword [rsp + 0x60], rsi
test rsi, rsi
je 0x1400b762e
mov r14, qword [rsi]
mov ecx, 0x18
call fcn.1402b5c5c
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400b73dd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rdi
mov dword [rsi + 0x10], 1
lea rcx, [0x140429d00]
call fcn.1402b6df0
mov qword [rsi], rax
jmp 0x1400b73e0
mov rsi, rdi
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x1400b760d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, rbx
call r15
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.1400ab090
nop
lea rcx, [rsp + 0x60]
call fcn.1400ab090
test ebx, ebx
jns 0x1400b7434
mov rdx, qword [rsp + 0x58]
jmp 0x1400b7557
mov word [r12], di
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], edi
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x1400b7520
nop dword [rax]
cmp dword [rsp + 0x60], 0
je 0x1400b7520
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.Signature
call qword [rax + 0x20]
test eax, eax
js 0x1400b74d0
cmp r13w, word [rbp - 0x70]
jne 0x1400b74d0
mov r9d, dword [rbp - 0x68]
test r9d, r9d
je 0x1400b74d0
lea r8, [0x140429ff4]
mov edx, 0x100
mov rcx, r12
call fcn.1400711a0
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400b74ec
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], edi
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400b7470
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400b753d
mov qword [rsp + 0x58], rdi
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rsp + 0x58]
mov edi, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400b7557
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400b7566
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b7577
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400b7588
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov eax, edi
jmp 0x1400b75dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001d6f0
lea rcx, str.Error__lu_calling_wsplitpath_s
mov r9d, 0x580
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rcx
lea rcx, str.MachineID
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r10, qword [rax]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetDiskSignatureInternal
mov rcx, rax
call qword [r10 + 0x20]
xor eax, eax
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1402b6de0
nop
mov ecx, 0x8007000e
call fcn.1402b6de0
nop
mov ecx, 0x8007000e
call fcn.1402b6de0
nop
mov ecx, 0x8007000e
call fcn.1402b6de0
int3