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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14011d080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r15d, r15d
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x41], r15
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fc918]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1400fc928]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140031628
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor r8d, r8d
lea rdx, [0x1400fda58]
lea rcx, [rbp - 0x19]
call fcn.14000eb40
nop
lea rcx, [rbp - 0x19]
call fcn.140012620
mov rbx, rax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140031602
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400315fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400315fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e69f4
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e6990
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, Ordinal_27
call fcn.1400e69b0
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14003167b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, [0x1400fdb98]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140031b7b
jmp 0x14003167e
mov rbx, r15
mov qword [rbp - 0x21], rbx
test rbx, rbx
je 0x140031b9c
lea rax, [rbp - 0x41]
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 - 0x39]
call rsi
mov ebx, eax
lea rcx, [rbp - 0x21]
call fcn.140011d10
test ebx, ebx
jns 0x140031753
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor r8d, r8d
lea rdx, [0x1400fda58]
lea rcx, [rbp - 0x19]
call fcn.14000eb40
nop
lea rcx, [rbp - 0x19]
call fcn.140012620
mov rbx, rax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140031602
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400315fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400315fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14003181c
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor r8d, r8d
lea rdx, [0x1400fda58]
lea rcx, [rbp - 0x19]
call fcn.14000eb40
nop
lea rcx, [rbp - 0x19]
call fcn.140012620
mov rbx, rax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140031602
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400315fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400315fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rbp - 0x31], r15
mov rax, qword [rbp - 0x41]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.1400e69b0
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140031877
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14003187a
test rdi, rdi
jne 0x140031b86
jmp 0x14003187a
mov rbx, r15
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x140031b9c
mov rdi, qword [rbx]
mov ecx, Ordinal_27
call fcn.1400e69b0
mov rbx, rax
mov qword [rbp - 0x21], rax
test rax, rax
je 0x1400318d2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, [0x1400fdbf0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140031b91
jmp 0x1400318d5
mov rbx, r15
mov qword [rbp - 0x21], rbx
test rbx, rbx
je 0x140031b70
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, Ordinal_50
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x41]
call rsi
mov ebx, eax
lea rcx, [rbp - 0x21]
call fcn.140011d10
nop
lea rcx, [rbp - 0x49]
call fcn.140011d10
test ebx, ebx
jns 0x1400319b2
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor r8d, r8d
lea rdx, [0x1400fda58]
lea rcx, [rbp - 0x19]
call fcn.14000eb40
nop
lea rcx, [rbp - 0x19]
call fcn.140012620
mov rbx, rax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140031602
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400315fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400315fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rbp - 0x29], r15
mov dword [rbp + 7], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140031b00
nop
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 7], 0
je 0x140031aed
test eax, eax
js 0x140031aed
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x19]
xor r8d, r8d
mov rdx, r14
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x140031ac1
cmp word [rbp - 0x19], 8
jne 0x140031ac1
mov qword [rbp - 0x21], r15
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x21]
call fcn.140011d90
nop
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x140031a66
mov r9, qword [rax]
jmp 0x140031a69
mov r9, r15
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140031a70
mov rax, qword [rbp + 0x27]
cmp rdx, rax
ja 0x140031aae
lea rdi, [rbp + 0xf]
cmp rax, 8
cmovae rdi, qword [rbp + 0xf]
mov qword [rbp + 0x1f], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r15w
jmp 0x140031ab8
lea rcx, [rbp + 0xf]
call fcn.1400462d0
nop
lea rcx, [rbp - 0x21]
call fcn.140011d10
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140031ad4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp - 0x29], r15
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x1400319e0
jmp 0x140031b00
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140031b00
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp - 0x31], r15
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rbp + 0xf]
call fcn.140012620
mov rbx, rax
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140031602
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400315fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400315fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x8007000e
call fcn.1400e7d00
nop
mov ecx, 0x8007000e
call fcn.1400e7d00
nop
mov ecx, 0x8007000e
call fcn.1400e7d00
nop
mov ecx, 0x8007000e
call fcn.1400e7d00
nop
mov ecx, 0x8007000e
call fcn.1400e7d00
int3