Function at 0x1402387f8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x360
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r13, rdx
mov rsi, rcx
mov rax, qword [rcx]
xor r14d, r14d
cmp dword [rax - 0x10], r14d
je 0x140238cec
mov rax, qword [rdx]
cmp dword [rax - 0x10], r14d
je 0x140238cec
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rax, str.CleanIE
mov qword [rsp + 0x20], rax
lea r9, [0x14034ee68]
lea r8, str.SoftwarePiriform_
lea rdx, [0x14035eb58]
lea rcx, [rsp + 0x38]
call fcn.14000d9c8
mov r12d, 0x2001f
lea rcx, [rsp + 0x50]
call fcn.14023dc9c
mov eax, 0x2011f
cmp dword [rsp + 0x50], r14d
cmovne r12d, eax
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], r14d
mov qword [rbp - 0x68], r14
or eax, 0xffffffff
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], eax
mov dword [rbp - 0x58], r14d
lea rax, vtable.Piriform::Registry::CEnumRegKey.0
mov qword [rbp - 0x80], rax
lea rax, vtable.Piriform::Registry::CEnumRegKey.1.0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x28], 1
mov qword [rbp - 0x20], r14
mov r9d, r12d
mov r8, qword [rsp + 0x38]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.1400114d4
or r15d, 0xffffffff
test eax, eax
jne 0x140238cc1
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x80]
call fcn.140211a18
mov rdi, rax
mov ebx, r14d
mov r8, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, r8
sar rcx, 3
test rcx, rcx
je 0x140238c9f
mov rdx, qword [rsi]
mov eax, r14d
test rdx, rdx
setne al
test eax, eax
je 0x140238c94
mov rcx, qword [r8 + rbx*8]
call fcn.1400bedf4
test eax, eax
je 0x14023899a
inc rbx
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r8
sar rax, 3
cmp rbx, rax
jb 0x14023895e
jmp 0x140238c9f
mov rax, qword [rdi]
lea r9, [0x140330de8]
mov r8, qword [rax + rbx*8]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.140224ba8
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1402389e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x58]
call fcn.140047624
nop
mov rax, qword [rsp + 0x40]
cmp dword [rax - 0x10], r14d
je 0x140238a0b
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.1402e4680
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140038224
cmp qword [rsp + 0x68], r14
jne 0x140238b9c
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x30]
mov r8, qword [rsi]
mov rdx, qword [rsp + 0x38]
mov rdi, 0xffffffff80000002
mov rcx, rdi
call fcn.140224018
cmp dword [rsp + 0x30], r14d
jne 0x140238c6e
call fcn.140243a84
cmp dword [rax], 0x7d0
ja 0x140238b51
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x1c0], rax
mov ebx, 3
mov r8d, ebx
mov rdx, qword [r13]
lea rcx, [rbp + 0x1c0]
call fcn.140008c4c
nop
lea rax, [rbp + 0x138]
mov qword [rbp + 0x130], rax
mov r8d, ebx
mov rdx, qword [rsi]
lea rcx, [rbp + 0x130]
call fcn.140008c4c
nop
call fcn.140243bb4
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14000b014
nop
lea rcx, [rax + 8]
lea rdx, str._INFO__
call fcn.14000b410
mov rcx, rax
lea rdx, str.Rule
call fcn.14000b410
mov rcx, rax
mov rdx, qword [rbp + 0x130]
call fcn.14000b410
mov rcx, rax
lea rdx, str._for_username
call fcn.14000b410
mov rcx, rax
mov rdx, qword [rbp + 0x1c0]
call fcn.14000b410
mov rcx, rax
lea rdx, str._has_been_removed_from_scheduled_cleaning
call fcn.14000b410
nop
lea rcx, [rbp + 0x30]
call fcn.14000aec4
nop
lea rax, [rbp + 0x138]
mov rcx, qword [rbp + 0x130]
cmp rcx, rax
je 0x140238b39
call fcn.1400be914
nop
lea rax, [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c0]
cmp rcx, rax
je 0x140238b51
call fcn.1400be914
lea rcx, [rbp - 0x48]
call fcn.14000bff0
lea rcx, [rbp - 0x80]
call fcn.140211a18
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
jne 0x140238c6e
mov r9d, r12d
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140224748
cmp dword [rsp + 0x30], r14d
jne 0x140238c6e
xor ecx, ecx
call fcn.140237a88
jmp 0x140238c6e
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [0x1403524b0]
lea rcx, [rbp - 0x10]
call fcn.14000cb18
lea r11, [rsp + 0x48]
mov qword [rbp - 8], r11
mov byte [rbp], 1
mov rdx, qword [rsp + 0x60]
lea r9, [rbp - 0x10]
mov r8, rdx
mov rdx, qword [rdx]
lea rcx, [rbp + 0x18]
call fcn.14002a260
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x140238c0b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsi]
mov rbx, qword [rsp + 0x48]
mov eax, r14d
test rbx, rbx
setne al
test eax, eax
je 0x140238c51
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x48]
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x140238c6e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8, qword [rsp + 0x60]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.140004130
nop
mov rcx, qword [rsp + 0x60]
call fcn.1400be0f4
jmp 0x140238c9f
mov ecx, 0x80004005
call fcn.14000cbb8
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x140238cc1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x80]
call fcn.140211a98
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x140238cec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400be110
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret