Function at 0x1401092d0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r15, r9
mov rbx, r8
mov rdi, rcx
sub edx, 0x2b
je 0x140109dc9
sub edx, 0xe5
je 0x140109b1a
cmp edx, 1
jne 0x1401096a4
mov r14d, 0xfa2
movzx eax, bx
sub ax, r14w
cmp ax, dx
mov rax, rbx
ja 0x1401093a5
shr rax, 0x10
cmp ax, 2
jne 0x1401093a9
movzx edx, bx
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x188
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
je 0x140109dea
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov edx, 0x111
mov rcx, qword [rdi + 0x18]
cmp r15, rax
lea r8d, [r14 + 2]
je 0x14010939a
lea r8d, [r14 + 5]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140109dea
shr rax, 0x10
mov rcx, rbx
sub rcx, 2
je 0x140109b09
sub rcx, r14
je 0x1401099ab
cmp rcx, 3
je 0x1401096f4
mov ecx, 0x300
cmp ax, cx
jne 0x1401094ab
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov edx, 0xfa6
mov r9d, 0x12
lea r8d, [r9 - 5]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor esi, esi
cmp eax, 1
jne 0x14010947b
movzx eax, word [rbp - 0x80]
cmp ax, 0x2e
je 0x14010947b
mov word [rbp - 0x7e], ax
mov eax, 0x2e
mov word [rbp - 0x80], ax
mov word [rbp - 0x7c], si
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov edx, 0xfa6
lea r8d, [rsi + 0xc]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov qword [rsp + 0x20], 2
mov edx, 0xfa6
lea r9d, [rsi + 2]
mov r8d, 0xb1
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
setg sil
mov edx, 0xfa4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x140109dea
cmp ax, 1
jne 0x1401096a4
movzx r12d, bx
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x188
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov r15, rax
mov r13d, 0xfa1
cmp bx, r13w
jne 0x1401096ab
cmp rax, 0xffffffffffffffff
je 0x1401096a4
mov qword [rsp + 0x20], rsi
mov r9, rax
mov r8d, 0x18a
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0x20
ja 0x140109dea
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8d, 0x189
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rdx, [rbp - 0x10]
lea rcx, str.customize
call fcn.1401b43bc
test eax, eax
jne 0x140109586
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea edx, [r13 + 5]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rdi + 0x30], 1
jmp 0x14010968a
cmp byte [rdi + 0x30], sil
je 0x1401095c5
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0xfa6
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rdi + 0x30], sil
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x18b
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rbx, rax
sub rbx, 1
js 0x140109611
nop dword [rax]
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov r8d, 0x182
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
sub rbx, 1
jns 0x1401095f0
imul rbx, r15, 0x3cc
lea rax, [0x14022b384]
add rbx, rax
mov esi, 0x1a
lea r15, [0x1401e6278]
mov r12d, 0xfa3
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140109680
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x1a2
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
jne 0x140109680
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x180
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
add rbx, 0x24
sub rsi, 1
jne 0x140109634
mov edx, 0xfa4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x140109def
cmp bx, r14w
jne 0x1401096db
cmp r15, 0xffffffffffffffff
je 0x1401096a4
mov edx, 0xfa4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x140109def
mov r12d, 0xfa3
cmp bx, r12w
jne 0x1401096a4
cmp r15, 0xffffffffffffffff
je 0x1401096a4
lea edx, [r12 + 4]
jmp 0x1401096bc
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], eax
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x188
mov r12d, 0xfa3
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov r15, rax
mov qword [rsp + 0x20], rsi
mov r9, rax
mov r8d, 0x18a
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0x11
jg 0x140109dea
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8d, 0x189
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x74]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, esi
test eax, eax
cmove ebx, dword [rsp + 0x74]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp ebx, 1
jg 0x14010987d
mov ecx, esi
test eax, eax
cmove ecx, dword [rsp + 0x70]
test ecx, ecx
jne 0x14010987d
mov dword [rbp - 0x50], 0x5c
xor eax, eax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
lea r8, [rbp - 0x80]
lea edx, [rsi + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1401a827c
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1401098ee
mov dword [rsp + 0x60], 0x40
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rdx, qword [str.Notepad_backup]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x1401098e8
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x64]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [str.Notepad_backup]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8d, 0x182
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov edx, 0xfa1
mov r8d, 0x188
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rsi, rax
mov edx, 0xfa7
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp rsi, 0xffffffffffffffff
je 0x140109dea
mov ebx, 1
imul rsi, rsi, 0x1b
lea r15, str.Notepad
nop dword [rax]
movsxd rax, ebx
add rax, rsi
lea rax, [rax + rax*8]
lea rdx, [r15 + rax*4]
lea rcx, [rbp - 0x80]
call fcn.1401b43bc
test eax, eax
je 0x140109987
inc ebx
cmp ebx, 0x1b
jl 0x140109960
jmp 0x140109dea
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x180
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x140109dea
mov rcx, rdi
call fcn.140109e70
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], eax
mov r12d, 0xfa3
mov rcx, qword [rdi + 0x18]
cmp byte [rdi + 0x30], al
jne 0x140109a56
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8d, 0x188
mov edx, r14d
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rbx, rax
mov qword [rsp + 0x20], rsi
mov r9, rax
mov r8d, 0x18a
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0x11
jg 0x140109dea
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 0x189
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1401091a0
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov r8d, 0x182
mov edx, r14d
jmp 0x140109ac1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov edx, 0xfa6
mov r9d, 0x12
lea r8d, [r9 - 5]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1a2
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
jne 0x140109dea
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1401091a0
lea r15, [0x1401e6278]
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov edx, 0xfa6
lea r8d, [r9 + 0xc]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x180
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0xfa4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x140109dea
xor edx, edx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140109dea
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov r14d, esi
test eax, eax
cmove r14d, dword [rsp + 0x64]
mov ebx, esi
mov r12d, 0xfa3
test r14d, r14d
jle 0x140109c76
lea r15, [0x1401e6278]
mov dword [rsp + 0x60], 0x20
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140109c6b
cmp word [rbp - 0x50], 0x2e
jne 0x140109c6b
mov dword [rsp + 0x64], 0x40
mov dword [rsp + 0x60], 0x20
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x70], 1
jne 0x140109c60
mov rdx, qword [str.Notepad_file]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140109c60
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x180
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, r14d
jl 0x140109b81
lea r15, str.Notepad
mov ebx, 0xa
mov r13d, 0xfa1
nop dword [rax + rax]
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x180
mov edx, r13d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
add r15, 0x3cc
sub rbx, 1
jne 0x140109c90
mov edx, 0xfa4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0xfa7
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x1402c12d8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1402aeac0], ecx
jg 0x140109e2e
mov rax, qword [0x1402aeab8]
mov rcx, qword [rdi + 0x18]
cmp byte [rax + 0x33421], 0
jne 0x140109d91
mov edx, r13d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0xfa2
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, r12d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0xfa9
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0xfaa
jmp 0x140109aef
mov edx, 0xfa8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [rsp + 0x20], rsi
mov edx, 0xfa6
mov r9d, reloc.COMCTL32.dll_InitCommonControls
mov r8d, 0xc5
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x140109dea
mov edx, 0x19c
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_LoadIconW]
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.USER32.dll_DrawIcon]
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [0x1402aeab8], rax
lea rcx, [0x1402aeac0]
call fcn.14018189c
jmp 0x140109d13
lea rcx, [0x1402aeac0]
call fcn.1401818fc
cmp dword [0x1402aeac0], 0xffffffff
jne 0x140109d13
mov ecx, 0x33428
call fcn.140181288
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140109e65
mov rcx, rax
call fcn.1400d21f0
jmp 0x140109e16
mov rax, rsi
jmp 0x140109e16