Function at 0x140019660
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 + 0x4b9f0]
mov qword [rsp + 0x70], rax
lea rax, [rcx + 0x4b9f8]
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.14000a300
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.1400059a0
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.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 0x10]
call fcn.14000c860
lea r13, vtable.std::ios_base.0
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140042f98
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.140014820
mov ebx, eax
test eax, eax
je 0x14001982f
mov dword [rdi + 0x27c], eax
mov r14, qword [rsp + 0x40]
jmp 0x140019b9e
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.140014820
mov edx, 1
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x1400198c3
call fcn.140005dd0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Registry_is_up_to_date
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 0x10]
call fcn.14000c860
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140042f98
mov ebx, r12d
jmp 0x14001999e
call fcn.140005dd0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registry_update_needed
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 0x10]
call fcn.14000c860
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140042f98
mov ecx, 1
call fcn.140019bd0
mov ebx, eax
test eax, eax
js 0x14001999e
test r14, r14
je 0x140019929
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.140014820
test eax, eax
je 0x14001995e
mov ecx, eax
call fcn.140011f00
mov r14, qword [rsp + 0x40]
jmp 0x14001999c
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.140012c50
test eax, eax
je 0x1400199a8
mov ecx, eax
call fcn.140011f00
mov ebx, eax
mov r15, qword [rsp + 0x58]
jmp 0x140019b8f
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.140005dd0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rbx, [rdi + 0x68]
lea rdx, str.LocalService_:
call fcn.140005370
mov rcx, rax
mov rdx, rbx
call fcn.14000b9b0
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 0x10]
call fcn.14000c860
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140042f98
mov eax, r12d
test rbx, rbx
setne al
test eax, eax
je 0x140019a64
or rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140019a30
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.140017de0
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140005dd0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registering_Server
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 0x10]
call fcn.14000c860
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140042f98
mov ebx, r12d
mov rsi, qword [0x14006a120]
mov rax, qword [0x14006a128]
cmp rsi, rax
jae 0x140019b14
nop dword [rax + rax]
mov rdi, qword [rsi]
test rdi, rdi
je 0x140019b07
mov ecx, 1
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
test eax, eax
js 0x140019b24
call qword [rdi + 0x30]
mov rdx, rax
mov r8d, 1
mov rcx, qword [rdi]
call fcn.1400121e0
mov ebx, eax
test eax, eax
js 0x140019b24
mov rax, qword [0x14006a128]
add rsi, 8
cmp rsi, rax
jb 0x140019ad0
test ebx, ebx
js 0x140019b8f
xor edx, edx
mov rcx, qword [0x14006a118]
call fcn.1400126f0
mov ebx, eax
test ebx, ebx
js 0x140019b8f
mov rax, qword [0x14006a0f8]
test rax, rax
je 0x140019b3f
mov rcx, qword [0x14006b988]
call rax
mov ebx, eax
test ebx, ebx
js 0x140019b8f
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140005dd0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.UpdateRegistry___done
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 0x10]
call fcn.14000c860
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.140042f98
mov ebx, r12d
test r15, r15
je 0x140019b9e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x140019bac
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