Function at 0x14000c8a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
cmp dword [0x140038018], 0
jne 0x14000c8d1
mov dword [rsp + 0x3c], 0
jmp 0x14000c90b
lea rcx, [0x14002dbb8]
call fcn.140005070
test eax, eax
je 0x14000c8fb
lea rcx, [0x14002dbd0]
call fcn.140004d20
test eax, eax
je 0x14000c8fb
mov dword [rsp + 0x40], 1
jmp 0x14000c903
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002dbd8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000c99f
xor eax, eax
test eax, eax
jne 0x14000c997
lea rcx, [0x14002dbf0]
call fcn.140005070
test eax, eax
je 0x14000c995
lea rax, [0x14002dc08]
mov qword [rsp + 0x20], rax
mov r9d, 0x68e
lea r8, [0x14002dc10]
lea rdx, [0x14002dc20]
lea rcx, [0x14002dc38]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002dc58]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000ca33
xor eax, eax
test eax, eax
jne 0x14000ca2b
lea rcx, [0x14002dc68]
call fcn.140005070
test eax, eax
je 0x14000ca29
lea rax, [0x14002dc80]
mov qword [rsp + 0x20], rax
mov r9d, 0x69d
lea r8, [0x14002dc88]
lea rdx, [0x14002dc98]
lea rcx, [0x14002dcb0]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002dcd0]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000cac7
xor eax, eax
test eax, eax
jne 0x14000cabf
lea rcx, [0x14002dce0]
call fcn.140005070
test eax, eax
je 0x14000cabd
lea rax, [0x14002dcf8]
mov qword [rsp + 0x20], rax
mov r9d, 0x6aa
lea r8, [0x14002dd00]
lea rdx, [0x14002dd10]
lea rcx, [0x14002dd28]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002dd48]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000cb5b
xor eax, eax
test eax, eax
jne 0x14000cb53
lea rcx, [0x14002dd58]
call fcn.140005070
test eax, eax
je 0x14000cb51
lea rax, [0x14002dd70]
mov qword [rsp + 0x20], rax
mov r9d, 0x6b7
lea r8, [0x14002dd78]
lea rdx, [0x14002dd88]
lea rcx, [0x14002dda0]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002ddc0]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000cbef
xor eax, eax
test eax, eax
jne 0x14000cbe7
lea rcx, [0x14002ddd8]
call fcn.140005070
test eax, eax
je 0x14000cbe5
lea rax, [0x14002ddf0]
mov qword [rsp + 0x20], rax
mov r9d, 0x6c5
lea r8, [0x14002ddf8]
lea rdx, [0x14002de08]
lea rcx, [0x14002de20]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002de40]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000cc83
xor eax, eax
test eax, eax
jne 0x14000cc7b
lea rcx, [0x14002de58]
call fcn.140005070
test eax, eax
je 0x14000cc79
lea rax, [0x14002de70]
mov qword [rsp + 0x20], rax
mov r9d, 0x6d3
lea r8, [0x14002de78]
lea rdx, [0x14002de88]
lea rcx, [0x14002dea0]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14002dec0]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000cd16
xor eax, eax
test eax, eax
jne 0x14000cd0e
lea rcx, [0x14002ded8]
call fcn.140005070
test eax, eax
je 0x14000cd0c
lea rax, [0x14002def0]
mov qword [rsp + 0x20], rax
mov r9d, 0x6e1
lea r8, [0x14002def8]
lea rdx, [0x14002df08]
lea rcx, [0x14002df20]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
cmp dword [0x140038018], 0
jne 0x14000cd29
mov dword [rsp + 0x44], 0
jmp 0x14000cd67
lea rcx, str.WndSaveCursorSettings
call fcn.140005070
test eax, eax
je 0x14000cd57
mov edx, dword [rsp + 0x34]
lea rcx, [0x14002df58]
call fcn.140004d20
test eax, eax
je 0x14000cd57
mov dword [rsp + 0x48], 1
jmp 0x14000cd5f
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
add rsp, 0x58
ret