Function at 0x430c80
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f768
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4a3e28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
cmp esi, edi
jge 0x430d1f
push str.Failed_to_initialize_COM_library._Error_code__0x
push 0x4a8808
call fcn.004301d0
add esp, 8
cmp eax, edi
jne 0x430cd5
xor edx, edx
jmp 0x430cdc
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add edx, eax
mov ecx, dword [edx + 0x10]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + 0x10], ecx
push esi
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
cmp esi, edi
jge 0x430da0
push str.Failed_to_initialize_security._Error_code__0x
push 0x4a8808
call fcn.004301d0
add esp, 8
cmp eax, edi
jne 0x430d50
xor edx, edx
jmp 0x430d57
mov edx, dword [eax]
mov edx, dword [edx + 4]
add edx, eax
mov ecx, dword [edx + 0x10]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + 0x10], ecx
push esi
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20]
push edx
push 0x49230c
push 1
push edi
push 0x4923dc
mov dword [ebp - 0x20], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jge 0x430e38
push str._Err_code__0x
push str.Failed_to_create_IWbemLocator_object.
push 0x4a8808
call fcn.004301d0
add esp, 8
push eax
call fcn.004301d0
add esp, 8
cmp eax, edi
jne 0x430de8
xor edx, edx
jmp 0x430def
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add edx, eax
mov ecx, dword [edx + 0x10]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + 0x10], ecx
push esi
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.ROOTCIMV2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], edi
call fcn.00403330
mov eax, dword [eax]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x430e55
mov ecx, dword [eax]
jmp 0x430e57
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
lea esi, [ebp - 0x1c]
push esi
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004042c0
cmp esi, edi
jge 0x430ee2
push esi
push 0x42bf60
push str.Could_not_connect._Error_code__0x
push 0x4a8808
call fcn.004301d0
add esp, 8
mov ecx, eax
call fcn.0042bf80
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Connected_to_ROOTCIMV2_WMI_namespace
push 0x4a8808
call fcn.004301d0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
mov eax, dword [ebp - 0x1c]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, edi
jge 0x430f66
push eax
push 0x42bf60
push str.Could_not_set_proxy_blanket._Error_code__0x
push 0x4a8808
call fcn.004301d0
add esp, 8
mov ecx, eax
call fcn.0042bf80
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x430eba
push str.Select__from_Win32_Processor
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
call fcn.004162a0
mov esi, eax
push 0x488a84
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004162a0
mov ecx, dword [esi]
mov byte [ebp - 4], 3
cmp ecx, edi
je 0x430f9e
mov edx, dword [ecx]
jmp 0x430fa0
xor edx, edx
mov eax, dword [eax]
cmp eax, edi
je 0x430faa
mov ecx, dword [eax]
jmp 0x430fac
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
lea ebx, [ebp - 0x14]
push ebx
push edi
push 0x30
push edx
push ecx
push eax
mov eax, dword [esi + 0x50]
call eax
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004042c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004042c0
cmp esi, edi
jge 0x43102c
push str.Query_for_ProcessorId_failed.
push 0x4a8808
call fcn.004301d0
add esp, 8
push str._Error_code__0x
push eax
call fcn.004301d0
add esp, 8
push 0x42bf60
mov ecx, eax
call fcn.0042bf80
push esi
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
mov dword [ebp - 4], 0xffffffff
jmp 0x4310ec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
cmp eax, edi
je 0x4310c7
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x24], edi
je 0x4310c7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x3c]
push edx
push edi
push str.ProcessorId
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jne 0x4310a5
push str._ProcessorId_:
push 0x4a8710
call fcn.004303e0
mov ecx, dword [ebp - 0x34]
add esp, 8
push ecx
push eax
call fcn.004306b0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430b50
mov ecx, esi
call fcn.0042f9c0
mov edx, dword [ebp - 0x34]
push edx
jmp 0x4310aa
push 0x48676c
mov ecx, dword [ebp + 8]
call fcn.00401a70
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
jmp 0x4310ec
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x4310fb
mov eax, dword [eax]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [ebp - 0x18]
cmp eax, edi
jne 0x43110a
mov edx, dword [eax]
mov eax, dword [edx + 8]
push edi
call eax
mov ebx, 5
push str.Select__from_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004162a0
mov esi, eax
push 0x488a84
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004162a0
mov ecx, dword [esi]
mov byte [ebp - 4], 7
cmp ecx, edi
je 0x431140
mov edx, dword [ecx]
jmp 0x431142
xor edx, edx
mov eax, dword [eax]
cmp eax, edi
je 0x43114c
mov ecx, dword [eax]
jmp 0x43114e
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
lea edi, [ebp - 0x14]
push edi
push 0
push 0x30
push edx
push ecx
mov ecx, dword [esi + 0x50]
push eax
call ecx
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004042c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004042c0
test esi, esi
jge 0x4311d1
push str.Query_for_MacAddress_failed.
push 0x4a8808
call fcn.004301d0
add esp, 8
push str._Error_code__0x
push eax
call fcn.004301d0
add esp, 8
push 0x42bf60
mov ecx, eax
call fcn.0042bf80
push esi
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
jmp 0x4312dc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x43129e
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0xffffffffffffffff
push eax
call edx
cmp dword [ebp - 0x24], 0
je 0x43129b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
push 0
push str.MacAddress
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x43125e
push str._MacAddress_:
push 0x4a8710
call fcn.004303e0
mov ecx, dword [ebp - 0x34]
add esp, 8
push ecx
push eax
call fcn.004306b0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430b50
mov ecx, esi
call fcn.0042f9c0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
push edx
call fcn.00401a70
jmp 0x431286
mov ecx, dword [ebp + 8]
push 3
push 2
lea eax, [ebp - 0x28]
push eax
call fcn.00403f80
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 8
call fcn.00401a50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401430
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
jmp 0x4312dc
test eax, eax
jne 0x4312e8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4312f7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, 0xb
push str.Select__from_Win32_DiskDrive
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004162a0
mov esi, eax
push 0x488a84
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.004162a0
mov ecx, dword [esi]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x43132d
mov edx, dword [ecx]
jmp 0x43132f
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x431339
mov ecx, dword [eax]
jmp 0x43133b
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
lea edi, [ebp - 0x14]
push edi
push 0
push 0x30
push edx
push ecx
push eax
mov eax, dword [esi + 0x50]
call eax
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004042c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004042c0
test esi, esi
jge 0x4313b4
push str.Query_for_SerialNumber_failed.
push 0x4a8808
call fcn.004301d0
add esp, 8
push str._Error_code__0x
push eax
call fcn.004301d0
add esp, 8
push 0x42bf60
mov ecx, eax
call fcn.0042bf80
push esi
mov ecx, eax
call fcn.004308d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430a20
mov ecx, esi
call fcn.0042f9c0
jmp 0x43147e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x43147e
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x24], 0
je 0x43147e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
push 0
push str.SerialNumber
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x431441
push str._SerialNumber_:
push 0x4a8710
call fcn.004303e0
mov ecx, dword [ebp - 0x34]
add esp, 8
push ecx
push eax
call fcn.004306b0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00430b50
mov ecx, esi
call fcn.0042f9c0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x10]
push edx
call fcn.00401a70
jmp 0x431469
mov ecx, dword [ebp + 8]
push 3
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.00403f80
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401a50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401430
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4314ab
mov eax, dword [eax]
mov ecx, dword [eax + 8]
push 0
call ecx
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4314ba
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret