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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3e
xor ebx, ebx
lea ecx, [ebp - 0x46]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x48], ax
call fcn.004e8ba0
add esp, 0xc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x568461], bl
je 0x4dd4b7
lea edx, [ebp - 0x4c]
push edx
push 0x5020f8
mov edi, 1
push edi
push ebx
push 0x5021c8
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4dd4b1
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x50]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4dd4a6
mov eax, dword [ebp - 0x50]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x50]
js 0x4dd49e
lea edx, [ebp - 0x54]
push edx
push ebx
push 0x30
push str.SELECT__FROM_OfficeSoftwareProtectionProduct
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax]
push 0x52550c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jns 0x4dd4ca
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], ebx
cmp eax, ebx
je 0x4dd5d9
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, edi
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x5c]
push edx
push edi
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x58], ebx
je 0x4dd5d6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x70]
push edx
push ebx
push str.PartialProductKey
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4dd5bd
cmp word [ebp - 0x70], di
je 0x4dd5bd
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x48]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4dd530
lea ecx, [ebp - 0x70]
push ecx
call esi
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x70]
push ecx
push ebx
push str.Name
push eax
call edx
test eax, eax
jne 0x4dd5a9
cmp word [ebp - 0x70], di
je 0x4dd5a9
mov eax, dword [ebp - 0x68]
push 9
push str.Office_16
push eax
call fcn.004e5007
add esp, 0xc
test eax, eax
je 0x4dd5d0
lea eax, [ebp - 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4dd583
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [ebp - 0x48]
push ebx
push edx
call fcn.004e8ba0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
jmp 0x4dd5c1
lea eax, [ebp - 0x48]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4dd5b0
jmp 0x4dd58e
lea ecx, [ebp - 0x70]
push ecx
call esi
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jne 0x4dd4e0
jmp 0x4dd5d9
lea edx, [ebp - 0x70]
push edx
call esi
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4dd603
mov ecx, dword [ebp - 4]
pop edi
sub eax, edx
pop esi
xor ecx, ebp
sar eax, 1
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret