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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov r12, qword [0x140178350]
mov rax, qword [r12]
lea r15, [0x140177320]
cmp rax, 3
jbe 0x1400dd908
lea rax, str.Calling_CoCreateInstance_for_CLSID_WbemLocator
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea r8, str.wmi::connection
mov edx, 4
xor r9d, r9d
call fcn.1400240f0
lea r13, [rsp + 0x50]
and qword [r13], 0
mov qword [rsp + 0x68], 1
and qword [rsp + 0x70], 0
mov qword [rsp + 0x20], r13
lea rcx, [0x140177540]
lea r9, [0x1401773e4]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x90]
mov edx, eax
call fcn.1400dd434
cmp qword [rsp + 0x90], 0
je 0x1400dd9a1
mov rcx, qword [rsp + 0x98]
mov edi, dword [rsp + 0xa0]
test rcx, rcx
je 0x1400dd97a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, byte [rsp + 0x5a]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x58]
mov word [rsi + 1], ax
mov dword [rsi + 4], edi
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x1400ddcef
mov rdi, qword [rsp + 0x98]
lea rbp, [rsp + 0x48]
mov qword [rbp], rdi
mov rax, qword [r12]
cmp rax, 4
jb 0x1400dda10
lea rax, [rsp + 0x68]
mov qword [rax], rbp
lea rdx, [0x140177560]
lea rcx, [rsp + 0x90]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x1400db71a]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea r8, str.wmi::connection
mov edx, 4
xor r9d, r9d
call fcn.1400240f0
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rdi
mov rax, qword [r12]
cmp rax, 3
jbe 0x1400dda5b
lea rax, str.Calling_ConnectServer
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea r8, str.wmi::connection
mov edx, 4
xor r9d, r9d
call fcn.1400240f0
mov rcx, r14
mov rdx, rbx
call fcn.1400db15d
lea r9, [rsp + 0x58]
and qword [r9], 0
lea r8, [rsp + 0x80]
and qword [rsp + 0x48], 0
mov qword [r8], rax
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x68]
and qword [rax], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], r13
and qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x30], pe_nt_image_headers64
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0xc0]
call fcn.1400dd530
cmp qword [rsp + 0x90], 0
je 0x1400ddb42
mov rcx, qword [rsp + 0x98]
mov ebx, dword [rsp + 0xa0]
test rcx, rcx
je 0x1400ddae6
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400db1fc
lea rcx, [rsp + 0x50]
call fcn.1400db1fc
lea rcx, [rsp + 0x48]
call fcn.1400db1fc
lea rcx, [rsp + 0x58]
call fcn.1400db1fc
lea rcx, [rsp + 0x80]
call fcn.1400db1fc
mov al, byte [rsp + 0x67]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x65]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x1400ddce6
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 0x88], rbx
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.1400db1fc
lea rcx, [rsp + 0x50]
call fcn.1400db1fc
lea rcx, [rsp + 0x48]
call fcn.1400db1fc
lea rcx, [rsp + 0x58]
call fcn.1400db1fc
mov rax, qword [r12]
cmp rax, 3
jbe 0x1400ddbe4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rax, str.Got_service
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
and qword [rcx + 0x20], 0
lea rdx, [0x1400db771]
mov qword [rsp + 0x70], rdx
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], rax
lea r8, str.wmi::connection
mov edx, 4
xor r9d, r9d
call fcn.1400240f0
mov rbx, qword [rsp + 0x88]
lea rcx, [rsp + 0x80]
call fcn.1400db1fc
mov qword [rsp + 0x50], rbx
mov rax, qword [r12]
cmp rax, 3
jbe 0x1400ddc39
lea rax, [0x140177470]
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea r8, str.wmi::connection
mov edx, 4
xor r9d, r9d
call fcn.1400240f0
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], rbx
mov eax, 3
mov dword [rsp + 0x28], eax
and dword [rsp + 0x38], 0
mov dword [rsp + 0x20], eax
and qword [rsp + 0x30], 0
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
lea rcx, [rsp + 0x90]
mov edx, eax
call fcn.1400dd384
cmp qword [rsp + 0x90], 0
je 0x1400ddcdf
mov rcx, qword [rsp + 0x98]
mov ebp, dword [rsp + 0xa0]
test rcx, rcx
je 0x1400ddcac
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, byte [rsp + 0x4a]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x48]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebp
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x18], rax
mov byte [rsi], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x1400ddce6
mov qword [rsi + 8], rbx
mov byte [rsi], 0x11
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret