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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544741
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x64], 0
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
call ebx
push 0x567a10
lea ecx, [ebp - 0x2c]
call fcn.004078f0
mov dword [ebp - 4], 1
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x426d44
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040ca00
jmp 0x426fe7
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 0x426fda
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x555c64
push 1
push 0
push 0x555c74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x426fda
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.0040f4f0
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x426da9
mov edx, dword [eax]
jmp 0x426dab
xor edx, edx
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x40]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040f5b0
test esi, esi
js 0x426dfb
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x40]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x426e03
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
jmp 0x426fd4
push str.SELECT__FROM_Win32_PhysicalMedia_WHERE_Tag_Like__PHYSICALDRIVE0_
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], 0
call fcn.0040f450
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
push 0x567c48
call fcn.0040f450
mov byte [ebp - 4], 4
mov esi, dword [esi]
test esi, esi
je 0x426e38
mov esi, dword [esi]
jmp 0x426e3a
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x426e44
mov edx, dword [eax]
jmp 0x426e46
xor edx, edx
mov eax, dword [ebp - 0x40]
lea ebx, [ebp - 0x48]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.0040f5b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040f5b0
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
js 0x426df2
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x30], 0
je 0x426fbf
nop dword [eax]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00407810
mov byte [ebp - 4], 5
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x48]
push edx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x30], 0
je 0x426fb3
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1c]
lea eax, [ebp - 0x34]
push eax
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
js 0x426f93
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
js 0x426f93
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x426f65
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
push 0
push edx
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
push edx
push 0
push str.SerialNumber
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 8
jne 0x426f5b
cmp word [ebp - 0x60], 1
je 0x426f5b
mov esi, dword [ebp - 0x58]
push esi
call fcn.00409c70
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.00409010
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x426f93
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00407760
cmp dword [ebp - 0x48], 0
jne 0x426ea0
jmp 0x426fbf
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040ca00
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00407760
jmp 0x426fee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00407760
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call ebx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040ca00
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004078a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret