Function at 0x140036860
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
sub rsp, 0x50
xor r12b, r12b
xor r13d, r13d
mov r15d, r13d
lea rbx, [rcx + 0x28]
mov edi, 0x80000000
cmp qword [rbx], 0
je 0x140036897
cmp qword [rbx + 8], 0
jne 0x140036ae4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1400368b1
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], eax
jmp 0x140036951
movzx eax, byte [rbx + 0x1b]
test al, al
jne 0x14003690a
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]
mov ecx, eax
add eax, edi
test edi, eax
jne 0x140036906
cmp ecx, 0x80010119
je 0x140036906
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], ecx
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140036951
mov byte [rbx + 0x1b], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x140340948]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140340958]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x14003696e
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.1400370f0
test al, al
jne 0x140036acf
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], edi
mov edi, 0x80000000
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r15d
cmp r15d, 0xa
jl 0x140036886
jmp 0x140036ae7
mov rsi, qword [rbx]
mov rax, qword [rsi]
mov rbp, qword [rax + 0x18]
mov ecx, 0x18
call fcn.1402200d8
mov rdi, rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x1400369b8
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x140036b0e
jmp 0x1400369bb
mov rdi, r13
mov qword [rsp + 0xa0], rdi
test rdi, rdi
je 0x140036b03
lea r14, [rbx + 8]
mov qword [rsp + 0x40], r14
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 [rdi]
mov rcx, rsi
call rbp
mov esi, eax
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x140036a38
mov rcx, qword [rdi]
test rcx, rcx
je 0x140036a19
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r13
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140036a2b
call fcn.1402200d0
mov qword [rdi + 8], r13
mov edx, 0x18
mov rcx, rdi
call fcn.1402200d0
mov qword [rsp + 0xa0], r13
test esi, esi
jns 0x140036a6e
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], r13
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.1400370f0
test al, al
jne 0x140036acf
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], esi
jmp 0x14003694c
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 [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test eax, eax
jns 0x140036ae0
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r14], r13
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], r13
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.1400370f0
test al, al
je 0x140036945
mov rcx, rbx
call fcn.140036e70
test al, al
jne 0x140036ae4
jmp 0x14003694c
mov byte [rbx + 0x10], 0
mov r12b, 1
movzx eax, r12b
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140221510
nop
mov ecx, 0x8007000e
call fcn.140221510
int3