Function at 0x140051380
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rbx, r8
lea rax, [rbp - 0x18]
xor esi, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x18], rsi
mov r9d, 0x20019
mov rdi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140051719
lea rcx, [rbx + 0xa0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0x208
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x208]
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov dword [rbp - 0x30], esi
lea rdx, str.AppCmdLine
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0x208
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x410]
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppCmdLineParameters
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.AppModulePath
mov dword [rbp + 0x28], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0x208
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x618]
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppModernModulePath
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0xc8
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x140]
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppClass
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0x208
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0xacc]
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppDesktop
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], 0x50
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0xcd4]
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppDesktopGuid
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x18]
lea r8, [rbx + 0xd50]
lea rdx, str.AppHwnd
call fcn.14005ab20
mov rcx, qword [rbp - 0x18]
lea r8, [rbx + 0xd24]
lea rdx, str.AppFlags
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbx + 0xd48]
lea rdx, str.AppMonGridId
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x10]
lea rdx, [0x1400a1f80]
call fcn.14005ab20
test al, al
je 0x1400515b6
movsx eax, word [rbp - 0x10]
movsx ecx, word [rbp - 0xa]
mov dword [rbx + 0xd28], eax
movsx eax, word [rbp - 0xe]
mov dword [rbx + 0xd2c], eax
movsx eax, word [rbp - 0xc]
jmp 0x14005162c
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x2c]
lea rdx, str.AppSX
mov dword [rbp - 0x2c], esi
mov dword [rbp - 0x28], esi
mov dword [rbp - 0x20], esi
mov dword [rbp - 0x24], esi
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, str.AppSY
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, str.AppExtX
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x24]
lea rdx, str.AppExtY
call fcn.14005aa90
mov ecx, dword [rbp - 0x28]
mov edx, dword [rbp - 0x2c]
mov eax, dword [rbp - 0x20]
mov dword [rbx + 0xd2c], ecx
add ecx, dword [rbp - 0x24]
add eax, edx
mov dword [rbx + 0xd28], edx
mov dword [rbx + 0xd30], eax
mov dword [rbx + 0xd34], ecx
test dword [rbx + 0xd24], 0xff00
je 0x14005170f
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x10]
lea rdx, [0x1400a1fd8]
call fcn.14005ab20
test al, al
je 0x14005168d
movsx eax, word [rbp - 0x10]
mov dword [rbx + 0xd38], eax
movsx eax, word [rbp - 0xe]
mov dword [rbx + 0xd3c], eax
movsx eax, word [rbp - 0xc]
mov dword [rbx + 0xd40], eax
movsx eax, word [rbp - 0xa]
mov dword [rbx + 0xd44], eax
jmp 0x14005170f
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, str.AppMaxSX
mov dword [rbp - 0x20], esi
mov dword [rbp - 0x24], esi
mov dword [rbp - 0x28], esi
mov dword [rbp - 0x2c], esi
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x24]
lea rdx, str.AppM
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, [0x1400a2018]
call fcn.14005aa90
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x2c]
lea rdx, str.AppMaxExtY
call fcn.14005aa90
mov ecx, dword [rbp - 0x20]
mov edx, dword [rbp - 0x24]
mov dword [rbx + 0xd38], ecx
add ecx, dword [rbp - 0x28]
mov dword [rbx + 0xd40], ecx
mov ecx, dword [rbp - 0x2c]
add ecx, edx
mov dword [rbx + 0xd3c], edx
mov dword [rbx + 0xd44], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret