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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003165d
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
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
xor edi, edi
lea edx, [ebp - 0x488]
push 1
mov esi, 0x80000002
mov dword [ebp - 0x4a4], edi
push edi
mov ecx, esi
mov dword [ebp - 0x498], edi
mov ebx, edi
mov dword [ebp - 0x494], edi
mov dword [ebp - 0x490], edi
mov dword [ebp - 0x488], edi
mov dword [ebp - 0x48c], edi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
push 1
push 1
lea edx, [ebp - 0x48c]
mov ecx, esi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [ebp - 0x48c], ebx
je 0x10008121
push dword [ebp - 0x48c]
call esi
mov dword [ebp - 0x48c], edi
cmp dword [ebp - 0x488], ebx
je 0x10008137
push dword [ebp - 0x488]
call esi
push 0xa
push 0x32
push edi
push 0x10
lea edx, [ebp - 0x74]
pop ecx
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
lea eax, [ebp - 0x49c]
mov edx, 0x10037940
push eax
lea eax, [ebp - 0x4a4]
mov ecx, 0x80000000
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10008413
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x498]
mov edx, str.42042206_2D85_11D3_8CFF_005004838597
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10008413
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x494]
mov edx, str.Version
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10008413
mov ecx, dword [ebp - 0x494]
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x490]
push eax
sub esp, 0x14
lea edx, [ebp - 0x74]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10008413
push 2
lea ecx, [ebp - 0x484]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
je 0x10008413
lea ecx, [ebp - 0x484]
call fcn.1000d787
add eax, eax
push eax
lea eax, [ebp - 0x484]
push eax
push 1
push edi
push edi
push dword [ebp - 0x490]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
jne 0x10008413
xor ebx, ebx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x48c], ebx
push eax
push 0x20019
mov eax, 0x100348e8
mov dword [ebp - 0x488], ebx
test edi, edi
mov dword [ebp - 0x4a8], 0x208
push ecx
mov edx, str..mht
mov ecx, 0x80000000
cmove edx, eax
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
je 0x1000829a
lea eax, [ebp - 0x48c]
test edi, edi
push eax
push 0x20019
mov eax, str..html
mov edx, 0x100358f4
push ecx
cmove edx, eax
mov ecx, 0x80000000
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x100083e8
movzx eax, byte [ebp - 0x27c]
xor ecx, ecx
cmp dword [ebp - 0x4ac], 1
cmove eax, ecx
mov byte [ebp - 0x27c], al
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x4ac]
push eax
push ebx
push ebx
push dword [ebp - 0x48c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100083e8
lea eax, [ebp - 0x27c]
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 - 0x4b4], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - 0x4b8], str.Param
mov word [ebp - 0x4b0], ax
lea eax, [ebp - 0x4bc]
push eax
push str.Got_HTML_browser_ID:
push ecx
push 0x64
mov ecx, 0x170b00f
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
lea eax, [ebp - 0x49c]
mov ecx, 0x80000000
push eax
lea eax, [ebp - 0x488]
push eax
sub esp, 0x14
lea edx, [ebp - 0x27c]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x100083e8
mov edx, edi
lea ecx, [ebp - 0x27c]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x488]
mov edx, edi
push dword [ebp + 8]
push 0x10037294
call fcn.1000892b
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x488]
mov edx, edi
push dword [ebp + 8]
push 0x10037288
call fcn.1000892b
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x27c]
push eax
mov edx, edi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov edx, edi
mov ecx, ebx
call fcn.10009ceb
inc ebx
cmp ebx, 9
jb 0x1000839f
cmp dword [ebp - 0x488], 0
je 0x100083bf
push dword [ebp - 0x488]
call esi
xor ebx, ebx
mov dword [ebp - 0x488], ebx
cmp dword [ebp - 0x48c], ebx
je 0x100083d7
push dword [ebp - 0x48c]
call esi
inc edi
cmp edi, 1
jle 0x1000822c
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x10008413
cmp dword [ebp - 0x488], 0
je 0x100083f9
push dword [ebp - 0x488]
call esi
xor edi, edi
mov dword [ebp - 0x488], edi
cmp dword [ebp - 0x48c], edi
je 0x10008411
push dword [ebp - 0x48c]
call esi
mov ebx, edi
cmp dword [ebp - 0x490], 0
je 0x10008424
push dword [ebp - 0x490]
call esi
cmp dword [ebp - 0x494], 0
mov dword [ebp - 0x490], edi
je 0x1000843b
push dword [ebp - 0x494]
call esi
cmp dword [ebp - 0x498], 0
mov dword [ebp - 0x494], edi
je 0x10008452
push dword [ebp - 0x498]
call esi
cmp dword [ebp - 0x4a4], 0
mov dword [ebp - 0x498], edi
je 0x10008469
push dword [ebp - 0x4a4]
call esi
mov eax, ebx
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 8