Function at 0x18004656c
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x1b0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801563c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x60]
lea rcx, [0x180162940]
call fcn.18002b024
mov rcx, qword [rax]
xor ebp, ebp
mov ebx, ebp
cmp dword [rcx - 8], ebp
sete bl
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
lea r15, [0x18015f758]
cmp rcx, r15
je 0x1800465f3
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, ebp
jg 0x1800465f3
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
cmp ebx, ebp
je 0x180046611
lea rdx, str.CDataIESearchHookEntity::RestoreEntry_____Search_URL_is_empty._Not_restoring...
lea rcx, [0x18015f578]
call fcn.1800098e8
xor eax, eax
jmp 0x18004687f
lea rcx, [0x180162940]
call fcn.180004a24
cmp eax, ebp
jne 0x18004663b
lea rdx, str.CDataIESearchHookEntity::RestoreEntry_____Search_Installed_flag_is_set_to_False._Not_restoring...
lea rcx, [0x18015f578]
call fcn.1800098e8
xor eax, eax
jmp 0x18004687f
lea rcx, [0x180162138]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1801620e0]
lea rcx, [0x180162138]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, ebp
jne 0x180046679
lea rdx, str.CDataIESearchHookEntity::RestoreEntity_____IE_Not_enabled._Not_restoring...
lea rcx, [0x18015f578]
call fcn.1800098e8
xor eax, eax
jmp 0x18004687f
lea rdx, str._t_t_tCDataIESearchHookEntity_:_Restoring_entity...
lea rcx, [0x18015f578]
call fcn.1800098e8
lea rdx, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
lea rcx, [rsp + 0x58]
call fcn.1800041c0
nop
lea r8, [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r14, 0xffffffff80000001
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebp
jne 0x180046862
mov ecx, 8
call fcn.1800d1934
cmp rax, rbp
je 0x1800466dc
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x1800466df
mov rax, rbp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
mov esi, 0x80
mov dword [rsp + 0x40], esi
mov edi, ebp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1800467c3
inc edi
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.1800041c0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.180001910
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, r15
je 0x180046785
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, ebp
jg 0x180046785
call fcn.1800d1434
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xa0]
mov edx, edi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x180046740
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebp
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
sub rcx, rdx
sar rcx, 3
mov rdi, rbp
cmp rcx, rbp
jbe 0x180046834
cmp rdi, rcx
jb 0x180046801
call fcn.1800d15f4
mov rdx, qword [rsp + 0x80]
mov r8, qword [rdx + rdi*8]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
inc esi
inc rdi
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
sub rcx, rdx
sar rcx, 3
mov eax, esi
cmp rax, rcx
jb 0x1800467ef
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9d, 1
lea r8, [0x180121120]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
nop
lea rcx, [rsp + 0x68]
call fcn.1800016ac
nop
lea rcx, [rbx - 0xc]
cmp rcx, r15
je 0x18004687d
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, ebp
jg 0x18004687d
call fcn.1800d1434
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1800d12b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret