Function at 0x40efd8
Capabilities:
Reference wmi statements

Disassembly:
mov eax, 0x43ea41
call fcn.0042eda4
sub esp, 0x6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
push 0x444e64
push 1
push ebx
push 0x444d94
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push str.rootcimv2
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x40f0c5
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_Process
push 0x44357c
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x40f0b4
cmp dword [ebp - 0x1c], ebx
je 0x40f0b4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x10]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], eax
jne 0x40f0fe
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x40f0b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x40f0c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x40f0d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x40f0e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp eax, ebx
jl 0x40f39b
cmp dword [ebp - 0x28], ebx
jbe 0x40f39b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x48]
push edx
push ebx
push str.Name
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x10]
push ebx
push ebx
lea edx, [ebp - 0x78]
push edx
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push str.ExecutablePath
push eax
call dword [ecx + 0x10]
push ebx
push ebx
lea edx, [ebp - 0x68]
push edx
push ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push str.ProcessID
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x58]
push edx
push ebx
push 0x443524
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
jmp 0x40f198
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 8
jl 0x40f345
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d3a0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x40f1c3
mov eax, dword [eax]
jmp 0x40f1c5
xor eax, eax
push eax
call fcn.0041b9a0
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.0040ce51
push 0x443520
mov ecx, edi
call fcn.0040ce51
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f1ed
mov eax, dword [eax]
jmp 0x40f1ef
xor eax, eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d414
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f20f
mov eax, dword [eax]
jmp 0x40f211
xor eax, eax
push eax
call fcn.0041b9a0
push eax
mov ecx, edi
call fcn.0040ce51
push 0x443520
mov ecx, edi
call fcn.0040ce51
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f236
mov eax, dword [eax]
jmp 0x40f238
xor eax, eax
push eax
call esi
cmp dword [ebp - 0x30], ebx
jl 0x40f2bf
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040d414
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f25b
mov eax, dword [eax]
jmp 0x40f25d
xor eax, eax
push eax
call fcn.0041b9a0
push eax
mov ecx, edi
call fcn.0040ce51
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f276
mov eax, dword [eax]
jmp 0x40f278
xor eax, eax
push eax
call esi
jmp 0x40f2bf
mov ecx, dword [ebp + 8]
push 0x443520
mov dword [ebp - 4], 0xb
call fcn.0040ce51
cmp dword [ebp - 0x34], ebx
jl 0x40f32f
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0040d414
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f2f3
mov eax, dword [eax]
jmp 0x40f2f5
xor eax, eax
push eax
call fcn.0041b9a0
mov ecx, dword [ebp + 8]
push eax
call fcn.0040ce51
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40f30f
mov eax, dword [eax]
jmp 0x40f311
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40f32f
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov dword [ebp - 4], 0xb
je 0x40f345
call fcn.0040b2df
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 7
call esi
cmp eax, ebx
jge 0x40f35f
push eax
call fcn.0041b990
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call esi
cmp eax, ebx
jge 0x40f373
push eax
call fcn.0041b990
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 5
call esi
cmp eax, ebx
jge 0x40f387
push eax
call fcn.0041b990
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call esi
cmp eax, ebx
jge 0x40f39b
push eax
call fcn.0041b990
mov ecx, dword [ebp + 8]
push 0x443518
call fcn.0040ce51
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x40f072
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40f072