joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400578c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x348]
sub rsp, 0x440
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rdi, rcx
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
js 0x140057a70
mov edx, 0x104
mov r8d, edx
lea rax, [rbp + 0x120]
cmp word [rax], si
je 0x14005793e
add rax, 2
sub r8, 1
jne 0x14005792f
mov rax, r8
mov rcx, rdx
sub rcx, r8
neg rax
sbb r9, r9
and r9, rcx
mov rax, r8
neg rax
sbb eax, eax
not eax
and eax, 0x80070057
test r8, r8
je 0x1400579be
sub rdx, r9
lea rcx, [rbp + 0x120]
lea rcx, [rcx + r9*2]
je 0x1400579a4
mov eax, 0x7ffffffe
lea r8, str.MicrosoftSearchCatalogCorruptionLogData_
sub r8, rcx
test rax, rax
je 0x1400579a4
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x1400579a4
mov word [rcx], r9w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140057983
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
neg rdx
sbb eax, eax
not eax
and eax, 0x8007007a
test eax, eax
js 0x140057a70
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x40]
call fcn.140011230
mov rdx, rax
mov rcx, rdi
call fcn.140066e84
xor r8d, r8d
lea rdx, [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290]
nop dword [rax + rax]
test eax, eax
je 0x140057a1a
cmp eax, 0x50
je 0x140057a1a
cmp eax, 0xb7
je 0x140057a1a
test eax, eax
jle 0x140057a18
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x140057a70
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.140011230
mov rbx, rax
lea rdx, [rdi + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.14002eeb4
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.14002df14
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140066b68
test eax, eax
js 0x140057a70
call fcn.14005c910
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140057aac
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 9
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogs
mov rdx, 0xffffffff80000002
call fcn.140025224
mov ebx, eax
test eax, eax
jle 0x140057b0b
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x178]
test ebx, ebx
jns 0x140057b2f
mov r9d, ebx
lea r8, [0x1400ab980]
mov edx, 0x8db
call fcn.140028aec
jmp 0x140057ca3
xor edi, edi
mov dword [rsp + 0x40], 0xff
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x140057c92
test eax, eax
jne 0x140057c68
lea rdx, str.SystemIndex
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140057c5c
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ac7a0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, str._l_t_b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rbp + 0x178]
test eax, eax
jns 0x140057bf2
mov r9d, eax
lea r8, [0x1400ab980]
mov edx, 0x8f6
call fcn.140028aec
and qword [rsp + 0x50], 0
test ebx, ebx
js 0x140057c47
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xe28da7167cd64970
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rax, qword [rax + 0x80]
call qword [case.0x14001f589.0]
mov ebx, eax
mov rcx, qword [rbp + 0x178]
test eax, eax
jns 0x140057c47
mov r9d, eax
lea r8, [0x1400ab980]
mov edx, 0x8fd
call fcn.140028aec
nop
lea rcx, [rsp + 0x50]
call fcn.140003bbc
nop
lea rcx, [rsp + 0x48]
call fcn.140003bbc
inc edi
test ebx, ebx
jns 0x140057b31
jmp 0x140057c92
jg 0x140057c6e
mov ebx, eax
jmp 0x140057c77
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x178]
mov r9d, ebx
lea r8, [0x1400ab980]
mov edx, 0x8ec
call fcn.14005afd8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14005a600
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov byte [r8], 0
call fcn.1400384b0
test al, al
jne 0x14005a647
mov ebx, 0x80004001
jmp 0x14005a79b
and qword [rsp + 0x20], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
xor edx, edx
lea rcx, str.IndexUserProfilesRoot
call fcn.14002d8f4
lea rcx, [rsp + 0x20]
test al, al
je 0x14005a6a6
call fcn.140054f3c
or r8, 0xffffffffffffffff
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r8
lea r9, [rsp + 0x20]
mov edx, 0x4400
lea rcx, [0x1400abd88]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
xor al, al
jmp 0x14005a6da
call fcn.140054f3c
or r8, 0xffffffffffffffff
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r8
lea r9, [rsp + 0x20]
mov edx, 0x4400
lea rcx, [0x1400abd98]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
mov al, 1
mov byte [rdi], al
mov edi, 0x104
test ebx, ebx
js 0x14005a72b
mov r8, qword [rsp + 0x20]
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140020a68
mov ebx, eax
test eax, eax
js 0x14005a72b
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathAddBackslashW]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov qword [rsi], rax
test rax, rax
jne 0x14005a791
mov ebx, 0x8007000e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, edi
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14005ae3c
mov r9d, dword [r14 + 0x10]
mov r8, qword [r14 + 8]
mov edx, 0x7de
lea rcx, [rsp + 0x38]
call fcn.14005af50
mov dword [r14 + 0x14], eax
lea rcx, [rsp + 0x38]
call fcn.1400364b8
nop
lea rcx, [rsp + 0x20]
call fcn.140054f3c
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005abf0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14005ac2c
xor eax, eax
jmp 0x14005ac35
call fcn.14001d618
test eax, eax
js 0x14005ac3d
movzx ecx, word [rsp + 0x20]
mov word [rbx], cx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x240
pop rbx
ret

Function at 0x14005ac60
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x1400d3c7c], ebx
je 0x14005ac8d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [0x1400d3c78]
cmp eax, 0x4e20
jbe 0x14005ad2b
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x30], rax
lea r8, str.SystemIndexNormalization
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_Search
mov r9d, SafeArrayPutElement
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14005ad0f
mov dword [rsp + 0x50], 1
call fcn.14005ad40
cmp ebx, 0x44
jae 0x14005ad0f
mov ecx, ebx
lea rdx, [0x1400b1230]
cmp ax, word [rdx + rcx*2]
je 0x14005ad02
inc ebx
jmp 0x14005acea
mov eax, dword [rsp + 0x50]
or eax, 2
mov dword [rsp + 0x50], eax
jmp 0x14005ad13
mov eax, dword [rsp + 0x50]
mov dword [0x1400d3c7c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [0x1400d3c78], eax
mov eax, dword [0x1400d3c7c]
add rsp, 0x40
pop rbx
ret

Function at 0x14005ae90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.140025224
mov ebx, 0x80070000
test eax, eax
jle 0x14005aed3
movzx eax, ax
or eax, ebx
test eax, eax
js 0x14005af35
and dword [rbp + 0x20], 0
mov eax, 4
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x30], eax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
lea r8, str.DatabaseEseOverride
xor edx, edx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x14005af1e
movzx eax, ax
or eax, ebx
test eax, eax
js 0x14005af35
cmp dword [rbp + 0x20], 1
sete bl
mov byte [rbp + 0x18], bl
lea rcx, [rbp + 0x18]
call fcn.14005570c
jmp 0x14005af37
xor bl, bl
lea rcx, [rbp - 0x18]
call fcn.1400280a8
mov al, bl
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x14005b08c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 8], ecx
push rbp
mov rbp, rsp
sub rsp, 0x40
test byte [0x1400d3b41], 8
je 0x14005b0c2
mov r8d, ecx
lea rdx, [0x1400b1878]
lea rcx, [0x1400d0680]
call fcn.14005ceec
nop
and qword [rbp + 0x18], 0
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf003f
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.140025224
mov ebx, eax
test eax, eax
jle 0x14005b0fa
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 8]
test ebx, ebx
jns 0x14005b10f
mov r9d, ebx
mov edx, 0x5cf
jmp 0x14005b252
cmp dword [rbp + 0x10], 1
jne 0x14005b1b4
call fcn.140069df0
mov ebx, eax
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x14005b132
mov r9d, eax
mov edx, 0x5d8
jmp 0x14005b174
lea rdx, str.RebuildIndex
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
add eax, 0xfffffffe
cmp eax, 1
ja 0x14005b157
xor ebx, ebx
jmp 0x14005b164
test ebx, ebx
jle 0x14005b164
movzx ebx, bx
or ebx, 0x80070000
mov rcx, qword [rbp + 8]
test ebx, ebx
jns 0x14005b180
mov r9d, ebx
mov edx, 0x5e3
lea r8, [0x1400ab980]
call fcn.140028aec
mov rcx, qword [rbp + 0x18]
call fcn.14005cc08
mov edi, eax
test eax, eax
jns 0x14005b1ac
mov rcx, qword [rbp + 8]
mov r9d, eax
lea r8, [0x1400ab980]
mov edx, 0x5e6
call fcn.140028864
jmp 0x14005b260
test ebx, ebx
js 0x14005b25e
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r8, [0x1400aaf48]
xor edx, edx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005b1f0
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 8]
test ebx, ebx
jns 0x14005b202
mov r9d, ebx
mov edx, 0x5ed
jmp 0x14005b252
lea rcx, [rbp - 0x10]
call fcn.14002d838
cmp byte [rbp - 8], 0
je 0x14005b240
and dword [rbp - 0x10], 0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.14005cb28
mov edi, eax
test eax, eax
jns 0x14005b240
mov rcx, qword [rbp + 8]
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchindexerexeSetupErrorThresholdHelper.h
mov edx, 0x31
call fcn.140028864
jmp 0x14005b242
xor edi, edi
mov rcx, qword [rbp + 8]
test edi, edi
jns 0x14005b25e
mov r9d, edi
mov edx, 0x5f1
lea r8, [0x1400ab980]
call fcn.140028aec
mov edi, ebx
lea rcx, [rbp + 0x18]
call fcn.1400280a8
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x14005bc0c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftInputPersonalization
mov dword [rsp + 0x20], 2
call fcn.140025224
mov ebx, eax
test eax, eax
jle 0x14005bc46
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14005bca1
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x28], r9d
lea r8, str.Installed
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005bc90
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x48]
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 0x14005bd20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf003f
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.140025224
mov ebx, eax
test eax, eax
jle 0x14005bd86
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x178]
test ebx, ebx
jns 0x14005bda7
mov r9d, ebx
lea r8, [0x1400ab980]
mov edx, 0x183
call fcn.140028aec
jmp 0x14005be1e
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemIndexNormalization
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005bde6
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x178]
test ebx, ebx
jns 0x14005be05
mov r9d, ebx
lea r8, [0x1400ab980]
mov edx, 0x189
call fcn.140028aec
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jns 0x14005beaf
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14005ae3c
nop
mov r9d, dword [rdi + 0x10]
mov r8, qword [rdi + 8]
mov edx, 0x7d0
lea rcx, [rsp + 0x40]
call fcn.14005af50
mov r8d, eax
mov dword [rdi + 0x14], eax
mov rax, qword [rdi]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
lea rdx, [0x1400b07f0]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
nop
lea rcx, [rsp + 0x40]
call fcn.1400364b8
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005c4f8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
mov byte [rcx], 0
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], 1
mov rbx, rcx
call fcn.140025224
test eax, eax
jle 0x14005c537
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x14005c5a9
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
and dword [rsp + 0x40], 0
lea r8, str.IndexEntireSystemVolume
mov eax, 4
xor edx, edx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
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
jle 0x14005c58c
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x14005c598
cmp dword [rsp + 0x40], 1
jne 0x14005c598
mov byte [rbx], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14005c744
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x388]
sub rsp, 0x480
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x370], rax
lea rax, [rsp + 0x48]
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_SearchGathering_ManagerApplicationsWindowsPluginManagers
mov dword [rsp + 0x20], 9
call fcn.140025224
xor esi, esi
mov ecx, eax
test eax, eax
jne 0x14005c8a5
mov edi, esi
xor edx, edx
jmp 0x14005c81d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, str.ProgId
lea rax, [rbp + 0x160]
mov dword [rsp + 0x50], 0x208
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14005c819
lea rdx, str.MSSearch.IpsPi
mov word [rbp + 0x366], si
lea rcx, [rbp + 0x160]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14005c860
inc edi
mov edx, edi
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14005c7aa
jmp 0x14005c887
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], 1
lea r8, str.IncludeIPSPlugin
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_SearchPreviousSettings
call fcn.14006c518
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
cmp ebx, 0x103
mov ecx, esi
cmovne ecx, ebx
jmp 0x14005c8ad
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14005c8bc
test ecx, ecx
jle 0x14005c8be
movzx ecx, cx
or ecx, 0x80070000
jmp 0x14005c8be
mov ecx, esi
mov eax, ecx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14005c910
Capabilities:
Delete file
Get common file path
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
xor esi, esi
mov ebx, eax
test eax, eax
js 0x14005caf9
mov edx, 0x104
lea rax, [rsp + 0x50]
mov r8d, edx
cmp word [rax], si
je 0x14005c97e
add rax, 2
sub r8, 1
jne 0x14005c96f
mov rcx, rdx
mov rax, r8
sub rcx, r8
neg rax
mov rax, r8
sbb r9, r9
and r9, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test r8, r8
je 0x14005c9fe
lea rcx, [rsp + 0x50]
lea rcx, [rcx + r9*2]
sub rdx, r9
je 0x14005c9e3
lea r8, str.MicrosoftSearchCatalogCorruptionLoglogdata.txt
mov eax, 0x7ffffffe
sub r8, rcx
test rax, rax
je 0x14005c9e3
movzx r9d, word [r8 + rcx]
test r9w, r9w
je 0x14005c9e3
mov word [rcx], r9w
dec rax
add rcx, 2
sub rdx, 1
jne 0x14005c9c2
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
neg rdx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
mov word [rax], si
test ebx, ebx
js 0x14005caf9
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14005ca4d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005ca36
movzx ebx, ax
or ebx, 0x80070000
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
jbe 0x14005ca4b
test ebx, ebx
js 0x14005caf9
jmp 0x14005ca4d
mov ebx, esi
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005caa0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005caf9
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14005caf9
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileTime]
nop dword [rax + rax]
test eax, eax
jne 0x14005caea
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005caea
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14005cc08
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14002c27c
neg al
lea r8, str.DatabaseSchemaVersion
mov r9d, 4
lea rax, [rsp + 0x48]
sbb edx, edx
mov dword [rsp + 0x28], r9d
and edx, 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], edx
mov rcx, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005cc5d
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14005cc7e
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreuapBase_appmodelSearchcommonincludeDatabaseEngineSchema.h
mov r9d, ebx
mov edx, 0x3f
call fcn.140028864
mov eax, ebx
jmp 0x14005cc80
xor eax, eax
add rsp, 0x30
pop rbx
ret