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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140087710]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r13, rcx
xor ebx, ebx
mov dword [rbp + 0x80], ebx
lea rax, [0x140057410]
mov qword [rsp + 0x70], rax
lea rax, [0x140057418]
mov qword [rbp - 0x80], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x80], 1
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call fcn.140005f90
nop
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 rax, [rbp - 0x78]
mov qword [rbp + 0x78], rax
lea rcx, [rbp - 0x78]
call fcn.1400060c0
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], rbx
mov dword [rbp - 8], ebx
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.1400059b0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rdi
call fcn.1400129a0
mov rcx, rdi
call fcn.14000b2a0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e4e0
nop
lea r12, vtable.std::ios_base.0
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.14002d15c
nop
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov esi, ebx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
mov qword [rbp + 0x80], rbx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.AppID
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ce53
mov rsi, qword [rbp + 0x80]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], ebx
xor eax, eax
mov qword [rsp + 0x48], rax
mov r14d, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
mov qword [rbp + 0x80], rbx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x14001cb4e
mov r14, qword [rbp + 0x80]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], ebx
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Registry_is_up_to_date
call fcn.1400059b0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rdi
call fcn.1400129a0
mov rcx, rdi
call fcn.14000b2a0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e4e0
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.14002d15c
nop
jmp 0x14001ce3f
call fcn.140006500
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registry_update_needed
call fcn.1400059b0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rdi
call fcn.1400129a0
mov rcx, rdi
call fcn.14000b2a0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e4e0
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.14002d15c
nop
mov ecx, 1
call fcn.14001cea0
test eax, eax
js 0x14001ce3d
test rsi, rsi
je 0x14001cbd1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, rbx
mov dword [rsp + 0x60], ebx
mov qword [rbp + 0x80], rbx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.AppID
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ce36
mov eax, ebx
test rsi, rsi
je 0x14001cc1d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rbp + 0x80]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], ebx
test eax, eax
jne 0x14001ce36
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400151d0
test eax, eax
je 0x14001cc77
mov ecx, eax
call fcn.1400143c0
mov r14, qword [rsp + 0x40]
jmp 0x14001ce3d
lea rdx, str.LocalService
mov r14, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140006500
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea r15, [r13 + 0x68]
lea rdx, str.LocalService_:
call fcn.1400059b0
mov rcx, rax
mov rdx, r15
call fcn.14000d4a0
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rdi
call fcn.1400129a0
mov rcx, rdi
call fcn.14000b2a0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e4e0
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.14002d15c
nop
test r15, r15
je 0x14001cd45
or rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [r15 + rax*2], 0
jne 0x14001cd10
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9d, 1
xor r8d, r8d
lea rdx, str.LocalService
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r14
call fcn.14001ae20
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140006500
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Registering_Server
call fcn.1400059b0
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rdi
call fcn.1400129a0
mov rcx, rdi
call fcn.14000b2a0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e4e0
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.14002d15c
nop
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r13
call fcn.140019a80
test eax, eax
js 0x14001ce41
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.UpdateRegistry___done
call fcn.1400059b0
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rdi
call fcn.1400129a0
mov rcx, rdi
call fcn.14000b2a0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e4e0
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.14002d15c
nop
jmp 0x14001ce43
mov ecx, eax
call fcn.1400143c0
mov ebx, eax
mov eax, ebx
mov ebx, eax
test r14, r14
je 0x14001ce5c
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001ce5c
mov dword [r13 + 0x27c], eax
mov ebx, eax
test rsi, rsi
je 0x14001ce6a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.14002ad40
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret