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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1800a11a0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], r12b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov r14b, 1
test eax, eax
jns 0x180029d9c
cmp eax, 0x80010106
jne 0x180029f3b
xor r14b, r14b
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
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 0x180029de1
cmp eax, 0x80010119
jne 0x180029f30
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x18008d1d8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x18008d1c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180029f30
mov qword [rsp + 0x50], r12
mov ecx, 0x18
call fcn.180032af8
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180029e60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x18002a215
jmp 0x180029e63
mov rdi, r12
mov qword [rbp - 0x68], rdi
test rdi, rdi
je 0x18002a220
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x18]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x180029ee3
mov rcx, qword [rdi]
test rcx, rcx
je 0x180029ec4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180029ed6
call fcn.180032af0
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.180032af0
test esi, esi
js 0x180029f25
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x180029f78
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
test r14b, r14b
je 0x180029f3b
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180032aa0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 0x70], r12
mov ecx, 0x18
call fcn.180032af8
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180029fbc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, str.SELECT_SerialNumber_FROM_Win32_bios
call fcn.180033f40
mov qword [rdi], rax
jmp 0x180029fbf
mov rdi, r12
mov qword [rbp - 0x60], rdi
test rdi, rdi
je 0x18002a220
mov ecx, 0x18
call fcn.180032af8
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18002a00b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r12
mov dword [rsi + 0x10], 1
lea rcx, [0x18008f8f4]
call fcn.180033f40
mov qword [rsi], rax
jmp 0x18002a00e
mov rsi, r12
mov qword [rbp - 0x58], rsi
test rsi, rsi
je 0x18002a20a
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, qword [rdi]
mov rdx, qword [rsi]
call qword [rax + 0xa0]
mov r15d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x18002a087
mov rcx, qword [rsi]
test rcx, rcx
je 0x18002a067
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r12
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x18002a079
call fcn.180032af0
mov qword [rsi + 8], r12
mov edx, 0x18
mov rcx, rsi
call fcn.180032af0
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x18002a0c6
mov rcx, qword [rdi]
test rcx, rcx
je 0x18002a0a7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18002a0b9
call fcn.180032af0
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.180032af0
test r15d, r15d
js 0x180029f1a
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x60], r12d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18002a1ea
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rsp + 0x60], 0
je 0x18002a1ea
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [0x18008f8f8]
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x30]
call fcn.180051b50
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0xffffffff
mov r8, qword [rbp - 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp - 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18002a1b0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.18001e3a0
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x18002a0f0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
jmp 0x180029f2a
mov ecx, 0x8007000e
call fcn.180033e10
nop
mov ecx, 0x8007000e
call fcn.180033e10
nop
mov ecx, 0x8007000e
call fcn.180033e10
int3