Function at 0x100011858
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 rsi, rcx
mov rbp, 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 0x1000118fc
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 0x100011c58
call fcn.100017654
mov edi, 1
cmp eax, ebx
je 0x100011c20
mov r8, qword [rsi + 0x20]
lea rcx, [rsp + 0x70]
mov edx, 0x1d65
call fcn.100016adc
cmp eax, ebx
jge 0x100011961
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011c19
test byte [rcx + 0x1c], dil
je 0x100011c19
lea edx, [rdi + 0x2b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov r9d, eax
call fcn.1000048bc
jmp 0x100011c19
mov r8, qword [rsi + 0x20]
lea rcx, [rsp + 0x90]
mov edx, 0x1d66
call fcn.100016adc
cmp eax, ebx
jge 0x1000119a3
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011c19
test byte [rcx + 0x1c], dil
je 0x100011c19
mov edx, 0x2d
jmp 0x100011949
mov r8, qword [rsi + 0x20]
lea rcx, [rsp + 0x60]
mov edx, 0x1d67
call fcn.100016adc
cmp eax, ebx
jge 0x1000119e5
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011c19
test byte [rcx + 0x1c], dil
je 0x100011c19
mov edx, 0x2e
jmp 0x100011949
mov r8, qword [rsi + 0x20]
lea rcx, [rsp + 0x80]
mov edx, 0x1d68
call fcn.100016adc
cmp eax, ebx
jge 0x100011a2a
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011c19
test byte [rcx + 0x1c], dil
je 0x100011c19
mov edx, 0x2f
jmp 0x100011949
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x38]
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, rbp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc8], rax
call sub.wer.dll_WerpPromtUser
cmp eax, ebx
jge 0x100011ac1
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011ab5
test byte [rcx + 0x1c], dil
je 0x100011ab5
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001910]
mov edx, 0x30
mov r9d, eax
call fcn.1000048bc
mov dword [rsp + 0x110], ebx
jmp 0x100011c19
xor eax, eax
mov qword [rsp + 0x40], rbx
mov rsi, 0xffffffff80000001
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, [0x100002a30]
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 0x100011b69
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011c04
test byte [rcx + 0x1c], dil
je 0x100011c04
mov edx, 0xf2
jmp 0x100011bf4
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 0x100011c04
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x100011c04
test byte [rcx + 0x1c], dil
je 0x100011c04
mov edx, 0xf3
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001888]
call fcn.100004898
mov rcx, qword [rsp + 0x58]
cmp rcx, rbx
je 0x100011c19
cmp rcx, rsi
je 0x100011c19
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