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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x548]
sub rsp, 0x620
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov r15, rdx
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0xf0]
call fcn.140286140
mov edx, 0x102
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400ced67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
lea rcx, str.Error__lu_calling_GetSystemDirectory
mov r9d, 0x552
jmp 0x1400cf2c8
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r12d, 3
mov r8d, r12d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xf0]
call fcn.1402a2bc8
test eax, eax
jne 0x1400cf2ae
lea r9, [rbp - 0x30]
lea r8, [0x1403dbfe0]
mov edx, 0x104
lea rcx, [rbp + 0x300]
call fcn.140057c60
xor eax, eax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x68], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400cee19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
lea rcx, str.Error__lu_from_CreateFile
mov r9d, 0x56a
jmp 0x1400cf2c8
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ntohl
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400ceead
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
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, 0x570
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetDiskSignatureInternal
mov rcx, rax
call qword [r10 + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400cf2fd
mov r9d, dword [rbp - 0x54]
lea r8, str.SELECT_Signature_FROM_Win32_DiskDrive_WHERE_Index_u
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.14004c260
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebx
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 0x1400cef0f
cmp eax, 0x80010119
jne 0x1400cf2fd
mov qword [rbp - 0x60], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1403a66b8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1403a66a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400cf29b
mov qword [rbp - 0x70], rbx
mov rdi, qword [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.1400d0d60
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x1400cef5e
mov rdx, qword [rcx]
jmp 0x1400cef61
mov rdx, rbx
mov rax, qword [rdi]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x18]
mov esi, eax
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400cefdc
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400cefdc
test rdi, rdi
je 0x1400cefdc
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400cefbd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400cefcf
call fcn.140282c34
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140282c34
test esi, esi
js 0x1400cf28b
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400cf28b
mov qword [rbp - 0x80], rbx
mov r14, qword [rbp - 0x70]
mov ecx, 0x18
call fcn.140282c3c
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400cf054
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, [rbp - 0x20]
call fcn.1402840e0
mov qword [rdi], rax
jmp 0x1400cf057
mov rdi, rbx
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x1400cf335
mov ecx, 0x18
call fcn.140282c3c
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400cf0a1
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rbx
mov dword [rsi + 0x10], 1
lea rcx, [0x1403dbd8c]
call fcn.1402840e0
mov qword [rsi], rax
jmp 0x1400cf0a4
mov rsi, rbx
mov qword [rsp + 0x70], rsi
test rsi, rsi
je 0x1400cf32a
mov rax, qword [r14]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov rcx, r14
call qword [rax + 0xa0]
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x1400cf11b
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cf0fb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rbx
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400cf10d
call fcn.140282c34
mov qword [rsi + 8], rbx
mov edx, 0x18
mov rcx, rsi
call fcn.140282c34
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400cf15a
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400cf13b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400cf14d
call fcn.140282c34
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140282c34
test r14d, r14d
js 0x1400cf278
mov word [r15], bx
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x78], ebx
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x78]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x1400cf24a
nop dword [rax + rax]
cmp dword [rsp + 0x78], 0
je 0x1400cf24a
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.Signature
call qword [rax + 0x20]
test eax, eax
js 0x1400cf1ff
cmp r12w, word [rbp - 0x48]
jne 0x1400cf1ff
mov r9d, dword [rbp - 0x40]
test r9d, r9d
je 0x1400cf1ff
lea r8, [0x1403d40f4]
mov edx, 0x100
mov rcx, r15
call fcn.140057c60
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400cf219
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x78], ebx
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x78]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400cf1a0
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x1400cf264
mov qword [rbp - 0x80], rbx
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rbp - 0x80]
mov ebx, 1
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400cf27c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x1400cf28b
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400cf29b
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400cf2aa
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, ebx
jmp 0x1400cf2ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
lea rcx, str.Error__lu_calling_wsplitpath_s
mov r9d, 0x55f
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:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetDiskSignatureInternal
mov rcx, rax
call qword [r10 + 0x20]
xor eax, eax
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
int3