Function at 0x14001b7d0
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, [0x140002000]
lea rax, [rcx + 0x4b9b0]
mov qword [rsp + 0x70], rax
lea rax, [rcx + 0x4b9b8]
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.14000c410
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.140007a80
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.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp + 0x10]
call fcn.14000e990
lea r13, vtable.std::ios_base.0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140044fb8
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.140016990
mov ebx, eax
test eax, eax
je 0x14001b99f
mov dword [rdi + 0x27c], eax
mov r14, qword [rsp + 0x40]
jmp 0x14001bd0e
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.140016990
mov edx, 1
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x14001ba33
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Registry_is_up_to_date
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp + 0x10]
call fcn.14000e990
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140044fb8
mov ebx, r12d
jmp 0x14001bb0e
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registry_update_needed
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp + 0x10]
call fcn.14000e990
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140044fb8
mov ecx, 1
call fcn.14001bd40
mov ebx, eax
test eax, eax
js 0x14001bb0e
test r14, r14
je 0x14001ba99
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.140016990
test eax, eax
je 0x14001bace
mov ecx, eax
call fcn.140014070
mov r14, qword [rsp + 0x40]
jmp 0x14001bb0c
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.140014dc0
test eax, eax
je 0x14001bb18
mov ecx, eax
call fcn.140014070
mov ebx, eax
mov r15, qword [rsp + 0x58]
jmp 0x14001bcff
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.140007eb0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rbx, [rdi + 0x68]
lea rdx, str.LocalService_:
call fcn.140007450
mov rcx, rax
mov rdx, rbx
call fcn.14000dae0
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp + 0x10]
call fcn.14000e990
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140044fb8
mov eax, r12d
test rbx, rbx
setne al
test eax, eax
je 0x14001bbd4
or rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14001bba0
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.140019f50
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registering_Server
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp + 0x10]
call fcn.14000e990
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140044fb8
mov ebx, r12d
mov rsi, qword [0x14006c120]
mov rax, qword [0x14006c128]
cmp rsi, rax
jae 0x14001bc84
nop dword [rax + rax]
mov rdi, qword [rsi]
test rdi, rdi
je 0x14001bc77
mov ecx, 1
call qword [rdi + 8]
mov ebx, eax
test eax, eax
js 0x14001bc94
call qword [rdi + 0x30]
mov rdx, rax
mov r8d, 1
mov rcx, qword [rdi]
call fcn.140014350
mov ebx, eax
test eax, eax
js 0x14001bc94
mov rax, qword [0x14006c128]
add rsi, 8
cmp rsi, rax
jb 0x14001bc40
test ebx, ebx
js 0x14001bcff
xor edx, edx
mov rcx, qword [0x14006c118]
call fcn.140014860
mov ebx, eax
test ebx, ebx
js 0x14001bcff
mov rax, qword [0x14006c0f8]
test rax, rax
je 0x14001bcaf
mov rcx, qword [0x14006d988]
call rax
mov ebx, eax
test ebx, ebx
js 0x14001bcff
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.UpdateRegistry___done
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp + 0x10]
call fcn.14000e990
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140044fb8
mov ebx, r12d
test r15, r15
je 0x14001bd0e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x14001bd1c
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