Function at 0x140014640
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 + 0x62260]
mov qword [rsp + 0x70], rax
lea rax, [rcx + 0x62268]
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.140005d60
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.140001a90
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.140001460
mov rcx, rax
call fcn.14000ca60
nop
lea rcx, [rbp + 0x10]
call fcn.140008370
lea r13, vtable.std::ios_base.0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140027088
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.14000ffc0
mov ebx, eax
test eax, eax
je 0x14001480f
mov dword [rdi + 0x27c], eax
mov r14, qword [rsp + 0x40]
jmp 0x140014b7e
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.14000ffc0
mov edx, 1
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x1400148a3
call fcn.140001ed0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Registry_is_up_to_date
call fcn.140001460
mov rcx, rax
call fcn.14000ca60
nop
lea rcx, [rbp + 0x10]
call fcn.140008370
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140027088
mov ebx, r12d
jmp 0x14001497e
call fcn.140001ed0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registry_update_needed
call fcn.140001460
mov rcx, rax
call fcn.14000ca60
nop
lea rcx, [rbp + 0x10]
call fcn.140008370
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140027088
mov ecx, 1
call fcn.140014bb0
mov ebx, eax
test eax, eax
js 0x14001497e
test r14, r14
je 0x140014909
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.14000ffc0
test eax, eax
je 0x14001493e
mov ecx, eax
call fcn.14000d990
mov r14, qword [rsp + 0x40]
jmp 0x14001497c
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.14000e6e0
test eax, eax
je 0x140014988
mov ecx, eax
call fcn.14000d990
mov ebx, eax
mov r15, qword [rsp + 0x58]
jmp 0x140014b6f
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.140001ed0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rbx, [rdi + 0x68]
lea rdx, str.LocalService_:
call fcn.140001460
mov rcx, rax
mov rdx, rbx
call fcn.1400074d0
mov rcx, rax
call fcn.14000ca60
nop
lea rcx, [rbp + 0x10]
call fcn.140008370
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140027088
mov eax, r12d
test rbx, rbx
setne al
test eax, eax
je 0x140014a44
or rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140014a10
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.140012dc0
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140001ed0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registering_Server
call fcn.140001460
mov rcx, rax
call fcn.14000ca60
nop
lea rcx, [rbp + 0x10]
call fcn.140008370
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140027088
mov ebx, r12d
mov rsi, qword [0x1400881e0]
mov rax, qword [0x1400881e8]
cmp rsi, rax
jae 0x140014af4
nop dword [rax + rax]
mov rdi, qword [rsi]
test rdi, rdi
je 0x140014ae7
mov ecx, 1
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
test eax, eax
js 0x140014b04
call qword [rdi + 0x30]
mov rdx, rax
mov r8d, 1
mov rcx, qword [rdi]
call fcn.14000dc70
mov ebx, eax
test eax, eax
js 0x140014b04
mov rax, qword [0x1400881e8]
add rsi, 8
cmp rsi, rax
jb 0x140014ab0
test ebx, ebx
js 0x140014b6f
xor edx, edx
mov rcx, qword [0x1400881d8]
call fcn.14000e180
mov ebx, eax
test ebx, ebx
js 0x140014b6f
mov rax, qword [0x1400881a0]
test rax, rax
je 0x140014b1f
mov rcx, qword [0x140088658]
call rax
mov ebx, eax
test ebx, ebx
js 0x140014b6f
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140001ed0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.UpdateRegistry___done
call fcn.140001460
mov rcx, rax
call fcn.14000ca60
nop
lea rcx, [rbp + 0x10]
call fcn.140008370
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140027088
mov ebx, r12d
test r15, r15
je 0x140014b7e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x140014b8c
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