Function at 0x14006b5f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov ebx, edx
mov rsi, rcx
xor r12d, r12d
mov ecx, edx
sub ecx, 1
je 0x14006bc9a
sub ecx, 1
je 0x14006bca2
sub ecx, 0x8001
je 0x14006bb37
cmp ecx, 4
jne 0x14006bde5
mov edx, 0x3fe
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, 0xffffffffffffffff
lea r9d, [r12 + 2]
mov r8, rbx
mov edx, 0x100c
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
test eax, eax
js 0x14006bde5
mov ecx, 0xfffe
call fcn.140114b30
mov rdi, rax
xor edx, edx
mov r8d, 0xfffe
mov rcx, rax
call fcn.140118720
mov qword [rsp + 0x60], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x70], 1
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x70], 0x7fff
mov edx, 0x3fe
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x48], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x70], r12w
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x80], r12
movaps xmmword [rbp + 0x60], xmm0
lea r15, vtable.CNameDlg.0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x88], rax
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
mov byte [rbp + 0xb0], r12b
mov dword [rbp + 0xb4], r12d
mov qword [rbp + 0xb8], r12
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0x100], r12
mov byte [rbp + 0x108], 1
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0xe8], xmm1
mov qword [rbp + 0xf8], r12
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x14006b7c0
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14004c390
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x90]
call fcn.14004ca40
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14006b837
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b832
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be1b
call fcn.14011460c
mov rcx, qword [rsi + 8]
mov byte [rbp + 0x70], 0
mov qword [rbp + 0x48], rcx
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14004b980]
mov r8, qword [rsi + 0x10]
mov edx, 0x83
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, 1
jne 0x14006bafb
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x20]
call fcn.14004aff0
mov rcx, rbx
nop
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x14006b880
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
mov r10, qword [rbp + 0x30]
mov r8, r10
cmp rcx, r10
cmovb r8, rcx
mov rdx, rdi
test r8, r8
je 0x14006b8c5
sub r9, rdi
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14006b8d5
add rdx, 2
sub r8, 1
jne 0x14006b8b1
cmp r10, rcx
jb 0x14006b8d5
ja 0x14006b8d5
lea rcx, [rbp + 0x20]
jmp 0x14006baf5
lea rcx, [rbp + 0x20]
call fcn.14004b2f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x14006b8f0
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14004c390
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x110]
lea rcx, [rsi + 0x70]
call fcn.140067220
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14006b95d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be21
call fcn.14011460c
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
lea rdx, [rbp + 0x90]
lea rcx, [rbp]
call fcn.14004aff0
mov rdx, qword [rbp + 0x128]
cmp rdx, 8
jb 0x14006b9c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b9bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be27
call fcn.14011460c
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x120], xmm1
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
lea rcx, [rbp]
call fcn.14004b2f0
lea rdx, [rbp + 0x110]
lea rcx, [rsi + 0x70]
call fcn.140066a80
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14006ba13
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp]
call fcn.14004c390
lea rdx, [rbp]
lea rcx, [rsi + 0x70]
call fcn.140066fb0
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14006ba79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ba74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be2d
call fcn.14011460c
cmp qword [rsi + 0xd0], 0
jne 0x14006ba8c
lea rcx, [rsi + 0x70]
call fcn.140066800
lea rdx, [rsi + 0xc0]
cmp qword [rdx + 0x18], 8
jb 0x14006ba9d
mov rdx, qword [rdx]
mov r8b, 1
lea rcx, [rsi + 0x70]
call fcn.140068660
mov rcx, rsi
call fcn.14006be40
nop
lea rcx, [rbp + 0x1c0]
call fcn.14004b2f0
lea rcx, [rbp + 0x1a0]
call fcn.14004b2f0
lea rcx, [rbp + 0x170]
call fcn.14004b2f0
lea rcx, [rbp + 0x150]
call fcn.14004b2f0
lea rcx, [rbp + 0x130]
call fcn.14004b2f0
lea rcx, [rbp + 0x110]
call fcn.14004b2f0
nop
mov qword [rbp + 0x40], r15
lea rcx, [rbp + 0xb8]
call fcn.140050230
lea rcx, [rbp + 0x90]
call fcn.14004b2f0
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14006bb2a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbp + 0x58], r12
mov rcx, rdi
call fcn.14011460c
jmp 0x14006bde5
mov edx, 0x3fe
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, 0xffffffffffffffff
lea r9d, [rbx + 3]
mov r8, rbx
mov edx, 0x100c
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
test eax, eax
js 0x14006bde5
mov ecx, 0xfffe
call fcn.140114b30
mov rdi, rax
xor edx, edx
mov r8d, 0xfffe
mov rcx, rax
call fcn.140118720
mov qword [rsp + 0x60], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x70], 1
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x70], 0x7fff
mov edx, 0x3fe
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104b
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14006bc00
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp]
call fcn.14004c390
lea rdx, [rbp]
lea rcx, [rsi + 0x70]
call fcn.140066fb0
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14006bc66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bc61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be15
call fcn.14011460c
movsxd rbx, r14d
mov edx, 0x3fe
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor r9d, r9d
mov r8, rbx
mov edx, 0x1008
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, rdi
call fcn.14011460c
jmp 0x14006bde5
mov rcx, rsi
call fcn.14006c5a0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x2c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x1c], xmm1
mov qword [rbp - 0xc], r12
mov dword [rbp - 0x30], 0x2c
lea rdx, [rbp - 0x30]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
cmp byte [0x14018c2e4], r12b
je 0x14006bd67
mov eax, dword [rbp - 8]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 0xc]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x18]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x28]
mov r8d, dword [rbp - 0x2c]
lea rdx, str._d__d__d__d__d__d__d__d__d__d
lea rcx, [rbp]
call fcn.140062b60
nop
lea r9, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r9, qword [rbp]
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x20], r12
lea r8, str.windowposBookmarks
lea rdx, str.global
lea rcx, [0x14018c350]
call fcn.140060bf0
nop
lea rcx, [rbp]
call fcn.14004b2f0
jmp 0x14006bd96
mov dword [rsp + 0x28], 0x2c
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.windowposBookmarks
lea rdx, str.SoftwaregrepWinNP3
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp ebx, 1
jne 0x14006bdd9
mov edx, 0x3fe
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 0x100c
lea r9d, [rbx + 1]
lea r8, [r9 - 3]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x14006bdd9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8014
mov rcx, qword [rsi + 0x48]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1401145b0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14011c9a4
nop
call fcn.14011c9a4
nop
call fcn.14011c9a4
int3
call fcn.14011c9a4
int3
call fcn.14011c9a4
int3