Function at 0x18003a330
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 - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1803cf040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x1803bdc50]
movdqu xmmword [rbp + 0x1f], xmm1
mov byte [rbp + 0xf], r12b
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x21], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x18003a40e
lea rdx, [0x1800c7cae]
mov rcx, rsi
call fcn.180037e10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x18003a3e3
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a3de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a740
call fcn.180045fc8
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180045890
lea r11, [rsp + 0xd0]
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 + 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
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x18003a45b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
jmp 0x18003a3a8
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [0x1800abaf8]
xor edx, edx
mov r8d, 1
lea rcx, [0x1800abb08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18003a441
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.180045b4c
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x18003a4d7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x18003a8f0
jmp 0x18003a4da
mov rbx, r12
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x18003a911
lea rax, [rbp - 0x31]
mov qword [rsp + 0x40], rax
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 [rbx]
mov rcx, qword [rbp - 0x29]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x18003a554
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003a535
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18003a547
call fcn.180045fc8
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.180045fc8
test edi, edi
js 0x18003a398
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
mov edx, 0xa
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x18003a398
mov rax, qword [rbp - 0x31]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.180045b4c
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x18003a5e9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT_UUID_FROM_Win32_ComputerSystemProduct
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x18003a8fb
jmp 0x18003a5ec
mov rbx, r12
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x18003a911
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.180045b4c
mov rdi, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x18003a63a
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, [0x1803bce8c]
call fcn.180046b70
mov qword [rdi], rax
jmp 0x18003a63d
mov rdi, r12
mov qword [rbp - 0x41], rdi
test rdi, rdi
je 0x18003a91c
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x31]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x18003a6ae
mov rcx, qword [rdi]
test rcx, rcx
je 0x18003a68e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18003a6a0
call fcn.180045fc8
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.180045fc8
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x18003a6ed
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003a6ce
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18003a6e0
call fcn.180045fc8
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.180045fc8
test r14d, r14d
jns 0x18003a747
lea rdx, [0x1800c7cae]
mov rcx, rsi
call fcn.180037e10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x18003a3e3
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a3de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003a3de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rbp - 0x19], r12
mov dword [rbp + 7], r12d
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x18003a8ad
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x19]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 7], 0
je 0x18003a8ad
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, [0x1803bce90]
call qword [rax + 0x20]
test eax, eax
js 0x18003a88c
cmp word [rbp - 0x11], 8
jne 0x18003a88c
mov rdi, qword [rbp - 9]
mov ecx, 0x18
call fcn.180045b4c
mov rbx, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x18003a80a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18003a80d
test rdi, rdi
jne 0x18003a906
jmp 0x18003a80d
mov rbx, r12
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x18003a8e5
mov rax, qword [rbx + 8]
test rax, rax
jne 0x18003a82f
mov rcx, qword [rbx]
call fcn.180046a50
mov qword [rbx + 8], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18003a836
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.1800430e0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x18003a88c
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003a86d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18003a87f
call fcn.180045fc8
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.180045fc8
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
jne 0x18003a760
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rsi + 0x10], xmm1
jmp 0x18003a3e3
mov ecx, 0x8007000e
call fcn.180046a40
nop
mov ecx, 0x8007000e
call fcn.180046a40
nop
mov ecx, 0x8007000e
call fcn.180046a40
nop
mov ecx, 0x8007000e
call fcn.180046a40
nop
mov ecx, 0x8007000e
call fcn.180046a40
nop
mov ecx, 0x8007000e
call fcn.180046a40
int3