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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4605e9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4786a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 3
mov eax, dword [0x478034]
mov edx, dword [eax + 0xc]
mov ecx, 0x478034
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
push 0x46494c
push 1
push edi
push 0x464a1c
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x416dbc
lea ebx, [ebp - 0x1c]
call fcn.00428d20
mov byte [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x416a90
mov ecx, dword [eax]
jmp 0x416a92
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea edi, [ebp - 0x10]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416af5
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416af5
test edi, edi
je 0x416af5
mov eax, dword [edi]
test eax, eax
je 0x416adc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x416aec
push eax
call fcn.0044543c
add esp, 4
push edi
call fcn.0044543c
add esp, 4
test ebx, ebx
jns 0x416b09
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x416c18
mov eax, dword [ebp - 0x10]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x416b40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x416c18
mov eax, dword [0x478034]
mov edx, dword [eax + 0xc]
mov ecx, 0x478034
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
push eax
push str.SELECT_ExecutablePath_FROM_Win32_Process_where_Name_s
lea edi, [ebp - 0x1c]
call fcn.00422e70
mov ecx, dword [ebp - 0x1c]
add esp, 8
push ecx
lea ebx, [ebp - 0x30]
call fcn.00428c40
mov edi, eax
push 0x46aae4
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00428c40
mov byte [ebp - 4], 7
mov ecx, dword [edi]
xor esi, esi
cmp ecx, esi
je 0x416b9c
mov ecx, dword [ecx]
jmp 0x416b9e
xor ecx, ecx
mov eax, dword [eax]
cmp eax, esi
je 0x416ba8
mov edx, dword [eax]
jmp 0x416baa
xor edx, edx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
lea ebx, [ebp - 0x20]
push ebx
push esi
push 0x30
push ecx
push edx
mov edx, dword [edi + 0x50]
push eax
call edx
lea edi, [ebp - 0x2c]
mov ebx, eax
call fcn.00428cd0
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00428cd0
cmp ebx, esi
jge 0x416d14
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416c15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x416c27
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x416c36
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x416c45
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x416c95
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x416c95
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00416de0
mov edi, esi
mov byte [ebp - 4], 8
call fcn.0041db20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416c95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416cb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416cdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416cfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
cmp eax, esi
je 0x416bf2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
je 0x416daf
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x40]
push edx
push 0
push 0x46aae8
push eax
mov eax, dword [ecx + 0x10]
call eax
mov edx, dword [ebp - 0x38]
test edx, edx
jne 0x416d6a
xor eax, eax
jmp 0x416d7f
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416d70
sub eax, edi
sar eax, 1
mov ecx, dword [ebp + 8]
push edx
push ecx
mov ebx, eax
call fcn.00401330
lea edx, [ebp - 0x40]
push edx
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x416d2b
jmp 0x416bf2
test eax, eax
je 0x416bf2
jmp 0x416bea
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], edi
je 0x416c18
lea eax, [ebp + 0x14]
mov edi, esi
call fcn.0041db20
jmp 0x416c18