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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c22da
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4f4214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebp + 8], 9
mov dword [ebp - 0x18], esi
jb 0x43dc28
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 0x4ce5f8
push 1
push esi
push 0x4ce6c8
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x43dcb9
lea ebx, [ebp - 0x28]
mov dword [ebp - 0x10], esi
call fcn.0043d610
mov dword [ebp - 4], esi
mov eax, dword [eax]
cmp eax, esi
je 0x43dc5e
mov ecx, dword [eax]
jmp 0x43dc60
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea edi, [ebp - 0x10]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x28]
call fcn.0043d6b0
cmp ebx, esi
jl 0x43dcae
mov eax, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jge 0x43dcd0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax*8 + 0x4d1aa8]
push ecx
lea ebx, [ebp - 0x24]
mov dword [ebp - 0x1c], esi
call fcn.0043d580
mov edi, eax
mov dword [ebp - 4], 1
push 0x4db93c
lea ebx, [ebp - 0x28]
call fcn.0043d580
mov byte [ebp - 4], 2
mov ecx, dword [edi]
cmp ecx, esi
je 0x43dd0a
mov ecx, dword [ecx]
jmp 0x43dd0c
xor ecx, ecx
mov eax, dword [eax]
cmp eax, esi
je 0x43dd16
mov edx, dword [eax]
jmp 0x43dd18
xor edx, edx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
lea ebx, [ebp - 0x1c]
push ebx
push esi
push 0x30
push ecx
push edx
mov edx, dword [edi + 0x50]
push eax
call edx
mov ebx, eax
mov byte [ebp - 4], 1
lea edi, [ebp - 0x28]
call fcn.0043d6b0
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x24]
call fcn.0043d6b0
cmp ebx, esi
jge 0x43dd7a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x43dea4
mov ebx, dword [ebp + 0xc]
mov edi, ebx
jmp 0x43dd93
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
cmp ebx, esi
je 0x43ddaa
cmp dword [ebp - 0x18], 0x80
jge 0x43dea4
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x24], esi
je 0x43dea1
cmp ebx, esi
je 0x43de80
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebx*8 + 0x4d1aac]
push esi
push ecx
push eax
call edx
cmp word [ebp - 0x38], 8
jne 0x43dea1
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call fcn.004152e0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
push 0x80
push ecx
push edi
call fcn.0049f0ec
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
sub eax, esi
je 0x43de40
dec eax
jne 0x43de4f
call fcn.0043d8c0
jmp 0x43de4b
push edi
mov ecx, edi
call fcn.0043d700
add esp, 4
cmp eax, esi
je 0x43de58
inc dword [ebp - 0x18]
add edi, 0x100
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43de89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43de89
inc dword [ebp - 0x18]
add edi, 0x100
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x43dd90
jmp 0x43dea4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret