Function at 0x10000edbc
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 0x10000ee60
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 0x10000f1cb
call fcn.100017654
mov edi, 1
cmp eax, ebx
je 0x10000f193
mov r8, qword [rsi + 0x150]
lea rcx, [rsp + 0x70]
mov edx, 0x1d57
call fcn.100016adc
cmp eax, ebx
jge 0x10000eec8
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f18c
test byte [rcx + 0x1c], dil
je 0x10000f18c
lea edx, [rdi + 0x30]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov r9d, eax
call fcn.1000048bc
jmp 0x10000f18c
mov r8, qword [rsi + 0x150]
lea rcx, [rsp + 0x90]
mov edx, 0x1d58
call fcn.100016adc
cmp eax, ebx
jge 0x10000ef0d
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f18c
test byte [rcx + 0x1c], dil
je 0x10000f18c
mov edx, 0x32
jmp 0x10000eeb0
mov r8, qword [rsi + 0x150]
lea rcx, [rsp + 0x60]
mov edx, 0x1d5a
call fcn.100016adc
cmp eax, ebx
jge 0x10000ef52
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f18c
test byte [rcx + 0x1c], dil
je 0x10000f18c
mov edx, 0x33
jmp 0x10000eeb0
mov r8, qword [rsi + 0x150]
lea rcx, [rsp + 0x80]
mov edx, 0x1d5b
call fcn.100016adc
cmp eax, ebx
jge 0x10000ef9a
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f18c
test byte [rcx + 0x1c], dil
je 0x10000f18c
mov edx, 0x34
jmp 0x10000eeb0
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x178]
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 0x10000f034
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f028
test byte [rcx + 0x1c], dil
je 0x10000f028
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001930]
mov edx, 0x35
mov r9d, eax
call fcn.1000048bc
mov dword [rsp + 0x110], ebx
jmp 0x10000f18c
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 0x10000f0dc
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f177
test byte [rcx + 0x1c], dil
je 0x10000f177
mov edx, 0xf2
jmp 0x10000f167
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 0x10000f177
mov rcx, qword [0x100023120]
lea rdx, [0x100023120]
cmp rcx, rdx
je 0x10000f177
test byte [rcx + 0x1c], dil
je 0x10000f177
mov edx, 0xf3
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001888]
call fcn.100004898
mov rcx, qword [rsp + 0x58]
cmp rcx, rbx
je 0x10000f18c
cmp rcx, rsi
je 0x10000f18c
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