joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002016c
Capabilities:
Create thread

Disassembly:
sub rsp, 0x28
mov ecx, reloc.UxTheme.dll_Ordinal_86
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x1401623b2
add rsp, 0x28
ret
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x14037de30], ecx
jne 0x140020189
lea r8d, [rcx + 7]
xor r9d, r9d
lea rcx, [0x14018ff10]
xor edx, edx
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_shcore_thread_l1_1_0.dll_SHCreateThread]

Function at 0x140020804
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp byte [0x14037c51a], bl
jne 0x140162692
mov al, bl
add rsp, 0x20
pop rbx
ret
xor r9d, r9d
lea rdx, str.TaskbarAppsVisibleInTabletMode
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
sete bl
jmp 0x140020818

Function at 0x140020df4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x378]
sub rsp, 0x470
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x360], rax
lea rdx, [rsp + 0x30]
call qword [0x14039e7b8]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov r8d, dword [rsp + 0x30]
cmp r8d, eax
jne 0x140162a5e
mov dil, 1
mov al, dil
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor dil, dil
lea rax, str._SystemRoot_System32_sndvol.exe
mov qword [rsp + 0x38], rax
xor esi, esi
test dil, dil
jne 0x140020e51
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140162b30
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], 0x104
lea r8, [rbp + 0x150]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
nop dword [rax + rax]
test eax, eax
je 0x140162ac4
xor eax, eax
jmp 0x140162ac9
call fcn.14002154c
test eax, eax
js 0x140162b1b
mov rcx, qword [rsp + rsi*8 + 0x38]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x140162b1b
or r9d, 0xffffffff
mov dword [rsp + 0x20], 1
or edx, r9d
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
sete dil
cmp rbx, 0xffffffffffffffff
je 0x140162b30
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
inc rsi
cmp rsi, 1
jae 0x140020e51
mov r8d, dword [rsp + 0x30]
jmp 0x140162a6f
Function at 0x140029f10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov dil, dl
mov rbx, rcx
mov dword [rax + 0x18], 8
cmp byte [rcx + 0x29], 0
jne 0x140029fef
lea rcx, [rax + 0x18]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
nop dword [rax + rax]
test eax, eax
je 0x140029fef
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.api_ms_win_power_base_l1_1_0.dll_CallNtPowerInformation]
nop dword [rax + rax]
test eax, eax
js 0x140029f82
test byte [rsp + 0x70], 2
jne 0x14002a005
test dil, dil
jne 0x1401645f2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rsp + 0x84]
cmp eax, dword [rbx + 0x2c]
setb dil
xor ebp, ebp
xor esi, esi
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x38], rsi
and qword [rsp + 0x40], rsi
lea rcx, [rbx + 0x40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dil, byte [rbx + 0x28]
jne 0x14002a00a
lea rcx, [rbx + 0x40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
test ebp, ebp
jne 0x14002a08a
test rsi, rsi
jne 0x14002a0af
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x140029fa5
test dil, dil
jne 0x14002a051
cmp qword [rbx + 0x38], 0
je 0x14002a05c
cmp qword [rbx + 0x68], 0
je 0x14002a05c
cmp dword [rbx + 0x30], 0
je 0x14002a05c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ebp, eax
sub ebp, dword [rbx + 0x30]
or r8, 0xffffffffffffffff
mov rdx, qword [rbx + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140036280
and dword [rbx + 0x30], 0
mov rsi, qword [rsp + 0x30]
jmp 0x14002a05c
cmp qword [rbx + 0x68], 0
jne 0x140164608
mov byte [rbx + 0x28], dil
mov r9d, dword [rbx + 0x2c]
test dil, dil
jne 0x14002a06d
lea r9d, [r9 + r9*4]
mov r8d, 0x12c
mov rdx, qword [rbx + 0x18]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_threadpool_legacy_l1_1_0.dll_ChangeTimerQueueTimer]
nop dword [rax + rax]
jmp 0x140029fce
test rsi, rsi
je 0x140029fe6
mov r9d, ebp
mov r8, rsi
mov edx, 2
lea rcx, [0x1402ff850]
call fcn.1400363e8
jmp 0x140029fe6
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x140029fef
xor dil, dil
cmp dword [rsp + 0x84], 0
je 0x140029fa5
jmp 0x140029f8b
cmp qword [rbx + 0x38], 0
je 0x14002a05c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 0x30], eax
jmp 0x14002a05c
Function at 0x14002c8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdx, qword [0x140313180]
lea r9, [rbp + 0x10]
and dword [rbp + 0x10], 0
lea r8, [0x1400ac210]
and qword [rsp + 0x20], 0
lea rcx, [rbp + 0x18]
call qword [sym.imp.ntdll.dll_RtlQueryWnfStateData]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
test eax, eax
jg 0x140164c8a
mov ebx, 1
test eax, eax
js 0x140164c97
cmp dword [rbp + 0x10], ebx
je 0x14002ca14
mov dl, bl
lea rcx, [0x14037dea8]
call fcn.1400970f0
lea rax, [rbp + 0x18]
mov dword [rbp + 0x10], 2
mov qword [rsp + 0x30], rax
lea r8, str.SearchboxTaskbarMode
lea rax, [rbp + 0x10]
mov dword [rbp + 0x18], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
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
jle 0x14002c9ac
movzx eax, ax
or eax, 0x80070000
cmp eax, 0x80070002
jne 0x14002ca11
and dword [rbp + 0x18], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea r8, str.SearchboxTaskbarModeForceGlyph
lea rax, [rbp + 0x18]
mov dword [rbp + 0x20], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
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
jle 0x14002ca0b
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x140164cb5
mov ebx, dword [rbp + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
movzx eax, ax
or eax, 0x80070000
jmp 0x14002c92f
mov rcx, qword [rbp + 8]
lea r8, str.onecoreuapinternal_shellincprivateTabletModeHelpers.h
mov r9d, eax
mov edx, reloc.SHELL32.dll_Ordinal_61
call fcn.14001eb0c
nop
jmp 0x14002c945
cmp dword [rbp + 0x18], 0
mov eax, dword [rbp + 0x10]
cmova eax, ebx
mov ebx, eax
jmp 0x14002ca14

Function at 0x14002ca28
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
and dword [rsp + 0x50], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
lea r8, str.ImmersiveSearch
lea rax, [r11 + 8]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
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]
test eax, eax
je 0x140164cc6
xor al, al
add rsp, 0x48
ret
cmp dword [rsp + 0x50], 0
je 0x14002ca80
mov al, 1
jmp 0x14002ca82
Function at 0x14002cdc0
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 0x14002cdfe
movzx eax, ax
or eax, 0x80070000
add rsp, 0x58
ret

Function at 0x1400334a0
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 0x1400334e9
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 0x1400334f0
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 0x140033530
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x1400334e9
mov dword [rbx + 0x60], 1
jmp 0x14003351d

Function at 0x140035cf0
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 0x140035da3
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 0x140035da3
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 0x140035da3
and ebx, 0xf
jbe 0x140035d8b
mov edx, ebx
movzx eax, word [rcx]
lea rcx, [rcx + rax*2]
add rcx, 2
sub rdx, r15
jne 0x140035d7b
lea rdx, [rcx + 2]
cmp word [rcx], r14w
je 0x140035dbf
movzx r8d, word [rcx]
mov rcx, rbp
call fcn.140036280
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, [0x1402ff860]
jmp 0x140035d95
Function at 0x14003af80
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.14003b1a4
test eax, eax
js 0x14003afbe
cmp byte [rbp + 0x7f], 0
jne 0x1401683f0
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, [0x14037e4f0]
call fcn.14003b0a4
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.14003b16c
lea r8, [rbp - 0x29]
mov edx, 0x79780d
lea rcx, [rbp + 0xf]
call fcn.140092f64
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 1]
call fcn.14003b148
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14003b044
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 0x140168447
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x140168489
lea rax, [0x1402ff860]
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.1401ba878
jmp 0x14016848e
mov edi, dword [rbp - 0x55]
xor ebx, ebx
test ebx, ebx
js 0x14003afbe
mov eax, dword [rbp + 0x6f]
test eax, edi
je 0x14003afbe
cmp eax, 1
jne 0x1401684d4
lea rdx, [0x1401e9440]
call fcn.1400924bc
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14003afbe
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x51]
lea rdx, [0x140322a39]
jmp 0x140168509
cmp eax, 2
jne 0x14003afbe
lea rdx, [0x1401e9440]
call fcn.1400924bc
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14003afbe
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x49]
lea rdx, [0x140322a65]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call fcn.140196704
nop
jmp 0x14003afbe
Function at 0x14003f6a4
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 0x140168f60
xor eax, eax
add rsp, 0x50
pop rbx
ret
cmp rax, qword [rsp + 0x40]
jbe 0x14003f779
xor r8d, r8d
lea rcx, [0x14037e4e0]
mov dl, 1
call fcn.140243a68
lea r8d, [rbx + 0x64]
mov dl, 1
lea rcx, [0x14037e4e0]
call fcn.140243a68
nop
jmp 0x14003f779
Function at 0x140046338
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 0x1400463a7
test eax, eax
jne 0x14016adb8
cmp dword [rsp + 0x50], 1
sete al
add rsp, 0x48
ret
mov al, 1
jmp 0x1400463a1
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreuapinternal_shellincCortanaCapabilities.h
mov r9d, eax
mov edx, 0x50
call fcn.140188f6c
nop
jmp 0x1400463a7

Function at 0x1400463d8
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 0x14016adf6
mov ecx, ebx
sub ecx, 1
je 0x140046445
cmp ecx, 1
je 0x14004644e
call fcn.140046458
test al, al
sete bl
mov al, bl
add rsp, 0x40
pop rbx
ret
mov bl, 1
jmp 0x140046445
mov ecx, dword [rsp + 0x50]
cmp ecx, 2
jbe 0x140046431
jmp 0x14004642f
Function at 0x14004760c
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 [0x140379a08]
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, [0x14037de10]
call fcn.140025034
call fcn.140046338
mov byte [rdi], al
test al, al
jne 0x140047749
lea rcx, [rsp + 0x60]
call fcn.1400af3c0
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.1400b01fc
mov r13b, al
mov byte [rsp + 0x44], al
mov cl, al
mov byte [rsp + 0x41], al
test al, al
je 0x1400476da
call fcn.1400bb194
mov sil, al
mov byte [rsp + 0x42], al
test al, al
jne 0x1400476d4
call fcn.1400bb274
mov r14b, al
mov byte [rsp + 0x43], al
test al, al
jne 0x1400476d4
mov byte [rsp + 0x41], r12b
call fcn.1400b024c
mov r15b, al
mov byte [rsp + 0x40], al
mov cl, al
jmp 0x1400476d6
xor cl, cl
mov byte [rsp + 0x41], cl
jmp 0x1400476fc
test cl, cl
je 0x140047719
test r13b, r13b
je 0x140047719
test sil, sil
jne 0x140047719
test r14b, r14b
jne 0x140047719
test r15b, r15b
je 0x140047719
mov al, r12b
jmp 0x14004771b
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.1400bb844
nop
lea rcx, [rsp + 0x60]
call fcn.1400af4d8
jmp 0x140047757
call fcn.1400b01fc
test al, al
je 0x140047757
call fcn.1400af6f0
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov ecx, Ordinal_54
call fcn.140048b64
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.140048b64
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 0x1400477ed
cmp dword [rsp + 0x48], eax
jne 0x1400477f0
xor r12b, r12b
mov byte [rdi + 4], r12b
cmp byte [rdi], 0
je 0x140047808
cmp byte [rdi + 2], 0
jne 0x140047808
call fcn.1400287b4
test al, al
je 0x140047814
mov rcx, rdi
call fcn.1400463b4
test al, al
je 0x140047847
lea rcx, [rsp + 0x50]
call fcn.1401dd390
test eax, eax
jns 0x140047840
mov rcx, qword [rsp + 0x1c8]
mov r9d, eax
lea r8, str.pcshell_shellexplorerCortanaEnabledState.h
mov edx, 0x75
call fcn.14009d7ec
jmp 0x140047847
mov eax, dword [rsp + 0x50]
mov dword [rdi + 8], eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400a2260
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 0x140048ce0
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.14012bc00
sub rsp, rax
mov rax, qword [0x140379a08]
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 0x14016b3be
xor eax, eax
mov rcx, qword [rbp + 0x1160]
xor rcx, rsp
call fcn.1400a2260
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, [0x140327f68]
mov edx, 0x800
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x160]
call fcn.14002e4b8
mov ebx, eax
test eax, eax
jns 0x14016b41e
mov edx, 0x141
jmp 0x14016b401
mov ebx, 0x80070057
mov edx, 0x167
mov rcx, qword [rbp + 0x1198]
lea r8, str.onecoreuapinternal_shellincCortanaFeatureConfiguration.h
mov r9d, ebx
call fcn.14001eb0c
mov eax, ebx
jmp 0x140048d79
cmp dword [rdi], r14d
jl 0x14016b3f7
cmp dword [rdi], 1
jle 0x14016b4c5
cmp dword [rdi], 2
jne 0x14016b3f7
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 0x140048d77
lea r8, [rdi + 8]
or rdx, 0xffffffffffffffff
lea rax, [rsp + 0x50]
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x14016b49a
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 0x14016b51d
mov edx, 0x160
jmp 0x14016b401
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 0x140048d77
mov eax, dword [rsp + 0x40]
mov dword [rdi + 4], eax
mov byte [rsi], 1
jmp 0x140048d77