Function at 0x42743b
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1b19
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x606c40]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x606c40]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov edi, ecx
push ebx
mov dword [esp + 0x2c], edi
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 0x4274ab
cmp eax, 0x80010119
jne 0x4277a7
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x30]
push eax
push 0x5bcdfc
push 1
push ebx
push 0x5bcecc
mov dword [esp + 0x2a4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x427791
mov dword [esp + 0x14], ebx
mov byte [esp + 0x290], 1
mov esi, dword [esp + 0x30]
push str.ROOTCIMV2
lea edi, [esp + 0x24]
call fcn.0041f83b
mov byte [esp + 0x290], 2
mov eax, dword [eax]
cmp eax, ebx
je 0x427506
mov eax, dword [eax]
jmp 0x427508
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
lea edi, [esp + 0x20]
mov esi, eax
call fcn.0041f971
cmp esi, ebx
jl 0x427778
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esp + 0x30]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x427778
mov eax, str.SerialNumber
mov dword [esp + 0x44], str.SELECT__FROM_Win32_BIOS
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], str.SELECT__FROM_Win32_Processor
mov dword [esp + 0x50], str.ProcessorId
mov dword [esp + 0x54], str.SELECT__FROM_Win32_BaseBoard
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], str.SELECT__FROM_Win32_PhysicalMedia
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x290], 3
push dword [esp + eax + 0x44]
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x3c]
call fcn.0041f83b
mov dword [esp + 0x40], eax
push 0x5cf840
lea edi, [esp + 0x40]
mov byte [esp + 0x294], 4
call fcn.0042d118
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x290], 5
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x4275d7
mov ecx, dword [ecx]
jmp 0x4275d9
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4275e3
mov eax, dword [eax]
jmp 0x4275e5
xor eax, eax
mov edx, dword [esi]
lea edi, [esp + 0x18]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
lea edi, [esp + 0x3c]
mov esi, eax
call fcn.0041f971
lea edi, [esp + 0x38]
call fcn.0041f971
cmp esi, ebx
jl 0x427752
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x290], 6
mov dword [esp + 0x20], ebx
jmp 0x4276e0
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
push ecx
push 1
push 0xffffffffffffffff
push dword [esp + 0x28]
call dword [eax + 0x10]
cmp eax, ebx
jl 0x42773c
cmp dword [esp + 0x2c], ebx
je 0x42773c
cmp dword [esp + 0x20], ebx
je 0x42773c
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x290], 7
push dword [esp + eax + 0x48]
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x38]
call fcn.0041f83b
mov byte [esp + 0x290], 8
mov eax, dword [eax]
cmp eax, ebx
je 0x427697
mov eax, dword [eax]
jmp 0x427699
xor eax, eax
mov ecx, dword [esi]
push ebx
push ebx
lea edx, [esp + 0x6c]
push edx
push ebx
push eax
push esi
call dword [ecx + 0x10]
lea edi, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x290], 7
call fcn.0041f971
cmp esi, ebx
jl 0x4276cd
cmp word [esp + 0x64], 8
jne 0x4276cd
cmp dword [esp + 0x6c], ebx
jne 0x4276ec
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x294], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x18], ebx
jne 0x427626
jmp 0x42773c
push dword [esp + 0x6c]
lea eax, [esp + 0x2c]
push eax
call fcn.0040b868
lea eax, [esp + 0x28]
mov byte [esp + 0x290], 9
call fcn.0040bc28
lea eax, [esp + 0x28]
call fcn.0040bbd7
mov eax, dword [esp + 0x28]
push dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x2c]
call fcn.0040be29
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0040758d
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x290], 3
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x427752
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x427768
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add dword [esp + 0x1c], 8
cmp dword [esp + 0x1c], 0x20
jl 0x427586
mov byte [esp + 0x290], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x42778d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x24]
or dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4277a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x42780f
xor eax, eax
mov esi, 0x206
push esi
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push ebx
push eax
call fcn.005847c0
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
push str.Default_User_ID
push str.Identities
push 0x80000001
mov dword [esp + 0x50], 1
mov dword [esp + 0x4c], esi
call dword [0x5b14c4]
test eax, eax
jne 0x42780f
cmp word [esp + 0x74], bx
je 0x42780f
lea eax, [esp + 0x74]
push eax
push edi
call fcn.0040b8a6
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x427861
mov esi, 0x5d1900
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x64]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x427861
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jl 0x427861
push dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.0040b8a6
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0057d6ce
mov esp, ebp
pop ebp
ret