Function at 0x140004620
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 0x140004696
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140004a1c
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x1400136f0]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [0x1400137c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000468b
mov qword [rbp - 0x31], rdi
lea r12d, [r13 + 0x17]
mov ecx, r12d
call fcn.140005338
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000470a
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
lea rcx, str.ROOTCIMV2
call qword [0x1400112a0]
mov qword [rbx], rax
test rax, rax
jne 0x14000470d
mov ecx, 0x8007000e
call fcn.14000ad50
int3
mov rbx, rdi
mov qword [rbp - 1], rbx
test rbx, rbx
jne 0x140004721
mov ecx, 0x8007000e
call fcn.14000ad50
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 0x140004783
cmp qword [rbx], rdi
je 0x14000476d
mov rcx, qword [rbx]
call qword [0x1400112a8]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000477b
call fcn.1400052c0
mov rcx, rbx
call fcn.1400052c0
test esi, esi
jns 0x140004796
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000468b
mov qword [rbp - 0x29], rdi
mov rcx, r12
call fcn.140005338
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x1400047c7
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
call fcn.14000ad60
mov qword [rbx], rax
jmp 0x1400047ca
mov rbx, rdi
mov qword [rbp - 0x11], rbx
test rbx, rbx
jne 0x1400047de
mov ecx, 0x8007000e
call fcn.14000ad50
nop
mov rcx, r12
call fcn.140005338
mov rsi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000480b
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
lea rcx, [0x140013acc]
call fcn.14000ad60
mov qword [rsi], rax
jmp 0x14000480e
mov rsi, rdi
mov qword [rbp - 9], rsi
test rsi, rsi
jne 0x140004822
mov ecx, 0x8007000e
call fcn.14000ad50
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 0x14000487e
cmp qword [rsi], rdi
je 0x140004867
mov rcx, qword [rsi]
call qword [0x1400112a8]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140004875
call fcn.1400052c0
mov rcx, rsi
call fcn.1400052c0
nop
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
add eax, r14d
jne 0x1400048af
cmp qword [rbx], rdi
je 0x140004899
mov rcx, qword [rbx]
call qword [0x1400112a8]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400048a7
call fcn.1400052c0
mov rcx, rbx
call fcn.1400052c0
test r12d, r12d
jns 0x1400048c3
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140004787
mov dword [rbp + 0x77], edi
mov rsi, rdi
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140004a1c
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 0x140004931
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, [0x140013ad0]
call qword [rax + 0x20]
test eax, eax
js 0x140004931
mov rsi, qword [rbp + 0xf]
lea rcx, [rbp + 7]
call qword [0x1400112b0]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
jne 0x1400048d6
test rsi, rsi
je 0x140004a1c
mov rcx, rsi
call fcn.140005524
mov rbx, rax
mov r13d, eax
shl r13d, 2
movsxd rcx, r13d
call fcn.140005540
mov r12, rax
mov edx, 0xd1047b
mov ecx, 0xff
mov r11d, edi
mov r9, rdi
movsxd r14, ebx
test ebx, ebx
jle 0x1400049e4
cmp edi, r13d
jae 0x1400049e4
movzx r8d, word [rsi + r9*2]
mov eax, r8d
imul eax, edx
lea edx, [r11 + rax]
xor edx, 0x173b9c
cmp r8d, ecx
jle 0x1400049bf
mov eax, r8d
sub eax, ecx
and eax, 7
jl 0x1400049d6
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 0x1400049a0
jmp 0x1400049d6
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 0x14000496e
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