Function at 0x1000b403
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031a4f
mov eax, dword fs:[0]
push eax
mov eax, 0x2048
call fcn.100310c0
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x202c], edx
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2050], esi
push eax
lea eax, [ebp - 0x2024]
xor edi, edi
push eax
push edi
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x1010]
push eax
push edi
jmp 0x1000b580
lea eax, [ebp - 0x1010]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x2034], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - 0x2038], str.Param
mov word [ebp - 0x2030], ax
lea eax, [ebp - 0x203c]
push eax
push str.Enum_value:
push ecx
push 0x64
mov ecx, 0x170b019
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x2040], ax
mov edx, 0x851
lea eax, [ebp - 0x204c]
mov dword [ebp - 0x2048], str.Param
push eax
push 0x10036edc
push ecx
push 0x64
mov ecx, 0x170b01a
mov dword [ebp - 0x2044], edi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
push dword [ebp - 0x2020]
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2024]
lea eax, [ebp - 0x1010]
push 0
push eax
push dword [ebp - 0x202c]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
jne 0x1000b7a0
test esi, esi
je 0x1000b559
push dword [ebp - 0x2020]
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2024]
lea eax, [ebp - 0x1010]
push 0
push eax
push esi
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
jne 0x1000b7a0
lea eax, [ebp - 0x2020]
inc edi
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2024]
push eax
push 0
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x1010]
push eax
push edi
push ebx
mov dword [ebp - 0x2028], 0x400
mov dword [ebp - 0x2020], 0x1000
call dword [sym.imp.advapi32.dll_RegEnumValueW]
test eax, eax
je 0x1000b472
push 0x400
lea eax, [ebp - 0x810]
xor edx, edx
push eax
mov ecx, ebx
xor edi, edi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x1000b7a0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x810]
mov dword [ebp - 0x2044], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov word [ebp - 0x2040], ax
lea eax, [ebp - 0x204c]
push eax
push str.Enum_key:
push ecx
push 0x64
mov ecx, 0x170b01b
mov dword [ebp - 0x2048], str.Param
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x2030], ax
mov edx, 0x851
lea eax, [ebp - 0x203c]
mov dword [ebp - 0x2038], str.Param
push eax
push str.Enum_num:
push ecx
push 0x64
mov ecx, 0x170b01c
mov dword [ebp - 0x2034], edi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov ecx, dword [ebp - 0x202c]
lea eax, [ebp - 0x2054]
push eax
lea eax, [ebp - 0x201c]
push eax
sub esp, 0x14
lea edx, [ebp - 0x810]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x1000b75f
mov eax, dword [ebp - 0x2050]
test eax, eax
je 0x1000b6c5
lea ecx, [ebp - 0x2054]
push ecx
lea ecx, [ebp - 0x2018]
push ecx
sub esp, 0x14
lea edx, [ebp - 0x810]
mov ecx, eax
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x1000b75f
lea eax, [ebp - 0x2014]
push eax
push 0x20019
push ecx
lea edx, [ebp - 0x810]
mov ecx, ebx
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x1000b75f
push dword [ebp - 0x2018]
mov edx, dword [ebp - 0x201c]
mov ecx, dword [ebp - 0x2014]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
cmp dword [ebp - 0x2014], 0
je 0x1000b70b
push dword [ebp - 0x2014]
call esi
and dword [ebp - 0x2014], 0
cmp dword [ebp - 0x2018], 0
je 0x1000b723
push dword [ebp - 0x2018]
call esi
and dword [ebp - 0x2018], 0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x201c], 0
je 0x1000b73f
push dword [ebp - 0x201c]
call esi
push 0x400
lea eax, [ebp - 0x810]
inc edi
push eax
mov edx, edi
mov ecx, ebx
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
je 0x1000b5c8
jmp 0x1000b7a0
cmp dword [ebp - 0x2014], 0
je 0x1000b770
push dword [ebp - 0x2014]
call esi
and dword [ebp - 0x2014], 0
cmp dword [ebp - 0x2018], 0
je 0x1000b788
push dword [ebp - 0x2018]
call esi
and dword [ebp - 0x2018], 0
cmp dword [ebp - 0x201c], 0
je 0x1000b7a0
push dword [ebp - 0x201c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f764
leave
ret 4