Function at 0x40ecf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5663a1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x5d51c0]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5d51c0]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004248f0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00429e63
push 0xffffff
mov eax, dword [eax + 0x2b60]
mov dword [edi + 0x114], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [edi + 0x98]
call fcn.004303b3
xor eax, eax
mov dword [esp + 0x18], 1
push 0x206
push eax
mov word [esp + 0x2bc], ax
lea eax, [esp + 0x2be]
push eax
mov dword [esp + 0x34], 0x104
call fcn.0054cbf0
add esp, 0xc
xor eax, eax
mov word [esp + 0xac], ax
push 0x206
push eax
lea eax, [esp + 0xb6]
push eax
call fcn.0054cbf0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push str.SOFTWAREHNCSharedInstall_InformationHShow96
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40ee5c
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.Path
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x2b4]
push eax
lea eax, [esp + 0xb0]
push 0x104
push eax
call fcn.0054b04d
add esp, 0xc
lea eax, [esp + 0xac]
push str.HOffice96Bin_
push 0x104
push eax
call fcn.0054b5e8
add esp, 0xc
lea eax, [esp + 0xac]
push str.HShow.exe
push 0x104
push eax
call fcn.0054b5e8
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push 0xa2
call fcn.00407d80
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0x5adca8
push 0x5adca8
push dword [edi + 0xc0]
call esi
push 0x5adca8
push 0x5adca8
push dword [edi + 0x138]
call esi
push 0x5ad394
lea ecx, [esp + 0x18]
call fcn.004058d0
mov dword [esp + 0x4d0], 0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004092f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00408c80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4d4], 1
call fcn.00409360
mov byte [esp + 0x4d0], 0
or ebx, 0xffffffff
mov edx, dword [esp + 0x18]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ef05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movdqa xmm0, xmmword [0x5b26a0]
xor ebx, ebx
movdqu xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa0], 0x3f2
mov dword [esp + 0xa4], 0x3f3
mov dword [esp + 0xa8], 0x409
lea esp, [esp]
push 0x5c
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0054cbf0
mov esi, dword [esp + ebx*4 + 0x9c]
add esp, 0xc
mov ecx, edi
push esi
call fcn.0042e5d4
push 0
push 0
push 0x31
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0043062c
lea ecx, [esp + 0x2c]
push ecx
push 0x5c
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CFont.0
lea eax, [esp + 0x2c]
mov byte [esp + 0x4d0], 2
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x20]
call fcn.004303b3
push esi
mov ecx, edi
call fcn.0042e5d4
push 1
push dword [esp + 0x24]
push 0x30
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x1c]
call fcn.0043052e
mov byte [esp + 0x4d0], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CFont.0
call fcn.00409160
inc ebx
cmp ebx, 7
jl 0x40ef40
mov dword [esp + 0x4d0], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40f02f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret