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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d889
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x6d5ec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x3c]
mov edi, dword [ebp + 0x38]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.SELECT
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00423ce0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 7
cmova ecx, dword [ebp + 0x20]
mov edx, ecx
mov dword [ebp - 0x60], ecx
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x457900
mov eax, dword [ebp - 0x14]
sub edx, esi
mov esi, dword [ebp - 0x18]
sub eax, esi
sar edx, 1
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x58], esi
cmp edx, eax
ja 0x457959
cmp dword [ebp - 0x14], 7
lea eax, [esi + edx]
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x58]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x60]
push ecx
call fcn.00620e40
mov eax, dword [ebp - 0x50]
add esp, 0xc
add eax, dword [ebp - 0x58]
xor ecx, ecx
mov word [esi + eax*2], cx
lea esi, [ebp - 0x28]
jmp 0x457969
push edx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
push edx
call fcn.0045de70
mov esi, eax
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 6
jb 0x4579b1
mov dword [ebp - 0x58], esi
lea eax, [ecx + 6]
mov dword [ebp - 0x50], eax
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 7
jbe 0x457990
mov eax, dword [esi]
mov dword [ebp - 0x58], eax
push 0xc
lea eax, [eax + ecx*2]
push str._FROM
push eax
call fcn.00620e40
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4579c6
push 6
push str._FROM
push dword [ebp - 0x50]
mov ecx, esi
push 6
call fcn.0045de70
mov esi, eax
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x60], ecx
lea eax, [edx + 2]
mov dword [ebp - 0x50], eax
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4579e0
mov eax, dword [esi + 0x10]
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x14]
sub eax, dword [ebp - 0x58]
sar edx, 1
cmp edx, eax
ja 0x457a32
cmp dword [esi + 0x14], 7
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx]
mov dword [ebp - 0x50], ecx
mov dword [esi + 0x10], ecx
jbe 0x457a14
mov esi, dword [esi]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x60]
push ecx
call fcn.00620e40
mov eax, dword [ebp - 0x50]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x457a3f
push edx
push ecx
push dword [ebp - 0x50]
mov ecx, esi
push edx
call fcn.0045de70
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x457d5e
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]
test eax, eax
js 0x457d58
lea eax, [ebp - 0x34]
push eax
push 0x698d2c
push 1
push 0
push 0x698d3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x457d58
mov eax, dword [ebp - 0x34]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50], eax
call fcn.0061ec07
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x457b13
push dword [ebp - 0x54]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x457b15
cmp dword [ebp - 0x54], eax
jne 0x4581e0
jmp 0x457b15
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], esi
test esi, esi
je 0x4581e0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x34]
call dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
or ecx, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x457b8a
mov ecx, dword [esi]
test ecx, ecx
je 0x457b65
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x457b7c
push eax
call fcn.0061eb16
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0061ef9d
mov eax, dword [ebp - 0x50]
add esp, 8
test eax, eax
js 0x457d4f
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x30]
js 0x457d49
mov eax, dword [eax]
cmp dword [ebp - 0x14], 7
push 0xc
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
call fcn.0061ec07
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x457c17
push dword [ebp - 0x54]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x457c19
cmp dword [ebp - 0x54], eax
jne 0x4581ea
jmp 0x457c19
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], esi
test esi, esi
je 0x4581e0
mov byte [ebp - 4], 6
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x50], eax
call fcn.0061ec07
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x457c81
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
push 0x6af490
mov dword [eax + 4], 0
mov dword [eax + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
test eax, eax
je 0x4581f4
mov eax, ecx
jmp 0x457c86
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x68], eax
test eax, eax
je 0x4581fe
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
push ecx
push 0
push 0x30
push dword [ebp - 0x50]
push dword [eax]
push dword [ebp - 0x30]
call dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x58]
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x457cf8
mov ecx, dword [eax]
test ecx, ecx
je 0x457cd3
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x457ced
push ecx
call fcn.0061eb16
mov eax, dword [ebp - 0x58]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.0061ef9d
add esp, 8
mov byte [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x457d3c
mov eax, dword [esi]
test eax, eax
je 0x457d1a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x457d31
push eax
call fcn.0061eb16
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0061ef9d
add esp, 8
cmp dword [ebp - 0x50], 0
jge 0x457e37
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x457d98
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457d8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458208
push ecx
push edx
call fcn.0061ef9d
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x457de6
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457ddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458208
push ecx
push edx
call fcn.0061ef9d
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x4581c3
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4581b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458208
jmp 0x4581b9
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x458145
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x2c], 0
je 0x458145
mov edx, dword [ebp - 0x3c]
lea esi, [ebp - 0x4c]
cmp dword [ebp + 0x34], 7
push 0
push 0
mov eax, dword [edx]
push esi
push 0
mov ecx, dword [eax + 0x10]
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push eax
push edx
call ecx
push 0x6daaa8
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
je 0x4580f5
push 0x6da0b8
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
je 0x4580f5
push 0x6dbad8
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
jne 0x457ef2
movsx eax, word [ebp - 0x44]
mov ecx, dword [edi + 4]
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
cmp ecx, dword [edi + 8]
je 0x457eea
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [edi + 4], 8
jmp 0x458127
lea eax, [ebp - 0x64]
jmp 0x45811e
push 0x6da1b8
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
jne 0x457f33
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
cmp eax, dword [edi + 8]
je 0x457f29
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [edi + 4], 8
jmp 0x458127
lea ecx, [ebp - 0x5c]
push ecx
push eax
jmp 0x458120
push 0x6db668
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
jne 0x457f72
movzx eax, word [ebp - 0x44]
mov ecx, dword [edi + 4]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
cmp ecx, dword [edi + 8]
je 0x457f6a
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [edi + 4], 8
jmp 0x458127
lea eax, [ebp - 0x70]
jmp 0x45811e
push 0x6daf6c
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
jne 0x457fb4
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
cmp eax, dword [edi + 8]
je 0x457faa
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [edi + 4], 8
jmp 0x458127
lea ecx, [ebp - 0x78]
push ecx
push eax
jmp 0x458120
push 0x6d9f04
push 0x6d9f04
call fcn.0062076a
add esp, 8
test eax, eax
jne 0x457ff6
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
cmp eax, dword [edi + 8]
je 0x457fec
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [edi + 4], 8
jmp 0x458127
lea ecx, [ebp - 0x80]
push ecx
push eax
jmp 0x458120
mov eax, dword [ebp - 0x44]
push 0xc
mov dword [ebp - 0x54], eax
call fcn.0061ec07
mov esi, eax
add esp, 4
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x458049
push dword [ebp - 0x54]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x45804b
cmp dword [ebp - 0x54], eax
jne 0x4581e0
jmp 0x45804b
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4581e0
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
test eax, eax
je 0x45807e
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
je 0x4581e0
jmp 0x458080
xor eax, eax
mov ecx, dword [edi + 4]
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
cmp ecx, dword [edi + 8]
je 0x4580a0
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [edi + 4], 8
jmp 0x4580af
lea eax, [ebp - 0x88]
push eax
push ecx
mov ecx, edi
call fcn.0047e720
mov byte [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x458127
mov eax, dword [esi]
test eax, eax
je 0x4580d1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4580e8
push eax
call fcn.0061eb16
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0061ef9d
add esp, 8
jmp 0x458127
mov eax, dword [ebp - 0x44]
mov ecx, dword [edi + 4]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
cmp ecx, dword [edi + 8]
je 0x458118
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [edi + 4], 8
jmp 0x458127
lea eax, [ebp - 0x90]
push eax
push ecx
mov ecx, edi
call fcn.0047e720
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x457e42
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
sar ecx, 3
mov dword [ebp - 0x54], eax
test ecx, ecx
jne 0x45819f
cmp ecx, 1
jbe 0x458162
lea eax, [edx + 8]
jmp 0x45819c
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 3
cmp eax, 1
jae 0x45817b
sub esp, 8
mov ecx, edi
call fcn.0047e600
jmp 0x45819f
mov eax, 1
sub eax, ecx
lea esi, [eax*8]
push esi
push 0
push dword [ebp - 0x54]
call fcn.006213c0
mov eax, dword [ebp - 0x54]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
jmp 0x457d52
push ecx
push edx
call fcn.0061ef9d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret 0x38
push 0x8007000e
call fcn.0061e580
push 0x8007000e
call fcn.0061e580
push 0x8007000e
call fcn.0061e580
push 0x8007000e
call fcn.0061e580
call fcn.0063629b
int3