Function at 0x140028090
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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400d8708]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov r8d, 7
lea rdx, str.SELECT
lea rcx, [rbp - 0x18]
call fcn.14002d170
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400280fe
mov rdx, qword [rsi]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140028105
lea rcx, [rbp - 0x18]
call fcn.1400240e0
mov r8d, 6
lea rdx, str._FROM
mov rcx, rax
call fcn.1400240e0
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14002813b
mov rdx, qword [r15]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140028142
mov rcx, rax
call fcn.1400240e0
xor r13d, r13d
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp + 8], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1400282a2
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1400281cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400281c6
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028abd
call fcn.1400a77f0
movdqa xmm0, xmmword [0x1400c49f0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r13w
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x14002821c
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140028217
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028ac4
mov rcx, r8
call fcn.1400a77f0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 7
mov word [r15], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14002826b
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140028266
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028acb
mov rcx, r8
call fcn.1400a77f0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400a77d0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x1400282df
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14002818b
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1400bf338]
mov r12d, 1
mov r8d, r12d
xor edx, edx
lea rcx, [0x1400bf348]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140028316
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14002818b
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x18]
mov ecx, Ordinal_27
call fcn.1400a7918
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140028367
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], r12d
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140028add
jmp 0x14002836a
mov rbx, r13
mov qword [rsp + 0x78], rbx
test rbx, rbx
je 0x140028b14
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
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]
mov rcx, qword [rbp - 0x58]
call r14
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400283e7
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400283c8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400283da
call fcn.1400a77f0
mov qword [rbx + 8], r13
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400a77f0
test r14d, r14d
jns 0x140028401
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14002818b
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 [rbp - 0x60]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14002843f
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400283ec
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
mov r13, qword [rcx + 0xa0]
lea r14, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r14, qword [rbp - 0x18]
mov ecx, Ordinal_27
call fcn.1400a7918
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400284a2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], r12d
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400284a4
test r14, r14
jne 0x140028ae8
jmp 0x1400284a4
xor ebx, ebx
mov qword [rbp - 0x80], rbx
test rbx, rbx
je 0x140028b14
mov r12, qword [rbx]
mov ecx, Ordinal_27
call fcn.1400a7918
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400284ff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rax
mov dword [r14 + 0x10], 1
lea rcx, [0x1400c24e8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
je 0x140028af3
jmp 0x140028502
xor r14d, r14d
mov qword [rbp - 0x78], r14
test r14, r14
je 0x140028ad2
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, Ordinal_50
mov r8, r12
mov rdx, qword [r14]
mov rcx, qword [rbp - 0x60]
call r13
mov r12d, eax
mov ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x140028580
mov rcx, qword [r14]
test rcx, rcx
je 0x14002855c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], 0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140028572
call fcn.1400a77f0
mov qword [r14 + 8], 0
mov edx, Ordinal_27
mov rcx, r14
call fcn.1400a77f0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400285c7
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400285a4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400285ba
call fcn.1400a77f0
mov qword [rbx + 8], 0
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400a77f0
test r12d, r12d
jns 0x1400286e0
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14002862b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028abd
call fcn.1400a77f0
xor ebx, ebx
movdqa xmm0, xmmword [0x1400c49f0]
mov word [rbp - 0x18], bx
movdqu xmmword [rbp - 8], xmm0
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x14002867d
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [r15]
jb 0x140028678
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028ac4
mov rcx, r8
call fcn.1400a77f0
mov word [r15], bx
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x1400286cc
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x1400286c7
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028acb
mov rcx, r8
call fcn.1400a77f0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
jmp 0x14002827b
mov rcx, qword [rbp - 0x50]
mov r12d, 1
test rcx, rcx
je 0x1400289f5
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x48]
mov r8d, r12d
mov edx, 0xffffffff
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 8], 0
je 0x1400289f5
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140028739
mov rdx, qword [rsi]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x40]
xor r8d, r8d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea rdx, [0x1400d8a60]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x1400289ac
lea rdx, [0x1400d8900]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x1400289ac
lea rdx, [0x1400d8c10]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x1400287c5
movsx eax, word [rbp - 0x38]
mov dword [rsp + 0x58], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400287bb
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400289d4
lea r8, [rsp + 0x58]
jmp 0x1400289cc
lea rdx, [0x1400d8960]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x140028805
mov rax, qword [rbp - 0x38]
mov dword [rsp + 0x5c], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400287fb
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400289d4
lea r8, [rsp + 0x5c]
jmp 0x1400289cc
lea rdx, [0x1400d8af8]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x140028845
movzx eax, word [rbp - 0x38]
mov dword [rsp + 0x60], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14002883b
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400289d4
lea r8, [rsp + 0x60]
jmp 0x1400289cc
lea rdx, [0x1400d8a78]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x140028885
mov rax, qword [rbp - 0x38]
mov dword [rsp + 0x64], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14002887b
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400289d4
lea r8, [rsp + 0x64]
jmp 0x1400289cc
lea rdx, [0x1400d88c0]
lea rcx, [0x1400d8900]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x1400288c5
mov rax, qword [rbp - 0x38]
mov dword [rsp + 0x68], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400288bb
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400289d4
lea r8, [rsp + 0x68]
jmp 0x1400289cc
mov r14, qword [rbp - 0x38]
mov ecx, Ordinal_27
call fcn.1400a7918
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14002890f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], r12d
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140028912
test r14, r14
jne 0x140028afe
jmp 0x140028912
mov rbx, r13
mov qword [rbp - 0x68], rbx
test rbx, rbx
je 0x140028b14
mov rcx, qword [rbx]
test rcx, rcx
je 0x140028943
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 0x140028b09
jmp 0x140028946
mov rax, r13
mov dword [rsp + 0x6c], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14002895d
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14002896b
lea r8, [rsp + 0x6c]
mov rcx, rdi
call fcn.140035700
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400289d4
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002898b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002899d
call fcn.1400a77f0
mov qword [rbx + 8], r13
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400a77f0
jmp 0x1400289d4
mov rax, qword [rbp - 0x38]
mov dword [rsp + 0x70], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400289c7
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400289d4
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140035700
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x140028700
mov r14, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, r14
sub rcx, rdx
cmp rcx, 4
jae 0x140028a55
sar rcx, 2
cmp rcx, 1
jbe 0x140028a18
lea rax, [rdx + 4]
jmp 0x140028a51
jae 0x140028a55
mov rax, qword [rdi + 0x10]
sub rax, rdx
sar rax, 2
cmp rax, 1
jae 0x140028a35
mov rcx, rdi
call fcn.14003a880
jmp 0x140028a55
sub r12, rcx
lea rbx, [r12*4]
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + r14]
mov qword [rdi + 8], rax
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14002862b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028626
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x8007000e
call fcn.1400a7630
nop
mov ecx, 0x8007000e
call fcn.1400a7630
nop
mov ecx, 0x8007000e
call fcn.1400a7630
nop
mov ecx, 0x8007000e
call fcn.1400a7630
nop
mov ecx, 0x8007000e
call fcn.1400a7630
nop
mov ecx, 0x8007000e
call fcn.1400a7630
nop
mov ecx, 0x8007000e
call fcn.1400a7630
int3