Function at 0x426c10
Capabilities:
Connect to wmi namespace via wbemlocator
Query or enumerate registry value
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x606c40]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 0x10c
mov eax, 0x5a2493
call fcn.005871ee
mov eax, dword [ebp + 0x31c]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x426c6a
cmp eax, 0x80010119
jne 0x427223
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
push eax
push 0x5bcdfc
push 1
push ebx
push 0x5bcecc
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x427212
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x30]
push str.ROOTCIMV2
lea edi, [ebp - 0x34]
call fcn.0041f83b
mov byte [ebp - 4], 2
mov eax, dword [eax]
cmp eax, ebx
je 0x426cb4
mov eax, dword [eax]
jmp 0x426cb6
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x24]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
lea edi, [ebp - 0x34]
mov esi, eax
call fcn.0041f971
cmp esi, ebx
jl 0x427202
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x427202
mov dword [ebp - 0x118], str.SELECT__FROM_Win32_BIOS_WHERE__SerialNumber_IS_NOT_NULL_
mov dword [ebp - 0x114], str.SoftwareElementID
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], str.SELECT__FROM_Win32_Processor_WHERE__ProcessorId_IS_NOT_NULL_
mov dword [ebp - 0x108], str.ProcessorId
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], str.SELECT__FROM_Win32_DiskDrive_WHERE__PNPDeviceID_IS_NOT_NULL__AND__NOT__InterfaceType__USB__
mov dword [ebp - 0xfc], str.Signature
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
mov dword [ebp - 0xf0], str.MACAddress
mov dword [ebp - 0xec], 1
mov dword [ebp - 0xe8], str.SELECT__FROM_Win32_BaseBoard_WHERE__SerialNumber_IS_NOT_NULL_
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], str.SELECT__FROM_Win32_OperatingSystem
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], str.SELECT__FROM_Win32_PhysicalMemory
mov dword [ebp - 0xcc], str.PartNumber
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], str.SELECT__FROM_Win32_UserAccount
mov dword [ebp - 0xc0], 0x5cf7b8
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], str.SELECT__FROM_Win32_SoundDevice_WHERE__PNPDeviceID_IS_NOT_NULL_
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], 0x1b
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x50]
jge 0x427202
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
push dword [ebp + eax*4 - 0x118]
mov esi, dword [ebp - 0x24]
lea edi, [ebp - 0x5c]
call fcn.0041f83b
mov dword [ebp - 0x18], eax
push 0x5cf840
lea edi, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.0042d118
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x426e2a
mov ecx, dword [ecx]
jmp 0x426e2c
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x426e36
mov eax, dword [eax]
jmp 0x426e38
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x1c]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
lea edi, [ebp - 0x54]
mov esi, eax
call fcn.0041f971
lea edi, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0041f971
cmp esi, ebx
jl 0x4271c6
cmp dword [ebp - 0x1c], ebx
je 0x4271c6
mov eax, dword [0x61f08c]
mov ecx, 0x61f08c
mov dword [ebp - 0x34], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4271a2
mov dword [ebp - 0x20], ebx
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 8
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x18], 0x80004005
call dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 7
jmp 0x426ed1
cmp dword [ebp - 0x18], ebx
jl 0x427191
cmp dword [ebp - 0x20], ebx
je 0x427191
cmp dword [ebp - 0x34], ebx
je 0x427191
push 0x5cf844
lea eax, [ebp - 0x28]
push eax
call fcn.00417d49
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x11], bl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x20]
push 0x5cf848
lea edi, [ebp - 0x3c]
call fcn.0042d118
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x426f29
mov eax, dword [eax]
jmp 0x426f2b
xor eax, eax
mov ecx, dword [esi]
push ebx
push ebx
lea edx, [ebp - 0x6c]
push edx
push ebx
push eax
push esi
call dword [ecx + 0x10]
lea edi, [ebp - 0x3c]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.0041f971
cmp esi, ebx
jl 0x426f67
cmp word [ebp - 0x6c], 8
jne 0x426f67
cmp dword [ebp - 0x64], ebx
je 0x426f67
push dword [ebp - 0x64]
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8a6
mov byte [ebp - 0x11], 1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x7c]
push eax
call esi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
push str.PNPDeviceID
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
call fcn.0042d118
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x426f98
mov eax, dword [eax]
jmp 0x426f9a
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push ebx
push ebx
lea edi, [ebp - 0x7c]
push edi
push ebx
push eax
push ecx
call dword [edx + 0x10]
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
call fcn.0041f971
cmp dword [ebp - 0x18], ebx
jl 0x426fdb
cmp word [ebp - 0x7c], 8
jne 0x426fdb
cmp dword [ebp - 0x74], ebx
je 0x426fdb
push dword [ebp - 0x74]
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8a6
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x38]
shl eax, 2
mov edi, dword [ebp + eax - 0x114]
mov dword [ebp - 0x40], eax
cmp edi, ebx
je 0x42704a
lea eax, [ebp - 0x9c]
push eax
call esi
push ebx
push ebx
lea edx, [ebp - 0x9c]
push edx
push ebx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x427039
cmp word [ebp - 0x9c], 8
jne 0x427039
cmp dword [ebp - 0x94], ebx
je 0x427039
push dword [ebp - 0x94]
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8a6
mov byte [ebp - 0x11], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x9c]
push eax
call edi
jmp 0x427050
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp - 0x11], bl
je 0x427179
lea eax, [ebp - 0x8c]
push eax
call esi
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x20]
push str.name
lea edi, [ebp - 0x48]
mov dword [ebp - 0x18], eax
call fcn.0042d118
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
cmp eax, ebx
je 0x427087
mov eax, dword [eax]
jmp 0x427089
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push ebx
push ebx
lea edi, [ebp - 0x8c]
push edi
push ebx
push eax
push ecx
call dword [edx + 0x10]
lea edi, [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
call fcn.0041f971
cmp dword [ebp - 0x18], ebx
jl 0x4270e0
cmp word [ebp - 0x8c], 8
jne 0x4270e0
cmp dword [ebp - 0x84], ebx
je 0x4270e0
push dword [ebp - 0x84]
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8a6
push 0x5cba98
lea eax, [ebp - 0x28]
push eax
call fcn.00417d49
lea eax, [ebp - 0xac]
push eax
call esi
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x20]
push str.Manufacturer
lea edi, [ebp - 0x58]
call fcn.0042d118
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
cmp eax, ebx
je 0x42710b
mov eax, dword [eax]
jmp 0x42710d
xor eax, eax
mov ecx, dword [esi]
push ebx
push ebx
lea edx, [ebp - 0xac]
push edx
push ebx
push eax
push esi
call dword [ecx + 0x10]
lea edi, [ebp - 0x58]
mov esi, eax
mov byte [ebp - 4], 0x11
call fcn.0041f971
cmp esi, ebx
jl 0x42715f
cmp word [ebp - 0xac], 8
jne 0x42715f
cmp dword [ebp - 0xa4], ebx
je 0x42715f
push dword [ebp - 0xa4]
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8a6
push 0x5cba98
lea eax, [ebp - 0x28]
push eax
call fcn.00417d49
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xac]
push eax
call esi
lea eax, [ebp - 0x8c]
push eax
call esi
mov edi, esi
mov eax, dword [ebp - 0x40]
cmp dword [ebp + eax - 0x110], ebx
lea eax, [ebp - 0x7c]
push eax
jne 0x4271e0
call edi
lea eax, [ebp - 0x6c]
push eax
call edi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4271a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x5cf87c
push dword [ebp - 0x2c]
call fcn.00417d49
mov esi, dword [ebp - 0x28]
push dword [esi - 0xc]
mov eax, dword [ebp - 0x2c]
push esi
call fcn.0040be29
lea eax, [esi - 0x10]
call fcn.0040758d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4271d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add dword [ebp - 0x38], 3
jmp 0x426de0
call edi
lea eax, [ebp - 0x6c]
push eax
call edi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x426e88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x426e88
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x427212
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x427223
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jne 0x427390
mov edi, 0x103
push edi
lea eax, [ebp + 0x20d]
push ebx
push eax
mov byte [ebp + 0x20c], bl
call fcn.005847c0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x18]
push eax
mov esi, str.MachineGuid
push esi
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 1
call dword [0x5b14ec]
test eax, eax
jne 0x42729c
cmp byte [ebp + 0x20c], bl
je 0x42729c
lea eax, [ebp + 0x20c]
push eax
push dword [ebp - 0x2c]
call fcn.0040bb4e
jmp 0x42732c
call fcn.0047c25b
test eax, eax
je 0x42732c
lea eax, [ebp - 0x24]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42732c
cmp dword [ebp - 0x24], ebx
je 0x42732c
push 0x104
lea eax, [ebp + 0x20c]
push ebx
push eax
call fcn.005847c0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427323
cmp byte [ebp + 0x20c], bl
je 0x427323
lea eax, [ebp + 0x20c]
push eax
push dword [ebp - 0x2c]
call fcn.0040bb4e
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp + 0x109]
push ebx
push eax
mov byte [ebp + 0x108], bl
call fcn.005847c0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x108]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5cf8ac
push 0x5cf8bc
push 0x80000001
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x102
call dword [0x5b14ec]
test eax, eax
jne 0x427390
cmp byte [ebp + 0x108], bl
je 0x427390
lea eax, [ebp + 0x108]
push eax
push dword [ebp - 0x2c]
call fcn.00417d49
mov eax, dword [0x61f08c]
mov ecx, 0x61f08c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push 0x13
pop esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.004269fb
mov dword [ebp - 4], esi
jmp 0x4273c9
mov esi, dword [ebp - 0x30]
push dword [esi - 0xc]
mov eax, dword [ebp - 0x2c]
push esi
call fcn.0040be29
mov edi, 0x104
push edi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.005847c0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp]
push eax
push 4
mov dword [ebp - 0x44], edi
call dword [0x5b1170]
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call fcn.00417d49
lea eax, [esi - 0x10]
call fcn.0040758d
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x310]
xor ecx, ebp
call fcn.0057d6ce
add ebp, 0x314
leave
ret