Function at 0x1400434f0
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, 0x108
mov rsi, rcx
mov r15, qword [rcx]
cmp r15, 2
jne 0x14004368d
xor ecx, ecx
xor edx, edx
call sub.ole32.dll_CoInitializeEx
mov edi, eax
cmp eax, 2
setb bl
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor ecx, ecx
mov edx, 0xffffffff
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoInitializeSecurity
test eax, eax
js 0x1400436b5
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401ad898]
lea r9, [0x1401ad8a8]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1400436b5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xd0], 1
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xf0], 0
mov byte [rsp + 0x100], bl
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0xd0]
call fcn.140043840
mov rax, qword [rsp + 0x58]
mov r15d, 2
cmp rax, 2
je 0x1400436c5
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
movzx ebp, byte [rsp + 0x88]
test r12, r12
je 0x1400437e2
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x1400437e2
lea rax, [rsp + 0x89]
mov ecx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rsp + 0x53], eax
mov dword [rsp + 0x50], ecx
mov r15, qword [rsp + 0x90]
jmp 0x1400436c5
mov rdi, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
mov rbx, qword [rsi + 0x18]
mov r13, qword [rsi + 0x20]
mov r14, qword [rsi + 0x28]
movzx ebp, byte [rsi + 0x30]
mov eax, dword [rsi + 0x31]
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x53], ecx
mov dword [rsp + 0x50], eax
jmp 0x14004370d
mov r15d, 2
cmp edi, 1
ja 0x1400436c5
call sub.ole32.dll_CoUninitialize
mov qword [rsi], r15
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], r13
mov qword [rsi + 0x28], r14
mov byte [rsi + 0x30], bpl
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x53]
mov dword [rsi + 0x31], eax
mov dword [rsi + 0x34], ecx
mov eax, dword [rsi + 0x31]
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x53], ecx
mov dword [rsp + 0x50], eax
cmp r15, 2
jne 0x14004370d
mov qword [rsp + 0x58], 2
jmp 0x14004376d
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], r14
mov byte [rsp + 0xc8], bpl
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x53]
mov dword [rsp + 0xc9], eax
mov dword [rsp + 0xcc], ecx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x98]
call fcn.140043980
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], rcx
cmp dword [rsi], 2
je 0x1400437ce
lea rcx, [rsp + 0x58]
mov rdx, rsi
xor r8d, r8d
call fcn.140043ad0
cmp dword [rsp + 0x5c], 2
je 0x1400437ce
movss xmm0, dword [rsp + 0x58]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x1400437ce
movss dword [rsi + 0x5c], xmm0
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r13, r13
je 0x1400437f5
test r14, r14
je 0x1400437f5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test r12, r12
je 0x140043808
test rbx, rbx
je 0x140043808
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
cmp qword [rsp + 0x90], 0
je 0x140043821
test rdi, rdi
je 0x140043821
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
test bpl, bpl
je 0x140043830
call sub.ole32.dll_CoUninitialize
jmp 0x1400436c5
xor ebp, ebp
jmp 0x1400436c5