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

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400db348]
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 0x14004ae9c
xor eax, eax
jmp 0x14004aea5
call fcn.14000b3a0
test eax, eax
js 0x14004aead
movzx ecx, word [rsp + 0x20]
mov word [rbx], cx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14002a3f0
add rsp, 0x240
pop rbx
ret

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

Disassembly:
push rdi
sub rsp, 0x40
cmp dword [0x1400dda3c], 0
je 0x14004aefc
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [0x1400dda38]
cmp eax, 0x4e20
jbe 0x14004afaa
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
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
and qword [rsp + 0x20], 0
mov r9d, SafeArrayPutElement
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 0x14004af8e
mov edi, 1
mov dword [rsp + 0x50], edi
call fcn.14004afc0
xor edx, edx
xor r8d, r8d
cmp r8d, 0x44
jae 0x14004af7d
lea r9, [0x1400b5600]
cmp ax, word [r9 + r8*2]
cmove edx, edi
add r8d, edi
test edx, edx
je 0x14004af61
test edx, edx
je 0x14004af8e
mov eax, dword [rsp + 0x50]
or eax, 2
mov dword [rsp + 0x50], eax
jmp 0x14004af92
mov eax, dword [rsp + 0x50]
mov dword [0x1400dda3c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [0x1400dda38], eax
mov eax, dword [0x1400dda3c]
add rsp, 0x40
pop rdi
ret
Function at 0x14004b254
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
test byte [0x1400dd8c1], 8
je 0x14004b286
mov r8d, ecx
lea rdx, [0x1400b5a18]
lea rcx, [0x1400da440]
call fcn.14004d5c8
lea rax, [rbp + 0x28]
xor esi, esi
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], 0xf003f
mov qword [rbp + 0x28], rsi
call fcn.14000a9b8
mov ebx, eax
mov edi, 0x80070000
test eax, eax
jle 0x14004b2c0
movzx ebx, ax
or ebx, edi
test ebx, ebx
jns 0x14004b2d1
mov r9d, ebx
mov edx, 0x701
jmp 0x14004b3cf
cmp dword [rbp + 0x20], 1
jne 0x14004b336
call fcn.14004d41c
mov ebx, eax
test eax, eax
jns 0x14004b2ef
mov r9d, eax
mov edx, 0x70a
jmp 0x14004b3cf
mov rcx, qword [rbp + 0x28]
lea rdx, str.RebuildIndex
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
cmovbe ebx, esi
test ebx, ebx
jle 0x14004b31c
movzx ebx, bx
or ebx, edi
test ebx, ebx
jns 0x14004b33e
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov r9d, ebx
mov edx, 0x715
call fcn.140043580
test ebx, ebx
js 0x14004b3df
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov r9d, 4
lea r8, str.SetupCompletedSuccessfully
mov dword [rsp + 0x28], r9d
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 0x14004b376
movzx ebx, ax
or ebx, edi
test ebx, ebx
jns 0x14004b384
mov r9d, ebx
mov edx, 0x71d
jmp 0x14004b3cf
lea rcx, [rbp - 0x10]
call fcn.1400279e0
cmp byte [rbp - 8], sil
je 0x14004b3c1
xor edx, edx
mov dword [rbp - 0x10], esi
lea rcx, [rbp - 0x10]
call fcn.14004d3c4
mov edi, eax
test eax, eax
jns 0x14004b3c1
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_serviceSetupErrorThresholdHelper.h
mov r9d, eax
mov edx, 0x25
call fcn.140042654
jmp 0x14004b3c3
mov edi, esi
test edi, edi
jns 0x14004b3df
mov r9d, edi
mov edx, 0x721
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
call fcn.140043580
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14004b3f4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004beb8
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.14000a9b8
mov ebx, eax
test eax, eax
jle 0x14004bef2
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14004bf4d
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 0x14004bf3c
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 0x14004bfd4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x170], 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.14000a9b8
mov ebx, eax
test eax, eax
jle 0x14004c043
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x14004c064
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x2e3
call fcn.140043580
jmp 0x14004c0db
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 0x14004c0a3
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x14004c0c2
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x2e8
call fcn.140043580
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 0x14004c165
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14004b0bc
nop
mov r9d, dword [rdi + 0x10]
mov r8, qword [rdi + 8]
mov edx, 0x7d0
lea rcx, [rsp + 0x40]
call fcn.14004b110
mov dword [rdi + 0x14], eax
mov rdx, qword [rdi]
mov r10, qword [rdx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, [0x1400b4b08]
mov rcx, rdi
mov rax, r10
call qword [case.0x140024555.0]
nop
lea rcx, [rsp + 0x40]
call fcn.140029514
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002a3f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004cd90
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.14000a9b8
test eax, eax
jle 0x14004cdcf
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x14004ce41
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 0x14004ce24
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x14004ce30
cmp dword [rsp + 0x40], 1
jne 0x14004ce30
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 0x14004cfdc
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 [0x1400db348]
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.14000a9b8
xor esi, esi
mov ecx, eax
test eax, eax
jne 0x14004d13d
mov edi, esi
xor edx, edx
jmp 0x14004d0b5
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 0x14004d0b1
lea rdx, str.MSSearch.IpsPi
mov word [rbp + 0x366], si
lea rcx, [rbp + 0x160]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14004d0f8
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 0x14004d042
jmp 0x14004d11f
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.14005c3b0
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 0x14004d146
add eax, 0xfffffffe
cmp eax, 1
cmovbe ecx, esi
test ecx, ecx
jle 0x14004d153
movzx ecx, cx
or ecx, 0x80070000
mov eax, ecx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14002a3f0
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 0x14004d1b0
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 [0x1400db348]
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 0x14004d396
mov ecx, 0x104
lea rax, [rsp + 0x50]
mov edx, ecx
cmp word [rax], si
je 0x14004d21d
add rax, 2
sub rdx, 1
jne 0x14004d20e
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x14004d23a
mov rax, rcx
sub rax, rdx
jmp 0x14004d23d
mov rax, rsi
test rdx, rdx
je 0x14004d29e
lea rdx, [rsp + 0x50]
lea rdx, [rdx + rax*2]
sub rcx, rax
je 0x14004d283
lea r8, [rax + 0x7ffffefa]
add r8, rcx
lea r9, str.MicrosoftSearchCatalogCorruptionLoglogdata.txt
sub r9, rdx
test r8, r8
je 0x14004d283
movzx eax, word [r9 + rdx]
test ax, ax
je 0x14004d283
mov word [rdx], ax
dec r8
add rdx, 2
sub rcx, 1
jne 0x14004d264
test rcx, rcx
lea rax, [rdx - 2]
cmovne rax, rdx
neg rcx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
mov word [rax], si
test ebx, ebx
js 0x14004d396
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 0x14004d2e2
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 0x14004d2d6
movzx ebx, ax
or ebx, 0x80070000
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
cmovbe ebx, esi
test ebx, ebx
js 0x14004d396
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 0x14004d33d
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 0x14004d396
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14004d396
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 0x14004d387
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 0x14004d387
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.14002a3f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14004d41c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rax, [rsp + 0x40]
xor edi, edi
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], 0xf003f
mov qword [rsp + 0x40], rdi
call fcn.14000a9b8
mov ebx, eax
test eax, eax
jle 0x14004d482
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14004d59b
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], 0x20
lea rdx, [0x1400a6900]
mov ecx, 1
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetNLSVersionEx]
nop dword [rax + rax]
test eax, eax
je 0x14004d56f
mov r8d, 0x32
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14004d58a
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0xc8
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov r9d, 6
mov qword [rsp + 0x30], rax
lea r8, str._d._x._x._s
mov eax, dword [rsp + 0x50]
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x4c]
lea edx, [r9 + 0x5e]
mov dword [rsp + 0x20], eax
call fcn.140003d10
mov ebx, eax
test eax, eax
js 0x14004d58a
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x14004d530
mov rcx, qword [rsp + 0x40]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea r8, str.IndexerCatalogVersion
lea rax, [rbp - 0x20]
mov r9d, 1
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]
jmp 0x14004d57b
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 0x14004d58a
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x40]
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 + 0xb0]
xor rcx, rsp
call fcn.14002a3f0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140051e28
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
or ebx, 0xffffffff
cmp dword [0x1400db3b8], ebx
je 0x140051e3e
call fcn.14009823c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
nop dword [rax + rax]
cmp eax, ebx
mov dword [0x1400db3b8], eax
sete bl
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140051e6d
movzx eax, ax
or eax, 0x80070000
test bl, bl
je 0x140051e8a
mov rcx, qword [rsp + 0x28]
lea r8, str.onecoreuap_baseAppModelSearchcommonincludePerUserCatalogResetHelper.h
mov r9d, eax
mov edx, 0x22
call fcn.140043580
add rsp, 0x20
pop rbx
ret
Function at 0x1400554f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
xor r14d, r14d
test rax, rax
je 0x140055582
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140055582
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140055572
cmp rbx, rcx
jae 0x140055582
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14005555d
cmp rbx, rcx
jae 0x140055582
cmp word [rbx], r14w
je 0x140055582
mov rax, rbx
jmp 0x140055584
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400569d4
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rdx, r8
lea rcx, [rsp + 0x58]
call fcn.14001c074
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.14001c074
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14001c074
nop
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.14001c074
and dword [rbp + 0x1e0], 0
and qword [rbp + 0x1e8], 0
mov rcx, rbx
call fcn.14001484c
nop
mov rcx, rdi
call fcn.14001484c
nop
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0xa0]
lea r8, [0x140056980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbp + 0x1e8], rax
xor ebx, ebx
mov edi, 0x80070000
test rax, rax
jne 0x140056aea
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 0x140056ae3
movzx ebx, ax
or ebx, edi
mov rax, qword [rbp + 0x1e8]
test ebx, ebx
js 0x140056b6b
lea rcx, str.CSM____Ping__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
mov edx, 2
mov rcx, qword [r15 + 8]
call fcn.140003184
mov edx, 0x7d0
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0x102
je 0x140056aee
test eax, eax
jne 0x140056b3a
mov ebx, dword [rbp + 0x1e0]
jmp 0x140056b51
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 0x140056b51
movzx ebx, ax
or ebx, edi
lea rcx, str.Catalog_move:_end_copy__acknowledged_from_main_thread__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
mov rax, qword [rbp + 0x1e8]
test rax, rax
je 0x140056b7f
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, [rbp + 0x140]
call fcn.14001484c
lea rcx, [rbp + 0xa0]
call fcn.14001484c
nop
mov rcx, rsi
call fcn.14001484c
nop
mov rcx, r14
call fcn.14001484c
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002a3f0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140056ed8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x530
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rdx
lea rcx, [rbp + 0x130]
call fcn.14001c074
nop
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.14001c074
nop
mov rax, qword [rbp + 0x90]
mov r9d, dword [rbp + 0x144]
mov r8d, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 0x90]
mov rax, qword [rax + 0x20]
call qword [case.0x140024555.0]
mov rax, qword [rbp + 0x90]
or r9d, 0xffffffff
mov r8d, dword [rbp + 0xa4]
lea rdx, [0x1400a6cd0]
lea rcx, [rbp + 0x90]
mov rax, qword [rax + 0x20]
call qword [case.0x140024555.0]
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x1d0]
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400570b6
test byte [rbp + 0x1d0], 0x10
je 0x140057061
cmp word [rbp + 0x1fc], 0x2e
je 0x140057068
inc qword [rsi + 0xa8]
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x10]
call fcn.14001c074
nop
mov rax, qword [rbp - 0x10]
or r9d, 0xffffffff
mov r8d, dword [rbp + 4]
lea rdx, [0x1400a5b6c]
lea rcx, [rbp - 0x10]
mov rax, qword [rax + 0x20]
call qword [case.0x140024555.0]
mov rax, qword [rbp - 0x10]
or r9d, 0xffffffff
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 0x1fc]
lea rcx, [rbp - 0x10]
mov rax, qword [rax + 0x20]
call qword [case.0x140024555.0]
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.14001c074
mov rdx, rax
mov rcx, rsi
call fcn.140056ed8
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.14001484c
jmp 0x140057068
inc qword [rsi + 0xa0]
test ebx, ebx
js 0x1400570a5
lea rdx, [rbp + 0x1d0]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140056fc6
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 0x1400570a5
movzx ebx, ax
or ebx, 0x80070000
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
jmp 0x1400570d1
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 0x1400570d1
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x80070012
cmovne edi, ebx
lea rcx, [rbp + 0x90]
call fcn.14001484c
nop
lea rcx, [rbp + 0x130]
call fcn.14001484c
nop
mov rcx, r15
call fcn.14001484c
mov eax, edi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.14002a3f0
mov rbx, qword [rsp + 0x570]
add rsp, 0x530
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret