Function at 0x440580
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov ecx, str.RpcSs
push edi
call fcn.004404a0
mov ecx, str.RpcLocator
call fcn.004404a0
mov ecx, str.wmiApSrv
call fcn.004404a0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x49ba48
push 1
push 0
push 0x4a5ba4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4406e4
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTCIMV2
mov dword [ebp - 0x18], 0
call ebx
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x44062d
push 0x8007000e
call fcn.00401e50
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0x80
push 0
push 0
push 0
push esi
push eax
call dword [ecx + 0xc]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x4406b7
push str.ROOTCIMV
call ebx
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x44067f
push 0x8007000e
call fcn.00401e50
mov dword [ebp - 4], 1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0x80
push 0
push 0
push 0
push esi
push eax
call dword [ecx + 0xc]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x4406db
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4406f7
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
call fcn.00412590
mov esi, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 0x4a6a84
call fcn.00412590
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x44072f
mov esi, dword [esi]
jmp 0x440731
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x44073b
mov edx, dword [eax]
jmp 0x44073d
xor edx, edx
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x20]
push edi
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], 2
lea ecx, [ebp - 0x10]
call fcn.00412620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412620
test esi, esi
js 0x4406d2
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x440ccd
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x440ccd
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
push esi
push esi
push edx
mov ecx, dword [eax]
push esi
push str.Caption
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440843
cmp ax, 1
je 0x440843
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440803
cmp dword [esi + 4], 0
jne 0x4407fe
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x440805
xor ecx, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440808
sub ecx, edx
cmp ecx, 0x40
jae 0x44083d
test esi, esi
je 0x44082f
cmp dword [esi + 4], 0
jne 0x44082a
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x440831
xor eax, eax
push eax
push 0x40
push ebx
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Description
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x4408da
cmp ax, 1
je 0x4408da
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440891
cmp dword [esi + 4], 0
jne 0x44088c
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x440893
xor ecx, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440896
sub ecx, edx
cmp ecx, 0x80
jae 0x4408d4
test esi, esi
je 0x4408c0
cmp dword [esi + 4], 0
jne 0x4408bb
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x4408c2
xor eax, eax
push eax
lea eax, [ebx + 0x40]
push 0x80
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.IdentifyingNumber
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440977
cmp ax, 1
je 0x440977
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440928
cmp dword [esi + 4], 0
jne 0x440923
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x44092a
xor ecx, ecx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440930
sub ecx, edx
cmp ecx, 0x80
jae 0x440971
test esi, esi
je 0x44095a
cmp dword [esi + 4], 0
jne 0x440955
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x44095c
xor eax, eax
push eax
lea eax, [ebx + 0xc0]
push 0x80
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x4a6a88
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440a11
cmp ax, 1
je 0x440a11
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4409c5
cmp dword [esi + 4], 0
jne 0x4409c0
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x4409c7
xor ecx, ecx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4409d0
sub ecx, edx
cmp ecx, 0x38
jae 0x440a0b
test esi, esi
je 0x4409f7
cmp dword [esi + 4], 0
jne 0x4409f2
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x4409f9
xor eax, eax
push eax
lea eax, [ebx + 0x140]
push 0x38
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.SKUNumber
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440aa5
cmp ax, 1
je 0x440aa5
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440a5f
cmp dword [esi + 4], 0
jne 0x440a5a
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x440a61
xor ecx, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440a64
sub ecx, edx
cmp ecx, 0x38
jae 0x440a9f
test esi, esi
je 0x440a8b
cmp dword [esi + 4], 0
jne 0x440a86
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x440a8d
xor eax, eax
push eax
lea eax, [ebx + 0x178]
push 0x38
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.UUID
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440b3f
cmp ax, 1
je 0x440b3f
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440af3
cmp dword [esi + 4], 0
jne 0x440aee
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x440af5
xor ecx, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440af8
sub ecx, edx
cmp ecx, 0x80
jae 0x440b39
test esi, esi
je 0x440b22
cmp dword [esi + 4], 0
jne 0x440b1d
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x440b24
xor eax, eax
push eax
lea eax, [ebx + 0x1b0]
push 0x80
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Vendor
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440bd3
cmp ax, 1
je 0x440bd3
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440b8d
cmp dword [esi + 4], 0
jne 0x440b88
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x440b8f
xor ecx, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440b92
sub ecx, edx
cmp ecx, 0x38
jae 0x440bcd
test esi, esi
je 0x440bb9
cmp dword [esi + 4], 0
jne 0x440bb4
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x440bbb
xor eax, eax
push eax
lea eax, [ebx + 0x230]
push 0x38
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Version
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x40]
test ax, ax
je 0x440c67
cmp ax, 1
je 0x440c67
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
call fcn.004403a0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440c21
cmp dword [esi + 4], 0
jne 0x440c1c
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x440c23
xor ecx, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440c26
sub ecx, edx
cmp ecx, 0x38
jae 0x440c61
test esi, esi
je 0x440c4d
cmp dword [esi + 4], 0
jne 0x440c48
push dword [esi]
call fcn.0044b030
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x440c4f
xor eax, eax
push eax
lea eax, [ebx + 0x268]
push 0x38
push eax
call fcn.0046f135
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x440cc2
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x440cbb
mov eax, dword [esi]
test eax, eax
je 0x440c99
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x440cb0
push eax
call fcn.0044bc91
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0044b9fd
add esp, 8
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x440790
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret