Function at 0x1000285e8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x100
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1000400a0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbp, rcx
lea rdx, [rsp + 0x60]
call fcn.100028f64
nop
lea rdx, [0x100032018]
mov rcx, rax
call fcn.10000bb8c
mov bl, al
cmp qword [rsp + 0x80], 8
jb 0x100028654
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
mov esi, 7
xor edi, edi
cmp bl, dil
je 0x1000286fd
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rdi
mov word [rsp + 0x98], di
lea rcx, [rsp + 0xe0]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
cmp eax, edi
jne 0x1000286de
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
cmp eax, edi
jne 0x1000286de
mov r8d, 0xff
mov rdx, qword [rsp + 0x50]
mov rcx, rbp
call fcn.10000a000
lea rcx, [rsp + 0x50]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop
cmp qword [rsp + 0xb0], 8
jb 0x1000286fd
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
jmp 0x1000286fd
cmp qword [rsp + 0xb0], 8
jb 0x1000286f6
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x100028a7d
lea r8, [rbp + 0x28]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplets_
lea rcx, [rsp + 0x60]
call fcn.10000b950
nop
lea r8, str.Recovery_
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.10000b7ac
nop
cmp qword [rsp + 0x80], 8
jb 0x100028740
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
lea rcx, [rsp + 0xb8]
call fcn.10000ba20
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x100028a63
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rdi
mov word [rsp + 0x98], di
mov r8d, 0xe
lea rdx, str.SaveSystimeLow
lea rcx, [rsp + 0x90]
call fcn.10000a000
nop
lea rdx, [rsp + 0x90]
lea rcx, [rbp + 0x78]
call fcn.100029258
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
cmp qword [rsp + 0xb0], 8
jb 0x100028839
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rdi
mov word [rsp + 0x98], di
mov r8d, 0xf
lea rdx, str.SaveSystimeHigh
lea rcx, [rsp + 0x90]
call fcn.10000a000
nop
lea rdx, [rsp + 0x90]
lea rcx, [rbp + 0x78]
call fcn.100029258
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
cmp qword [rsp + 0xb0], 8
jb 0x10002889b
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x80]
mov rbx, qword [rax]
cmp rbx, rax
je 0x10002895d
mov r13d, 4
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x20], 8
jb 0x1000288c5
mov rsi, qword [rdx + 8]
jmp 0x1000288c9
lea rsi, [rdx + 8]
lea rcx, [rbp + 0x78]
call fcn.100029258
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [rbx + 0x49], dil
je 0x10002890c
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.10002b8ec
jmp 0x100028950
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x49], dil
jne 0x100028930
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x49], dil
jne 0x100028950
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x49], dil
je 0x100028922
jmp 0x100028950
mov rax, qword [rbx + 8]
cmp byte [rax + 0x49], dil
jne 0x10002894d
cmp rbx, qword [rax + 0x10]
jne 0x10002894d
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x49], dil
je 0x10002893a
mov rbx, rax
cmp rbx, qword [rbp + 0x80]
jne 0x1000288b4
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
cmp rbx, rax
je 0x100028a53
lea rsi, [rbx + 0x18]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.100029030
cmp qword [rax + 0x20], 8
jb 0x10002898a
mov r13, qword [rax + 8]
jmp 0x10002898e
lea r13, [rax + 8]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.100029030
cmp qword [rax + 0x20], 8
jb 0x1000289a7
mov r12, qword [rax + 8]
jmp 0x1000289ab
lea r12, [rax + 8]
cmp qword [rsi + 0x20], 8
jb 0x1000289b8
mov rsi, qword [rsi + 8]
jmp 0x1000289bc
add rsi, 8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [rbx + 0x69], dil
je 0x100028a05
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.10002b8ec
jmp 0x100028a49
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], dil
jne 0x100028a29
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
jne 0x100028a49
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
je 0x100028a1b
jmp 0x100028a49
mov rax, qword [rbx + 8]
cmp byte [rax + 0x69], dil
jne 0x100028a46
cmp rbx, qword [rax + 0x10]
jne 0x100028a46
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], dil
je 0x100028a33
mov rbx, rax
cmp rbx, qword [rbp + 0x68]
jne 0x10002896d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
cmp qword [rsp + 0xd8], 8
jb 0x100028a7b
mov rcx, qword [rsp + 0xc0]
call sub.msvcrt.dll_free
mov eax, edi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1000012f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret