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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x660]
sub rsp, 0x760
mov rax, qword [0x140018018]
xor rax, rsp
mov qword [rbp + 0x650], rax
movaps xmm0, xmmword [str._ProgramFiles_Internet_Explorer_]
mov r14, rdx
movaps xmm1, xmmword [0x140014610]
mov rsi, rcx
mov eax, dword [0x140014640]
lea rcx, [rbp + 0x64]
movaps xmmword [rbp + 0x20], xmm0
xor edx, edx
movaps xmm0, xmmword [0x140014620]
mov r8d, 0x1c4
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x140014630]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
mov dword [rbp + 0x60], eax
call sub.msvcrt.dll_memset
mov r12d, 0x208
lea rcx, [rbp + 0x440]
mov r8d, r12d
xor edx, edx
call sub.msvcrt.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov r15d, 0x104
lea r8, [rbp + 0x440]
mov r9d, r15d
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
je 0x14000af3b
lea r8, [rbp + 0x440]
mov edx, r15d
lea rcx, [rbp + 0x20]
call fcn.1400025a0
mov ebx, eax
test eax, eax
js 0x14000af51
mov r8d, r12d
lea rcx, [rbp + 0x230]
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [rbp + 0x230]
mov edx, r15d
lea rcx, [rbp + 0x20]
call fcn.14000b6e8
mov ebx, eax
test eax, eax
js 0x14000af51
lea rax, [rsp + 0x50]
mov r15d, 0xf003f
mov qword [rsp + 0x40], rax
lea r12, str.REG_SZ
lea rax, [rsp + 0x68]
mov r9, r12
mov qword [rsp + 0x38], rax
lea rdx, str.CLSID
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000af4d
lea ebx, [rdi + 0x27]
mov rcx, rsi
mov r8d, ebx
lea rdx, [rbp - 0x30]
call qword [sym.imp.ole32.dll_StringFromGUID2]
nop dword [rax + rax]
mov r8d, ebx
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.ole32.dll_StringFromGUID2]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x30]
lea rax, [rsp + 0x58]
mov r9, r12
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000ae63
mov rcx, qword [rsp + 0x58]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x28], 0x4e
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppID
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000ae52
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea r9, str.REG_EXPAND_SZ
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rdx, str.LocalServer32
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000ae52
mov rcx, qword [rsp + 0x60]
lea rdx, str.ThreadingModel
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
or rsi, 0xffffffffffffffff
lea rcx, [rbp + 0x230]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x14000ada2
mov rcx, qword [rsp + 0x60]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [0x140013cd0]
lea rax, [rbp + 0x230]
mov r14d, 2
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000ae2d
lea rax, [rbp + 0x20]
inc rsi
cmp word [rax + rsi*2], di
jne 0x14000adf0
mov rcx, qword [rsp + 0x60]
lea eax, [rsi*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.ServerExecutable
lea rax, [rbp + 0x20]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x14000ae52
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp + 0x20]
call fcn.140002130
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x14000af4f
lea rax, [rsp + 0x50]
mov r9, r12
mov qword [rsp + 0x40], rax
lea rdx, str.AppID
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000af4d
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x80]
lea rax, [rsp + 0x58]
mov r9, r12
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000af28
mov rcx, qword [rsp + 0x58]
call fcn.140002040
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14000af49
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test ebx, ebx
je 0x14000af5e
test ebx, ebx
jg 0x14000af55
mov edi, ebx
jmp 0x14000af5e
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.140001580
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret