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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414d6c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x41b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x104], edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf8], edi
push 0
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x411003
xorps xmm0, xmm0
mov ecx, edi
push 4
movups xmmword [edi], xmm0
push str.fail
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004030b0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x410fb4
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410faa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x4118c7
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410ff4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
jmp 0x4118c7
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0x4155b8
push 1
push 0
push 0x4155c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4110ed
xorps xmm0, xmm0
mov ecx, edi
push 4
movups xmmword [edi], xmm0
push str.fail
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004030b0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x41109e
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x4118c7
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4110de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
jmp 0x4118c7
cmp dword [ebx + 0x34], 0xf
lea eax, [ebx + 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xd4], 0
cmova eax, dword [ebx + 0x20]
push eax
mov dword [ebp - 0x18], 0
call fcn.00405290
mov ecx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xf8], esi
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
test esi, esi
je 0x411134
lock inc dword [esi + 8]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 3
test esi, esi
je 0x411140
mov eax, dword [esi]
jmp 0x411142
xor eax, eax
lea edi, [ebp - 0xd4]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
call edx
mov edi, dword [ebp - 0x104]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x4111b3
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4111b3
mov eax, dword [esi]
test eax, eax
je 0x41118b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4111a2
push eax
call fcn.00412382
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412260
mov eax, dword [ebp - 0xfc]
add esp, 8
test eax, eax
jns 0x4112a5
xorps xmm0, xmm0
mov ecx, edi
push 4
movups xmmword [edi], xmm0
push str.fail
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004030b0
test esi, esi
je 0x411222
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x411222
mov eax, dword [esi]
test eax, eax
je 0x411200
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x411217
push eax
call fcn.00412382
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x411256
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41124c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x4118c7
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411296
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
jmp 0x4118c7
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0xd4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4113b1
xorps xmm0, xmm0
mov ecx, edi
push 4
movups xmmword [edi], xmm0
push str.fail
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004030b0
test esi, esi
je 0x41132e
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x41132e
mov eax, dword [esi]
test eax, eax
je 0x41130c
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x411323
push eax
call fcn.00412382
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x411362
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411358
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x4118c7
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4113a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
jmp 0x4118c7
mov ecx, dword [ebx + 0x18]
mov eax, SysReAllocString
sub eax, ecx
mov dword [ebp - 0xdc], 0
cmp eax, 0xe
jb 0x4118e7
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push ecx
cmova eax, dword [ebx + 8]
push eax
push 0xe
push str.SELECT__FROM
push ecx
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x38]
call fcn.00403360
mov byte [ebp - 4], 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
cmova eax, dword [ebp - 0x38]
push eax
call fcn.00405290
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x100], edi
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xf8], eax
test edi, edi
je 0x411432
lock inc dword [edi + 8]
mov byte [ebp - 4], 6
test edi, edi
je 0x411444
mov eax, dword [edi]
mov dword [ebp - 0xf4], eax
jmp 0x41144e
mov dword [ebp - 0xf4], 0
push 0x415888
lea ecx, [ebp - 0xfc]
call fcn.00405290
mov byte [ebp - 4], 7
mov eax, dword [eax]
test eax, eax
je 0x41146c
mov eax, dword [eax]
jmp 0x41146e
xor eax, eax
lea ecx, [ebp - 0xdc]
push ecx
push 0
push 0x30
push dword [ebp - 0xf4]
push eax
push dword [ebp - 0xd4]
call dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xf4], ecx
test ecx, ecx
je 0x4114f7
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x4114ed
test ecx, ecx
je 0x4114ed
mov eax, dword [ecx]
test eax, eax
je 0x4114c5
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4114e2
push eax
call fcn.00412382
mov ecx, dword [ebp - 0xf4]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.00412260
add esp, 8
mov dword [ebp - 0xfc], 0
mov byte [ebp - 4], 5
test edi, edi
je 0x41153f
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x41153f
mov eax, dword [edi]
test eax, eax
je 0x41151d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x411534
push eax
call fcn.00412382
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00412260
add esp, 8
push 0x98
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe0], 0
push 0
push eax
mov dword [ebp - 0x20], 0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.004077f0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4116f9
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0xe0]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x4116f9
mov ecx, dword [ebp - 0xe0]
lea edx, [ebp - 0xf0]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x41588c
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x4116d2
mov eax, dword [ebp - 0xe8]
push 0xc
mov dword [ebp - 0xfc], eax
call fcn.0041211b
add esp, 4
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x41163a
push dword [ebp - 0xfc]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], eax
test eax, eax
jne 0x411632
cmp dword [ebp - 0xfc], eax
jne 0x4118ec
mov eax, dword [ebp - 0xf4]
jmp 0x411642
xor eax, eax
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0xf8], eax
test eax, eax
je 0x4118ec
mov byte [ebp - 4], 0xa
mov edx, dword [eax + 4]
test edx, edx
jne 0x411671
push dword [eax]
call fcn.004130d0
mov ecx, dword [ebp - 0xf4]
mov edx, eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0xd0]
call fcn.00402da0
mov ecx, dword [ebp - 0xf4]
or eax, 0xffffffff
mov byte [ebp - 4], 8
lock xadd dword [ecx + 8], eax
dec eax
jne 0x4116d2
mov eax, dword [ecx]
test eax, eax
je 0x4116aa
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4116c7
push eax
call fcn.00412382
mov ecx, dword [ebp - 0xf4]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.00412260
add esp, 8
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
jne 0x411583
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x104]
lea ecx, [ebp - 0xcc]
call fcn.00407b10
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.00407740
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
test edi, edi
je 0x4117bf
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x4117bf
mov eax, dword [edi]
test eax, eax
je 0x41179d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4117b4
push eax
call fcn.00412382
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00412260
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x4117f3
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4117e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test esi, esi
je 0x411849
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x411849
mov eax, dword [esi]
test eax, eax
je 0x411827
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41183e
push eax
call fcn.00412382
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x411879
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41186f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4118b1
push ecx
push edx
call fcn.00412260
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x4118c1
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4118b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4118b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00412260
add esp, 8
mov edi, dword [ebp - 0x104]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041210d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004012b0
push 0x8007000e
call fcn.004130b0
int3