Function at 0x140005a40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x670]
mov edx, 0x147
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [rdi + 8]
lea r14, [0x140000000]
movsxd r8, eax
lea rbx, [rdi + 0x264]
lea rax, [r8 + r8*2]
lea rcx, [rax*8 + 0x1be090]
cmp dword [rcx + r14], edx
je 0x140005aaf
or word [rbx], 1
mov dword [rdi + 0x260], edx
mov eax, dword [rcx + r14]
mov dword [rdi + 8], eax
mov rcx, qword [rsi + 0x678]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
lea rax, [rcx + rcx*2]
lea rcx, [rax*8 + 0x1be230]
mov eax, dword [rdi + 0x10]
cmp dword [rcx + r14], eax
je 0x140005aea
or word [rbx], 2
mov eax, dword [rcx + r14]
mov dword [rdi + 0x10], eax
mov rcx, qword [rsi + 0x688]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
xor r14d, r14d
cmp rax, 1
mov ecx, r14d
setne cl
cmp ecx, dword [rdi + 0xc]
je 0x140005b1b
or word [rbx], 4
mov dword [rdi + 0xc], ecx
mov rcx, qword [rsi + 0x680]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi]
mov edx, r14d
cmp rax, 1
sete dl
jne 0x140005b47
test ecx, ecx
je 0x140005b4b
jmp 0x140005b51
test ecx, ecx
je 0x140005b51
or word [rbx], 0x10
mov dword [rdi], edx
mov rax, qword [rsi + 8]
xor r9d, r9d
mov edx, 0x402
mov qword [rsp + 0x20], r14
mov r8d, 0xf0
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rsi + 0x10]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebp, 1
cmp rax, rbp
jne 0x140005b8b
mov eax, ebp
cmp dword [rdi + 0x1c], r14d
je 0x140005b93
jmp 0x140005b9a
mov eax, r14d
cmp dword [rdi + 0x1c], eax
je 0x140005b9a
or word [rbx], 0x40
mov dword [rdi + 0x1c], eax
mov rax, qword [rsi + 8]
xor r9d, r9d
mov edx, 0x410
mov qword [rsp + 0x20], r14
mov r8d, 0xf0
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rsi + 0x10]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, rbp
jne 0x140005bd0
cmp dword [rdi + 0x268], r14d
je 0x140005bdc
jmp 0x140005bea
mov ebp, r14d
cmp dword [rdi + 0x268], r14d
je 0x140005bea
mov eax, 0x80
mov dword [rdi + 0x268], ebp
or word [rbx], ax
mov rcx, qword [rsi + 0x6d0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x48]
test eax, eax
je 0x140005c0f
test ecx, ecx
je 0x140005c13
jmp 0x140005c1e
test ecx, ecx
je 0x140005c1e
mov ecx, 0x100
mov dword [rdi + 0x48], eax
or word [rbx], cx
mov rcx, qword [rsi + 0x698]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x14]
test eax, eax
je 0x140005c43
test ecx, ecx
je 0x140005c47
jmp 0x140005c4e
test ecx, ecx
je 0x140005c4e
or word [rbx], 8
mov dword [rdi + 0x14], eax
mov rcx, qword [rsi + 0x6a0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x18]
test eax, eax
je 0x140005c73
test ecx, ecx
je 0x140005c77
jmp 0x140005c7e
test ecx, ecx
je 0x140005c7e
or word [rbx], 8
mov dword [rdi + 0x18], eax
mov rcx, qword [rsi + 0x6a8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x2c]
test eax, eax
je 0x140005ca3
test ecx, ecx
je 0x140005ca7
jmp 0x140005cae
test ecx, ecx
je 0x140005cae
or word [rbx], 8
mov dword [rdi + 0x2c], eax
mov rcx, qword [rsi + 0x6b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x3c]
test eax, eax
je 0x140005cd3
test ecx, ecx
je 0x140005cd7
jmp 0x140005cde
test ecx, ecx
je 0x140005cde
or word [rbx], 8
mov dword [rdi + 0x3c], eax
mov rcx, qword [rsi + 0x6b0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x30]
test eax, eax
je 0x140005d03
test ecx, ecx
je 0x140005d07
jmp 0x140005d0e
test ecx, ecx
je 0x140005d0e
or word [rbx], 8
mov dword [rdi + 0x30], eax
mov rcx, qword [rsi + 0x6c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x40]
test eax, eax
je 0x140005d33
test ecx, ecx
je 0x140005d37
jmp 0x140005d3e
test ecx, ecx
je 0x140005d3e
or word [rbx], 8
mov dword [rdi + 0x40], eax
mov rcx, qword [rsi + 0x6c8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x34]
test eax, eax
je 0x140005d63
test ecx, ecx
je 0x140005d67
jmp 0x140005d6e
test ecx, ecx
je 0x140005d6e
or word [rbx], 8
mov dword [rdi + 0x34], eax
mov rcx, qword [rsi + 0x6d8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x50]
test eax, eax
je 0x140005d93
test ecx, ecx
je 0x140005d97
jmp 0x140005d9e
test ecx, ecx
je 0x140005d9e
or word [rbx], 8
mov dword [rdi + 0x50], eax
mov rcx, qword [rsi + 0x6e0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rdi + 0x54]
test eax, eax
je 0x140005dc3
test ecx, ecx
je 0x140005dc7
jmp 0x140005dce
test ecx, ecx
je 0x140005dce
or word [rbx], 8
mov dword [rdi + 0x54], eax
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
jmp fcn.140012220