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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r8
xor r13d, r13d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1400086d8]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1400086e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140002af3
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140002a9e
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140002a99
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400030d8
mov rcx, r8
call fcn.140006700
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140002aec
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140002ae7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400030df
mov rcx, r8
call fcn.140006700
xor eax, eax
jmp 0x14000309e
mov qword [rsp + 0x70], r13
mov ecx, 0x18
call fcn.1400069d0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140002b41
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400030f1
jmp 0x140002b44
mov rbx, r13
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x1400030fc
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140002bc6
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002ba7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140002bb9
call fcn.140006700
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.140006700
test r14d, r14d
jns 0x140002bdb
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140002a5d
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140002c29
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140002a5d
mov qword [rbp - 0x80], r13
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xe
jb 0x140003107
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140002c55
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xe
lea r9, str.SELECT__FROM
lea rcx, [rbp - 0x40]
call fcn.140006420
nop
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
mov ecx, 0x18
call fcn.1400069d0
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140002cc4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], r13
mov dword [r14 + 0x10], 1
mov rcx, rbx
call fcn.1400074a0
mov qword [r14], rax
jmp 0x140002cc7
mov r14, r13
mov qword [rsp + 0x60], r14
test r14, r14
je 0x14000310d
mov ecx, 0x18
call fcn.1400069d0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140002d14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], 1
lea rcx, [0x14000bad4]
call fcn.1400074a0
mov qword [rbx], rax
jmp 0x140002d17
mov rbx, r13
mov qword [rsp + 0x68], rbx
test rbx, rbx
je 0x1400030e6
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r13
mov r9d, 0x30
mov r8, qword [r14]
mov rdx, qword [rbx]
call qword [rax + 0xa0]
mov r12d, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140002d90
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002d70
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140002d82
call fcn.140006700
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.140006700
nop
mov eax, 0xffffffff
lock xadd dword [r14 + 0x10], eax
cmp eax, 1
jne 0x140002dd0
mov rcx, qword [r14]
test rcx, rcx
je 0x140002db1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], r13
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140002dc3
call fcn.140006700
mov qword [r14 + 8], r13
mov edx, 0x18
mov rcx, r14
call fcn.140006700
test r12d, r12d
jns 0x140002e43
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140002e2d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ff8
call fcn.140006700
movdqa xmm0, xmmword [0x14000c230]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
jmp 0x140002a64
mov dword [rbp - 0x48], r13d
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140002f9f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x78]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 0x48], 0
je 0x140002f9f
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140002e9d
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x70]
xor r8d, r8d
call qword [rax + 0x20]
test eax, eax
js 0x140002f7e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov r8d, 3
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.140005c90
nop
mov r8, qword [rbp - 0x20]
mov edx, 0xc8
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rax, [rbp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002f23
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x140002f5b
mov r14, r15
cmp rax, 0x10
jb 0x140002f41
mov r14, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x70]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x140002f6b
lea r9, [rbp + 0x70]
mov rdx, rbx
mov rcx, r15
call fcn.1400062e0
nop
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp rcx, rax
je 0x140002f7e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jne 0x140002e60
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140003004
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006700
movdqa xmm0, xmmword [0x14000c230]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000304f
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14000304a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400030d8
mov rcx, r8
call fcn.140006700
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003099
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003094
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400030df
mov rcx, r8
call fcn.140006700
mov eax, 1
mov word [rdi], r13w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400066e0
mov rbx, qword [rsp + 0x5d8]
add rsp, 0x580
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x8007000e
call fcn.140007490
nop
mov ecx, 0x8007000e
call fcn.140007490
nop
mov ecx, 0x8007000e
call fcn.140007490
int3
call fcn.140001b10
nop
mov ecx, 0x8007000e
call fcn.140007490
int3