joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019ea8
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, r9
add rcx, 0xb0
mov rsi, r8
call fcn.14001a094
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140019ea8
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbp, rdx
mov rbx, r8
xor edx, edx
mov rsi, rcx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x48]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [0x14007d650]
mov edx, 0x7f00
mov qword [rsp + 0x68], rax
lea r15, [0x14030aef0]
mov rax, qword [0x140389668]
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xa0], r15
call qword [sym.imp.USER32.dll_LoadCursorW]
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x74], 8
mov qword [rsp + 0x88], rax
call qword [case.0x14004486b.3]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x80]
xor r14d, r14d
cmp rcx, rbx
je 0x140019f7c
test rbx, rbx
je 0x140019f6c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006b68f.0]
mov rcx, qword [rsi + 0x80]
mov qword [rsi + 0x80], rbx
test rcx, rcx
jne 0x14016d528
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
mov ecx, 0xfffffcc3
mov ebx, 0x80004005
call qword [0x1403ad0f8]
nop dword [rax + rax]
test eax, eax
cmovne ebx, r14d
test ebx, ebx
js 0x14001a01a
mov eax, dword [0x1403887c0]
cmp eax, 0xffffffff
je 0x14001a044
mov qword [rsp + 0x58], rsi
cmp eax, 1
mov rax, qword [0x140389668]
mov ecx, r14d
mov qword [rsp + 0x50], rax
mov r8d, 0x400000
mov qword [rsp + 0x48], r14
cmove ecx, r8d
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0xb0]
mov dword [rsp + 0x38], r14d
mov r9d, 0x54000000
mov dword [rsp + 0x30], r14d
mov rdx, r15
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [0x1403ad708]
nop dword [rax + rax]
test rax, rax
je 0x14001a082
mov eax, ebx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edi, r14d
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x14001a069
movzx ecx, ax
call fcn.14006b5d0
mov edi, eax
mov ecx, r14d
test edi, edi
setne cl
xchg dword [0x1403887c0], ecx
mov eax, dword [0x1403887c0]
jmp 0x140019fb9
call fcn.140020b4c
mov ebx, eax
jmp 0x14001a01a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
nop
jmp 0x140019f7c
Function at 0x14001b11c
Capabilities:
Query or enumerate registry value

Disassembly:
test rdx, rdx
je 0x14001b171
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x30
lea rcx, [r11 + 8]
mov dword [rsp + 0x40], 4
mov r10, r8
mov qword [r11 - 0x10], rcx
mov rax, rdx
mov rbx, r9
mov rcx, rax
mov qword [r11 - 0x18], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14001b16c
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
add rsp, 0x30
pop rbx
ret
Function at 0x14001b544
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov eax, dword [0x1403887c0]
xor r14d, r14d
mov rsi, qword [0x140389668]
mov rdi, rcx
cmp eax, 0xffffffff
je 0x14001b709
mov dword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayGetDim
cmp eax, 1
mov qword [rsp + 0x58], r14
mov ecx, 8
mov qword [rsp + 0x50], rsi
mov edx, 0x400008
mov qword [rsp + 0x48], r14
cmove ecx, edx
mov qword [rsp + 0x40], r14
lea rdx, str.tooltips_class32
mov dword [rsp + 0x38], r14d
mov r9d, 0x80000001
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_CreateWindowInBand]
nop dword [rax + rax]
mov qword [rdi + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x14016e23e
test rax, rax
je 0x14001b6c6
xor edx, edx
mov dword [rbp - 0x80], 0x48
lea rcx, [rbp - 0x7c]
lea r8d, [rdx + 0x44]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rbx, qword [rdi + 0x18]
lea rcx, [rbp - 0x30]
xor edx, edx
mov qword [rbp - 0x78], rbx
mov r8d, 0x208
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x7c], Ordinal_183
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [0x1403ad5a8]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x78]
lea rax, [rbp - 0x30]
lea r9, [rbp - 0x80]
mov qword [rbp - 0x50], rax
xor r8d, r8d
mov edx, 0x432
call qword [case.0x14004486b.0]
nop dword [rax + rax]
test rax, rax
je 0x14016e25f
mov rcx, qword [rdi + 0x78]
mov r9d, 0x12c
xor r8d, r8d
mov edx, 0x418
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x78]
lea r8, [rsp + 0x70]
mov r9d, 4
mov dword [rsp + 0x70], 1
lea edx, [r9 + 8]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
nop dword [rax + rax]
mov rcx, rdi
call fcn.140033dd0
lea rcx, [rdi + 0x48]
xor edx, edx
call fcn.14001b814
mov rcx, rdi
call fcn.14001b750
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ebx, r14d
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x14001b72e
movzx ecx, ax
call fcn.14006b5d0
mov ebx, eax
mov ecx, r14d
test ebx, ebx
setne cl
xchg dword [0x1403887c0], ecx
mov eax, dword [0x1403887c0]
jmp 0x14001b58e
mov rcx, qword [rbp + 0x208]
lea r8, str.pcshell_shellexplorerpearl.cpp
mov edx, 0x2a5
call fcn.14019dc84
mov rax, qword [rdi + 0x78]
jmp 0x14001b5f8
mov rcx, qword [rbp + 0x208]
lea r8, str.pcshell_shellexplorerpearl.cpp
mov r9d, 0x80004005
mov edx, 0x2b4
call fcn.14009cb2c
nop
jmp 0x14001b681
Function at 0x14001c910
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x40
mov eax, 4
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerTaskband
mov dword [rsp + 0x50], eax
mov ebx, r9d
mov dword [rsp + 0x58], eax
lea r9, [r11 + 8]
lea rax, [r11 + 0x10]
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x18]
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
test eax, eax
cmovne ecx, ebx
mov eax, ecx
add rsp, 0x40
pop rbx
ret
Function at 0x14001f0f8
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x30
mov rdi, rcx
lea rbx, [rcx + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rbp + 0x20], rbx
mov bl, byte [rdi + 0xd8]
mov byte [rdi + 0xd8], 1
lea rcx, [rbp + 0x20]
call fcn.14008f30c
test bl, bl
jne 0x14001f2b7
lea rdx, [rbp + 0x38]
mov ecx, 0x20006
call qword [sym.imp.SHELL32.dll_Ordinal_723]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x18]
test eax, eax
js 0x14016f1e0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.FSIAInProgress
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rbp + 0x30], 0
lea rcx, [rbp + 0x30]
call fcn.14000a6a4
lea r8, [rbp + 0x30]
lea rdx, [0x14030c200]
lea rcx, [0x14030c250]
call fcn.140063018
test eax, eax
js 0x14001f1bf
call fcn.14001ef88
test al, al
jne 0x14016f1fa
xor r8d, r8d
xor edx, edx
mov ecx, 0x5bd
call fcn.140020b80
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x20]
lea r8, str.DesktopReadyTimeout
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000001
call fcn.14002c200
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, eax
lea rdx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ProcessIdToSessionId]
nop dword [rax + rax]
mov eax, dword [rbp + 0x28]
cmp dword [rbp + 0x20], eax
je 0x14016f231
lea rcx, [rdi + 0x1c0]
xor edx, edx
call fcn.14001f048
mov rbx, qword [rdi + 0x30]
call fcn.140020b4c
mov rcx, qword [rbp + 0x18]
test rbx, rbx
je 0x14016f243
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140321020]
call qword [sym.imp.ntdll.dll_RtlPublishWnfStateData]
nop dword [rax + rax]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140321030]
call qword [sym.imp.ntdll.dll_RtlPublishWnfStateData]
nop dword [rax + rax]
call qword [0x1403ad200]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x18]
test eax, eax
js 0x14016f25d
call fcn.14001f0b0
nop
lea rcx, [rbp + 0x30]
call fcn.14000a6a4
add rsp, 0x30
pop rdi
pop rbx
pop rbp
ret
mov r9d, eax
lea r8, str.shellliblogontaskslogontasks.cpp
mov edx, 0x1955
call fcn.14009cb2c
nop
jmp 0x14001f189
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x14006b68f.0]
mov rcx, qword [rbp + 0x18]
test eax, eax
jns 0x14001f1bf
mov r9d, eax
lea r8, str.shellliblogontaskslogontasks.cpp
mov edx, 0x1962
call fcn.14009cb2c
nop
jmp 0x14001f1bf
lea rcx, [rdi + 0x1b0]
call fcn.140299688
nop
jmp 0x14001f21a
mov r9d, eax
lea r8, str.shellliblogontaskslogontasks.cpp
mov edx, 0x197a
call fcn.14009cb2c
nop
jmp 0x14001f24e
mov r9d, eax
lea r8, str.shellliblogontaskslogontasks.cpp
mov edx, 0x198b
call fcn.14009cb2c
nop
jmp 0x14001f2a8
Function at 0x14001f598
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, reloc.SHELL32.dll_Ordinal_896
sub rsp, 0x480
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x370], rax
call fcn.14006138c
test eax, eax
je 0x14001f637
mov dword [rsp + 0x28], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov ebx, 2
mov r9d, ebx
lea r8, str.DefaultAccountSAMName
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOOBE
mov rcx, 0xffffffff80000002
call fcn.14008e8b8
test eax, eax
jns 0x14016f34a
and dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, str.CflTempAccountCreated
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOOBE
mov rcx, 0xffffffff80000002
call fcn.14007b130
cmp dword [rsp + 0x38], 0
jne 0x14016f45f
xor eax, eax
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x490]
add rsp, 0x480
pop rbp
ret
mov dword [rsp + 0x38], VarUI4FromDisp
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x140]
mov ecx, ebx
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
nop dword [rax + rax]
test al, al
je 0x14001f603
mov edx, Ordinal_95
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrChrW]
nop dword [rax + rax]
lea rcx, [rax + 2]
mov dword [rsp + 0x20], 1
or edx, 0xffffffff
mov r9d, edx
lea r8, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, ebx
je 0x14001f603
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000a6a4
lea r8, [rsp + 0x30]
lea rdx, [0x140345758]
lea rcx, [0x140345768]
call fcn.14027cd90
mov ebx, eax
test eax, eax
jns 0x14016f3ec
mov edx, 0x7bc
jmp 0x14016f409
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
mov ebx, eax
test eax, eax
jns 0x14016f44f
mov edx, 0x7bd
mov r9d, eax
lea r8, str.shellliblogontaskslogontasks.cpp
mov rcx, qword [rbp + 0x388]
call fcn.14001e09c
nop
jmp 0x14016f43e
mov edx, 0x7c9
mov r9d, eax
lea r8, str.shellliblogontaskslogontasks.cpp
mov rcx, qword [rbp + 0x388]
call fcn.14001e09c
nop
lea rcx, [rsp + 0x30]
call fcn.14000a6a4
mov eax, ebx
jmp 0x14001f639
lea rcx, [rsp + 0x30]
call fcn.14000a6a4
nop
jmp 0x14001f603
call fcn.1400a5304
test al, al
je 0x14001f637
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000a6a4
lea r8, [rsp + 0x30]
lea rdx, [0x140345758]
lea rcx, [0x140345768]
call fcn.14027cd90
mov ebx, eax
test eax, eax
jns 0x14016f4a1
mov edx, 0x7c8
jmp 0x14016f427
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14006b68f.0]
mov ebx, eax
test eax, eax
js 0x14016f422
lea rcx, [rsp + 0x30]
call fcn.14000a6a4
nop
jmp 0x14001f637
Function at 0x14001f798
Capabilities:
Create thread
Identify system language via api
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
call fcn.14001f6e8
lea rcx, str.Enable_Balloon_Tip
call qword [0x1403ad6e0]
nop dword [rax + rax]
lea rcx, str.ShowOnlyQuickLaunchDeskBand
mov dword [rdi + 0x218], eax
call qword [0x1403ad6e0]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x320]
mov dword [rdi + 0x21c], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x14006b68f.0]
xor r9d, r9d
lea rdx, str.ReuseImmersiveShellPointer
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]
xor esi, esi
test eax, eax
setne al
mov byte [rdi + 0x1b8], al
mov eax, dword [0x1403887c0]
cmp eax, 0xffffffff
je 0x14001f898
mov qword [rsp + 0x58], rdi
cmp eax, 1
mov rax, qword [0x140389668]
mov ecx, 0x180
mov qword [rsp + 0x50], rax
mov edx, 0x400180
mov qword [rsp + 0x48], rsi
cmove ecx, edx
mov qword [rsp + 0x40], rsi
lea rdx, str.Shell_TrayWnd
mov dword [rsp + 0x38], esi
mov r9d, 0x82000000
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [0x1403ad708]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.14001f76c
mov ebx, esi
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x14001f8bc
movzx ecx, ax
call fcn.14006b5d0
mov ebx, eax
mov ecx, esi
test ebx, ebx
setne cl
xchg dword [0x1403887c0], ecx
mov eax, dword [0x1403887c0]
jmp 0x14001f82d

Function at 0x14001fe04
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp byte [0x14038a57a], bl
jne 0x14016f7ae
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 0x14001fe18
Function at 0x1400203f4
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 [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x360], rax
lea rdx, [rsp + 0x30]
call qword [0x1403ad6d0]
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 0x14016fb7a
mov dil, 1
mov al, dil
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400a15a0
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 0x140020451
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 0x14016fc4c
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 0x14016fbe0
xor eax, eax
jmp 0x14016fbe5
call fcn.140020b4c
test eax, eax
js 0x14016fc37
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 0x14016fc37
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 0x14016fc4c
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 0x140020451
mov r8d, dword [rsp + 0x30]
jmp 0x14016fb8b
Function at 0x1400292c0
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 0x14002939f
lea rcx, [rax + 0x18]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
nop dword [rax + rax]
test eax, eax
je 0x14002939f
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 0x140029332
test byte [rsp + 0x70], 2
jne 0x1400293b5
test dil, dil
jne 0x140171744
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 0x1400293ba
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 0x14002943a
test rsi, rsi
jne 0x14002945f
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 0x140029355
test dil, dil
jne 0x140029401
cmp qword [rbx + 0x38], 0
je 0x14002940c
cmp qword [rbx + 0x68], 0
je 0x14002940c
cmp dword [rbx + 0x30], 0
je 0x14002940c
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.1400355d0
and dword [rbx + 0x30], 0
mov rsi, qword [rsp + 0x30]
jmp 0x14002940c
cmp qword [rbx + 0x68], 0
jne 0x14017175a
mov byte [rbx + 0x28], dil
mov r9d, dword [rbx + 0x2c]
test dil, dil
jne 0x14002941d
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 0x14002937e
test rsi, rsi
je 0x140029396
mov r9d, ebp
mov r8, rsi
mov edx, 2
lea rcx, [0x14030c970]
call fcn.140035738
jmp 0x140029396
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14002939f
xor dil, dil
cmp dword [rsp + 0x84], 0
je 0x140029355
jmp 0x14002933b
cmp qword [rbx + 0x38], 0
je 0x14002940c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 0x30], eax
jmp 0x14002940c
Function at 0x14002bd18
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdx, qword [0x140320fe0]
lea r9, [rbp + 0x10]
and dword [rbp + 0x10], 0
lea r8, [0x1400ab590]
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 0x140171ddc
mov ebx, 1
test eax, eax
js 0x140171de9
cmp dword [rbp + 0x10], ebx
je 0x14002be4c
mov dl, bl
lea rcx, [0x14038bfa8]
call fcn.140096420
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 0x14002bde4
movzx eax, ax
or eax, 0x80070000
cmp eax, 0x80070002
jne 0x14002be49
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 0x14002be43
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x140171e07
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 0x14002bd67
mov rcx, qword [rbp + 8]
lea r8, str.onecoreuapinternal_shellincprivateTabletModeHelpers.h
mov r9d, eax
mov edx, reloc.SHELL32.dll_Ordinal_61
call fcn.14001e09c
nop
jmp 0x14002bd7d
cmp dword [rbp + 0x18], 0
mov eax, dword [rbp + 0x10]
cmova eax, ebx
mov ebx, eax
jmp 0x14002be4c

Function at 0x14002be60
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 0x140171e18
xor al, al
add rsp, 0x48
ret
cmp dword [rsp + 0x50], 0
je 0x14002beb8
mov al, 1
jmp 0x14002beba