Function at 0x100012ae4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xe0
xor ebx, ebx
mov rbp, rcx
mov rsi, rdx
mov qword [rsp + 0x70], rbx
lea rcx, [rax - 0x40]
lea r8d, [rbx + 0x20]
xor edx, edx
mov dword [rax - 0x7c], ebx
mov dword [rax - 0x80], ebx
mov qword [rax - 0x68], rbx
mov dword [rax - 0x5c], ebx
mov dword [rax - 0x60], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x68], ebx
mov qword [rax - 0x78], rbx
mov dword [rax - 0x6c], ebx
mov dword [rax - 0x70], ebx
mov dword [rax + 0x18], ebx
mov qword [rax - 0x48], rbx
call sub.msvcrt.dll_memset
call fcn.100018828
cmp eax, ebx
je 0x100012b88
lea edi, [rbx + 1]
lea rcx, [rsp + 0x80]
mov edx, edi
call fcn.1000170b4
lea rcx, [rsp + 0x60]
mov edx, edi
call fcn.1000170b4
lea rcx, [rsp + 0x90]
mov edx, edi
call fcn.1000170b4
lea rcx, [rsp + 0x70]
mov edx, edi
call fcn.1000170b4
xor eax, eax
jmp 0x100012ef0
call fcn.100017654
mov edi, 1
cmp eax, ebx
je 0x100012eb8
lea r8, [0x100000000]
lea rcx, [rsp + 0x70]
mov edx, 0x1d5d
call fcn.100016adc
cmp eax, ebx
jge 0x100012bf0
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012eb1
test byte [rcx + 0x1c], dil
je 0x100012eb1
lea edx, [rdi + 0x15]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001900]
mov r9d, eax
call fcn.1000048bc
jmp 0x100012eb1
lea r8, [0x100000000]
lea rcx, [rsp + 0x90]
mov edx, 0x1d5e
call fcn.100016adc
cmp eax, ebx
jge 0x100012c35
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012eb1
test byte [rcx + 0x1c], dil
je 0x100012eb1
mov edx, 0x17
jmp 0x100012bd8
lea r8, [0x100000000]
lea rcx, [rsp + 0x60]
mov edx, 0x1d5f
call fcn.100016adc
cmp eax, ebx
jge 0x100012c7a
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012eb1
test byte [rcx + 0x1c], dil
je 0x100012eb1
mov edx, 0x18
jmp 0x100012bd8
lea r8, [0x100000000]
lea rcx, [rsp + 0x80]
mov edx, 0x1d60
call fcn.100016adc
cmp eax, ebx
jge 0x100012cc2
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012eb1
test byte [rcx + 0x1c], dil
je 0x100012eb1
mov edx, 0x19
jmp 0x100012bd8
mov rax, qword [rsp + 0x70]
mov rdx, qword [rbp + 8]
lea r9, [rsp + 0x110]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x90]
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x60]
mov rcx, rsi
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc8], rax
call sub.wer.dll_WerpPromtUser
cmp eax, ebx
jge 0x100012d59
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012d4d
test byte [rcx + 0x1c], dil
je 0x100012d4d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001900]
mov edx, 0x1a
mov r9d, eax
call fcn.1000048bc
mov dword [rsp + 0x110], ebx
jmp 0x100012eb1
xor eax, eax
mov qword [rsp + 0x40], rbx
mov rsi, 0xffffffff80000002
mov qword [rsp + 0xa2], rax
mov dword [rsp + 0xaa], eax
mov word [rsp + 0xae], ax
mov dword [rsp + 0x11c], eax
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rdx, [0x100003020]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], 0x20106
mov qword [rsp + 0x58], rbx
mov word [rsp + 0xa0], bx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x118], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x100012e01
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012e9c
test byte [rcx + 0x1c], dil
je 0x100012e9c
mov edx, 0xf2
jmp 0x100012e8c
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [rsp + 0x118]
mov r11d, dword [rsp + 0x11c]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
lea rdx, [0x100002aa8]
mov r9d, 0xb
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x54], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x100012e9c
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100012e9c
test byte [rcx + 0x1c], dil
je 0x100012e9c
mov edx, 0xf3
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001888]
call fcn.100004898
mov rcx, qword [rsp + 0x58]
cmp rcx, rbx
je 0x100012eb1
cmp rcx, rsi
je 0x100012eb1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x110]
lea rcx, [rsp + 0x80]
mov edx, edi
call fcn.1000170b4
lea rcx, [rsp + 0x60]
mov edx, edi
call fcn.1000170b4
lea rcx, [rsp + 0x90]
mov edx, edi
call fcn.1000170b4
lea rcx, [rsp + 0x70]
mov edx, edi
call fcn.1000170b4
mov eax, ebx
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret