joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c200
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
lea rax, [r11 - 0x18]
mov dword [rsp + 0x40], 4
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], r9
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
and qword [r11 - 0x38], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x14002c23e
movzx eax, ax
or eax, 0x80070000
add rsp, 0x58
ret

Function at 0x1400327f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
and dword [rcx + 0x60], 0
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.api_ms_win_shcore_path_l1_1_0.dll_Ordinal_170]
nop dword [rax + rax]
test eax, eax
jne 0x140032839
mov r8, qword [rbx + 0x18]
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 0x140032840
add rsp, 0x30
pop rbx
ret
and qword [rsp + 0x28], 0
lea r8, str.UseExecutableForTaskbarGroupIcon
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140032880
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140032839
mov dword [rbx + 0x60], 1
jmp 0x14003286d

Function at 0x140035040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r9d, r9d
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov ebx, r8d
mov rbp, rcx
mov rcx, rsi
mov edi, 0x80004005
lea r15d, [r9 + 1]
add ax, r15w
lea edx, [r9 + 6]
movzx r8d, ax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
xor r14d, r14d
test rax, rax
je 0x1400350f3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x1400350f3
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov rcx, rax
test rax, rax
je 0x1400350f3
and ebx, 0xf
jbe 0x1400350db
mov edx, ebx
movzx eax, word [rcx]
lea rcx, [rcx + rax*2]
add rcx, 2
sub rdx, r15
jne 0x1400350cb
lea rdx, [rcx + 2]
cmp word [rcx], r14w
je 0x14003510f
movzx r8d, word [rcx]
mov rcx, rbp
call fcn.1400355d0
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
lea rdx, [0x14030c980]
jmp 0x1400350e5
Function at 0x14003a2d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 9], 0xfffffffffffffffe
lea rdx, [rbp + 0x7f]
call fcn.14003a4f4
test eax, eax
js 0x14003a30e
cmp byte [rbp + 0x7f], 0
jne 0x140175542
lea rax, [rbp + 0x77]
mov qword [rbp - 0x41], rax
lea rax, [rbp + 0x67]
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0x6f]
mov qword [rbp - 0x31], rax
mov rax, qword [rbp + 0x5f]
mov qword [rbp - 0x29], rax
lea rax, str.onecoreuap_shellcontentdeliverymanagerutilslibcontentdeliverymanagertriggerscontentdeliverymanagertriggers.cpp
mov qword [rbp - 0x21], rax
and qword [rbp - 0x19], 0
mov eax, reloc.SHELL32.dll_DAD_DragMove
mov word [rbp - 0x11], ax
xor r8d, r8d
mov dl, 1
lea rcx, [0x14038c5f0]
call fcn.14003a3f4
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.14003a4bc
lea r8, [rbp - 0x29]
mov edx, 0x79780d
lea rcx, [rbp + 0xf]
call fcn.1400922c4
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 1]
call fcn.14003a498
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14003a394
mov eax, dword [rbp + 0x23]
mov dword [rcx + 0x10], eax
add rsp, 0xd0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rsi, qword [rbp + 0x67]
xor edi, edi
mov dword [rbp - 0x59], 4
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x55]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
mov r8, rsi
lea r15, str.SoftwareMicrosoftWindowsCurrentVersionContentDeliveryManagerSuggestedAppEvents
mov rdx, r15
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140175599
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1401755db
lea rax, [0x14030c980]
test rsi, rsi
cmovne rax, rsi
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, str.RegKey:__ws__ws
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.onecoreuap_shellcontentdeliverymanagerutilsincContentDeliveryManagerSettings.h
mov edx, 0x4f
call fcn.1401c78e8
jmp 0x1401755e0
mov edi, dword [rbp - 0x55]
xor ebx, ebx
test ebx, ebx
js 0x14003a30e
mov eax, dword [rbp + 0x6f]
test eax, edi
je 0x14003a30e
cmp eax, 1
jne 0x140175626
lea rdx, [0x1401f63e0]
call fcn.14009181c
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14003a30e
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x51]
lea rdx, [0x1403307ad]
jmp 0x14017565b
cmp eax, 2
jne 0x14003a30e
lea rdx, [0x1401f63e0]
call fcn.14009181c
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14003a30e
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x49]
lea rdx, [0x1403307d9]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call fcn.1401a36c4
nop
jmp 0x14003a30e
Function at 0x14003e9f4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov bl, cl
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 8
mov qword [rsp + 0x30], rax
lea r8, str.LastResumeOnPCTime
lea rax, [rsp + 0x78]
mov r9d, 0x20000040
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionMobility
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 8
mov qword [rsp + 0x30], rax
lea r8, str.LastResumeOnPCInteractionTime
lea rax, [rsp + 0x40]
mov r9d, 0x20000040
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionMobility
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov eax, dword [rsp + 0x74]
movabs rdx, 0xfffffda480c2c000
mov ecx, dword [rsp + 0x70]
shl rax, 0x20
add rax, rdx
add rcx, rax
mov rax, qword [rsp + 0x78]
cmp rax, rcx
ja 0x1401760b2
xor eax, eax
add rsp, 0x50
pop rbx
ret
cmp rax, qword [rsp + 0x40]
jbe 0x14003eac9
xor r8d, r8d
lea rcx, [0x14038c5e0]
mov dl, 1
call fcn.14025047c
lea r8d, [rbx + 0x64]
mov dl, 1
lea rcx, [0x14038c5e0]
call fcn.14025047c
nop
jmp 0x14003eac9
Function at 0x140045688
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov byte [rax + 8], cl
sub rsp, 0x48
lea rcx, [rax + 0x10]
mov dword [rax + 8], 1
mov qword [rax - 0x18], rcx
lea r8, str.IsAvailable
lea rcx, [rax + 8]
mov dword [rax + 0x10], 4
mov qword [rax - 0x20], rcx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionCortana
and qword [rax - 0x28], 0
mov rcx, 0xffffffff80000001
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
je 0x1400456f7
test eax, eax
jne 0x140177f0a
cmp dword [rsp + 0x50], 1
sete al
add rsp, 0x48
ret
mov al, 1
jmp 0x1400456f1
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreuapinternal_shellincCortanaCapabilities.h
mov r9d, eax
mov edx, 0x50
call fcn.140195f4c
nop
jmp 0x1400456f7

Function at 0x140045728
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
xor ebx, ebx
mov dword [rsp + 0x58], 4
lea rax, [r11 + 0x10]
mov dword [rsp + 0x50], ebx
mov qword [r11 - 0x18], rax
lea r8, str.SearchBoxTheme
lea rax, [r11 + 8]
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x20], rax
lea r9d, [rbx + 0x10]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
mov qword [r11 - 0x28], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140177f48
mov ecx, ebx
sub ecx, 1
je 0x140045795
cmp ecx, 1
je 0x14004579e
call fcn.1400457a8
test al, al
sete bl
mov al, bl
add rsp, 0x40
pop rbx
ret
mov bl, 1
jmp 0x140045795
mov ecx, dword [rsp + 0x50]
cmp ecx, 2
jbe 0x140045781
jmp 0x14004577f
Function at 0x14004695c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov byte [rcx], 0
mov r12b, 1
mov dl, r12b
lea rcx, [0x14038bf00]
call fcn.1400244d0
call fcn.140045688
mov byte [rdi], al
test al, al
jne 0x140046a99
lea rcx, [rsp + 0x60]
call fcn.1400aec3c
nop
xor sil, sil
mov byte [rsp + 0x42], sil
xor r14b, r14b
mov byte [rsp + 0x43], r14b
xor r15b, r15b
mov byte [rsp + 0x40], r15b
call fcn.1400b12ac
mov r13b, al
mov byte [rsp + 0x44], al
mov cl, al
mov byte [rsp + 0x41], al
test al, al
je 0x140046a2a
call fcn.1400bc244
mov sil, al
mov byte [rsp + 0x42], al
test al, al
jne 0x140046a24
call fcn.1400bc324
mov r14b, al
mov byte [rsp + 0x43], al
test al, al
jne 0x140046a24
mov byte [rsp + 0x41], r12b
call fcn.1400b12fc
mov r15b, al
mov byte [rsp + 0x40], al
mov cl, al
jmp 0x140046a26
xor cl, cl
mov byte [rsp + 0x41], cl
jmp 0x140046a4c
test cl, cl
je 0x140046a69
test r13b, r13b
je 0x140046a69
test sil, sil
jne 0x140046a69
test r14b, r14b
jne 0x140046a69
test r15b, r15b
je 0x140046a69
mov al, r12b
jmp 0x140046a6b
xor al, al
mov byte [rdi + 1], al
mov byte [rdi], al
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], r15b
mov r9b, r14b
mov r8b, sil
mov dl, r13b
lea rcx, [rsp + 0x60]
call fcn.1400bca04
nop
lea rcx, [rsp + 0x60]
call fcn.1400af198
jmp 0x140046aa7
call fcn.1400b12ac
test al, al
je 0x140046aa7
call fcn.1400afc00
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov ecx, Ordinal_54
call fcn.140047eb4
cmp byte [rsp + 0x40], 0
setne al
mov byte [rdi + 2], al
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov ecx, Ordinal_54
call fcn.140047eb4
cmp byte [rsp + 0x40], 0
setne al
mov byte [rdi + 3], al
and dword [rsp + 0x48], 0
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, str.ImmersiveSearchButtonIconOverride
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140046b3d
cmp dword [rsp + 0x48], eax
jne 0x140046b40
xor r12b, r12b
mov byte [rdi + 4], r12b
cmp byte [rdi], 0
je 0x140046b58
cmp byte [rdi + 2], 0
jne 0x140046b58
call fcn.140027b64
test al, al
je 0x140046b64
mov rcx, rdi
call fcn.140045704
test al, al
je 0x140046b97
lea rcx, [rsp + 0x50]
call fcn.1401ea470
test eax, eax
jns 0x140046b90
mov rcx, qword [rsp + 0x1c8]
mov r9d, eax
lea r8, str.pcshell_shellexplorerCortanaEnabledState.h
mov edx, 0x75
call fcn.14009cb2c
jmp 0x140046b97
mov eax, dword [rsp + 0x50]
mov dword [rdi + 8], eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x1b0]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140048030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1170]
mov eax, 0x1270
call fcn.140138e50
sub rsp, rax
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x1160], rax
xor r14d, r14d
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov byte [r8], r14b
mov qword [rsp + 0x30], rax
mov rsi, r8
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov rdi, rdx
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov qword [rsp + 0x20], r14
mov r15, 0xffffffff80000001
lea r9d, [r14 + 0x10]
lea r8, str.Current
mov rcx, r15
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearchFlighting
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140178510
xor eax, eax
mov rcx, qword [rbp + 0x1160]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x12b8]
add rsp, 0x1270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x40]
lea r9, str.SoftwareMicrosoftWindowsCurrentVersionSearchFlighting
mov qword [rsp + 0x28], rbx
lea r8, [0x140335e38]
mov edx, 0x800
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x160]
call fcn.14002d868
mov ebx, eax
test eax, eax
jns 0x140178570
mov edx, 0x141
jmp 0x140178553
mov ebx, 0x80070057
mov edx, 0x167
mov rcx, qword [rbp + 0x1198]
lea r8, str.onecoreuapinternal_shellincCortanaFeatureConfiguration.h
mov r9d, ebx
call fcn.14001e09c
mov eax, ebx
jmp 0x1400480c9
cmp dword [rdi], r14d
jl 0x140178549
cmp dword [rdi], 1
jle 0x140178617
cmp dword [rdi], 2
jne 0x140178549
mov ebx, 0x208
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x30], rax
lea r8, str.Value
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x160]
mov rcx, r15
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400480c7
lea r8, [rdi + 8]
or rdx, 0xffffffffffffffff
lea rax, [rsp + 0x50]
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x1401785ec
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14017866f
mov edx, 0x160
jmp 0x140178553
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea r8, str.Value
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x160]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400480c7
mov eax, dword [rsp + 0x40]
mov dword [rdi + 4], eax
mov byte [rsi], 1
jmp 0x1400480c7
Function at 0x1400480f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r14d, r14d
mov rdi, r8
mov byte [r8], r14b
mov rbx, rdx
mov rsi, rcx
cmp dword [rdx], r14d
jl 0x1401786bc
cmp dword [rdx], 1
jg 0x1400481ad
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea r9d, [r14 + 0x10]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
mov r8, rcx
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearchFlightingOverride
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x1401786ad
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
cmp dword [rdx], 2
jne 0x1401786bc
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearchFlightingOverride
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
mov r8, rsi
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140048186
jmp 0x140178678
lea r8, [rbx + 8]
or rdx, 0xffffffffffffffff
lea rax, [rsp + 0x50]
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x140178685
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1401786b4
mov edx, 0x127
jmp 0x1401786c6
mov eax, dword [rsp + 0x40]
mov dword [rbx + 4], eax
mov byte [rdi], 1
jmp 0x140048186
mov ebx, 0x80070057
mov edx, 0x12e
mov rcx, qword [rsp + 0x288]
lea r8, str.onecoreuapinternal_shellincCortanaFeatureConfiguration.h
mov r9d, ebx
call fcn.14001e09c
mov eax, ebx
jmp 0x140048188
Function at 0x14005527c
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov al, byte [0x140389e65]
xor ebx, ebx
test al, al
je 0x1400552aa
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.140097bd4
mov ebx, eax
test eax, eax
js 0x140055297
mov cl, byte [0x140389e65]
test cl, cl
jne 0x14005537f
lea rbp, str.LocalSessionImmersiveColorPreference
mov edx, 1
mov r8, rbp
mov ecx, 0xf001f
mov bl, 1
xor dil, dil
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
nop dword [rax + rax]
test rax, rax
je 0x14017cce8
mov qword [0x140389e50], rax
mov byte [0x140389e64], bl
mov al, byte [0x140389e64]
mov rcx, qword [0x140389e50]
neg al
mov qword [rsp + 0x20], 8
sbb edx, edx
xor r9d, r9d
and edx, 0xf001b
xor r8d, r8d
add edx, 4
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
nop dword [rax + rax]
mov qword [0x140389e58], rax
mov rax, qword [0x140389e58]
test rax, rax
je 0x140055389
xor ebx, ebx
test dil, dil
jne 0x14017cd43
call fcn.140099528
mov rcx, qword [0x140389750]
test eax, eax
cmovne rcx, qword [0x140389748]
mov qword [0x140389750], rcx
call fcn.14007aca4
call fcn.140088038
mov byte [0x140389e65], 1
call fcn.140099f24
jmp 0x140055297
mov ebx, 0x80004005
jmp 0x14005537f
mov edx, 1
mov r8, rbp
lea ecx, [rdx + 3]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
nop dword [rax + rax]
xor bl, bl
test rax, rax
jne 0x1400552f1
mov qword [rsp + 0x28], rbp
lea r8d, [rax + 4]
xor r9d, r9d
mov dword [rsp + 0x20], 8
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
nop dword [rax + rax]
mov bl, 1
mov dil, bl
test rax, rax
je 0x140055389
jmp 0x1400552f1
mov rcx, qword [0x140389e58]
call fcn.14007ad30
call fcn.140261a8c
test al, al
jne 0x140055351
lea rcx, [rsp + 0x48]
call fcn.1400207e0
test eax, eax
js 0x140055351
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
call qword [0x1403ad2d0]
nop dword [rax + rax]
test eax, eax
je 0x14017cda3
mov rcx, qword [rsp + 0x40]
call fcn.140261e78
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
jmp 0x140055351
Function at 0x140055398
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor eax, eax
mov dword [rbp - reloc.OLEAUT32.dll_SafeArrayGetDim], 0x10
mov rsi, rdx
mov qword [rbp - 0xc], rax
mov r14, rcx
mov dword [rbp - 4], eax
xor r9d, r9d
lea r8, [rbp - 0x10]
lea edx, [rax + 0x10]
lea ecx, [rax + 0x42]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
mov ebx, 1
test eax, eax
je 0x1400553e9
mov eax, dword [rbp - 0xc]
and eax, ebx
jne 0x14017cdba
and dword [rbp + 0x30], 0
lea rax, [rbp + 0x38]
mov qword [rsp + 0x30], rax
lea r8, str.ColorPrevalence
lea rax, [rbp + 0x30]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
and qword [rsp + 0x20], 0
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14017cdf5
js 0x140055447
cmp dword [rbp + 0x30], 0
jne 0x14017ce04
mov dl, bl
lea rcx, [0x14038c040]
call fcn.14003b870
call qword [sym.imp.UxTheme.dll_GetThemeBackgroundContentRect]
nop dword [rax + rax]
test al, al
je 0x14017ce0e
mov edi, 2
cmp byte [0x14038a57a], 0
jne 0x1400554f6
xor edx, edx
lea rcx, [0x14038bfc8]
call fcn.14001bfac
lea rax, [rbp + 0x30]
mov dword [rbp + 0x30], 4
mov qword [rsp + 0x30], rax
lea r8, str.EnableTransparency
lea rax, [rbp + 0x40]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14017ce15
js 0x1400554f6
cmp dword [rbp + 0x40], 0
je 0x1400554f6
test r14, r14
je 0x1400554e3
mov dword [r14], edi
test rsi, rsi
je 0x1400554ea
mov byte [rsi], bl
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor bl, bl
jmp 0x1400554db
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColor]
nop dword [rax + rax]
movzx ecx, ax
shr ecx, 8
lea edx, [rcx + rcx*4]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
add edx, ecx
movzx eax, al
lea ecx, [rdx + rax*2]
mov eax, 0x400
cmp eax, ecx
sbb edi, edi
add edi, 5
jmp 0x1400554f6
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x14005543b
mov edi, 3
jmp 0x14005546e
mov edi, ebx
jmp 0x140055477
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x1400554d3
Function at 0x1400555d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
and dword [rsp + 0x78], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x28], rax
mov ebx, r8d
lea rax, [r11 + 0x20]
mov dword [rsp + 0x40], 4
mov rdi, rdx
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
mov r8, rdx
mov rsi, rcx
mov rdx, rcx
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14005564d
js 0x140055659
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x140055636
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x78]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, rsi
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jle 0x1400556a9
movzx ecx, ax
or ecx, 0x80070000
mov eax, dword [rsp + 0x78]
test ecx, ecx
cmovs eax, ebx
jmp 0x14005563c