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

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 - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, 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 0x1400be861
cmp esi, 0x80010119
je 0x1400be861
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001e910
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 r15, str.MachineID
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x606
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
mov rcx, rax
call qword [r10 + 0x20]
xor eax, eax
jmp 0x1400bede1
mov qword [rbp - 1], rdi
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [0x140405218]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140405228]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
jns 0x1400be8e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001e910
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
lea rdx, str.Error__lu_calling_CoCreateInstance_hr0x_08X
mov qword [rsp + 0x30], rdx
lea r15, str.MachineID
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x610
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
call qword [rax + 0x20]
jmp 0x1400bedcf
mov qword [rbp - 9], rdi
mov rbx, qword [rbp - 1]
mov rax, qword [rbx]
mov r15, qword [rax + 0x18]
mov ecx, 0x18
call fcn.1402baa0c
mov rsi, rax
mov qword [rbp - 0x21], rax
test rax, rax
je 0x1400be93c
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 0x1400bee19
jmp 0x1400be93f
mov rsi, rdi
mov qword [rbp - 0x21], rsi
test rsi, rsi
je 0x1400bee24
lea rax, [rbp - 9]
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 r15
mov esi, eax
lea rcx, [rbp - 0x21]
call fcn.1400b2290
test esi, esi
jns 0x1400be9a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001e910
lea rdx, str.Error__lu_calling_ConnectServer_hr0x_08X
mov r9d, 0x623
jmp 0x1400be9ef
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 - 9]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test eax, eax
jns 0x1400bea2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001e910
lea rdx, str.Error__lu_calling_CoSetProxyBlanket_hr0x_08X
mov r9d, 0x635
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rdx
lea r15, str.MachineID
mov qword [rsp + 0x28], r15
mov rcx, rax
mov dword [rsp + 0x20], 1
mov rax, qword [rax]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
call qword [rax + 0x20]
jmp 0x1400bedbf
mov qword [rbp - 0x11], rdi
mov rbx, qword [rbp - 9]
mov rax, qword [rbx]
mov r12, qword [rax + 0xa0]
mov ecx, 0x18
call fcn.1402baa0c
mov rsi, rax
mov qword [rbp - 0x21], rax
test rax, rax
je 0x1400bea7c
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.SELECT_serialNumber_FROM_Win32_PhysicalMemory
call fcn.1402bbba0
mov qword [rsi], rax
jmp 0x1400bea7f
mov rsi, rdi
mov qword [rbp - 0x19], rsi
test rsi, rsi
je 0x1400bee2f
mov r15, qword [rsi]
mov ecx, 0x18
call fcn.1402baa0c
mov rsi, rax
mov qword [rbp - 0x21], rax
test rax, rax
je 0x1400beacd
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, [0x1404330e4]
call fcn.1402bbba0
mov qword [rsi], rax
jmp 0x1400bead0
mov rsi, rdi
mov qword [rbp - 0x21], rsi
test rsi, rsi
je 0x1400bee0e
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
mov r8, r15
mov rdx, qword [rsi]
mov rcx, rbx
call r12
mov esi, eax
lea rcx, [rbp - 0x21]
call fcn.1400b2290
nop
lea rcx, [rbp - 0x19]
call fcn.1400b2290
test esi, esi
jns 0x1400beb6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14001e910
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
lea rdx, str.Error__lu_calling_ExecQuery_hr0x_08X
mov qword [rsp + 0x30], rdx
lea r15, str.MachineID
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x645
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
call qword [rax + 0x20]
jmp 0x1400bedaf
mov word [r14], di
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x140445990]
movdqu xmmword [rbp + 0x17], xmm1
mov word [rbp + 7], di
mov qword [rbp - 0x21], rdi
mov dword [rbp - 0x19], edi
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
lea r15, str.MachineID
test eax, eax
js 0x1400becd8
mov r12d, 8
lea r13, str.Error__lu_calling_Get_hr0x_08X
nop dword [rax]
cmp dword [rbp - 0x19], 0
je 0x1400becd8
lea rcx, [rbp - 0x39]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x39]
xor r8d, r8d
lea rdx, str.serialNumber
call qword [rax + 0x20]
mov esi, eax
test eax, eax
js 0x1400bec46
cmp r12w, word [rbp - 0x39]
jne 0x1400bec8e
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400bec8e
mov rdx, qword [rbp - 0x31]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bec30
lea rcx, [rbp + 7]
call fcn.14002be20
jmp 0x1400bec8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400bec8e
call fcn.14001e910
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x664
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
call qword [rax + 0x20]
lea rcx, [rbp - 0x39]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400beca9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [rbp - 0x21], rdi
mov dword [rbp - 0x19], edi
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400bebd0
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400bece8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov ecx, 0x400
sub rdx, r14
nop
lea rax, [rcx + 0x7ffffbfe]
test rax, rax
je 0x1400bed24
movzx eax, word [rdx + r14]
test ax, ax
je 0x1400bed24
mov word [r14], ax
add r14, 2
sub rcx, 1
jne 0x1400bed00
lea rax, [r14 - 2]
test rcx, rcx
cmovne rax, r14
mov word [rax], di
mov ebx, 0x8007007a
cmovne ebx, edi
jne 0x1400bed8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
je 0x1400bed8c
call fcn.14001e910
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], esi
lea rdx, str.Error__lu_calling_StringCchCopy_hr0x_08X
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov r9d, 0x676
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonMachineId.cpp
lea rdx, str.mb::common::system::MachineId::GetMemorySerialNumbersInternal
call qword [rax + 0x20]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400beda0
mov qword [rbp - 0x11], rdi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov edi, 1
lea rcx, [rbp + 7]
call fcn.1400166f0
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400bedbf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400bedcf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400beddf
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0xc0]
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.1402bbb90
nop
mov ecx, 0x8007000e
call fcn.1402bbb90
nop
mov ecx, 0x8007000e
call fcn.1402bbb90
nop
mov ecx, 0x8007000e
call fcn.1402bbb90
int3