Function at 0x1400460c0
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 0x140046425
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], 0x50
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]
mov rcx, qword [rbp - 0x18]
lea r8, [rbx + 0xb48]
lea rdx, str.AppHwnd
call fcn.14004fdd0
mov rcx, qword [rbp - 0x18]
lea r8, [rbx + 0xb1c]
lea rdx, str.AppFlags
call fcn.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbx + 0xb40]
lea rdx, str.AppMonGridId
call fcn.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x10]
lea rdx, [0x140096c68]
call fcn.14004fdd0
test al, al
je 0x1400462c2
movsx eax, word [rbp - 0x10]
movsx ecx, word [rbp - 0xa]
mov dword [rbx + 0xb20], eax
movsx eax, word [rbp - 0xe]
mov dword [rbx + 0xb24], eax
movsx eax, word [rbp - 0xc]
jmp 0x140046338
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.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, str.AppSY
call fcn.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, str.AppExtX
call fcn.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x24]
lea rdx, str.AppExtY
call fcn.14004fd40
mov ecx, dword [rbp - 0x28]
mov edx, dword [rbp - 0x2c]
mov eax, dword [rbp - 0x20]
mov dword [rbx + 0xb24], ecx
add ecx, dword [rbp - 0x24]
add eax, edx
mov dword [rbx + 0xb20], edx
mov dword [rbx + 0xb28], eax
mov dword [rbx + 0xb2c], ecx
test dword [rbx + 0xb1c], 0xff0
je 0x14004641b
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x10]
lea rdx, [0x140096cc0]
call fcn.14004fdd0
test al, al
je 0x140046399
movsx eax, word [rbp - 0x10]
mov dword [rbx + 0xb30], eax
movsx eax, word [rbp - 0xe]
mov dword [rbx + 0xb34], eax
movsx eax, word [rbp - 0xc]
mov dword [rbx + 0xb38], eax
movsx eax, word [rbp - 0xa]
mov dword [rbx + 0xb3c], eax
jmp 0x14004641b
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.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x24]
lea rdx, str.AppMaxSY
call fcn.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, str.AppMaxExtX
call fcn.14004fd40
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x2c]
lea rdx, str.AppMaxExtY
call fcn.14004fd40
mov ecx, dword [rbp - 0x20]
mov edx, dword [rbp - 0x24]
mov dword [rbx + 0xb30], ecx
add ecx, dword [rbp - 0x28]
mov dword [rbx + 0xb38], ecx
mov ecx, dword [rbp - 0x2c]
add ecx, edx
mov dword [rbx + 0xb34], edx
mov dword [rbx + 0xb3c], 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