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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf0
mov rax, qword [0x140174540]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r9
mov r12, r8
mov r14, rdx
mov qword [rbp - 0x79], rdx
mov qword [rbp - 0x29], rdx
mov qword [rbp - 0x21], r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 7
lea rdx, str.SELECT
lea rcx, [rbp - 0x11]
call fcn.140004140
nop
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140038d14
mov rdx, qword [r12]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140038d20
lea rcx, [rbp - 0x11]
call fcn.140004710
mov r8d, 6
lea rdx, str._FROM
mov rcx, rax
call fcn.140004710
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140038d56
mov rdx, qword [r14]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140038d60
mov rcx, rax
call fcn.140004710
xor r15d, r15d
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x19], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140038f31
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140038f2a
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [0x14013de48]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [0x14013de58]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140038f2a
mov rax, qword [rbp - 0x59]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.1400eecd0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140038e61
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r13d
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140039426
jmp 0x140038e64
mov rbx, r15
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14003945d
lea rax, [rbp - 0x61]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x59]
call rsi
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140038edf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140038ec0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140038ed2
call fcn.1400eef54
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400eef54
test esi, esi
js 0x140038f20
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140038f73
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rbp - 0x11]
call fcn.1400040d0
nop
mov rcx, r14
call fcn.1400040d0
nop
mov rcx, r12
call fcn.1400040d0
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400eecb0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
lea rsi, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rsi, qword [rbp - 0x11]
mov ecx, 0x18
call fcn.1400eecd0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140038fd6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], r13d
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140038fd8
test rsi, rsi
jne 0x140039431
jmp 0x140038fd8
xor ebx, ebx
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14003945d
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.1400eecd0
mov rsi, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x14003902e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], r13d
lea rcx, [0x140149cb8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14003943c
jmp 0x140039030
xor esi, esi
mov qword [rbp - 0x71], rsi
test rsi, rsi
je 0x14003941b
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x61]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x1400390ad
mov rcx, qword [rsi]
test rcx, rcx
je 0x140039089
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003909f
call fcn.1400eef54
mov qword [rsi + 8], 0
mov edx, 0x18
mov rcx, rsi
call fcn.1400eef54
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400390f4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400390d1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400390e7
call fcn.1400eef54
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.1400eef54
test r14d, r14d
jns 0x140039127
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rbp - 0x11]
call fcn.1400040d0
nop
mov rcx, qword [rbp - 0x79]
jmp 0x140038f3e
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400393a0
xor r14d, r14d
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x49]
mov r8d, r13d
mov edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp - 0x19], 0
je 0x1400393a0
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14003917b
mov rdx, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x41]
xor r8d, r8d
call qword [rax + 0x20]
lea rdx, [0x1401752a8]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x140039355
lea rdx, [0x140175278]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x140039355
lea rdx, [0x140175048]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x1400391e9
movsx rax, word [rbp - 0x39]
jmp 0x140039359
lea rdx, [0x140175290]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x140039209
mov eax, dword [rbp - 0x39]
jmp 0x140039359
lea rdx, [0x1401752d8]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003922a
movzx eax, word [rbp - 0x39]
jmp 0x140039359
lea rdx, [0x1401752c0]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003924b
mov rax, qword [rbp - 0x39]
jmp 0x140039359
lea rdx, [0x140175260]
lea rcx, [0x1401752f0]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003926c
mov rax, qword [rbp - 0x39]
jmp 0x140039359
mov rsi, qword [rbp - 0x39]
mov ecx, 0x18
call fcn.1400eecd0
mov rbx, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x1400392b6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], r13d
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400392b9
test rsi, rsi
jne 0x140039447
jmp 0x1400392b9
mov rbx, r14
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x14003945d
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400392ea
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test rax, rax
je 0x140039452
jmp 0x1400392ed
mov rax, r14
mov qword [rsp + 0x50], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140039306
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x140039314
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140033e20
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003937f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140039334
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140039346
call fcn.1400eef54
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.1400eef54
jmp 0x14003937f
movsxd rax, dword [rbp - 0x39]
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
je 0x140039372
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x14003937f
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140033e20
lea rcx, [rbp - 0x41]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
jne 0x140039140
mov r9, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, r9
sub rcx, rdx
sar rcx, 3
test rcx, rcx
jne 0x1400393fe
cmp rcx, 1
jbe 0x1400393c6
lea rax, [rdx + 8]
mov qword [rdi + 8], rax
jmp 0x1400393fe
mov rax, qword [rdi + 0x10]
sub rax, rdx
sar rax, 3
cmp rax, 1
jae 0x1400393e1
mov rcx, rdi
call fcn.14003b790
jmp 0x1400393fe
sub r13, rcx
lea r8, [r13*8]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 8], rbx
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
jmp 0x140039107
mov ecx, 0x8007000e
call fcn.1400efd90
nop
mov ecx, 0x8007000e
call fcn.1400efd90
nop
mov ecx, 0x8007000e
call fcn.1400efd90
nop
mov ecx, 0x8007000e
call fcn.1400efd90
nop
mov ecx, 0x8007000e
call fcn.1400efd90
nop
mov ecx, 0x8007000e
call fcn.1400efd90
nop
mov ecx, 0x8007000e
call fcn.1400efd90
int3