Function at 0x1400dbc80
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 - 0x510]
sub rsp, 0x610
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov r13, rdx
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0xe0]
call fcn.1403ec370
mov edx, 0x102
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400dbd04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14002c3f0
lea rcx, str.Error__lu_calling_GetSystemDirectory
mov r9d, 0x573
jmp 0x1400dc283
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 r14d, 3
mov r8d, r14d
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0xe0]
call fcn.14017797c
test eax, eax
jne 0x1400dc269
lea r9, [rbp - 0x38]
lea r8, [0x14050d6f0]
mov edx, 0x104
lea rcx, [rbp + 0x2f0]
call fcn.14002ce80
xor eax, eax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x70], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400dbdb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14002c3f0
lea rcx, str.Error__lu_from_CreateFile
mov r9d, 0x58b
jmp 0x1400dc283
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xc
lea rax, [rbp - 0x60]
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 0x1400dbe4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14002c3f0
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 0x1400dc2b8
mov r9d, dword [rbp - 0x5c]
lea r8, str.SELECT_Signature_FROM_Win32_DiskDrive_WHERE_Index_u
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1400162d0
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], r14d
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 0x1400dbeac
cmp eax, 0x80010119
jne 0x1400dc2b8
mov qword [rbp - 0x68], rdi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x14044cba0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14044cbb0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400dc255
mov qword [rbp - 0x78], rdi
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x18]
lea rcx, [rsp + 0x58]
call fcn.1400dde60
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1400dbf02
mov rdx, qword [rdx]
jmp 0x1400dbf05
mov rdx, rdi
lea rax, [rbp - 0x78]
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 rcx, rbx
call rsi
mov esi, eax
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400dbf7c
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400dbf7c
test rbx, rbx
je 0x1400dbf7c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400dbf5d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400dbf6f
call fcn.14014f510
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14014f510
test esi, esi
js 0x1400dc245
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400dc245
mov qword [rsp + 0x78], rdi
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov r12, qword [rax + 0xa0]
mov ecx, 0x18
call fcn.14014f518
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400dc002
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 - 0x30]
call fcn.140150690
mov qword [rsi], rax
jmp 0x1400dc005
mov rsi, rdi
mov qword [rsp + 0x60], rsi
test rsi, rsi
je 0x1400dc2f5
mov r15, qword [rsi]
mov ecx, 0x18
call fcn.14014f518
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400dc057
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rdi
mov dword [r14 + 0x10], 1
lea rcx, [0x14050d49c]
call fcn.140150690
mov qword [r14], rax
jmp 0x1400dc05a
mov r14, rdi
mov qword [rsp + 0x68], r14
test r14, r14
je 0x1400dc2ea
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
mov r8, r15
mov rdx, qword [r14]
mov rcx, rbx
call r12
mov ebx, eax
mov ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x1400dc0cc
mov rcx, qword [r14]
test rcx, rcx
je 0x1400dc0ac
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], rdi
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400dc0be
call fcn.14014f510
mov qword [r14 + 8], rdi
mov edx, 0x18
mov rcx, r14
call fcn.14014f510
nop
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x1400dc10b
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400dc0ec
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400dc0fe
call fcn.14014f510
mov qword [rsi + 8], rdi
mov edx, 0x18
mov rcx, rsi
call fcn.14014f510
test ebx, ebx
jns 0x1400dc119
mov rdx, qword [rsp + 0x78]
jmp 0x1400dc236
mov word [r13], di
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x70], edi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x80]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x1400dc200
mov ebx, 3
cmp dword [rsp + 0x70], 0
je 0x1400dc200
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.Signature
call qword [rax + 0x20]
test eax, eax
js 0x1400dc1b3
cmp bx, word [rbp - 0x50]
jne 0x1400dc1b3
mov r9d, dword [rbp - 0x48]
test r9d, r9d
je 0x1400dc1b3
lea r8, [0x1405063f4]
mov edx, 0x100
mov rcx, r13
call fcn.14002ce80
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400dc1ce
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x70], edi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x80]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400dc155
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1400dc21d
mov qword [rsp + 0x78], rdi
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x78]
mov edi, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400dc236
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1400dc245
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400dc255
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dc265
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov eax, edi
jmp 0x1400dc2ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14002c3f0
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 + 0x500]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x610]
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.140150680
nop
mov ecx, 0x8007000e
call fcn.140150680
int3