Function at 0x4d2e00
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfd4
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 0xfbc]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftOffice10.0Registration
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xfd4], eax
mov dword [ebp - 0xfbc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4d2e57
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x1fe
lea eax, [ebp - 0x7b6]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x7b8], dx
call fcn.004e8ba0
push 0xff
lea ecx, [ebp - 0x45f]
push ebx
push ecx
mov byte [ebp - 0x460], bl
call fcn.004e8ba0
push 0x7fe
lea eax, [ebp - 0xfb6]
xor edx, edx
push ebx
push eax
mov word [ebp - 0xfb8], dx
call fcn.004e8ba0
push 0xfe
lea edx, [ebp - 0x35e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x360], cx
call fcn.004e8ba0
push 0x80
lea eax, [ebp - 0x360]
push ebx
push eax
mov dword [ebp - 0xfd0], ebx
call fcn.004e8ba0
mov edx, dword [ebp - 0xfbc]
add esp, 0x3c
push 0x80
lea ecx, [ebp - 0x360]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4d30a2
nop
xor eax, eax
jmp 0x4d2f10
movzx ecx, word [eax + str.SOFTWAREMicrosoftOffice10.0Registration_]
mov word [ebp + eax - 0xfb8], cx
add eax, 2
cmp cx, bx
jne 0x4d2f10
lea eax, [ebp - 0x360]
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d2f30
lea edi, [ebp - 0xfb8]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4d2f46
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xfc4]
push eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [ebp - 0xfb8]
push ecx
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xfc4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d304f
lea edx, [ebp - 0xfcc]
push edx
mov edx, dword [ebp - 0xfc4]
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0xfc8]
push ecx
push ebx
push str.DigitalProductId
mov esi, 0x100
push edx
mov dword [ebp - 0xfc8], 3
mov dword [ebp - 0xfcc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d3042
push 0x1fe
lea ecx, [ebp - 0x25e]
push ebx
push ecx
mov dword [ebp - 0xfc0], esi
mov word [ebp - 0x260], ax
call fcn.004e8ba0
add esp, 0xc
lea edx, [ebp - 0xfc0]
push edx
mov edx, dword [ebp - 0xfc4]
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0xfc8]
push ecx
push ebx
push str.ProductID
push edx
mov dword [ebp - 0xfc8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d3042
lea eax, [ebp - 0x7b8]
push eax
lea edx, [ebp - 0x360]
lea ecx, [ebp - 0x260]
call fcn.004d29e0
add esp, 4
test eax, eax
jne 0x4d3095
mov ecx, dword [ebp - 0xfc4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xfd0]
push 0x80
lea edx, [ebp - 0x360]
push ebx
inc esi
push edx
mov dword [ebp - 0xfd0], esi
call fcn.004e8ba0
mov ecx, dword [ebp - 0xfbc]
add esp, 0xc
push 0x80
lea eax, [ebp - 0x360]
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4d2f00
jmp 0x4d30a2
mov edx, dword [ebp - 0xfc4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xfbc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x7b8]
lea edx, [eax + 2]
jmp 0x4d30c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d30c0
sub eax, edx
sar eax, 1
je 0x4d35d7
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x428]
xor eax, eax
mov dword [ebp - 0x3f], eax
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, 0x1d
lea edx, [ebp - 0x44]
sub ecx, edx
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov byte [ebp - 0x43], al
mov dword [ebp - 0x20], 0x46444342
mov dword [ebp - 0x1c], 0x4b4a4847
mov dword [ebp - 0x18], 0x5251504d
mov dword [ebp - 0x14], 0x58575654
mov dword [ebp - 0x10], 0x34333259
mov dword [ebp - 0xc], 0x39383736
mov byte [ebp - 8], al
lea ebx, [eax + 0x1c]
mov dword [ebp - 0xfc0], ecx
lea edi, [ebp + ebx - 0x60]
lea eax, [edi + ecx]
cdq
mov esi, 6
idiv esi
test edx, edx
jne 0x4d318f
mov byte [edi], 0x2d
jmp 0x4d31cf
xor ecx, ecx
mov esi, 0xe
movzx eax, byte [ebp + esi - 0x40]
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 - 0x40], al
sub ecx, edx
dec esi
mov al, byte [ebp + ecx - 0x20]
jns 0x4d3196
mov ecx, dword [ebp - 0xfc0]
mov byte [edi], al
dec ebx
jns 0x4d3177
xor eax, eax
push 0xaa
push eax
lea ecx, [ebp - 0x50a]
push ecx
mov word [ebp - 0x50c], ax
call fcn.004e8ba0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x60]
push edx
push 0
push 0
call esi
push eax
lea eax, [ebp - 0x50c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
call esi
xor edx, edx
push 0xaa
push edx
lea eax, [ebp - 0x5b6]
push eax
mov dword [ebp - 0xfc0], 0x56
mov word [ebp - 0x5b8], dx
call fcn.004e8ba0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea ecx, [ebp - 0xfbc]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftOffice10.0CommonProductVersion
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d32aa
lea edx, [ebp - 0xfc0]
push edx
mov edx, dword [ebp - 0xfbc]
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0xfcc]
push ecx
push 0
push str.LastProduct
push edx
mov dword [ebp - 0xfcc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0xfbc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
jmp 0x4d32b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x15e]
push edx
mov word [ebp - 0x160], cx
call fcn.004e8ba0
add esp, 0xc
lea eax, [ebp - 0xfbc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0AccessInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3310
lea esp, [esp]
movzx ecx, word [eax + str.Access]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d32f0
mov ecx, dword [ebp - 0xfbc]
push ecx
call edi
lea edx, [ebp - 0xfbc]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0ExcelInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3350
jmp 0x4d3330
movzx ecx, word [eax + str.Excel]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d3330
mov eax, dword [ebp - 0xfbc]
push eax
call edi
lea ecx, [ebp - 0xfbc]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0SharePointInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3390
jmp 0x4d3370
movzx ecx, word [eax + str.SharePoint]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d3370
mov edx, dword [ebp - 0xfbc]
push edx
call edi
lea eax, [ebp - 0xfbc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0InfoPathInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d33d0
jmp 0x4d33b0
movzx ecx, word [eax + str.InfoPath]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d33b0
mov ecx, dword [ebp - 0xfbc]
push ecx
call edi
lea edx, [ebp - 0xfbc]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0OneNoteInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3410
jmp 0x4d33f0
movzx ecx, word [eax + str.OneNote]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d33f0
mov eax, dword [ebp - 0xfbc]
push eax
call edi
lea ecx, [ebp - 0xfbc]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0OutlookInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3450
jmp 0x4d3430
movzx ecx, word [eax + str.Outlook]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d3430
mov edx, dword [ebp - 0xfbc]
push edx
call edi
lea eax, [ebp - 0xfbc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0PowerPointInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3490
jmp 0x4d3470
movzx ecx, word [eax + str.Excel]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d3470
mov ecx, dword [ebp - 0xfbc]
push ecx
call edi
lea edx, [ebp - 0xfbc]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0ProjectInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d34d0
jmp 0x4d34b0
movzx ecx, word [eax + str.Project]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d34b0
mov eax, dword [ebp - 0xfbc]
push eax
call edi
lea ecx, [ebp - 0xfbc]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0PublisherInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3510
jmp 0x4d34f0
movzx ecx, word [eax + str.Publisher]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d34f0
mov edx, dword [ebp - 0xfbc]
push edx
call edi
lea eax, [ebp - 0xfbc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0VisioInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3550
jmp 0x4d3530
movzx ecx, word [eax + str.Visio]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d3530
mov ecx, dword [ebp - 0xfbc]
push ecx
call edi
lea edx, [ebp - 0xfbc]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftOffice10.0WordInstallRoot
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4d3590
jmp 0x4d3570
movzx ecx, word [eax + str.Word]
mov word [ebp + eax - 0x160], cx
add eax, 2
test cx, cx
jne 0x4d3570
mov eax, dword [ebp - 0xfbc]
push eax
call edi
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x50c]
push edx
mov edx, dword [ebp - 0xfd4]
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x7b8]
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
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret