Function at 0x100044560
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 [0x1000f6188]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbp, rcx
lea rdx, [rsp + 0x60]
call fcn.1000079f8
nop
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [0x10009df50]
mov r8, qword [rax + 0x18]
xor edx, edx
mov rcx, rax
call fcn.100006590
cmp eax, edi
sete bl
cmp qword [rsp + 0x80], 8
jb 0x1000445dc
mov rcx, qword [rsp + 0x68]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov esi, 7
cmp bl, dil
je 0x100044683
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 0x100044664
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
cmp eax, edi
jne 0x100044664
mov r8d, 0xff
mov rdx, qword [rsp + 0x50]
mov rcx, rbp
call fcn.100006330
lea rcx, [rsp + 0x50]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop
cmp qword [rsp + 0xb0], 8
jb 0x100044683
mov rcx, qword [rsp + 0x98]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
jmp 0x100044683
cmp qword [rsp + 0xb0], 8
jb 0x10004467c
mov rcx, qword [rsp + 0x98]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
xor eax, eax
jmp 0x100044a03
lea r8, [rbp + 0x28]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplets_
lea rcx, [rsp + 0x60]
call fcn.1000077e0
nop
lea r8, str.Recovery_
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1000477c0
nop
cmp qword [rsp + 0x80], 8
jb 0x1000446c6
mov rcx, qword [rsp + 0x68]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
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.100007be0
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 0x1000449e9
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, SafeArrayGetDim
lea rdx, str.SaveSystimeLow
lea rcx, [rsp + 0x90]
call fcn.100006330
nop
lea rdx, [rsp + 0x90]
lea rcx, [rbp + 0x78]
call fcn.1000457a8
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
cmp qword [rsp + 0xb0], 8
jb 0x1000447bf
mov rcx, qword [rsp + 0x98]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rdi
mov word [rsp + 0x98], di
mov r8d, SafeArrayGetDim
lea rdx, str.SaveSystimeHigh
lea rcx, [rsp + 0x90]
call fcn.100006330
nop
lea rdx, [rsp + 0x90]
lea rcx, [rbp + 0x78]
call fcn.1000457a8
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
cmp qword [rsp + 0xb0], 8
jb 0x100044821
mov rcx, qword [rsp + 0x98]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov rax, qword [rbp + 0x80]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1000448e3
mov r13d, 4
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x20], 8
jb 0x10004484b
mov rsi, qword [rdx + 8]
jmp 0x10004484f
lea rsi, [rdx + 8]
lea rcx, [rbp + 0x78]
call fcn.1000457a8
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 0x100044892
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100085fb0
jmp 0x1000448d6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x49], dil
jne 0x1000448b6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x49], dil
jne 0x1000448d6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x49], dil
je 0x1000448a8
jmp 0x1000448d6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x49], dil
jne 0x1000448d3
cmp rbx, qword [rax + 0x10]
jne 0x1000448d3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x49], dil
je 0x1000448c0
mov rbx, rax
cmp rbx, qword [rbp + 0x80]
jne 0x10004483a
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1000449d9
lea rsi, [rbx + 0x18]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.100045514
cmp qword [rax + 0x20], 8
jb 0x100044910
mov r13, qword [rax + 8]
jmp 0x100044914
lea r13, [rax + 8]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.100045514
cmp qword [rax + 0x20], 8
jb 0x10004492d
mov r12, qword [rax + 8]
jmp 0x100044931
lea r12, [rax + 8]
cmp qword [rsi + 0x20], 8
jb 0x10004493e
mov rsi, qword [rsi + 8]
jmp 0x100044942
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 0x10004498b
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100085fb0
jmp 0x1000449cf
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], dil
jne 0x1000449af
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
jne 0x1000449cf
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
je 0x1000449a1
jmp 0x1000449cf
mov rax, qword [rbx + 8]
cmp byte [rax + 0x69], dil
jne 0x1000449cc
cmp rbx, qword [rax + 0x10]
jne 0x1000449cc
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], dil
je 0x1000449b9
mov rbx, rax
cmp rbx, qword [rbp + 0x68]
jne 0x1000448f3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
cmp qword [rsp + 0xd8], 8
jb 0x100044a01
mov rcx, qword [rsp + 0xc0]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov eax, edi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1000011e0
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