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

Disassembly:
push 0x24
mov eax, 0x4354b5
call fcn.0041e33e
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 0x43a860
push 1
push ebx
push 0x43a930
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x41538f
cmp eax, ebx
je 0x41538f
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x43c100
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x41538a
cmp eax, ebx
je 0x41538a
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_DiskDrive_WHERE__Model_IS_NOT_NULL__AND__MediaType_LIKE_Fixed_hard_disk__
push 0x43c1d8
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x415367
cmp eax, ebx
je 0x415367
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x20], ebx
je 0x415273
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x415326
cmp dword [ebp - 0x20], ebx
je 0x415326
cmp dword [ebp - 0x10], ebx
je 0x415326
lea eax, [ebp - 0x30]
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x415260
cmp word [ebp - 0x30], 8
jne 0x415260
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x415260
call fcn.004010b5
call fcn.004153b1
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4152f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x415301
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x415311
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x415322
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x41539e
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x41533d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x41534e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x41535e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x415392
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x415375
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x415385
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
jmp 0x415362
mov byte [ebp - 4], bl
jmp 0x41537b
mov dword [ebp - 4], edi
cmp eax, ebx
je 0x41539c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
call fcn.0041e416
ret