Function at 0x100082ce0
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 [0x1000cc510]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbp, rcx
lea rdx, [rsp + 0x60]
call fcn.100027780
nop
lea rdx, [0x1000a69fc]
mov rcx, rax
call fcn.100013c30
mov bl, al
cmp qword [rsp + 0x80], 8
jb 0x100082d4c
mov rcx, qword [rsp + 0x68]
call fcn.100001218
mov esi, 7
xor edi, edi
cmp bl, dil
je 0x100082df5
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 0x100082dd6
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
cmp eax, edi
jne 0x100082dd6
mov r8d, 0xff
mov rdx, qword [rsp + 0x50]
mov rcx, rbp
call fcn.100013f9c
lea rcx, [rsp + 0x50]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop
cmp qword [rsp + 0xb0], 8
jb 0x100082df5
mov rcx, qword [rsp + 0x98]
call fcn.100001218
jmp 0x100082df5
cmp qword [rsp + 0xb0], 8
jb 0x100082dee
mov rcx, qword [rsp + 0x98]
call fcn.100001218
xor eax, eax
jmp 0x100083175
lea r8, [rbp + 0x28]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplets_
lea rcx, [rsp + 0x60]
call fcn.100014070
nop
lea r8, str.Recovery_
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1000183fc
nop
cmp qword [rsp + 0x80], 8
jb 0x100082e38
mov rcx, qword [rsp + 0x68]
call fcn.100001218
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.100013a30
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 0x10008315b
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.100013f9c
nop
lea rdx, [rsp + 0x90]
lea rcx, [rbp + 0x78]
call fcn.100083918
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
cmp qword [rsp + 0xb0], 8
jb 0x100082f31
mov rcx, qword [rsp + 0x98]
call fcn.100001218
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.100013f9c
nop
lea rdx, [rsp + 0x90]
lea rcx, [rbp + 0x78]
call fcn.100083918
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
cmp qword [rsp + 0xb0], 8
jb 0x100082f93
mov rcx, qword [rsp + 0x98]
call fcn.100001218
mov rax, qword [rbp + 0x80]
mov rbx, qword [rax]
cmp rbx, rax
je 0x100083055
mov r13d, 4
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x20], 8
jb 0x100082fbd
mov rsi, qword [rdx + 8]
jmp 0x100082fc1
lea rsi, [rdx + 8]
lea rcx, [rbp + 0x78]
call fcn.100083918
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 0x100083004
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.10008b108
jmp 0x100083048
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x49], dil
jne 0x100083028
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x49], dil
jne 0x100083048
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x49], dil
je 0x10008301a
jmp 0x100083048
mov rax, qword [rbx + 8]
cmp byte [rax + 0x49], dil
jne 0x100083045
cmp rbx, qword [rax + 0x10]
jne 0x100083045
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x49], dil
je 0x100083032
mov rbx, rax
cmp rbx, qword [rbp + 0x80]
jne 0x100082fac
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
cmp rbx, rax
je 0x10008314b
lea rsi, [rbx + 0x18]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.100083790
cmp qword [rax + 0x20], 8
jb 0x100083082
mov r13, qword [rax + 8]
jmp 0x100083086
lea r13, [rax + 8]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.100083790
cmp qword [rax + 0x20], 8
jb 0x10008309f
mov r12, qword [rax + 8]
jmp 0x1000830a3
lea r12, [rax + 8]
cmp qword [rsi + 0x20], 8
jb 0x1000830b0
mov rsi, qword [rsi + 8]
jmp 0x1000830b4
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 0x1000830fd
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.10008b108
jmp 0x100083141
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], dil
jne 0x100083121
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
jne 0x100083141
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
je 0x100083113
jmp 0x100083141
mov rax, qword [rbx + 8]
cmp byte [rax + 0x69], dil
jne 0x10008313e
cmp rbx, qword [rax + 0x10]
jne 0x10008313e
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], dil
je 0x10008312b
mov rbx, rax
cmp rbx, qword [rbp + 0x68]
jne 0x100083065
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
cmp qword [rsp + 0xd8], 8
jb 0x100083173
mov rcx, qword [rsp + 0xc0]
call fcn.100001218
mov eax, edi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1000010a0
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