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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rdx
xor edi, edi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x1400cf418
cmp esi, 0x80010119
je 0x1400cf418
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
mov r10, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
lea rcx, str.Error__lu_calling_CoInitializeSecurity_hr0x_08X
mov qword [rsp + 0x30], rcx
lea r14, str.MachineID
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 1
mov r9d, 0x5e5
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
xor eax, eax
jmp 0x1400cfa02
mov qword [rbp + 7], rdi
mov qword [rbp + 7], rdi
lea rax, [rbp + 7]
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]
mov esi, eax
test eax, eax
jns 0x1400cf4a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
mov r10, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
lea rcx, str.Error__lu_calling_CoCreateInstance_hr0x_08X
mov qword [rsp + 0x30], rcx
lea r14, str.MachineID
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 1
mov r9d, 0x5ef
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
jmp 0x1400cf9f0
mov qword [rbp - 1], rdi
mov qword [rbp - 1], rdi
mov rsi, qword [rbp + 7]
mov ecx, 0x18
call fcn.140282c3c
mov rbx, rax
mov qword [rbp - 0x51], rax
test rax, rax
je 0x1400cf4f2
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400cfa3a
jmp 0x1400cf4f5
mov rbx, rdi
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x1400cfa45
mov rax, qword [rsi]
lea rcx, [rbp - 1]
mov qword [rsp + 0x40], rcx
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 [rbx]
mov rcx, rsi
call qword [rax + 0x18]
mov esi, eax
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400cf571
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400cf552
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400cf564
call fcn.140282c34
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.140282c34
mov qword [rbp - 0x49], rdi
test esi, esi
jns 0x1400cf595
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
lea rcx, str.Error__lu_calling_ConnectServer_hr0x_08X
mov r9d, 0x602
jmp 0x1400cf5e2
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 1]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test eax, eax
jns 0x1400cf620
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
lea rcx, str.Error__lu_calling_CoSetProxyBlanket_hr0x_08X
mov r9d, 0x614
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rcx
lea r14, str.MachineID
mov qword [rsp + 0x28], r14
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::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
jmp 0x1400cf9e0
mov qword [rbp - 9], rdi
mov qword [rbp - 9], rdi
mov r14, qword [rbp - 1]
mov ecx, 0x18
call fcn.140282c3c
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400cf667
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT_serialNumber_FROM_Win32_PhysicalMemory
call fcn.1402840e0
mov qword [rbx], rax
jmp 0x1400cf66a
mov rbx, rdi
mov qword [rbp - 0x51], rbx
test rbx, rbx
je 0x1400cfa50
mov ecx, 0x18
call fcn.140282c3c
mov rsi, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400cf6b2
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rdi
mov dword [rsi + 0x10], 1
lea rcx, [0x1403dbd8c]
call fcn.1402840e0
mov qword [rsi], rax
jmp 0x1400cf6b5
mov rsi, rdi
mov qword [rbp - 0x41], rsi
test rsi, rsi
je 0x1400cfa2f
mov rax, qword [r14]
lea rcx, [rbp - 9]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rsi]
mov rcx, r14
call qword [rax + 0xa0]
mov r14d, eax
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x1400cf72a
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cf70b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400cf71d
call fcn.140282c34
mov qword [rsi + 8], rdi
mov edx, 0x18
mov rcx, rsi
call fcn.140282c34
mov qword [rbp - 0x41], rdi
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400cf76d
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400cf74e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400cf760
call fcn.140282c34
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.140282c34
mov qword [rbp - 0x51], rdi
test r14d, r14d
jns 0x1400cf7cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
mov r10, qword [rax]
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], ebx
lea rcx, str.Error__lu_calling_ExecQuery_hr0x_08X
mov qword [rsp + 0x30], rcx
lea r14, str.MachineID
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 1
mov r9d, 0x624
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
jmp 0x1400cf9d0
mov word [r15], di
lea rcx, [rbp + 0xf]
call fcn.14000c320
nop
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x11], rdi
mov dword [rbp - 0x19], edi
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
lea r14, str.MachineID
test eax, eax
js 0x1400cf92d
mov r12d, 8
lea r13, str.Error__lu_calling_Get_hr0x_08X
cmp dword [rbp - 0x19], 0
je 0x1400cf92d
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x31]
xor r8d, r8d
lea rdx, str.serialNumber
call qword [rax + 0x20]
mov esi, eax
test eax, eax
js 0x1400cf896
cmp r12w, word [rbp - 0x31]
jne 0x1400cf8df
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400cf8df
mov rdx, qword [rbp - 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400cf880
lea rcx, [rbp + 0xf]
call fcn.14000d710
jmp 0x1400cf8df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400cf8df
call fcn.140024740
mov r10, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 1
mov r9d, 0x643
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400cf8fa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x11], rdi
mov dword [rbp - 0x19], edi
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400cf824
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400cf93d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae r8, qword [rbp + 0xf]
mov edx, 0x400
mov rcx, r15
call fcn.1400cbb20
mov esi, eax
test eax, eax
jns 0x1400cf9ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400cf9ae
call fcn.140024740
mov r10, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
lea rcx, str.Error__lu_calling_StringCchCopy_hr0x_08X
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 1
mov r9d, 0x655
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonmachineid.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400cf9c1
mov qword [rbp - 9], rdi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edi, 1
lea rcx, [rbp + 0xf]
call fcn.14000c300
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400cf9e0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400cf9f0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400cfa00
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov eax, edi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0xe0]
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.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
int3