Function at 0x140007e80
Capabilities:
Query environment variable
Set registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2470]
mov eax, 0x2570
call fcn.14001d860
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x25a8], rbx
mov qword [rsp + 0x25b0], rsi
mov qword [rsp + 0x25b8], rdi
mov rax, qword [0x1400623d0]
xor rax, rsp
mov qword [rbp + 0x2460], rax
mov rbx, rcx
xor edi, edi
mov dword [rbp - 0x70], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp - 0x6c]
call fcn.14001a650
mov dword [rbp + 0x1390], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1394]
call fcn.14001a650
mov dword [rbp + 0xb90], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0xb94]
call fcn.14001a650
mov dword [rbp + 0x590], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x594]
call fcn.14001a650
mov dword [rbp + 0x1190], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1194]
call fcn.14001a650
mov dword [rbp + 0xd90], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0xd94]
call fcn.14001a650
mov dword [rbp + 0xf90], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0xf94]
call fcn.14001a650
mov dword [rbp + 0x790], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x794]
call fcn.14001a650
mov dword [rbp + 0x390], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x394]
call fcn.14001a650
mov dword [rbp + 0x990], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x994]
call fcn.14001a650
mov rcx, rbx
call fcn.140005bd0
test eax, eax
je 0x140009470
mov dword [rsp + 0x30], edi
lea rsi, [0x140065980]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0xb90]
lea r8, [0x1400476d0]
lea rdx, str.DisplayName
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp - 0x70]
lea r8, [0x1400476d0]
lea rdx, [0x14004b120]
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x1390]
lea r8, [0x1400476d0]
lea rdx, str.Default
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x990]
lea r8, [0x1400476d0]
lea rdx, str.SortIndex
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x590]
lea r8, [0x1400476d0]
lea rdx, str.ShowSearchSuggestions
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x1190]
lea r8, [0x1400476d0]
lea rdx, str.SuggestionsURL_JSON
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0xd90]
lea r8, [0x1400476d0]
lea rdx, str.SuggestionsURL
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0xf90]
lea r8, [0x1400476d0]
lea rdx, str.FaviconURL
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x790]
lea r8, [0x1400476d0]
lea rdx, str.FaviconPath
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x390]
lea r8, [0x1400476d0]
lea rdx, str.PreviewURL
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x190]
lea r8, [0x1400476d0]
lea rdx, str.UUID
mov rcx, rbx
call fcn.14000e830
lea rcx, [rbp + 0x190]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x1400081f0
test rax, rax
jne 0x140008240
lea rcx, [rbp - 0x80]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x190]
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140008230
lea rdx, [rbp - 0x70]
lea rcx, str._nCreating_IESearch__s_in_System_Regsitry
call fcn.14000b8c0
lea rcx, [rbp - 0x70]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x140008257
test rax, rax
jne 0x140008276
lea rcx, str._nIESearchUrl_not_specified
call fcn.14001c2d0
jmp 0x140009470
mov r8d, 0x104
lea rdx, [rbp + 0x2190]
lea rcx, str.DEFAULT_USER
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rbp + 0x2190]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1400082a0
mov rax, qword [str.NTUSER.DAT]
mov qword [rcx], rax
mov rax, qword [0x14004b1e0]
mov qword [rcx + 8], rax
mov rax, qword [0x14004b1e8]
mov qword [rcx + 0x10], rax
lea rcx, [rbp - 0x70]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x1400082d0
test eax, eax
je 0x14000945a
call fcn.14000df00
cmp eax, 1
jne 0x140009470
lea r8, [rbp + 0x2190]
lea rdx, str.DefaultUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x140009444
mov dword [rbp + 0x1590], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1594]
call fcn.14001a650
mov dword [rbp + 0x1b90], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1b94]
call fcn.14001a650
mov dword [rbp + 0x1790], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1794]
call fcn.14001a650
mov dword [rbp + 0x1990], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1994]
call fcn.14001a650
mov dword [rbp + 0x1f90], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1f94]
call fcn.14001a650
mov dword [rbp + 0x1d90], edi
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x1d94]
call fcn.14001a650
mov rcx, rdi
lea rsi, [0x140000000]
nop dword [rax + rax]
movzx eax, word [rcx + rsi + 0x4bb00]
mov word [rbp + rcx + 0x1590], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400083c0
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x1590]
lea rdx, [0x140047fb8]
lea rcx, [rbp + 0x1990]
call fcn.14001c9d4
mov rcx, rdi
nop dword [rax]
movzx eax, word [rcx + rsi + 0x4bb70]
mov word [rbp + rcx + 0x1790], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140008400
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x1790]
lea rdx, [0x140047fb8]
lea rcx, [rbp + 0x1d90]
call fcn.14001c9d4
mov rcx, rdi
nop dword [rax]
movzx eax, word [rcx + rsi + 0x4bbf0]
mov word [rbp + rcx + 0x1b90], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140008440
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x1790]
lea rdx, [0x140047fb8]
lea rcx, [rbp + 0x1f90]
call fcn.14001c9d4
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1590]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r12, rdi
test eax, eax
cmove r12, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1990]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r14, rdi
test eax, eax
cmove r14, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1b90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, rdi
test eax, eax
cmove rcx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1f90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r15, rdi
test eax, eax
cmove r15, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1790]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r13, rdi
test eax, eax
cmove r13, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rsi, rdi
test eax, eax
cmove rsi, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1590]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, rdi
test eax, eax
cmove rcx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1990]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove rdi, qword [rsp + 0x50]
lea rcx, [rbp + 0xb90]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008703
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x790]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008750
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x790]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xf90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400087a0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURL
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x390]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400087f0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.PreviewUrl
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x590]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008840
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x590]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ShowSearchSuggestions
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x990]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008890
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x990]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SortIndex
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xd90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400088e0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xd90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x1190]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008930
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL_JSON
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp - 0x70]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008976
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004b120]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xb90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400089c0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x790]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008a10
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x790]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xf90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008a60
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURL
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x390]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008ab0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.PreviewUrl
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x590]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008b00
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x590]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ShowSearchSuggestions
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x990]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008b50
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x990]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SortIndex
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xd90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008ba0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xd90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x1190]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008bf0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL_JSON
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp - 0x70]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008c36
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004b120]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xb90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008c80
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x790]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008cd0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x790]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xf90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008d20
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURL
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x390]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008d70
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.PreviewUrl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x590]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008dc0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x590]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ShowSearchSuggestions
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x990]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008e10
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x990]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SortIndex
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xd90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008e60
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xd90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x1190]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008eb0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL_JSON
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp - 0x70]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008ef6
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004b120]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xb90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008f40
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x790]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008f90
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x790]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xf90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008fe0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURL
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x390]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009030
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.PreviewUrl
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x590]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009080
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x590]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ShowSearchSuggestions
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x990]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400090d0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x990]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SortIndex
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0xd90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009120
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xd90]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x1190]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009170
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SuggestionsURL_JSON
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp - 0x70]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400091b6
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004b120]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a9
lea rcx, [rbp + 0x1390]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009200
test rax, rax
je 0x1400093c3
lea rdx, [0x1400481d4]
lea rcx, [rbp + 0x1390]
call fcn.14001b25c
test eax, eax
je 0x140009273
lea rdx, [0x14004bcec]
lea rcx, [rbp + 0x1390]
call fcn.14001b25c
test eax, eax
je 0x140009273
lea rdx, [0x14004bcf0]
lea rcx, [rbp + 0x1390]
call fcn.14001b25c
test eax, eax
je 0x140009273
lea rdx, [0x14004bcf8]
lea rcx, [rbp + 0x1390]
call fcn.14001b25c
test eax, eax
jne 0x1400093c3
lea rcx, [rbp + 0x190]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009280
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DefaultScope
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a0
lea rcx, [rbp + 0x190]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400092d0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DefaultScope
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a0
lea rcx, [rbp + 0x190]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009320
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DefaultScope
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400093a0
lea rax, [rbp + 0x190]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140009364
inc ebx
lea eax, [rbx + rbx]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DefaultScope
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400093c3
lea rcx, str._nError_Setting_IE_Search_Entry__s_as_Default
jmp 0x1400093b0
lea rcx, str._nError_Creating_IE_Search_Entry_in_system___s
lea rdx, [rbp - 0x70]
call fcn.14000b8c0
mov dword [0x1400667b8], 1
test rdi, rdi
je 0x1400093d2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400093e6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x1400093f5
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r13, r13
je 0x140009404
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r15, r15
je 0x140009413
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140009427
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x140009436
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r12, r12
je 0x140009444
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.DefaultUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
jmp 0x140009470
lea rcx, str._nError_blank_IE_Search_URL_cannot_be_set_in_System_Registry
call fcn.14000b8c0
mov dword [0x1400667b8], 1
mov rcx, qword [rbp + 0x2460]
xor rcx, rsp
call fcn.14001a120
lea r11, [rsp + 0x2570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret