Function at 0x449aea
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
push 0x30
mov eax, 0x498782
call fcn.00462660
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jl 0x449da5
cmp dword [ebp + 8], 8
jae 0x449da5
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x1c]
push eax
push 0x4acfe8
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x4ad0b8
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x449b55
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xfffffffffffffffe
pop eax
jmp 0x449da8
push 0x4a04c8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
call fcn.0040e047
mov eax, dword [eax]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x449b72
mov ecx, dword [eax]
jmp 0x449b74
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
lea edi, [ebp - 0x18]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
mov edi, eax
cmp ecx, esi
je 0x449b9a
call fcn.00411155
cmp edi, esi
jge 0x449ba9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x449b47
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jge 0x449be2
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
pop esi
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x449da8
mov eax, dword [ebp + 8]
push dword [eax*8 + 0x49fc18]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], esi
call fcn.0040dffa
mov edi, eax
push 0x4a04c4
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0040dffa
mov ecx, dword [edi]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x449c17
mov ecx, dword [ecx]
jmp 0x449c19
xor ecx, ecx
mov eax, dword [eax]
cmp eax, esi
je 0x449c23
mov edx, dword [eax]
jmp 0x449c25
xor edx, edx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
lea ebx, [ebp - 0x20]
push ebx
push esi
push 0x30
push ecx
push edx
push eax
call dword [edi + 0x50]
mov ecx, dword [ebp - 0x24]
mov edi, eax
cmp ecx, esi
je 0x449c48
call fcn.00411155
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
cmp ecx, esi
je 0x449c58
call fcn.00411155
cmp edi, esi
jge 0x449c63
push 0xfffffffffffffffd
jmp 0x449bc2
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x449d82
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edi, 0x80
mov dword [ebp + 8], esi
mov dword [ebp - 0x28], esi
cmp dword [ebp + 0xc], esi
je 0x449c93
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x449d82
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp + 8]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x28], esi
je 0x449d7f
cmp dword [ebp + 0xc], esi
je 0x449d5f
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x3c]
push edx
push esi
push dword [ebx*8 + 0x49fc1c]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.004130cd
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 4], 3
push dword [ebp - 0x10]
call fcn.00461fae
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebx, 7
jne 0x449d37
mov eax, dword [0x4bd024]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00449879
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00461fae
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.0040e14c
mov ecx, dword [ebp - 0x10]
push edi
mov eax, ebx
call fcn.00449176
pop ecx
test eax, eax
je 0x449d51
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x100
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e14c
jmp 0x449d69
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x100
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x449c7c
jmp 0x449d82
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
jmp 0x449da8
or eax, 0xffffffff
call fcn.00462738
ret