Function at 0x140005910
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x670]
mov edx, 0x147
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
cdqe
lea rsi, [0x140000000]
lea r8, [rax + rax*2]
mov eax, dword [rbx + 8]
cmp dword [rsi + r8*8 + 0x10e090], eax
je 0x140005970
or word [rbx + 0x260], 1
mov dword [rbx + 0x25c], eax
mov eax, dword [rsi + r8*8 + 0x10e090]
mov dword [rbx + 8], eax
mov rcx, qword [rdi + 0x678]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
cdqe
lea rcx, [rax + rax*2]
mov eax, dword [rbx + 0x10]
cmp dword [rsi + rcx*8 + 0x10e230], eax
je 0x1400059ac
or word [rbx + 0x260], 2
mov eax, dword [rsi + rcx*8 + 0x10e230]
mov dword [rbx + 0x10], eax
mov rcx, qword [rdi + 0x688]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp rax, 1
setne cl
cmp ecx, dword [rbx + 0xc]
je 0x1400059dd
or word [rbx + 0x260], 4
mov dword [rbx + 0xc], ecx
mov rcx, qword [rdi + 0x680]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp rax, 1
sete cl
test ecx, ecx
je 0x140005a09
cmp dword [rbx], 0
je 0x140005a0e
jmp 0x140005a18
cmp dword [rbx], 0
je 0x140005a18
or word [rbx + 0x260], 0x10
mov dword [rbx], ecx
mov rax, qword [rdi + 8]
xor r9d, r9d
mov edx, 0x402
mov qword [rsp + 0x20], 0
mov r8d, 0xf0
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rdi + 0x10]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov esi, 1
cmp rax, rsi
jne 0x140005a56
cmp dword [rbx + 0x1c], 0
mov eax, esi
je 0x140005a5d
jmp 0x140005a68
xor eax, eax
cmp dword [rbx + 0x1c], eax
je 0x140005a68
or word [rbx + 0x260], 0x40
mov dword [rbx + 0x1c], eax
mov rax, qword [rdi + 8]
xor r9d, r9d
mov edx, 0x410
mov qword [rsp + 0x20], 0
mov r8d, 0xf0
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rdi + 0x10]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, rsi
jne 0x140005aa2
cmp dword [rbx + 0x264], 0
je 0x140005aac
jmp 0x140005abe
xor esi, esi
cmp dword [rbx + 0x264], esi
je 0x140005abe
mov eax, 0x80
mov dword [rbx + 0x264], esi
or word [rbx + 0x260], ax
mov rcx, qword [rdi + 0x698]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005ae2
cmp dword [rbx + 0x14], 0
je 0x140005ae8
jmp 0x140005af3
cmp dword [rbx + 0x14], 0
je 0x140005af3
or word [rbx + 0x260], 8
mov dword [rbx + 0x14], eax
mov rcx, qword [rdi + 0x6a0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005b17
cmp dword [rbx + 0x18], 0
je 0x140005b1d
jmp 0x140005b28
cmp dword [rbx + 0x18], 0
je 0x140005b28
or word [rbx + 0x260], 8
mov dword [rbx + 0x18], eax
mov rcx, qword [rdi + 0x6a8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005b4c
cmp dword [rbx + 0x2c], 0
je 0x140005b52
jmp 0x140005b5d
cmp dword [rbx + 0x2c], 0
je 0x140005b5d
or word [rbx + 0x260], 8
mov dword [rbx + 0x2c], eax
mov rcx, qword [rdi + 0x6b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005b81
cmp dword [rbx + 0x3c], 0
je 0x140005b87
jmp 0x140005b92
cmp dword [rbx + 0x3c], 0
je 0x140005b92
or word [rbx + 0x260], 8
mov dword [rbx + 0x3c], eax
mov rcx, qword [rdi + 0x6b0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005bb6
cmp dword [rbx + 0x30], 0
je 0x140005bbc
jmp 0x140005bc7
cmp dword [rbx + 0x30], 0
je 0x140005bc7
or word [rbx + 0x260], 8
mov dword [rbx + 0x30], eax
mov rcx, qword [rdi + 0x6c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005beb
cmp dword [rbx + 0x40], 0
je 0x140005bf1
jmp 0x140005bfc
cmp dword [rbx + 0x40], 0
je 0x140005bfc
or word [rbx + 0x260], 8
mov dword [rbx + 0x40], eax
mov rcx, qword [rdi + 0x6c8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005c20
cmp dword [rbx + 0x34], 0
je 0x140005c26
jmp 0x140005c31
cmp dword [rbx + 0x34], 0
je 0x140005c31
or word [rbx + 0x260], 8
mov dword [rbx + 0x34], eax
mov rcx, qword [rdi + 0x6d8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005c55
cmp dword [rbx + 0x50], 0
je 0x140005c5b
jmp 0x140005c66
cmp dword [rbx + 0x50], 0
je 0x140005c66
or word [rbx + 0x260], 8
mov dword [rbx + 0x50], eax
mov rcx, qword [rdi + 0x6d0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140005c8a
cmp dword [rbx + 0x48], 0
je 0x140005c90
jmp 0x140005c9b
cmp dword [rbx + 0x48], 0
je 0x140005c9b
or word [rbx + 0x260], 8
mov dword [rbx + 0x48], eax
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140011ba0