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

Disassembly:
mov eax, 0x421b95
call fcn.00420e60
sub esp, 0x26c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
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 0x41037b
cmp eax, 0x80010119
jne 0x4105d0
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push 0x423ee4
push 1
push ebx
push 0x423fb4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4105bf
mov dword [ebp - 0x14], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTCIMV2
call edi
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x30]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call dword [ecx + 0xc]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x10], eax
call esi
cmp dword [ebp - 0x10], ebx
jl 0x4105af
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x4105af
mov eax, str.SerialNumber
mov dword [ebp - 0x60], str.SELECT__FROM_Win32_BIOS
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], str.SELECT__FROM_Win32_Processor
mov dword [ebp - 0x54], str.ProcessorId
mov dword [ebp - 0x50], str.SELECT__FROM_Win32_BaseBoard
mov dword [ebp - 0x48], str.SELECT__FROM_Win32_PhysicalMedia
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x18]
push dword [eax - 4]
call edi
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push 0x42a964
mov byte [ebp - 4], 4
call fcn.00410f91
pop ecx
mov dword [ebp - 0x24], eax
pop ecx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push ebx
mov ecx, dword [eax]
push 0x30
push dword [ebp - 0x20]
mov byte [ebp - 4], 5
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x50]
push dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x10], ebx
jl 0x410591
cmp dword [ebp - 0x1c], ebx
je 0x410591
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0xffffffffffffffff
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 6
call dword [eax + 0x10]
cmp eax, ebx
mov eax, dword [ebp - 0x10]
jl 0x410583
cmp eax, ebx
je 0x410583
cmp dword [ebp - 0x20], ebx
je 0x410583
mov word [ebp - 0x40], bx
mov eax, dword [ebp - 0x18]
push dword [eax]
call edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
push ebx
lea edx, [ebp - 0x40]
push ebx
mov ecx, dword [eax]
push edx
push ebx
mov byte [ebp - 4], 8
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
call esi
cmp dword [ebp - 0x2c], ebx
jl 0x410518
cmp word [ebp - 0x40], 8
jne 0x410518
cmp dword [ebp - 0x38], ebx
jne 0x41053c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x410490
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x410490
push dword [ebp - 0x38]
lea eax, [ebp - 0x70]
push eax
call fcn.00403525
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [ebp - 4], 9
push dword [ecx]
mov ecx, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
jmp 0x410587
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x410591
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4105a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add dword [ebp - 0x18], 8
dec dword [ebp - 0x28]
jne 0x41043d
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4105bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4105d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 8]
cmp dword [esi + 8], ebx
jne 0x4106a4
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x276]
mov word [ebp - 0x278], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 1
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Default_User_ID
push str.Identities
push SysReAllocString
mov dword [ebp - 0x2c], 0x206
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410651
cmp word [ebp - 0x278], bx
je 0x410651
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x278]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
cmp dword [esi + 8], ebx
jne 0x4106a4
mov esi, 0x423e30
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x4106a4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jl 0x4106a4
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret