joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f9030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
and dword [rax + 0x18], 0
lea rdx, [rax + 0x18]
mov rcx, qword [r8]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
movabs rdx, 0xcbf29ce484222325
mov r9d, dword [rsp + 0x70]
add r9, r9
mov r8d, 0
je 0x1400f909f
movzx ecx, byte [r8 + rax]
xor rdx, rcx
movabs r10, 0x100000001b3
imul rdx, r10
inc r8
cmp r8, r9
jb 0x1400f9081
mov rsi, qword [r14 + 0x30]
and rsi, rdx
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1400fc1b8
mov rdi, qword [rax]
mov rcx, qword [r14 + 0x18]
mov rax, rsi
add rax, rax
cmp rdi, qword [rcx + rax*8]
je 0x1400f90fe
mov rdi, qword [rdi + 8]
lea r8, [rdi + 0x10]
mov rdx, r12
call fcn.1400f98e4
test al, al
jne 0x1400f90b9
lea rcx, [r14 + 8]
mov r8, rbx
lea rdx, [rsp + 0x70]
call fcn.1400fc5b8
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x1400f91a3
mov rax, qword [rbx]
cmp rdi, rax
je 0x1400f9137
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rcx, qword [r14 + 0x18]
mov r8, rsi
add r8, r8
mov rdx, qword [rcx + r8*8]
mov rax, rsi
add rax, rax
cmp rdx, qword [r14 + 8]
jne 0x1400f915c
mov qword [rcx + rax*8], rbx
mov rax, qword [r14 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400f918f
shl rsi, 4
add rsi, rcx
cmp rdx, rdi
jne 0x1400f916d
mov qword [rsi], rbx
jmp 0x1400f918f
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
mov qword [rsi + 8], rcx
cmp rcx, rbx
je 0x1400f918f
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r14
call fcn.1400fbf60
nop
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400fb640
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x30], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], reloc.SHCORE.dll_Ordinal_200
mov qword [rsp + 0x30], rax
lea r8, str.ActiveMUID
lea rax, [rsp + 0x60]
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x28], rax
mov rbx, rdx
lea rax, [rsp + 0x44]
mov r9d, 2
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
call fcn.1400f4058
mov rcx, rax
cmp dword [rax], 5
jbe 0x1400fb71a
movabs rdx, 0x400000000000
call fcn.14004d198
test al, al
je 0x1400fb71a
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
lea rdx, [0x14031fe31]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], 0x1000000
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.1400032f4
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rbp
ret
Function at 0x140103efc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx], 0
je 0x140103faf
mov rcx, r8
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140103faf
and qword [rsp + 0x50], 0
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov r9d, 0x80000000
xor r8d, r8d
mov rdx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x14006c37f.0]
mov ecx, eax
call fcn.14018f3f8
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140103f8a
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006c37f.0]
nop
lea r8, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call fcn.14010397c
nop
cmp qword [rsp + 0x50], 0
je 0x140103fb3
lea rcx, [rsp + 0x50]
call fcn.1400f5fbc
jmp 0x140103fb3
and qword [rbx], 0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140104078
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movzx edx, dx
lea rcx, [0x140000000]
mov r8d, 0x100
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140104127
mov rdx, rax
lea rcx, [0x140000000]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [0x140000000]
mov esi, eax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x14010413e
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
test rax, rax
je 0x140104110
mov qword [rbx + 8], rax
mov rax, rbx
mov qword [rbx], rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsp + 0x28]
lea r8, str.pcshell_shellexplorer_feedscontentcompositionhost.cpp
mov edx, 0x304
call fcn.1401ef9fc
int3
mov rcx, qword [rsp + 0x28]
lea r8, str.pcshell_shellexplorer_feedscontentcompositionhost.cpp
mov edx, reloc.SHELL32.dll_Ordinal_764
call fcn.1401ef9fc
int3
mov rcx, qword [rsp + 0x28]
lea r8, str.pcshell_shellexplorer_feedscontentcompositionhost.cpp
mov edx, 0x301
call fcn.1401ef9fc
int3
Function at 0x1401072c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and dword [rax + 8], 0
mov rdi, rdx
mov rsi, rcx
lea rdx, [rax + 8]
mov rcx, qword [r8]
mov r14, r8
movabs rbx, 0xcbf29ce484222325
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r8d, dword [rsp + 0x40]
mov edx, 0
add r8, r8
je 0x140107322
movzx ecx, byte [rdx + rax]
movabs r9, 0x100000001b3
xor rbx, rcx
inc rdx
imul rbx, r9
cmp rdx, r8
jb 0x140107305
mov rbp, qword [rsi + 0x30]
and rbp, rbx
mov rbx, qword [rsi + 0x18]
mov rax, rbp
add rax, rax
mov rbx, qword [rbx + rax*8]
mov r8, rbp
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400fc1b8
cmp rbx, qword [rax]
je 0x14010737a
lea rdx, [rbx + 0x10]
mov r8, r14
call fcn.1400f98e4
test al, al
je 0x140107361
mov rbx, qword [rbx]
jmp 0x140107337
lea r8, [rbx + 0x10]
mov rdx, r14
call fcn.1400f98e4
test al, al
je 0x140107375
mov rbx, qword [rsi + 8]
mov qword [rdi], rbx
jmp 0x140107381
mov rax, qword [rsi + 8]
mov qword [rdi], rax
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14010c060
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x48
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 8
mov qword [r11 - 0x18], rax
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x20], r9
mov r9d, Shell_MergeMenus
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x14010c0a9
movzx eax, ax
or eax, 0x80070000
add rsp, 0x48
ret

Function at 0x140110a8c
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
cmp qword [rcx], 0
je 0x140110aab
call fcn.1402926dc
test al, al
jne 0x140110b32
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [case.0x14004551b.2]
nop dword [rax + rax]
test rax, rax
je 0x140110b32
lea rdx, str.IsExplorerShuttingDown
mov rcx, rax
call qword [0x14039e6d8]
nop dword [rax + rax]
test rax, rax
jne 0x140110b32
call fcn.140272e48
call fcn.1402711a8
call fcn.1400a5f84
test al, al
je 0x140110b07
mov r8b, 1
or edx, 0xffffffff
xor ecx, ecx
call qword [0x14039e818]
nop dword [rax + rax]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
nop dword [rax + rax]
test eax, eax
jne 0x140110b32
mov rcx, qword [rsp + 0x28]
lea r8, str.shellliblogontaskslogontasks.cpp
mov edx, 0x764
call fcn.140190ca4
mov rcx, qword [rbx + 8]
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400963d8
mov ecx, 0x2bf20
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
Function at 0x140112bb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x68], rax
and qword [r11 - 0x30], 0
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [r11 - 0x38]
mov qword [r11 - 0x48], rax
lea rax, [r11 - 0x20]
mov qword [r11 - 0x50], rax
and qword [r11 - 0x58], 0
mov r9d, 8
lea r8, str.FirstLogonTimeOnCurrentInstallation
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerLogonStats
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHRegGetValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x140112c5b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
test eax, eax
je 0x140112c6f
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
jmp 0x140112c48
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x78
ret
mov r9d, eax
lea r8, str.onecoreuapinternal_shellincScoobeEligibilityContext.h
mov edx, RestartDialog
call fcn.1401efa20
lea r8, str.onecoreuapinternal_shellincScoobeEligibilityContext.h
lea edx, [rax + 0x3a]
call fcn.1401ef9fc
int3

Function at 0x140113b4c
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetThreadUILanguage]
nop dword [rax + rax]
movzx ecx, ax
mov r9d, 0x104
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x5c]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140113bbb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x30]
call qword [0x14039e578]
nop dword [rax + rax]
test eax, eax
js 0x140113bbb
cmp dword [rsp + 0x20], ebx
setne bl
mov al, bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x250
pop rbx
ret
Function at 0x14012b798
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x20], 0
xor bl, bl
test ecx, 0x3308
jne 0x14012b945
lea r9, [rbp - 0x20]
mov rcx, 0xffffffff80000001
lea r8, str.PDEShown
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionCloudExperienceHostIntentPersonalDataExport
call fcn.14002cdc0
test eax, eax
jns 0x14012b945
call fcn.140071a10
test al, al
jne 0x14012b945
call fcn.140073538
test al, al
jne 0x14012b945
call fcn.140071864
test al, al
jne 0x14012b945
mov ecx, SafeArrayDestroy
call qword [sym.imp.api_ms_win_shcore_sysinfo_l1_1_0.dll_IsOS]
nop dword [rax + rax]
test eax, eax
jne 0x14012b945
call fcn.14006f920
test al, al
jne 0x14012b945
lea rax, [rbp - 0x18]
mov edi, 4
mov qword [rsp + 0x30], rax
lea r8, [0x140301ee0]
lea rax, [rbp - 0x10]
mov dword [rbp - 0x18], edi
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRetailDemoOobeWrite
and qword [rsp + 0x20], 0
mov r9d, 0x20010010
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rbp - 0x10], 0
jne 0x14012b945
call fcn.14006f8d0
test al, al
jne 0x14012b945
call fcn.140071820
test al, al
jne 0x14012b945
call fcn.1401f0060
test eax, eax
jne 0x14012b945
call fcn.1401f0000
test eax, eax
jne 0x14012b945
call fcn.1400ec790
test eax, eax
jne 0x14012b945
call fcn.1402897c0
test al, al
jne 0x14012b945
call fcn.14006fdc8
test al, al
jne 0x14012b945
call fcn.14011ecc0
test al, al
jne 0x14012b945
and qword [rbp - 0x10], 0
lea rcx, [rbp - 0x10]
mov edx, edi
call qword [sym.imp.api_ms_win_core_localization_l1_2_3.dll_GetUserDefaultGeoName]
nop dword [rax + rax]
test eax, eax
jne 0x14012b916
mov rcx, qword [rbp + 8]
lea r8, str.shellliblogontaskslogontasks.cpp
mov edx, 0x129b
call fcn.140190ca4
or edx, 0xffffffff
lea r8, [0x14030a078]
mov edi, 1
lea rcx, [rbp - 0x10]
mov r9d, edx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
movzx ebx, bl
cmove ebx, edi
lea rdx, [0x14010f510]
call fcn.1401201f0
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14012b99c
movabs rdx, 0x400000000000
call fcn.14004d198
test al, al
je 0x14012b99c
lea rax, [rbp - 0x18]
movzx edx, bl
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x10]
mov dword [rbp - 0x10], edx
lea rdx, [0x140322f8d]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x18], 0x1000000
call fcn.1401898a4
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x14018be40
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
push rdi
sub rsp, 0x30
mov rbx, r8
mov dword [rax + 0x20], 1
mov rdi, rdx
lea r8, [rax + 0x20]
mov edx, 0x20001009
mov r9d, 2
mov ecx, 0x400
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
jg 0x14018be8a
call fcn.14002154c
test eax, eax
js 0x14018bece
mov r8b, byte [rsp + 0x60]
movzx edx, word [rdi + 4]
call fcn.14018bdbc
and qword [rsp + 0x28], 0
mov r8d, eax
mov edx, dword [rsp + 0x58]
mov r9, rbx
mov ecx, 0x400
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetCalendarInfoW]
nop dword [rax + rax]
test eax, eax
jle 0x14018bec9
xor eax, eax
jmp 0x14018bece
call fcn.14002154c
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14018f1f4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov esi, r9d
mov rbp, r8
mov rdi, rcx
mov ebx, r14d
test rdx, rdx
je 0x14018f258
cmp word [rdx], r14w
je 0x14018f258
mov qword [r11 - 0x28], r14
lea rax, [r11 + 0x10]
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov qword [r11 - 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [r11 - 0x48], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
jmp 0x14018f25d
mov qword [rsp + 0x78], rcx
test ebx, ebx
jne 0x14018f2a6
mov eax, dword [rsp + 0x98]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x90]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
cmp rcx, rdi
je 0x14018f2a6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140190f28
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov r9d, 4
test cl, cl
mov dword [rsp + 0x28], r9d
mov rcx, 0xffffffff80000001
setne al
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140190f70
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x140190f91
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreuapinternal_shellincMobilityExperienceSettings.h
mov r9d, ebx
mov edx, PathIsExe
call fcn.14001eb0c
mov eax, ebx
jmp 0x140190f93
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1401959e4
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9d, 4
mov dword [rsp + 0x40], SafeArrayDestroy
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
lea r8, str.StartMenuInit
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
add rsp, 0x38
ret

Function at 0x140196378
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x40
and dword [r9], 0
lea rax, [r11 + 0x10]
and dword [rsp + 0x60], 0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
mov qword [r11 - 0x18], rax
mov rdi, r9
lea rax, [r11 + 0x18]
mov dword [rsp + 0x58], 4
mov r8, rcx
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 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]
mov ebx, eax
test eax, eax
jne 0x1401963f7
mov ecx, dword [rsp + 0x60]
call fcn.14009bf00
mov dword [rdi], eax
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp eax, 0x490
je 0x1401963e9
cmp eax, 2
je 0x1401963e9
test eax, eax
jle 0x140196410
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14019642d
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreuapinternal_shellincCortanaRegistrySettings.h
mov r9d, ebx
mov edx, Ordinal_126
call fcn.14001eb0c
mov eax, ebx
jmp 0x1401963eb

Function at 0x140198bf8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
and dword [rdx], 0
lea rcx, [rsp + 0x48]
and qword [rsp + 0x48], 0
mov rbx, rdx
xor edx, edx
call fcn.14006ee3c
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionCortana
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140198c52
mov edx, 0x44
jmp 0x140198c90
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.IsAvailable
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140198ca8
mov edx, 0x4e
mov rcx, qword [rsp + 0x38]
lea r8, str.internal_shellcommonshellinccortanaCortanaAvailabilityHelpers.h
mov r9d, eax
call fcn.1401a6570
mov ebx, eax
jmp 0x140198caa
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140198cc0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140199b98
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 8], cl
mov r11, rsp
sub rsp, 0x48
and dword [rsp + 0x50], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
lea r8, str.IsAvailable
lea rax, [r11 + 8]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionCortana
and qword [r11 - 0x28], 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]
cmp eax, 2
jne 0x140199bf5
xor al, al
jmp 0x140199c1c
test eax, eax
je 0x140199c14
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreuapinternal_shellincCortanaCapabilities.h
mov r9d, eax
mov edx, 0x50
call fcn.140188f6c
jmp 0x140199bf1
cmp dword [rsp + 0x50], 1
sete al
add rsp, 0x48
ret

Function at 0x140199d2c
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
xor ecx, ecx
test ax, ax
sets cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140199d54
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov qword [r11 - 0x18], rax
lea r8, str.LatestShellPackageRegistered
xor ebx, ebx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShellUpdate
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x28], rbx
lea r9d, [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140199db2
cmp dword [rsp + 0x50], 4
jne 0x140199db2
cmp dword [rsp + 0x58], ebx
je 0x140199db2
mov bl, 1
mov al, bl
add rsp, 0x40
pop rbx
ret

Function at 0x140199dc4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea r8, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x30], ebx
xor edx, edx
mov ecx, DAD_DragLeave
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140199e3e
cmp dword [rsp + 0x30], ebx
je 0x140199e3e
lea rcx, [0x1403378d8]
call qword [sym.imp.SHCORE.dll_Ordinal_190]
nop dword [rax + rax]
test eax, eax
jne 0x140199e3e
xor r9d, r9d
lea rdx, str.DisallowShaking
xor r8d, r8d
lea rcx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
call qword [sym.imp.api_ms_win_core_registryuserspecific_l1_1_0.dll_SHRegGetBoolUSValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140199e3e
call fcn.140199e50
test eax, eax
je 0x140199e3e
mov ebx, 1
mov eax, ebx
add rsp, 0x20
pop rbx
ret