Function at 0x180025e00
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x180025e00
mov rax, rsp
push rbp
lea rbp, [rax - 0x2f8]
sub rsp, 0x3f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800b75c0]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov qword [rcx + 0x20], rsi
lea rax, vtable.CShellExt.0
mov qword [rcx], rax
lea rax, vtable.CShellExt.1.0
mov qword [rcx + 8], rax
lea rax, vtable.CShellExt.2.0
mov qword [rcx + 0x10], rax
lea rax, vtable.CShellExt.3.0
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x28], esi
mov qword [rcx + 0x48], rsi
mov dword [rcx + 0x2d8], esi
mov qword [rcx + 0x2e0], rsi
mov byte [rcx + 0x2e8], 1
mov byte [rcx + 0xb0a], sil
mov dword [rcx + 0xb0c], esi
mov eax, dword [0x1800b728c]
mov dword [rcx + 0xb10], eax
mov byte [rcx + 0xb14], sil
mov dword [rcx + 0xb18], esi
mov qword [rcx + 0xb20], rsi
mov qword [rcx + 0xb28], rsi
add rcx, 0xb38
call fcn.180001c44
nop
mov qword [rbx + 0xb48], rsi
mov qword [rbx + 0xb50], rsi
mov word [rbx + 0xb60], si
xor edx, edx
mov r8d, 0x258
lea rcx, [rbp + 0x80]
call fcn.180002d29
xor eax, eax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
inc dword [0x1800b8b68]
lea rdx, [rbx + 0x4f2]
mov r8d, 0x104
mov rcx, qword [0x1800b8b70]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x60]
call fcn.180002d29
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [rsp + 0x64]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rsp + 0x68]
or ecx, eax
mov dword [rbx + 0xb18], ecx
cmp ecx, 0x600
jb 0x180025f6f
call fcn.18000467e
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x44], esi
lea r8, str.88B30659_E446_4019_A63B_3B07426E782F
lea rdx, str.CLSID_sSettings
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002616e
mov dword [rsp + 0x30], 0x80
lea rdi, [rbx + 0x258]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Title
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18002601e
mov r8d, 0x40
lea rdx, [0x1800b8b5c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Dynamic
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180026063
cmp dword [rsp + 0x40], eax
je 0x180026063
mov byte [rbx + 0xb14], 1
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Maxtext
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800260ba
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x30]
cmp dword [rsp + 0x48], 0
cmovbe rax, rcx
mov eax, dword [rax]
mov dword [rbx + 0xb10], eax
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ShowIcon
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800260ff
cmp dword [rsp + 0x44], eax
setne al
mov byte [rbx + 0x2e8], al
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CustomIcon
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180026162
mov byte [rbx + 0xb0a], 1
mov dword [rsp + 0x30], 0x104
lea rcx, [rbx + 0x902]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CustomIcon
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.18000411a
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret