Function at 0x4d3a30
Capabilities:
Connect to wmi namespace via wbemlocator
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.004f23a0
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x10f0]
push ecx
push 0x20219
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftOffice11.0Registration
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x1110], eax
mov dword [ebp - 0x10f0], ebx
call edi
test eax, eax
jne 0x4d4207
push 0x1fe
lea eax, [ebp - 0x8ea]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x8ec], dx
call fcn.004e8ba0
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x23b]
push ebx
push ecx
mov byte [ebp - 0x23c], bl
call fcn.004e8ba0
add esp, 0xc
push 0x7fe
lea eax, [ebp - 0x10ea]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x10ec], dx
call fcn.004e8ba0
add esp, 0xc
push 0xfe
lea edx, [ebp - 0x63a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x63c], cx
call fcn.004e8ba0
add esp, 0xc
push 0x80
lea eax, [ebp - 0x63c]
push ebx
push eax
mov dword [ebp - 0x1100], ebx
call fcn.004e8ba0
mov edx, dword [ebp - 0x10f0]
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x63c]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4d3ccf
xor eax, eax
jmp 0x4d3b40
movzx ecx, word [eax + str.SOFTWAREMicrosoftOffice11.0Registration_]
mov word [ebp + eax - 0x10ec], cx
add eax, 2
cmp cx, bx
jne 0x4d3b40
lea eax, [ebp - 0x63c]
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d3b60
lea edi, [ebp - 0x10ec]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4d3b76
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x10f8]
push eax
and ecx, 3
push 0x201
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [ebp - 0x10ec]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d3c7c
lea edx, [ebp - 0x10f4]
push edx
mov edx, dword [ebp - 0x10f8]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10fc]
push ecx
push ebx
push str.DigitalProductId
mov esi, 0x100
push edx
mov dword [ebp - 0x10fc], 3
mov dword [ebp - 0x10f4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d3c6f
push 0x1fe
lea ecx, [ebp - 0x53a]
push ebx
push ecx
mov dword [ebp - 0x1104], esi
mov word [ebp - 0x53c], ax
call fcn.004e8ba0
add esp, 0xc
lea edx, [ebp - 0x1104]
push edx
mov edx, dword [ebp - 0x10f8]
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x10fc]
push ecx
push ebx
push str.ProductID
push edx
mov dword [ebp - 0x10fc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d3c6f
lea eax, [ebp - 0x53c]
push eax
lea edx, [ebp - 0x63c]
lea ecx, [ebp - 0x8ec]
call fcn.004d35f0
add esp, 4
test eax, eax
jne 0x4d3cc2
mov ecx, dword [ebp - 0x10f8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1100]
push 0x80
lea edx, [ebp - 0x63c]
push ebx
inc esi
push edx
mov dword [ebp - 0x1100], esi
call fcn.004e8ba0
mov ecx, dword [ebp - 0x10f0]
add esp, 0xc
push 0x80
lea eax, [ebp - 0x63c]
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4d3b34
jmp 0x4d3ccf
mov edx, dword [ebp - 0x10f8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10f0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x8ec]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d3ce5
sub eax, edx
sar eax, 1
je 0x4d49d6
mov ecx, dword [ebp - 0x208]
mov edx, dword [ebp - 0x204]
xor eax, eax
mov dword [ebp - 0x6b], eax
mov byte [ebp - 0x6c], bl
mov dword [ebp - 0x67], eax
mov dword [ebp - 0x63], eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov word [ebp - 0x4f], ax
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
xor eax, eax
mov ecx, 0x1d
lea edx, [ebp - 0x30]
sub ecx, edx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov byte [ebp - 0x2f], al
mov dword [ebp - 0x2c], 0x46444342
mov dword [ebp - 0x28], 0x4b4a4847
mov dword [ebp - 0x24], 0x5251504d
mov dword [ebp - 0x20], 0x58575654
mov dword [ebp - 0x1c], 0x34333259
mov dword [ebp - 0x18], 0x39383736
mov byte [ebp - 0x14], al
lea ebx, [eax + 0x1c]
mov dword [ebp - 0x1104], ecx
lea esp, [esp]
lea edi, [ebp + ebx - 0x4c]
lea eax, [edi + ecx]
cdq
mov esi, 6
idiv esi
test edx, edx
jne 0x4d3db8
mov byte [edi], 0x2d
jmp 0x4d3df9
xor ecx, ecx
mov esi, 0xe
nop
movzx eax, byte [ebp + esi - 0x6c]
shl ecx, 8
or ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
add edx, edx
mov byte [ebp + esi - 0x6c], al
sub ecx, edx
dec esi
mov al, byte [ebp + ecx - 0x2c]
jns 0x4d3dc0
mov ecx, dword [ebp - 0x1104]
mov byte [edi], al
dec ebx
jns 0x4d3da0
xor eax, eax
push 0xaa
push eax
lea ecx, [ebp - 0x6ea]
push ecx
mov word [ebp - 0x6ec], ax
call fcn.004e8ba0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x4c]
push edx
push 0
push 0
call esi
push eax
lea eax, [ebp - 0x6ec]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0
call esi
xor edx, edx
push 0xaa
push edx
lea eax, [ebp - 0x13a]
push eax
mov dword [ebp - 0x1104], 0x56
mov word [ebp - 0x13c], dx
call fcn.004e8ba0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea ecx, [ebp - 0x10f0]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftOffice11.0CommonProductVersion
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3ed4
lea edx, [ebp - 0x1104]
push edx
mov edx, dword [ebp - 0x10f0]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x10f8]
push ecx
push 0
push str.LastProduct
push edx
mov dword [ebp - 0x10f8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10f0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
jmp 0x4d3eda
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x43a]
push edx
mov word [ebp - 0x43c], cx
call fcn.004e8ba0
add esp, 0xc
lea eax, [ebp - 0x10f0]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0AccessInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3f40
jmp 0x4d3f20
movzx ecx, word [eax + str.Access]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d3f20
mov ecx, dword [ebp - 0x10f0]
push ecx
call edi
lea edx, [ebp - 0x10f0]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0ExcelInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3f80
jmp 0x4d3f60
movzx ecx, word [eax + str.Excel]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d3f60
mov eax, dword [ebp - 0x10f0]
push eax
call edi
lea ecx, [ebp - 0x10f0]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0SharePointInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3fc0
jmp 0x4d3fa0
movzx ecx, word [eax + str.SharePoint]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d3fa0
mov edx, dword [ebp - 0x10f0]
push edx
call edi
lea eax, [ebp - 0x10f0]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0InfoPathInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d4000
jmp 0x4d3fe0
movzx ecx, word [eax + str.InfoPath]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d3fe0
mov ecx, dword [ebp - 0x10f0]
push ecx
call edi
lea edx, [ebp - 0x10f0]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0OneNoteInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d4040
jmp 0x4d4020
movzx ecx, word [eax + str.OneNote]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d4020
mov eax, dword [ebp - 0x10f0]
push eax
call edi
lea ecx, [ebp - 0x10f0]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d4080
jmp 0x4d4060
movzx ecx, word [eax + str.Outlook]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d4060
mov edx, dword [ebp - 0x10f0]
push edx
call edi
lea eax, [ebp - 0x10f0]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0PowerPointInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d40c0
jmp 0x4d40a0
movzx ecx, word [eax + str.Excel]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d40a0
mov ecx, dword [ebp - 0x10f0]
push ecx
call edi
lea edx, [ebp - 0x10f0]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0ProjectInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d4100
jmp 0x4d40e0
movzx ecx, word [eax + str.Project]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d40e0
mov eax, dword [ebp - 0x10f0]
push eax
call edi
lea ecx, [ebp - 0x10f0]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0PublisherInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d4140
jmp 0x4d4120
movzx ecx, word [eax + str.Publisher]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d4120
mov edx, dword [ebp - 0x10f0]
push edx
call edi
lea eax, [ebp - 0x10f0]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0VisioInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d4180
jmp 0x4d4160
movzx ecx, word [eax + str.Visio]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d4160
mov ecx, dword [ebp - 0x10f0]
push ecx
call edi
lea edx, [ebp - 0x10f0]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0WordInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d41c0
jmp 0x4d41a0
movzx ecx, word [eax + str.Word]
mov word [ebp + eax - 0x43c], cx
add eax, 2
test cx, cx
jne 0x4d41a0
mov eax, dword [ebp - 0x10f0]
push eax
call edi
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x6ec]
push edx
mov edx, dword [ebp - 0x1110]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x8ec]
push ecx
push str._s_x86_t_s_t_s_t_s_t
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10f0]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftOffice11.0ClickToRunStore
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d49d6
push 0x1fe
lea edx, [ebp - 0x8ea]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x1104], 0x200
mov dword [ebp - 0x1114], 1
mov word [ebp - 0x8ec], cx
call fcn.004e8ba0
add esp, 0xc
lea eax, [ebp - 0x1104]
push eax
mov eax, dword [ebp - 0x10f0]
lea ecx, [ebp - 0x8ec]
push ecx
lea edx, [ebp - 0x1114]
push edx
push ebx
push str.ProductReleaseIds
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d49c9
push 0x3e
lea edx, [ebp - 0x8a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x8c], cx
call fcn.004e8ba0
add esp, 0xc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x568461], bl
jne 0x4d42db
push str.GetOffice2003Info
xor edx, edx
mov ecx, str.Function_Fail
call fcn.004a3f00
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10fc]
push eax
push 0x5020f8
push 1
push ebx
push 0x5021c8
mov dword [ebp - 0x10fc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4d4390
mov eax, dword [ebp - 0x10fc]
lea edx, [ebp - 0x1100]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x1100], ebx
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4d4382
mov eax, dword [ebp - 0x1100]
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 - 0x1100]
js 0x4d437a
lea edx, [ebp - 0x10f8]
push edx
push ebx
push 0x30
push str.SELECT__FROM_OfficeSoftwareProtectionProduct_WHERE_PartialProductKey___NULL
mov dword [ebp - 0x10f8], ebx
mov ecx, dword [eax]
push 0x52550c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jns 0x4d43a9
mov eax, dword [ebp - 0x1100]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10fc]
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 - 8]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10f8]
mov dword [ebp - 0x10f4], ebx
cmp eax, ebx
je 0x4d444b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [ebp - 0x10f4]
push edx
lea edx, [ebp - 0x110c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x10f4], ebx
je 0x4d4445
mov eax, dword [ebp - 0x110c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x24]
push edx
push ebx
push str.PartialProductKey
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4d440a
cmp word [ebp - 0x24], 1
jne 0x4d441c
lea ecx, [ebp - 0x24]
push ecx
call esi
mov eax, dword [ebp - 0x10f8]
cmp eax, ebx
jne 0x4d43c3
jmp 0x4d444b
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x8c]
sub edx, eax
jmp 0x4d4430
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bx
jne 0x4d4430
lea edx, [ebp - 0x24]
push edx
call esi
mov eax, dword [ebp - 0x10f8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1100]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10fc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x8c]
lea edx, [eax + 2]
jmp 0x4d4480
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d4480
sub eax, edx
sar eax, 1
je 0x4d49c9
lea eax, [ebp - 0x10f4]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftOffice11.0
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10f4], ebx
call edi
push 0x1fe
lea edx, [ebp - 0x33a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x33c], cx
call fcn.004e8ba0
add esp, 0xc
lea eax, [ebp - 0x10f4]
push eax
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0WordInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d4507
nop
movzx ecx, word [eax + str.Word]
mov word [ebp + eax - 0x33c], cx
add eax, 2
cmp cx, bx
jne 0x4d44f0
lea ecx, [ebp - 0x10f4]
push ecx
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0AccessInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d455f
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d4530
mov edx, dword [str._Access]
mov ecx, dword [0x54e464]
mov dword [eax], edx
mov edx, dword [0x54e468]
mov dword [eax + 4], ecx
mov ecx, dword [0x54e46c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea edx, [ebp - 0x10f4]
push edx
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0ExcelInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d45b6
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d4585
mov ecx, dword [str._Excel]
mov edx, dword [0x54e474]
mov dword [eax], ecx
mov ecx, dword [0x54e478]
mov dword [eax + 4], edx
mov dx, word [0x54e47c]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebp - 0x10f4]
push eax
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0GrooveInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d4621
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d45e0
mov ecx, dword [str._SharePoint]
mov edx, dword [0x54e4e8]
mov dword [eax], ecx
mov ecx, dword [0x54e4ec]
mov dword [eax + 4], edx
mov edx, dword [0x54e4f0]
mov dword [eax + 8], ecx
mov ecx, dword [0x54e4f4]
mov dword [eax + 0xc], edx
mov edx, dword [0x54e4f8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [ebp - 0x10f4]
push eax
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0InfoPathInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d4688
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
jmp 0x4d4650
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d4650
mov ecx, dword [str._InfoPath]
mov edx, dword [0x54e500]
mov dword [eax], ecx
mov ecx, dword [0x54e504]
mov dword [eax + 4], edx
mov edx, dword [0x54e508]
mov dword [eax + 8], ecx
mov ecx, dword [0x54e50c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x10f4]
push edx
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0OneNoteInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d46ea
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d46b0
mov ecx, dword [str._OneNote]
mov edx, dword [0x54e514]
mov dword [eax], ecx
mov ecx, dword [0x54e518]
mov dword [eax + 4], edx
mov edx, dword [0x54e51c]
mov dword [eax + 8], ecx
mov cx, word [0x54e520]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x10f4]
push edx
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d474a
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d4710
mov ecx, dword [str._Outlook]
mov edx, dword [0x54e528]
mov dword [eax], ecx
mov ecx, dword [0x54e52c]
mov dword [eax + 4], edx
mov edx, dword [0x54e530]
mov dword [eax + 8], ecx
mov cx, word [0x54e534]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x10f4]
push edx
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0PowerPointInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d47b1
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d4770
mov ecx, dword [str._PowerPoint]
mov edx, dword [0x54e53c]
mov dword [eax], ecx
mov ecx, dword [0x54e540]
mov dword [eax + 4], edx
mov edx, dword [0x54e544]
mov dword [eax + 8], ecx
mov ecx, dword [0x54e548]
mov dword [eax + 0xc], edx
mov edx, dword [0x54e54c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [ebp - 0x10f4]
push eax
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0ProjectInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d481a
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
jmp 0x4d47e0
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d47e0
mov ecx, dword [str._Project]
mov edx, dword [0x54e554]
mov dword [eax], ecx
mov ecx, dword [0x54e558]
mov dword [eax + 4], edx
mov edx, dword [0x54e55c]
mov dword [eax + 8], ecx
mov cx, word [0x54e560]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x10f4]
push edx
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0PublisherInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d4883
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d4840
mov ecx, dword [str._Publisher]
mov edx, dword [0x54e568]
mov dword [eax], ecx
mov ecx, dword [0x54e56c]
mov dword [eax + 4], edx
mov edx, dword [0x54e570]
mov dword [eax + 8], ecx
mov ecx, dword [0x54e574]
mov dword [eax + 0xc], edx
mov dx, word [0x54e578]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [ebp - 0x10f4]
push eax
push 0x201
push ebx
push str.SOFTWAREMicrosoftOffice11.0VisioInstallRoot
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d48e1
lea eax, [ebp - 0x33c]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4d48b0
mov ecx, dword [str._Visio]
mov edx, dword [0x54e580]
mov dword [eax], ecx
mov ecx, dword [0x54e584]
mov dword [eax + 4], edx
mov dx, word [0x54e588]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0x10f4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [ebp - 0x10f0]
push ecx
call esi
push 0xaa
lea eax, [ebp - 0x13a]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x110c], 0x56
mov word [ebp - 0x13c], dx
call fcn.004e8ba0
add esp, 0xc
lea ecx, [ebp - 0x10f0]
push ecx
push 0x20219
push ebx
push str.SOFTWAREMicrosoftOffice11.0CommonProductVersion
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4d4979
lea edx, [ebp - 0x110c]
push edx
mov edx, dword [ebp - 0x10f0]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1108]
push ecx
push ebx
push str.LastProduct
push edx
mov dword [ebp - 0x1108], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10f0]
push eax
call esi
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [ebp - 0x1110]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x8ec]
push ecx
push str.Microsoft_Office__s_2003_t_s_t_s_t_s_t
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x10f0]
add esp, 0x18
push eax
call esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10f0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret