Function at 0x412750
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 0x50a6bb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x53307c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x6428
call fcn.0049f224
add esp, 4
mov edi, eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
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]
push 0x536398
push 0x519380
push 1
push 0
push 0x519370
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x536398], 0
je 0x4128a1
push 0xc
call fcn.0049e926
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
test esi, esi
je 0x412e39
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x412e39
mov eax, dword [0x536398]
push 0x536394
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x412883
mov eax, dword [esi]
test eax, eax
je 0x412861
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x412878
push eax
call fcn.0049f22d
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0049e956
add esp, 8
mov eax, dword [0x536394]
test eax, eax
je 0x4128a1
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0x6428
push 0
push edi
call fcn.004e7890
add esp, 8
mov edx, edi
mov ecx, 7
call fcn.00419050
add esp, 4
test eax, eax
jle 0x41294b
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.004125e0
mov esi, eax
cmp esi, 0x533ce0
je 0x412911
mov ecx, 0x533ce0
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x533ce0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x533cf0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41294b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412941
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e43
push edx
push ecx
call fcn.0049e956
add esp, 8
push 0x6428
push 0
push edi
call fcn.004e7890
add esp, 8
mov edx, edi
xor ecx, ecx
call fcn.00419050
add esp, 4
test eax, eax
jle 0x4129f2
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.004125e0
mov esi, eax
cmp esi, 0x533cf8
je 0x4129b8
mov ecx, 0x533cf8
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x533cf8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x533d08], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4129f2
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4129e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e48
push edx
push ecx
call fcn.0049e956
add esp, 8
push 0x6428
push 0
push edi
call fcn.004e7890
add esp, 8
mov edx, edi
mov ecx, 1
call fcn.00419050
add esp, 4
test eax, eax
jle 0x412a9c
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.004125e0
mov esi, eax
cmp esi, 0x533cc8
je 0x412a62
mov ecx, 0x533cc8
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x533cc8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x533cd8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x412a9c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e4d
push edx
push ecx
call fcn.0049e956
add esp, 8
push 0x6428
push 0
push edi
call fcn.004e7890
add esp, 8
mov edx, edi
mov ecx, 8
call fcn.00419050
add esp, 4
test eax, eax
jle 0x412b46
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.004125e0
mov esi, eax
cmp esi, 0x533cb0
je 0x412b0c
mov ecx, 0x533cb0
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x533cb0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x533cc0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x412b46
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412b3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e52
push edx
push ecx
call fcn.0049e956
add esp, 8
mov ecx, dword [0x536394]
test ecx, ecx
je 0x412b60
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x536394], 0
mov ecx, dword [0x536398]
test ecx, ecx
je 0x412b7a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x536398], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call fcn.0049f22d
add esp, 4
cmp dword [0x533d08], 0
jne 0x412d0a
lea ecx, [ebp - 0x8c]
call fcn.00419fa0
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x412bb2
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412bd0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00401c70
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405560
mov esi, eax
add esp, 8
cmp esi, 0x533cf8
je 0x412c35
mov ecx, 0x533cf8
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x533cf8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x533d08], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x412c6f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412c65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e57
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x412cba
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e5c
push edx
push ecx
call fcn.0049e956
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x412d0a
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412d00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e61
push edx
push ecx
call fcn.0049e956
add esp, 8
cmp dword [0x533cd8], 0
jne 0x412e1b
call fcn.00419960
mov edx, eax
mov dword [ebp - 0x4c], 0
mov ecx, edx
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412d35
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00401c70
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00405560
mov esi, eax
add esp, 8
cmp esi, 0x533cc8
je 0x412d9d
mov ecx, 0x533cc8
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x533cc8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x533cd8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x412dd7
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412dcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e66
push edx
push ecx
call fcn.0049e956
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x412e1b
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e6b
push edx
push ecx
call fcn.0049e956
add esp, 8
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.0049e964
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.0049df40
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
int3