Function at 0x401675
Capabilities:
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x510
mov esi, esp
mov dword [esi + 0x4f8], ebp
lea eax, [esi + 0x500]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x402e70
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esi + 0x14]
mov dword [eax], edi
push eax
push 0x4370e8
push 1
push edi
push 0x4370f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401b3d
mov eax, 0x808cc057
mov ecx, 0x15fb58c8
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov eax, 0x9ffbf85a
mov ecx, 0xffacad3
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
mov eax, 0x49cd12d1
mov ecx, 0x276c7bc5
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov edi, 0x31f361c8
mov ecx, 0xdaf96b50
mov edx, 0x80c3c005
mov ebx, 0x15af5887
lea eax, [esi + 0x70]
mov dword [esi + 0x64], ebx
mov dword [eax + 4], ebx
mov dword [esi + 0x68], edx
mov dword [eax], edx
mov edx, 0x9fb8f806
mov ebx, 0xfb7ca9a
mov dword [esi + 0x5c], ebx
mov dword [eax + 0xc], ebx
mov dword [esi + 0x60], edx
mov dword [eax + 8], edx
mov edx, 0x276c7bc5
mov ebx, 0x49ff1287
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], ebx
mov dword [esi + 0x4c], ecx
mov dword [eax + 0x1c], ecx
mov dword [esi + 0x48], edi
mov dword [eax + 0x18], edi
xor ecx, ecx
xor ecx, ecx
mov dword [esi + 0xc], ecx
movaps xmm0, xmmword [esi + 0x30]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x30], xmm0
movaps xmm0, xmmword [esi + 0x40]
xorps xmm0, xmmword [eax + 0x10]
mov dword [esi + 0x508], ecx
movaps xmmword [esi + 0x40], xmm0
mov eax, dword [esi + 0x14]
mov dword [esi + 4], eax
push 0xc
call fcn.00412e62
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
mov dword [esi + 8], edi
je 0x401c35
mov dword [esi + 0x70], edi
mov ebx, dword [esi + 4]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x508], 8
sub esp, 0x24
lea edx, [esi + 0xc]
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ebx
call ecx
mov edi, eax
mov ebx, dword [esi + 8]
mov eax, ebx
add eax, 8
lock dec dword [eax]
jne 0x401830
mov eax, dword [ebx]
test eax, eax
je 0x401817
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x401827
push eax
call fcn.00412ec8
add esp, 4
push ebx
call fcn.00412e92
add esp, 4
test edi, edi
js 0x401b48
mov eax, dword [esi + 0xc]
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
movaps xmm0, xmmword [0x4154f0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 3
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x401b85
mov eax, 0xc58f8556
mov ecx, 0x3f8f0cc4
lea edx, [esi + 0x20]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov eax, 0xd0eabe26
mov ecx, 0xfb7ead7
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
lea eax, [esi + 0x70]
xor ecx, ecx
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x78], ecx
movaps xmm0, xmmword [edx]
xorps xmm0, xmmword [eax]
mov dword [esi + 0x508], edi
movaps xmmword [edx], xmm0
lea eax, [ebp + 0xc]
push eax
push edx
lea eax, [esi + 0x30]
push eax
call fcn.00401146
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 8], eax
mov dword [esi + 0x508], 2
push 0xc
call fcn.00412e62
add esp, 4
mov ecx, eax
cmp dword [esi + 8], 0x10
lea eax, [esi + 0x30]
cmovae eax, dword [esi + 4]
mov dword [ecx + 4], 0
mov dword [esi + 4], ecx
mov dword [ecx + 8], 1
mov dword [esi + 0x508], 3
push eax
call fcn.00413320
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 0x10], ecx
mov eax, 0x808f9152
mov ecx, 0x15af5887
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x28], eax
mov dword [esi + 0x78], eax
xor eax, eax
lea ecx, [esi + 0x70]
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x20], xmm0
mov dword [esi + 0x508], 5
push 0xc
call fcn.00412e62
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [esi + 0x508], 6
lea eax, [esi + 0x20]
push eax
mov dword [esi + 4], ecx
call fcn.00413320
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 0x18], ecx
mov edi, dword [esi + 0x6c]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x50]
mov dword [esi + 0x508], 7
lea edx, [esi + 0x1c]
push edx
push 0
push 0x30
push dword [esi + 8]
push eax
push edi
call ecx
mov edi, eax
mov ebx, dword [esi + 4]
mov eax, ebx
add eax, 8
lock dec dword [eax]
jne 0x401a0a
mov eax, dword [ebx]
test eax, eax
je 0x4019f1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x401a01
push eax
call fcn.00412ec8
add esp, 4
push ebx
call fcn.00412e92
add esp, 4
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x401a43
lock dec dword [ebx + 8]
jne 0x401a43
mov eax, dword [ebx]
test eax, eax
je 0x401a2a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x401a3a
push eax
call fcn.00412ec8
add esp, 4
push ebx
call fcn.00412e92
add esp, 4
test edi, edi
js 0x401bad
lea eax, [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x508], 2
test eax, eax
je 0x401b5f
mov ecx, dword [eax]
lea edx, [esi + 0x10]
push edx
lea edx, [esi + 0x18]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [esi + 0x10], 0
je 0x401b5f
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp + 8]
cmp dword [eax + 0x30], 8
lea eax, [ebp + 0x24]
jb 0x401aa1
lea eax, [ebp + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
xor ebx, ebx
push ebx
push ebx
lea edi, [esi + 0x20]
push edi
push ebx
push eax
push ecx
call dword [edx + 0x10]
test eax, eax
js 0x401b19
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x74]
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x70]
push 3
push eax
call fcn.00402cae
push dword [esi + 0x70]
push 0xc8
lea ebx, [esi + 0xf8]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp + 8]
mov edi, dword [eax]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esi + 0x508], 4
mov ecx, edi
push eax
push ebx
call fcn.00402a04
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x74]
cmp eax, ecx
je 0x401b19
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x508], 2
push eax
call ecx
jmp 0x401a54
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x401be8
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x508], 0
push eax
call ecx
jmp 0x401ba3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
inc edi
jmp 0x401bd3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x508], 0
push eax
call ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
jmp 0x401be8
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x508], 2
push eax
call ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x401be8
inc eax
push eax
push dword [esi + 0x30]
call fcn.00402956
add esp, 8
lea eax, [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, 0x10
jb 0x401c02
inc eax
push eax
lea eax, [ebp + 0xc]
push dword [eax]
call fcn.00402956
add esp, 8
lea eax, [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xf
mov byte [eax + 4], 0
lea ecx, [ebp + 0x24]
call fcn.00402af0
mov eax, dword [esi + 0x500]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x508], 1
push 0x8007000e
call fcn.004134b0
push ebp
sub esp, 0x24
lea esi, [ebp - 0x50c]
mov ebp, dword [esi + 0x4f8]
push dword [esi + 8]
call fcn.00412e92
add esp, 0x28
pop ebp
ret