Function at 0x1014c64
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x101ee98
call fcn.0101a128
sub esp, 0x2f4
mov eax, dword [0x1024510]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
push edi
xor ebx, ebx
cmp eax, ebx
mov edi, ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], eax
je 0x1014ca1
mov dword [eax], ebx
cmp dword [edi + 0x7c], ebx
je 0x1014cb7
lea esi, [edi + 0xfc]
mov dword [esi], 0xa
jmp 0x1014f09
cmp dword [0x1024918], ebx
je 0x1014cd0
lea esi, [edi + 0xfc]
mov dword [esi], 6
jmp 0x1014d80
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x240]
call fcn.01012981
push dword [ebp + 0xc]
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.0100a461
cmp eax, 0xffffffff
lea esi, [edi + 0xfc]
mov dword [esi], eax
jne 0x1014d3a
cmp byte [ebp + 0xc], bl
je 0x1014d26
mov eax, dword [edi]
push 0xf101
push ebx
lea ecx, [ebp - 0x240]
push ecx
push dword [ebp - 0x21c]
mov ecx, edi
call dword [eax + 0x88]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.010129dd
jmp 0x1014f34
cmp eax, 0xb
jne 0x1014d5e
push 0x40
push ebx
push 0xc6
call sub.MFC42u.DLL_AfxMessageBox
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x1014d26
mov dword [eax], 1
jmp 0x1014d26
cmp eax, 6
jne 0x1014d71
cmp dword [0x10249c4], ebx
je 0x1014d71
mov dword [esi], 7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.010129dd
call fcn.0100a12a
mov eax, dword [esi]
mov ecx, eax
imul ecx, ecx, 0x1c
cmp dword [ecx + 0x1023c68], ebx
je 0x1014da2
push eax
call fcn.01009f41
test eax, eax
je 0x1014e31
push esi
call fcn.01009fca
test eax, eax
jne 0x1014e31
lea ecx, [ebp - 0x21c]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esi]
imul ecx, ecx, 0x1c
xor edi, edi
push ebx
lea eax, [ebp - 0x220]
inc edi
push eax
add ecx, 0x1023c60
mov dword [ebp - 4], edi
call fcn.01009ff7
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push 0xb3
push eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_AfxFormatString1
push ebx
push 0x40
push dword [ebp - 0x21c]
call sub.MFC42u.DLL_AfxMessageBox_1
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x1014e0e
mov dword [eax], edi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call sub.MFC42u.DLL_CString::CString
jmp 0x1014f34
mov eax, dword [esi]
cmp eax, 1
je 0x1014e41
cmp eax, 4
jne 0x1014f09
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x10
push 0x1006438
push 0x10035c8
push 0x80000001
mov dword [ebp - 0x228], 4
call edi
test eax, eax
je 0x1014ea7
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x10
push 0x1006438
push 0x10035c8
push 0x80000002
mov dword [ebp - 0x228], 4
call edi
test eax, eax
jne 0x1014eb7
xor eax, eax
cmp dword [ebp - 0x220], 1
sete al
cmp eax, ebx
jne 0x1014f03
push ebx
push ebx
push 0x100641c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebx
push 0x10144f1
mov edi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
push 0x6d65
push edi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
push edi
je 0x1014efd
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x1014f34
mov dword [eax], 1
jmp 0x1014f34
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x224]
cmp dword [esi], 6
jne 0x1014f23
push dword [ebp - 0x21c]
call fcn.01014474
test eax, eax
je 0x1014f23
mov dword [esi], 8
push dword [ebp - 0x21c]
mov ecx, edi
call sub.MFC42u.DLL_COleLinkingDoc::OnOpenDocument
test eax, eax
jne 0x1014f3b
xor eax, eax
jmp 0x1014fde
push edi
lea ecx, [ebp - 0x258]
call sub.MFC42u.DLL_COleUILinkInfo::COleUILinkInfo
xor esi, esi
push ebx
lea eax, [ebp - 0x258]
inc esi
push eax
mov dword [ebp - 0x248], esi
call sub.MFC42u.DLL_COleUILinkInfo::GetNextLink
test eax, eax
je 0x1014fad
mov word [ebp - 0x218], bx
call fcn.01014403
test eax, eax
je 0x1014f8e
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x2f1c
call fcn.01014403
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 4
lea eax, [ebp - 0x218]
push eax
call sub.MFC42u.DLL_AfxMessageBox_1
sub eax, 6
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x224], eax
je 0x1014fdc
push ebx
push ebx
push esi
push edi
lea ecx, [ebp - 0x300]
call sub.MFC42u.DLL_COleUpdateDialog::COleUpdateDialog
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 4], 3
call dword [edx + 0xc0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x300]
call fcn.01019d4c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01017d5b
leave
ret 0xc