Function at 0x140005620
Capabilities:
Connect to wmi namespace via wbemlocator
Encode data using xor
Reference wmi statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, rdx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edi, edi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
or r14d, 0xffffffff
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x140005696
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140005a1c
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x1400146f0]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [0x1400147c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000568b
mov qword [rbp - 0x31], rdi
lea r12d, [r13 + 0x17]
mov ecx, r12d
call fcn.140006338
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000570a
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
lea rcx, str.ROOTCIMV2
call qword [0x1400122a0]
mov qword [rbx], rax
test rax, rax
jne 0x14000570d
mov ecx, 0x8007000e
call fcn.14000bd50
int3
mov rbx, rdi
mov qword [rbp - 1], rbx
test rbx, rbx
jne 0x140005721
mov ecx, 0x8007000e
call fcn.14000bd50
nop
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
add ecx, r14d
jne 0x140005783
cmp qword [rbx], rdi
je 0x14000576d
mov rcx, qword [rbx]
call qword [0x1400122a8]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000577b
call fcn.1400062c0
mov rcx, rbx
call fcn.1400062c0
test esi, esi
jns 0x140005796
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000568b
mov qword [rbp - 0x29], rdi
mov rcx, r12
call fcn.140006338
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x1400057c7
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
call fcn.14000bd60
mov qword [rbx], rax
jmp 0x1400057ca
mov rbx, rdi
mov qword [rbp - 0x11], rbx
test rbx, rbx
jne 0x1400057de
mov ecx, 0x8007000e
call fcn.14000bd50
nop
mov rcx, r12
call fcn.140006338
mov rsi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000580b
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
lea rcx, [0x140014acc]
call fcn.14000bd60
mov qword [rsi], rax
jmp 0x14000580e
mov rsi, rdi
mov qword [rbp - 9], rsi
test rsi, rsi
jne 0x140005822
mov ecx, 0x8007000e
call fcn.14000bd50
nop
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rsi]
call qword [rax + 0xa0]
mov r12d, eax
mov ecx, r14d
lock xadd dword [rsi + 0x10], ecx
add ecx, r14d
jne 0x14000587e
cmp qword [rsi], rdi
je 0x140005867
mov rcx, qword [rsi]
call qword [0x1400122a8]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140005875
call fcn.1400062c0
mov rcx, rsi
call fcn.1400062c0
nop
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
add eax, r14d
jne 0x1400058af
cmp qword [rbx], rdi
je 0x140005899
mov rcx, qword [rbx]
call qword [0x1400122a8]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400058a7
call fcn.1400062c0
mov rcx, rbx
call fcn.1400062c0
test r12d, r12d
jns 0x1400058c3
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140005787
mov dword [rbp + 0x77], edi
mov rsi, rdi
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140005a1c
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov r8d, r13d
mov edx, r14d
call qword [rax + 0x20]
cmp dword [rbp + 0x77], edi
je 0x140005931
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, [0x140014ad0]
call qword [rax + 0x20]
test eax, eax
js 0x140005931
mov rsi, qword [rbp + 0xf]
lea rcx, [rbp + 7]
call qword [0x1400122b0]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
jne 0x1400058d6
test rsi, rsi
je 0x140005a1c
mov rcx, rsi
call fcn.140006524
mov rbx, rax
mov r13d, eax
shl r13d, 2
movsxd rcx, r13d
call fcn.140006540
mov r12, rax
mov edx, 0xd1047b
mov ecx, 0xff
mov r11d, edi
mov r9, rdi
movsxd r14, ebx
test ebx, ebx
jle 0x1400059e4
cmp edi, r13d
jae 0x1400059e4
movzx r8d, word [rsi + r9*2]
mov eax, r8d
imul eax, edx
lea edx, [r11 + rax]
xor edx, 0x173b9c
cmp r8d, ecx
jle 0x1400059bf
mov eax, r8d
sub eax, ecx
and eax, 7
jl 0x1400059d6
mov r10b, r8b
sub r10b, cl
lea ebx, [rax + 1]
lea ecx, [rdx + rdi]
mov al, r10b
imul cl
mov ecx, edi
mov byte [rcx + r12], al
inc edi
add edx, edi
xor edx, 0x1bad
dec rbx
jne 0x1400059a0
jmp 0x1400059d6
mov eax, edi
mov byte [rax + r12], dl
inc edi
lea eax, [r8 + rcx]
imul eax, edx
imul eax, eax, 0x3fd
xor edx, eax
mov ecx, r8d
inc r11d
inc r9
cmp r9, r14
jl 0x14000596e
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r11, qword [rbp + 0x67]
mov qword [r11], r12
mov dword [r15], edi
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret