Function at 0x14008b190
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x1400fc1e8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rcx
lea rdx, [rbp - 9]
call fcn.14008acc0
nop
lea rdx, [0x1400ba6e0]
mov rcx, rax
call fcn.140010d74
xor edi, edi
test eax, eax
sete bl
cmp qword [rbp + 0xf], 8
jb 0x14008b1f7
mov rcx, qword [rbp - 9]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov esi, 7
test bl, bl
je 0x14008b263
mov qword [rbp + 0xf], rsi
mov qword [rbp + 7], rdi
mov word [rbp - 9], di
lea rcx, [rbp - 0x29]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
test eax, eax
jne 0x14008b454
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14008b454
mov r8d, 0xff
mov rdx, qword [rbp - 0x39]
mov rcx, r14
call fcn.140010c5c
lea rcx, [rbp - 0x39]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
nop
lea r8, [r14 + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplets_
lea rcx, [rbp - 9]
call fcn.140087230
nop
lea rdx, str.Recovery_
mov rcx, rax
call fcn.140088008
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.1400116f0
nop
cmp qword [rbp + 0xf], 8
jb 0x14008b2ab
mov rcx, qword [rbp - 9]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov qword [rbp + 0xf], rsi
mov qword [rbp + 7], rdi
mov word [rbp - 9], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x17]
call fcn.140087ee8
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x31]
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]
nop dword [rax + rax]
test eax, eax
jne 0x14008b572
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
lea rdx, [rbp - 0x39]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
nop dword [rax + rax]
lea r15, [r14 + 0x60]
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x29], di
mov r8d, SafeArrayGetDim
lea rdx, str.SaveSystimeLow
lea rcx, [rbp - 0x29]
call fcn.140010c5c
nop
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.140089a78
mov ecx, dword [rbp - 0x39]
mov dword [rax], ecx
cmp qword [rbp - 0x11], 8
jb 0x14008b38b
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x29], di
mov r8d, SafeArrayGetDim
lea rdx, str.SaveSystimeHigh
lea rcx, [rbp - 0x29]
call fcn.140010c5c
nop
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.140089a78
mov ecx, dword [rbp - 0x35]
mov dword [rax], ecx
cmp qword [rbp - 0x11], 8
jb 0x14008b3d6
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rbx, qword [r15]
mov rbx, qword [rbx]
cmp rbx, qword [r15]
je 0x14008b47c
lea rsi, [rbx + 0x20]
mov rdx, rsi
mov rcx, r15
call fcn.140089b64
cmp qword [rsi + 0x18], 8
jb 0x14008b3fe
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
cmp byte [rbx + 0x19], dil
jne 0x14008b3dc
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
jne 0x14008b45b
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], dil
jne 0x14008b3dc
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], dil
je 0x14008b443
jmp 0x14008b3dc
xor eax, eax
jmp 0x14008b58b
mov rax, qword [rbx + 8]
jmp 0x14008b46e
cmp rbx, qword [rax + 0x10]
jne 0x14008b474
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x14008b461
mov rbx, rax
jmp 0x14008b3dc
mov rbx, qword [r14 + 0x50]
mov rbx, qword [rbx]
cmp rbx, qword [r14 + 0x50]
je 0x14008b55d
lea rsi, [rbx + 0x20]
mov rdx, rsi
lea rcx, [r14 + 0x50]
call fcn.140089d94
cmp qword [rax + 0x18], 8
jb 0x14008b4a7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [rax + rax]
lea r15d, [rax*2 + 2]
mov rdx, rsi
lea rcx, [r14 + 0x50]
call fcn.140089d94
cmp qword [rax + 0x18], 8
jb 0x14008b4d4
mov rax, qword [rax]
cmp qword [rsi + 0x18], 8
jb 0x14008b4de
mov rsi, qword [rsi]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
cmp byte [rbx + 0x19], dil
jne 0x14008b483
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
jne 0x14008b53c
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], dil
jne 0x14008b483
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], dil
je 0x14008b528
jmp 0x14008b483
mov rax, qword [rbx + 8]
jmp 0x14008b54f
cmp rbx, qword [rax + 0x10]
jne 0x14008b555
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x14008b542
mov rbx, rax
jmp 0x14008b483
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov edi, 1
cmp qword [rbp + 0x2f], 8
jb 0x14008b589
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000bdb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret