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

Disassembly:
push 0x2c
mov eax, 0x67e3c4
call fcn.0042db94
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, esi
test ebx, ebx
js 0x4da2f8
cmp ebx, 9
jae 0x4da2f8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 0x6a2200
xor eax, eax
inc eax
push eax
push esi
push 0x6a22d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4da07f
push 0xfffffffffffffffe
pop eax
jmp 0x4da2fb
push str.ROOTCIMV2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call fcn.004b8830
mov eax, dword [eax]
mov dword [ebp - 4], esi
test eax, eax
je 0x4da09c
mov edx, dword [eax]
jmp 0x4da09e
mov edx, esi
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push esi
xor esi, esi
push esi
mov ecx, dword [eax]
push esi
push esi
push esi
push esi
push esi
push edx
push eax
call dword [ecx + 0xc]
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4da0c6
call fcn.004b9330
test esi, esi
jns 0x4da0d5
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4da077
xor esi, esi
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4da0f5
push 0xfffffffffffffffe
jmp 0x4da176
push dword [ebx*8 + 0x692538]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
call fcn.004d9ddf
mov esi, eax
xor eax, eax
lea ecx, [ebp - 0x1c]
inc eax
push 0x69283c
mov dword [ebp - 4], eax
call fcn.004d9ddf
mov esi, dword [esi]
mov byte [ebp - 4], 2
test esi, esi
je 0x4da12a
mov esi, dword [esi]
jmp 0x4da12c
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4da136
mov edx, dword [eax]
jmp 0x4da138
xor edx, edx
mov eax, dword [ebp - 0x10]
lea ebx, [ebp - 0x18]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x4da160
call fcn.004b9330
and dword [ebp - 0x1c], 0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4da170
call fcn.004b9330
test esi, esi
jns 0x4da190
push 0xfffffffffffffffd
mov eax, dword [ebp - 0x10]
pop esi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
jmp 0x4da2fb
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4da321
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
test esi, esi
je 0x4da1b3
cmp edi, dword [ebp + 0x10]
jge 0x4da321
mov eax, dword [edx]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
xor ecx, ecx
inc ecx
push ecx
push 0xffffffffffffffff
push edx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x4da31e
test esi, esi
je 0x4da2bb
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebx*8 + 0x69253c]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4da301
push 0x6ff304
lea ecx, [ebp + 8]
call fcn.0040c100
xor eax, eax
mov dword [ebp - 4], 3
inc eax
cmp word [ebp - 0x38], ax
je 0x4da2d2
cmp word [ebp - 0x38], 0
je 0x4da2d2
push dword [ebp - 0x30]
call fcn.0040c6a0
pop ecx
push eax
push dword [ebp - 0x30]
lea ecx, [ebp + 8]
call fcn.0040c760
mov eax, edi
push 0x80
push dword [ebp + 8]
shl eax, 8
add esi, eax
push esi
call fcn.0051b73f
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, ebx
sub eax, 0
je 0x4da289
sub eax, 1
jne 0x4da29b
push 0x80
push esi
call fcn.004da33d
pop ecx
pop ecx
jmp 0x4da298
push 0x80
push esi
push esi
call fcn.004da43b
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0040bb50
cmp dword [ebp - 0x1c], 0
lea eax, [edi + 1]
mov esi, dword [ebp + 0xc]
cmove eax, edi
mov edi, eax
jmp 0x4da2bc
inc edi
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x4da19e
jmp 0x4da321
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040bb50
or eax, 0xffffffff
call fcn.0042db6e
ret
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4da2f8
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
jmp 0x4da2fb