Function at 0x140039c30
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 0x140039ca4
mov rdx, qword [r12]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140039cb0
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 0x140039ce6
mov rdx, qword [r14]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140039cf0
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 0x140039ec1
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 0x140039eba
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 0x140039eba
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 0x140039df1
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 0x14003a3b6
jmp 0x140039df4
mov rbx, r15
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14003a3ed
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 0x140039e6f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140039e50
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140039e62
call fcn.1400eef54
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400eef54
test esi, esi
js 0x140039eb0
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 0x140039f03
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 0x140039f66
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 0x140039f68
test rsi, rsi
jne 0x14003a3c1
jmp 0x140039f68
xor ebx, ebx
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14003a3ed
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.1400eecd0
mov rsi, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x140039fbe
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 0x14003a3cc
jmp 0x140039fc0
xor esi, esi
mov qword [rbp - 0x71], rsi
test rsi, rsi
je 0x14003a3ab
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 0x14003a03d
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003a019
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003a02f
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 0x14003a084
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a061
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003a077
call fcn.1400eef54
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.1400eef54
test r14d, r14d
jns 0x14003a0b7
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 0x140039ece
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14003a330
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 0x14003a330
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14003a10b
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, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x14003a2e5
lea rdx, [0x140175278]
lea rcx, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x14003a2e5
lea rdx, [0x140175048]
lea rcx, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a179
movsx rax, word [rbp - 0x39]
jmp 0x14003a2e9
lea rdx, [0x140175290]
lea rcx, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a199
mov eax, dword [rbp - 0x39]
jmp 0x14003a2e9
lea rdx, [0x1401752d8]
lea rcx, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a1ba
movzx eax, word [rbp - 0x39]
jmp 0x14003a2e9
lea rdx, [0x1401752c0]
lea rcx, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a1db
mov rax, qword [rbp - 0x39]
jmp 0x14003a2e9
lea rdx, [0x140175260]
lea rcx, [0x140175260]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a1fc
mov rax, qword [rbp - 0x39]
jmp 0x14003a2e9
mov rsi, qword [rbp - 0x39]
mov ecx, 0x18
call fcn.1400eecd0
mov rbx, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x14003a246
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 0x14003a249
test rsi, rsi
jne 0x14003a3d7
jmp 0x14003a249
mov rbx, r14
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x14003a3ed
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a27a
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 0x14003a3e2
jmp 0x14003a27d
mov rax, r14
mov qword [rsp + 0x50], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14003a296
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x14003a2a4
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140033e20
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003a30f
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a2c4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003a2d6
call fcn.1400eef54
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.1400eef54
jmp 0x14003a30f
movsxd rax, dword [rbp - 0x39]
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
je 0x14003a302
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x14003a30f
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 0x14003a0d0
mov r9, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, r9
sub rcx, rdx
sar rcx, 3
test rcx, rcx
jne 0x14003a38e
cmp rcx, 1
jbe 0x14003a356
lea rax, [rdx + 8]
mov qword [rdi + 8], rax
jmp 0x14003a38e
mov rax, qword [rdi + 0x10]
sub rax, rdx
sar rax, 3
cmp rax, 1
jae 0x14003a371
mov rcx, rdi
call fcn.14003b790
jmp 0x14003a38e
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 0x14003a097
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