Function at 0x140012c40
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor r12d, r12d
mov dword [rbp + 0xb8], r12d
lea rcx, [0x140000000]
lea rax, [rcx + 0x40078]
mov qword [rsp + 0x70], rax
lea rax, [rcx + 0x40080]
mov qword [rbp - 0x80], rax
mov dword [rbp + 0xb8], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x10], rax
mov dword [rbp + 0xc], 0x88
mov qword [rsp + 0x78], r12
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x10]
call fcn.140005b60
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.1400019c0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r12
mov dword [rbp - 8], r12d
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x6c], edx
mov dword [rbp], 0x64
lea rdx, str.UpdateRegistry__
lea rcx, [rbp - 0x80]
call fcn.140001390
mov rcx, rax
call fcn.14000ab10
nop
lea rcx, [rbp + 0x10]
call fcn.140007ba0
lea r13, vtable.std::ios_base.0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140026aec
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r12
mov r9d, 0x20019
lea r8, str.AppID
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x40]
call fcn.14000e2f0
mov ebx, eax
test eax, eax
je 0x140012e0f
mov dword [rdi + 0x27c], eax
mov r14, qword [rsp + 0x40]
jmp 0x14001317e
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
mov r9d, 0x20019
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov r14, qword [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14000e2f0
mov edx, 1
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x140012ea3
call fcn.140001df0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Registry_is_up_to_date
call fcn.140001390
mov rcx, rax
call fcn.14000ab10
nop
lea rcx, [rbp + 0x10]
call fcn.140007ba0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140026aec
mov ebx, r12d
jmp 0x140012f7e
call fcn.140001df0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registry_update_needed
call fcn.140001390
mov rcx, rax
call fcn.14000ab10
nop
lea rcx, [rbp + 0x10]
call fcn.140007ba0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140026aec
mov ecx, 1
call fcn.1400131b0
mov ebx, eax
test eax, eax
js 0x140012f7e
test r14, r14
je 0x140012f09
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov r9d, 0x20006
lea r8, str.AppID
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x40]
call fcn.14000e2f0
test eax, eax
je 0x140012f3e
mov ecx, eax
call fcn.14000ba60
mov r14, qword [rsp + 0x40]
jmp 0x140012f7c
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov r14, qword [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14000c7b0
test eax, eax
je 0x140012f88
mov ecx, eax
call fcn.14000ba60
mov ebx, eax
mov r15, qword [rsp + 0x58]
jmp 0x14001316f
lea rdx, str.LocalService
mov r15, qword [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140001df0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rbx, [rdi + 0x68]
lea rdx, str.LocalService_:
call fcn.140001390
mov rcx, rax
mov rdx, rbx
call fcn.1400071e0
mov rcx, rax
call fcn.14000ab10
nop
lea rcx, [rbp + 0x10]
call fcn.140007ba0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140026aec
mov eax, r12d
test rbx, rbx
setne al
test eax, eax
je 0x140013044
or rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140013010
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.LocalService
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r15
call fcn.1400113c0
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140001df0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registering_Server
call fcn.140001390
mov rcx, rax
call fcn.14000ab10
nop
lea rcx, [rbp + 0x10]
call fcn.140007ba0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140026aec
mov ebx, r12d
mov rsi, qword [0x14005ccf0]
mov rax, qword [0x14005ccf8]
cmp rsi, rax
jae 0x1400130f4
nop dword [rax + rax]
mov rdi, qword [rsi]
test rdi, rdi
je 0x1400130e7
mov ecx, 1
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
test eax, eax
js 0x140013104
call qword [rdi + 0x30]
mov rdx, rax
mov r8d, 1
mov rcx, qword [rdi]
call fcn.14000bd40
mov ebx, eax
test eax, eax
js 0x140013104
mov rax, qword [0x14005ccf8]
add rsi, 8
cmp rsi, rax
jb 0x1400130b0
test ebx, ebx
js 0x14001316f
xor edx, edx
mov rcx, qword [0x14005cce8]
call fcn.14000c250
mov ebx, eax
test ebx, ebx
js 0x14001316f
mov rax, qword [0x14005cc98]
test rax, rax
je 0x14001311f
mov rcx, qword [0x14005d168]
call rax
mov ebx, eax
test ebx, ebx
js 0x14001316f
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140001df0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.UpdateRegistry___done
call fcn.140001390
mov rcx, rax
call fcn.14000ab10
nop
lea rcx, [rbp + 0x10]
call fcn.140007ba0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140026aec
mov ebx, r12d
test r15, r15
je 0x14001317e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x14001318c
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret