Function at 0x140025560
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rcx
movsxd r15, edx
mov rcx, qword [rcx + 0x10]
mov ebx, 0xfffffffe
xor esi, esi
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [case.0x14006b68f.0]
mov rdi, rax
cmp qword [rax + 0x30], rsi
je 0x14002578c
and qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x38]
call fcn.14000a6a4
mov rdx, qword [rdi + 0x30]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [0x14030de78]
xor ecx, ecx
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHBindToFolderIDListParent]
nop dword [rax + rax]
test eax, eax
js 0x140025706
and qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x58], r14
call fcn.14000a6a4
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, [0x14030c510]
lea rcx, [rsp + 0x48]
call fcn.140026600
and qword [rsp + 0x50], rsi
cmp qword [rsp + 0x48], rsi
je 0x140170995
lea rdx, [0x14038bc10]
mov qword [rsp + 0x50], r14
lea ecx, [rbx + 0x1a]
call fcn.1400a1c8c
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x14017098e
mov rax, qword [rsp + 0x48]
mov rcx, rdi
mov qword [rdi], rax
call fcn.14000ad58
mov rax, qword [rsp + 0x50]
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], r15d
mov eax, dword [r14 + 0x38]
mov dword [rdi + 0x14], eax
test rdi, rdi
je 0x140170995
lea rax, [0x1403867f8]
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
lea rax, [fcn.14006b0c0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], 0x8000
call qword [sym.imp.SHELL32.dll_Ordinal_792]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x140025822
mov ebx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.140092e38
lea rcx, [rsp + 0x48]
call fcn.14000a6a4
lea rcx, [rsp + 0x38]
call fcn.14000a6a4
cmp esi, 0x8000000a
je 0x140025763
cmp ebx, 0xfffffffe
je 0x140025763
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.14000a6a4
lea r8, [rsp + 0x38]
or ecx, 0xffffffff
lea rdx, [0x14030e168]
call qword [sym.imp.SHELL32.dll_SHGetImageList]
nop dword [rax + rax]
test eax, eax
js 0x140025759
mov r8d, r15d
mov edx, ebx
mov rcx, r14
call fcn.1400857e4
lea rcx, [rsp + 0x38]
call fcn.14000a6a4
xor al, al
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rax + 0x18]
test rcx, rcx
jne 0x1401709bf
cmp qword [rax], rsi
je 0x140025763
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rdi]
mov dword [rsp + 0x30], 0x208
call qword [sym.imp.api_ms_win_shcore_path_l1_1_0.dll_Ordinal_170]
nop dword [rax + rax]
test eax, eax
jne 0x1400257f5
mov r8, qword [rdi]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 2]
lea ecx, [rdx + 0x40]
call qword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
nop dword [rax + rax]
test eax, eax
jns 0x140170a1d
mov rcx, qword [rdi]
cmp word [rcx], 0x2a
je 0x140025763
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140025763
jmp 0x140025710
cmp eax, 0x8000000a
jne 0x1400256fc
mov ebx, dword [rsp + 0x30]
jmp 0x1400256fc
xor edi, edi
jmp 0x140025689
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_Ordinal_790]
nop dword [rax + rax]
test eax, eax
cmovns ebx, dword [rsp + 0x30]
jmp 0x1400256fc
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_SHStrDupW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x140025763
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathParseIconLocationW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmovns ebx, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x140025710
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, str.TaskbarGroupIcon
lea rax, [rbp - 0x60]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140170a7b
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathParseIconLocationW]
nop dword [rax + rax]
xor r8d, r8d
lea rcx, [rbp - 0x60]
mov edx, eax
call qword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
nop dword [rax + rax]
test eax, eax
cmovns ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
cmp ebx, 0xfffffffe
jne 0x14002571d
jmp 0x1400257f5