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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x8400
call fcn.180048e70
sub rsp, rax
mov qword [rsp + 0x1b8], 0xfffffffffffffffe
mov qword [rsp + 0x8458], rbx
mov rax, qword [0x18006afd8]
xor rax, rsp
mov qword [rsp + 0x83f0], rax
mov r14, r8
mov rbp, rdx
mov qword [rsp + 0xd0], rdx
mov r12, rcx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0x1c8], rdx
mov qword [rsp + 0x1d8], r8
mov rdx, qword [rcx]
xor eax, eax
lea rdi, [0x1800575dc]
mov rsi, rdx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x1800077ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
or r13, 0xffffffffffffffff
test al, al
je 0x1800086e2
lea rcx, [rdx - 0x18]
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0xa0], rax
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], ebx
lea rcx, [0x18006af50]
mov rax, qword [0x18006af50]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
lea rdx, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
test rdx, 0xffffffffffff0000
jne 0x180007852
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.180005550
test rax, rax
je 0x180007872
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.180005780
jmp 0x180007872
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x98]
call fcn.180005a60
nop
mov rax, qword [0x18006f2f8]
test rax, rax
jne 0x1800078a9
mov ecx, 0x150
call fcn.1800379d0
mov qword [rsp + 0xf0], rax
test rax, rax
je 0x18000789f
mov rcx, rax
call fcn.180014110
jmp 0x1800078a2
mov rax, rbx
mov qword [0x18006f2f8], rax
mov r8d, 1
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.180014fb0
nop
lea rcx, [0x18006af50]
mov rax, qword [0x18006af50]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x130], rax
lea rdx, str.DefaultScope
lea rcx, [rsp + 0x178]
call fcn.180005ba0
mov rsi, rax
mov r15, qword [rsp + 0x98]
add r15, 0xffffffffffffffe8
mov qword [rsp + 0xf0], r15
mov rcx, r15
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rsp + 0x160]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x188]
call fcn.18000c210
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x1800079e0
cmp dword [rdi + 0x10], 0
jl 0x1800079ce
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1800079ce
call fcn.180005340
mov rsi, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1800079c0
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x80], rax
jmp 0x1800079e0
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x80]
call fcn.180005a60
nop
mov rdx, qword [rsp + 0x188]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180007a03
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, r15
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x90], rax
xor eax, eax
mov rcx, r13
lea rdi, [0x180056c08]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x180056c08]
lea rcx, [rsp + 0x90]
call fcn.180005400
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x90]
call fcn.180005400
mov rcx, r15
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x70], rax
xor eax, eax
mov rcx, r13
lea rdi, [0x180056c08]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x180056c08]
lea rcx, [rsp + 0x70]
call fcn.180005400
mov rsi, qword [rsp + 0x80]
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180005400
mov edx, ebx
mov rax, qword [rsp + 0x78]
test rax, rax
setne dl
test edx, edx
jne 0x180007ac4
mov ecx, 0x80004005
call fcn.180005a40
int3
mov rcx, rsi
sub rax, rsi
nop word [rax + rax]
movzx edx, word [rcx]
cmp dx, word [rcx + rax]
jne 0x180007ae6
add rcx, 2
test dx, dx
jne 0x180007ad0
mov eax, ebx
jmp 0x180007aeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x1800082b0
mov qword [rsp + 0xa8], rbx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180008124
mov r12, qword [rsp + 0xa8]
mov rbx, r12
mov qword [rsp + 0x60], rbx
xor eax, eax
mov dword [rsp + 0x68], eax
mov word [rsp + 0x1e0], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1e2]
call fcn.180036ea0
mov dword [rsp + 0xb8], 0x104
mov dword [rsp + 0xbc], 0
mov dword [rsp + 0x8c], 0x3fff
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x154]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1b4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x16c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x1e0]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov r11d, dword [rsp + 0x88]
test r11d, r11d
je 0x180008600
xor ebp, ebp
test r11d, r11d
je 0x180007eda
xor r15d, r15d
nop word [rax + rax]
mov dword [rsp + 0x8c], 0x3fff
mov word [rsp + 0x3f0], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0x3f0]
mov edx, ebp
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x180007eb6
mov eax, dword [rsp + 0xc0]
cmp eax, 1
jne 0x180007df5
lea rax, [rsp + 0x140]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x198]
mov qword [rsp + 0xd8], rax
lea rdx, [0x1800575dc]
lea rcx, [rsp + 0x140]
call fcn.180005ba0
mov rbx, rax
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x198]
call fcn.180005ba0
mov rsi, rax
lea rcx, [rdi - 0x18]
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x20], rbx
mov r9, rsi
lea r8, [rsp + 0x1a8]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x120]
call fcn.18000c210
nop
lea rax, [rsp + 0x100]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x120]
add rcx, 0xffffffffffffffe8
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x180]
call fcn.180005ba0
mov rdi, rax
mov rcx, qword [rsp + 0x90]
add rcx, 0xffffffffffffffe8
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0xc8], rax
lea r9, [rsp + 0x100]
mov r8, rdi
lea rdx, [rsp + 0xc8]
mov rcx, 0xffffffff80000001
call fcn.18000c440
nop
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180007de3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0xa8]
jmp 0x180007eb6
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0xa8]
jmp 0x180007eb6
cmp eax, 4
jne 0x180007eb6
lea rax, [rsp + 0x190]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x190]
call fcn.180005ba0
mov rsi, rax
lea rcx, [rdi - 0x18]
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x148], rax
xor r9d, r9d
mov r8, rsi
lea rdx, [rsp + 0x148]
mov rcx, 0xffffffff80000001
call fcn.18000c030
mov ebx, eax
lea rax, [rsp + 0x128]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x128]
call fcn.180005ba0
mov rsi, rax
mov rcx, qword [rsp + 0x90]
add rcx, 0xffffffffffffffe8
call fcn.180005340
add rax, 0x18
mov qword [rsp + 0x138], rax
mov r9d, ebx
mov r8, rsi
lea rdx, [rsp + 0x138]
mov rcx, 0xffffffff80000001
call fcn.18000c130
inc ebp
cmp ebp, dword [rsp + 0x88]
jb 0x180007c30
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0xf0]
test r12, r12
je 0x180007ef5
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r12d, r12d
mov rbx, r12
mov qword [rsp + 0x60], rbx
jmp 0x180007ef8
xor r12d, r12d
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0xe0], r12
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800085dc
mov eax, r12d
test rbx, rbx
je 0x180007f49
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], r12d
test eax, eax
jne 0x1800085ee
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180013a50
test rbx, rbx
je 0x180007f86
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x110], r12
lea rax, [rsp + 0x158]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180007fef
test rbx, rbx
je 0x180007fe2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x110]
mov qword [rsp + 0x60], rbx
mov eax, r12d
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
setne al
test eax, eax
je 0x180008033
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180056e38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbp, qword [rsp + 0xd0]
mov rsi, qword [rbp]
mov eax, r12d
test rsi, rsi
setne al
test eax, eax
je 0x18000807b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rsi, qword [r14]
cmp dword [rsi - 0x10], 0
je 0x1800080ff
mov eax, r12d
test rsi, rsi
setne al
test eax, eax
je 0x1800080c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rsi, qword [r14]
mov eax, r12d
test rsi, rsi
setne al
test eax, eax
je 0x1800080ff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURLFallback
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x180008112
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], r12d
mov r12, qword [rsp + 0xb0]
jmp 0x180008608
mov qword [rsp + 0xe8], rbx
lea rax, [rsp + 0x168]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rbx, qword [rsp + 0x60]
test eax, eax
cmove rbx, qword [rsp + 0xe8]
mov qword [rsp + 0x60], rbx
xor ecx, ecx
mov eax, ecx
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
setne al
test eax, eax
je 0x1800081c9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180056e38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov rsi, qword [rbp]
mov eax, ecx
test rsi, rsi
setne al
test eax, eax
je 0x18000820a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov rsi, qword [r14]
cmp dword [rsi - 0x10], 0
je 0x18000828e
mov eax, ecx
test rsi, rsi
setne al
test eax, eax
je 0x180008250
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov rsi, qword [r14]
mov eax, ecx
test rsi, rsi
setne al
test eax, eax
je 0x18000828e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURLFallback
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1800082a5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x60], rax
jmp 0x1800082a7
xor eax, eax
mov dword [rsp + 0x68], eax
jmp 0x180008608
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0x170]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180008441
mov rbx, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rbx
xor ecx, ecx
mov eax, ecx
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
setne al
test eax, eax
je 0x18000835a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180056e38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov rsi, qword [rbp]
mov eax, ecx
test rsi, rsi
setne al
test eax, eax
je 0x18000839b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov rsi, qword [r14]
cmp dword [rsi - 0x10], 0
je 0x18000841f
mov eax, ecx
test rsi, rsi
setne al
test eax, eax
je 0x1800083e1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconPath
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov rsi, qword [r14]
mov eax, ecx
test rsi, rsi
setne al
test eax, eax
je 0x18000841f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.FaviconURLFallback
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x180008439
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov rbx, rsi
mov qword [rsp + 0x60], rbx
jmp 0x18000843b
xor esi, esi
mov dword [rsp + 0x68], esi
jmp 0x180008448
mov rbx, qword [rsp + 0x60]
xor esi, esi
mov qword [rsp + 0x108], rsi
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180008504
mov eax, esi
test rbx, rbx
je 0x180008492
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x108]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], esi
test eax, eax
jne 0x180008504
mov rsi, qword [rsp + 0x78]
lea rcx, [0x1800575dc]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [0x1800575dc]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1800084f9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x60], rax
jmp 0x1800084fb
xor eax, eax
mov dword [rsp + 0x68], eax
jmp 0x180008608
mov qword [rsp + 0x118], rsi
lea rax, [rsp + 0x150]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180008608
mov eax, esi
test rbx, rbx
je 0x180008569
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x118]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], esi
test eax, eax
jne 0x180008608
mov rsi, qword [rsp + 0x78]
lea rcx, [0x1800575dc]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [0x1800575dc]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1800085d4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x60], rax
jmp 0x1800085d6
xor eax, eax
mov dword [rsp + 0x68], eax
jmp 0x180008608
mov rbp, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xb0]
jmp 0x180008608
mov rbp, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xb0]
jmp 0x180008608
mov r12, qword [rsp + 0xb0]
mov sil, 1
lea rdx, [rdi - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180008627
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000864b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000866f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180008690
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, r13d
lock xadd dword [r15 + 0x10], eax
dec eax
test eax, eax
jg 0x1800086ac
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800086bd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800086e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1800086e5
xor sil, sil
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180008705
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180008725
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x180008743
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, sil
mov rcx, qword [rsp + 0x83f0]
xor rcx, rsp
call fcn.180036e70
mov rbx, qword [rsp + 0x8458]
add rsp, 0x8400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret