Function at 0x1402375d8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r12, rdx
mov rsi, rcx
mov rax, qword [rcx]
xor r13d, r13d
cmp dword [rax - 0x10], r13d
je 0x140237a4c
mov rax, qword [rdx]
cmp dword [rax - 0x10], r13d
je 0x140237a4c
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rax, str.CleanIE
mov qword [rsp + 0x20], rax
lea r9, [0x14034ee68]
lea r8, str.SoftwarePiriform_
lea rdx, [0x14035eb58]
lea rcx, [rsp + 0x40]
call fcn.14000d9c8
mov ebx, 0x2001f
lea rcx, [rsp + 0x48]
call fcn.14023dc9c
mov eax, 0x2011f
cmp dword [rsp + 0x48], r13d
cmovne ebx, eax
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], r13d
mov qword [rbp - 0x68], r13
or eax, 0xffffffff
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], eax
mov dword [rbp - 0x58], r13d
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], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x28], 1
mov qword [rbp - 0x20], r13
mov r9d, ebx
mov r8, qword [rsp + 0x40]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.140010dd0
or r14d, 0xffffffff
test eax, eax
jne 0x140237a21
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x80]
call fcn.140211a18
mov rdi, rax
mov ebx, r13d
mov r8, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, r8
sar rcx, 3
test rcx, rcx
je 0x1402377cb
mov rdx, qword [rsi]
mov eax, r13d
test rdx, rdx
setne al
test eax, eax
je 0x1402377c0
mov rcx, qword [r8 + rbx*8]
call fcn.1400bedf4
test eax, eax
je 0x140237772
inc rbx
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r8
sar rax, 3
cmp rbx, rax
jb 0x14023773d
jmp 0x1402377cb
mov rax, qword [rdi]
lea r9, [0x140330de8]
mov r8, qword [rax + rbx*8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140224ba8
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402377cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1402377cb
mov ecx, 0x80004005
call fcn.14000cbb8
int3
lea rcx, [rsp + 0x58]
call fcn.140047624
nop
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], r13d
je 0x1402377f0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1402e4680
mov r8, r12
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14003a2d0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x1403524b0]
lea rcx, [rbp - 0x10]
call fcn.14000cb18
lea r11, [rsp + 0x30]
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, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140237870
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsi]
mov rbx, qword [rsp + 0x30]
mov eax, r13d
test rbx, rbx
setne al
test eax, eax
je 0x1402378b6
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 + 0x30]
call fcn.140243a84
cmp dword [rax], 0x7d0
ja 0x1402379bd
lea rax, [rbp + 0x148]
mov qword [rbp + 0x140], rax
mov ebx, 3
mov r8d, ebx
mov rdx, qword [r12]
lea rcx, [rbp + 0x140]
call fcn.140008c4c
nop
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x1d0], rax
mov r8d, ebx
mov rdx, qword [rsi]
lea rcx, [rbp + 0x1d0]
call fcn.140008c4c
nop
call fcn.140243bb4
lea rdx, [rbp + 0x40]
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 + 0x1d0]
call fcn.14000b410
mov rcx, rax
lea rdx, str._for_username
call fcn.14000b410
mov rcx, rax
mov rdx, qword [rbp + 0x140]
call fcn.14000b410
mov rcx, rax
lea rdx, str._has_been_scheduled_for_cleaning
call fcn.14000b410
nop
lea rcx, [rbp + 0x40]
call fcn.14000aec4
nop
lea rax, [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1d0]
cmp rcx, rax
je 0x1402379a0
call fcn.1400be914
nop
lea rax, [rbp + 0x148]
mov rcx, qword [rbp + 0x140]
cmp rcx, rax
je 0x1402379b8
call fcn.1400be914
mov rbx, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1402379da
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 + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140004130
nop
mov rcx, qword [rsp + 0x60]
call fcn.1400be0f4
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140237a21
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 + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140237a4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret