Function at 0x140016490
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140016490
push rbp
push rdi
push r12
sub rsp, 0x2c0
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x2c0]
mov ebp, edx
lea rdx, [rsp + 0x68]
xor r12d, r12d
mov qword [rsp + 0x68], r12
call fcn.14000126c
test eax, eax
je 0x140016a66
lea rcx, [rsp + 0xa2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xa0], r12w
call fcn.14001e8c0
lea r9, str.Toolbar
lea r8, [0x140056e00]
lea rcx, [rsp + 0xa0]
mov edx, 0x208
call fcn.1400011f4
mov rcx, rdi
call fcn.140001154
test eax, eax
je 0x140016548
mov eax, dword [rdi + 0x2c8]
lea r9, str.Toolbar
lea r8, str._sDisplay::_d
lea rcx, [rsp + 0xa0]
mov edx, 0x208
mov dword [rsp + 0x20], eax
call fcn.1400011f4
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140016a56
mov qword [rsp + 0x2f0], rbx
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x2f8], rsi
mov ebx, r12d
mov qword [rsp + 0x60], r12
call fcn.1400014b0
test eax, eax
je 0x1400165f8
nop word [rax + rax]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r8d, ebp
mov rax, qword [rcx]
inc ebx
call qword [rax + 0x18]
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, rdi
call fcn.1400014b0
test eax, eax
jne 0x1400165d0
mov rcx, rdi
call fcn.14000107d
mov rsi, rax
test ebp, ebp
je 0x140016800
mov rcx, qword [rsp + 0x50]
lea rbx, [rax + 0x24]
lea rdx, str.Side
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea r11, [rsi + 0x1c]
lea rdx, str.Monitor
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbx], 4
jne 0x140016679
mov rcx, qword [rdi + 0x230]
lea rdx, [rsi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsp + 0x50]
lea rax, [rsi + 0x28]
lea rdx, str.FloatingPosition
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea r11, [rsi + 4]
lea rdx, str.AlwaysOnTop
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea r11, [rdi + 0x2e0]
lea rdx, [0x140058950]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea r11, [rsi + 0xc]
lea rdx, str.ShowTitlebar
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea r11, [rdi + 0x2e8]
lea rdx, str.LargeIcons
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea r11, [rdi + 0x2e4]
lea rdx, str.Locked
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea rdx, str.AutoHide
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rdi + 0x238]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Rows
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140016a3b
mov rcx, qword [rsp + 0x50]
lea r8, [rax + 0x24]
lea rdx, str.Side
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
lea r8, [rsi + 0x1c]
lea rdx, str.Monitor
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x84], eax
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
lea rdx, str.FloatingPosition
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x58], 0x10
mov dword [rsp + 0x60], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400168a3
lea rcx, [rsp + 0x78]
mov eax, dword [rcx]
mov dword [rsi + 0x28], eax
mov eax, dword [rcx + 4]
mov dword [rsi + 0x2c], eax
mov eax, dword [rcx + 8]
mov dword [rsi + 0x30], eax
mov eax, dword [rcx + 0xc]
mov dword [rsi + 0x34], eax
jmp 0x140016921
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.1400014ba
mov rcx, rdi
call fcn.140001154
test eax, eax
je 0x1400168d2
mov eax, dword [rdi + 0x2c8]
mov dword [rdi + 0x2e8], 1
mov dword [rsi + 0x1c], eax
lea rcx, [rsp + 0x88]
mov dword [rsi + 4], 1
mov dword [rsp + 0x30], 0x23
mov eax, dword [rcx]
xor r9d, r9d
xor r8d, r8d
mov dword [rsi + 0x28], eax
mov eax, dword [rcx + 4]
or rdx, 0xffffffffffffffff
mov dword [rsi + 0x2c], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x28], r12d
mov dword [rsi + 0x30], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x20], r12d
mov dword [rsi + 0x34], eax
mov rcx, qword [rdi + 0x230]
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [rsi + 0x24], 4
jne 0x14001695d
cmp dword [rdi + 0x340], r12d
je 0x14001695d
mov r8d, dword [rsi + 0x2c]
mov eax, dword [rsi + 0x34]
mov edx, dword [rsi + 0x28]
mov r9d, dword [rsi + 0x30]
mov rcx, qword [rdi + 0x230]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsp + 0x50]
lea r8, [rsi + 4]
lea rdx, str.AlwaysOnTop
call fcn.14000114f
test eax, eax
je 0x140016992
mov r9, qword [rdi + 0x230]
mov r8d, dword [rsi + 4]
mov rcx, qword [rdi + 0x2c0]
mov edx, 0x400000
call fcn.1400010e6
mov rcx, qword [rsp + 0x50]
lea r8, [rdi + 0x2e0]
lea rdx, [0x140058950]
call fcn.14000114f
test eax, eax
je 0x1400169cd
mov r9, qword [rdi + 0x230]
mov r8d, dword [rdi + 0x2e0]
mov rcx, qword [rdi + 0x2c0]
mov edx, 0x800
call fcn.1400010e6
mov rcx, qword [rsp + 0x50]
lea r8, [rsi + 0xc]
lea rdx, str.ShowTitlebar
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
lea r8, [rdi + 0x2e8]
lea rdx, str.LargeIcons
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
lea r8, [rdi + 0x2e4]
lea rdx, str.Locked
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
lea rdx, str.AutoHide
mov r8, rsi
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
lea r8, [rsi + 0x20]
lea rdx, str.Rows
call fcn.14000114f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x2f8]
mov rbx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x2c0
pop r12
pop rdi
pop rbp
ret