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

Disassembly:
push 0xe8
mov eax, 0x49f543
call fcn.0047bb4d
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, edx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], esi
call fcn.00404c9b
and dword [ebp - 4], 0
lea eax, [ebp - 0xf4]
push eax
call fcn.004090fb
mov edi, eax
mov byte [ebp - 4], 1
push 0x4b5658
push edi
call fcn.0040b677
push ebx
push edi
call fcn.0040b677
push 0x4b56bc
push edi
call fcn.0040b677
push esi
push edi
call fcn.0040b677
add esp, 0x20
lea ebx, [ebp - 0x30]
mov ecx, edi
call fcn.00409165
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x41fcec
mov eax, ebx
push eax
push 4
pop ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00403d16
xor ebx, ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf4]
call fcn.00407bad
mov esi, dword [ebp - 0x54]
call fcn.0041fc12
push ebx
call dword [sym.imp.OLE32.DLL_CoInitialize]
cmp eax, ebx
jl 0x4200bb
mov byte [esi + 0x4c], 1
add esi, 0x18
push esi
push 0x4a2508
push 1
push ebx
push 0x4a25b8
call dword [sym.imp.OLE32.DLL_CoCreateInstance]
mov edi, eax
cmp edi, ebx
je 0x41fddf
lea eax, [ebp - 0xf4]
push eax
call fcn.004090fb
mov esi, eax
mov byte [ebp - 4], 3
push 0x4b56d0
push esi
call fcn.0040b677
pop ecx
pop ecx
cmp esi, ebx
je 0x41fd78
mov eax, dword [esi]
mov ebx, dword [eax + 4]
add ebx, esi
mov eax, dword [ebx + 0x14]
and eax, 0xfffff9ff
push edi
or eax, 0x800
push esi
mov dword [ebx + 0x14], eax
call fcn.0040a248
push 0x4b5708
push esi
call fcn.0040b677
pop ecx
pop ecx
lea ebx, [ebp - 0x30]
mov ecx, esi
call fcn.00409165
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x41fdb5
mov eax, ebx
xor ecx, ecx
push eax
inc ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00403d16
mov byte [ebp - 4], 0
lea eax, [ebp - 0xf4]
call fcn.00407bad
jmp 0x4200bb
push 0x4b5754
push 4
pop ecx
call fcn.0040d57f
pop ecx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00404cae
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.00404d40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00403d16
cmp dword [ebp - 0x38], 8
mov ecx, dword [ebp - 0x4c]
jae 0x41fe22
lea ecx, [ebp - 0x4c]
mov eax, dword [esi]
mov esi, dword [ebp - 0x54]
mov edx, dword [eax]
add esi, 0x1c
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [edx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x41feb8
lea eax, [ebp - 0xf4]
push eax
call fcn.004090fb
mov esi, eax
mov byte [ebp - 4], 6
push 0x4b5788
push esi
call fcn.0040b677
pop ecx
pop ecx
cmp esi, ebx
je 0x41fe68
mov eax, dword [esi]
mov ebx, dword [eax + 4]
add ebx, esi
mov eax, dword [ebx + 0x14]
and eax, 0xfffff9ff
push edi
or eax, 0x800
push esi
mov dword [ebx + 0x14], eax
call fcn.0040a248
push 0x4b5708
push esi
call fcn.0040b677
pop ecx
pop ecx
lea ebx, [ebp - 0x30]
mov ecx, esi
call fcn.00409165
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x41fea5
mov eax, ebx
xor ecx, ecx
push eax
inc ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 6
jmp 0x41fdc3
push 0x4b57b8
push 4
pop ecx
call fcn.0040d57f
pop ecx
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esi]
call dword [sym.imp.OLE32.DLL_CoSetProxyBlanket]
mov edi, eax
cmp edi, ebx
jge 0x41ff58
lea eax, [ebp - 0xf4]
push eax
call fcn.004090fb
mov esi, eax
mov byte [ebp - 4], 8
push 0x4b57e4
push esi
call fcn.0040b677
pop ecx
pop ecx
cmp esi, ebx
je 0x41ff08
mov eax, dword [esi]
mov ebx, dword [eax + 4]
add ebx, esi
mov eax, dword [ebx + 0x14]
and eax, 0xfffff9ff
push edi
or eax, 0x800
push esi
mov dword [ebx + 0x14], eax
call fcn.0040a248
push 0x4b5820
push esi
call fcn.0040b677
pop ecx
pop ecx
lea ebx, [ebp - 0x30]
mov ecx, esi
call fcn.00409165
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x41ff45
mov eax, ebx
xor ecx, ecx
push eax
inc ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 8
jmp 0x41fdc3
push 0x4b5868
push 4
pop ecx
call fcn.0040d57f
pop ecx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x50]
call fcn.00404cae
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.00404d40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00403d16
push 0x4b589c
lea edi, [ebp - 0x5c]
call fcn.00403d26
mov byte [ebp - 4], 0xb
push dword [ebp - 0x50]
lea edi, [ebp - 0x50]
call fcn.00403d26
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41ffbd
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
jmp 0x41ffc0
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x41ffcb
mov ecx, dword [eax]
jmp 0x41ffcd
xor ecx, ecx
mov eax, dword [esi]
mov esi, dword [ebp - 0x54]
mov edx, dword [eax]
lea edi, [esi + 0x20]
push edi
push ebx
push 0x10
push dword [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x50]
mov edi, eax
cmp edi, ebx
jge 0x42008b
lea eax, [ebp - 0xf4]
push eax
call fcn.004090fb
mov esi, eax
mov byte [ebp - 4], 0xd
push 0x4b58a4
push esi
call fcn.0040b677
pop ecx
pop ecx
cmp esi, ebx
je 0x420017
mov eax, dword [esi]
mov ebx, dword [eax + 4]
add ebx, esi
mov eax, dword [ebx + 0x14]
and eax, 0xfffff9ff
push edi
or eax, 0x800
push esi
mov dword [ebx + 0x14], eax
call fcn.0040a248
push 0x4b5820
push esi
call fcn.0040b677
pop ecx
pop ecx
lea ebx, [ebp - 0x30]
mov ecx, esi
call fcn.00409165
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x420054
mov eax, ebx
xor ecx, ecx
push eax
inc ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.00403d16
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xf4]
call fcn.00407bad
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x50]
call fcn.00403d76
mov byte [ebp - 4], 0
jmp 0x4200b3
push 0x4b58cc
push 4
pop ecx
call fcn.0040d57f
pop ecx
mov ecx, esi
call fcn.00420792
test al, al
jne 0x4200e1
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x50]
call fcn.00403d76
mov byte [ebp - 4], bl
lea edi, [ebp - 0x5c]
call fcn.00403d76
mov esi, dword [ebp - 0x54]
call fcn.0041fc12
push 0x4b5940
push 4
pop ecx
call fcn.0040d57f
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00403d16
xor al, al
jmp 0x420114
push 0x4b58f8
push 4
pop ecx
call fcn.0040d57f
pop ecx
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x50]
call fcn.00403d76
mov byte [ebp - 4], bl
lea edi, [ebp - 0x5c]
call fcn.00403d76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00403d16
mov al, 1
call fcn.0047bbd0
ret 4