Function at 0x1400196a0
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x68], 7
xor esi, esi
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
lea edx, [rsi + 0x2e]
xor r8d, r8d
mov rcx, rbx
call fcn.14001b000
cmp rax, 0xffffffffffffffff
je 0x1400197af
lea r8, [rax + 1]
lea edx, [rsi + 0x2e]
mov rcx, rbx
call fcn.14001b000
cmp rax, 0xffffffffffffffff
je 0x1400197af
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14001b100
nop
mov r8, rax
lea rdx, [0x1400f72c0]
lea rcx, [rsp + 0x40]
call fcn.14001b220
mov rbx, rax
lea rax, [rbp - 0x80]
cmp rax, rbx
je 0x140019778
cmp qword [rbp - 0x68], 8
jb 0x14001975c
mov rcx, qword [rbp - 0x80]
call fcn.1400bd20c
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14000b0c0
cmp qword [rsp + 0x58], 8
jb 0x14001978a
mov rcx, qword [rsp + 0x40]
call fcn.1400bd20c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp qword [rsp + 0x78], 8
jb 0x1400197af
mov rcx, qword [rsp + 0x60]
call fcn.1400bd20c
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140006b90
nop
mov edx, 0x10
lea rcx, [rbp - 0x40]
call fcn.1400622a0
lea r8, str.Uninstall.exe
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.14000b440
nop
lea r8, str.2345PinyinConfig.exe
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14000b440
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
xor r8d, r8d
lea rdx, [0x1400f50d8]
lea rcx, [rsp + 0x40]
call fcn.140006900
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
xor r8d, r8d
lea rdx, [0x1400f50d8]
lea rcx, [rsp + 0x60]
call fcn.140006900
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x60], si
xor r8d, r8d
lea rdx, [0x1400f50d8]
lea rcx, [rbp - 0x60]
call fcn.140006900
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2021f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall2345Pinyin
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400198b0
xor bl, bl
jmp 0x140019a59
cmp qword [rbp - 0x10], 0
je 0x1400198f3
mov eax, dword [rbp - 0x10]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayIcon
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rbp - 0x50], 0
je 0x140019936
mov eax, dword [rbp - 0x50]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rbp - 0x70], 0
je 0x140019979
mov eax, dword [rbp - 0x70]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.DisplayVersion
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rsp + 0x70], 0
je 0x1400199c1
mov eax, dword [rsp + 0x70]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Publisher
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rbp + 0x10], 0
je 0x140019a04
mov eax, dword [rbp + 0x10]
lea eax, [rax*2 + 2]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rsp + 0x50], 0
je 0x140019a4c
mov eax, dword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.URLInfoAbout
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
cmp qword [rbp - 0x48], 8
jb 0x140019a69
mov rcx, qword [rbp - 0x60]
call fcn.1400bd20c
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x60], si
cmp qword [rsp + 0x78], 8
jb 0x140019a8b
mov rcx, qword [rsp + 0x60]
call fcn.1400bd20c
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp qword [rsp + 0x58], 8
jb 0x140019ab0
mov rcx, qword [rsp + 0x40]
call fcn.1400bd20c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp qword [rbp - 8], 8
jb 0x140019ad3
mov rcx, qword [rbp - 0x20]
call fcn.1400bd20c
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
cmp qword [rbp + 0x18], 8
jb 0x140019af3
mov rcx, qword [rbp]
call fcn.1400bd20c
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
cmp qword [rbp - 0x28], 8
jb 0x140019b13
mov rcx, qword [rbp - 0x40]
call fcn.1400bd20c
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
cmp qword [rbp - 0x68], 8
jb 0x140019b33
mov rcx, qword [rbp - 0x80]
call fcn.1400bd20c
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret