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

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400c9158]
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]
test eax, eax
je 0x1400501a6
xor eax, eax
jmp 0x1400501af
call fcn.14001e28c
test eax, eax
js 0x1400501b7
movzx ecx, word [rsp + 0x20]
mov word [rbx], cx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14002cdb0
add rsp, 0x240
pop rbx
ret

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

Disassembly:
push rdi
sub rsp, 0x40
cmp dword [0x1400cb7cc], 0
je 0x1400501f6
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [0x1400cb7c8]
cmp eax, 0x4e20
jbe 0x140050298
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]
test eax, eax
je 0x140050282
mov edi, 1
mov dword [rsp + 0x50], edi
call fcn.1400502a4
xor edx, edx
xor r8d, r8d
cmp r8d, 0x44
jae 0x140050271
lea r9, [0x1400a1c90]
cmp ax, word [r9 + r8*2]
cmove edx, edi
add r8d, edi
test edx, edx
je 0x140050255
test edx, edx
je 0x140050282
mov eax, dword [rsp + 0x50]
or eax, 2
mov dword [rsp + 0x50], eax
jmp 0x140050286
mov eax, dword [rsp + 0x50]
mov dword [0x1400cb7cc], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [0x1400cb7c8], eax
mov eax, dword [0x1400cb7cc]
add rsp, 0x40
pop rdi
ret
Function at 0x14005049c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
test dword [0x1400ca100], 0x800
je 0x1400504cc
mov r8d, ecx
lea rdx, [0x1400a0db8]
lea rcx, [0x1400c8290]
call fcn.140053178
lea rax, [rsp + 0x48]
xor edi, edi
mov r9d, 0xf003f
mov qword [rsp + 0x48], rdi
lea rdx, str.SOFTWAREMicrosoftWindows_Search
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.14001e334
mov ebx, eax
test eax, eax
jle 0x140050505
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x140050513
mov edx, 0x73a
jmp 0x1400505be
cmp dword [rsp + 0x40], 1
jne 0x140050579
call fcn.1400528bc
mov ebx, eax
test eax, eax
jns 0x140050532
mov r9d, eax
mov edx, 0x743
jmp 0x1400505c1
mov rcx, qword [rsp + 0x48]
lea rdx, str.RebuildIndex
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov ebx, eax
add eax, 0xfffffffe
cmp eax, 1
cmovbe ebx, edi
test ebx, ebx
jle 0x14005055e
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x14005057d
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov r9d, ebx
mov edx, 0x74e
call fcn.14002c058
test ebx, ebx
js 0x1400505d2
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
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]
mov ebx, eax
test eax, eax
jle 0x1400505b5
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1400505d2
mov edx, 0x756
mov r9d, ebx
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
call fcn.14002c058
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400505e2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140051528
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 2
lea rdx, str.SOFTWAREMicrosoftInputPersonalization
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.14001e334
mov ebx, eax
test eax, eax
jle 0x140051560
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x1400515af
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]
mov ebx, eax
test eax, eax
jle 0x1400515a4
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]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400515f8
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 [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
lea rdx, str.SOFTWAREMicrosoftWindows_Search
mov rcx, 0xffffffff80000002
call fcn.14001e334
mov ebx, eax
test eax, eax
jle 0x140051665
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x140051686
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x2e0
call fcn.14002c058
jmp 0x1400516f1
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]
mov ebx, eax
test eax, eax
jle 0x1400516bf
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x1400516de
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x2e5
call fcn.14002c058
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jns 0x140051775
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]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140050374
nop
mov r9d, dword [rdi + 0x10]
mov r8, qword [rdi + 8]
mov edx, 0x7d0
lea rcx, [rsp + 0x40]
call fcn.1400503b4
mov dword [rdi + 0x14], eax
mov rdx, qword [rdi]
mov r10, qword [rdx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, [0x1400a1198]
mov rcx, rdi
mov rax, r10
call qword [case.0x140006f84.0]
nop
lea rcx, [rsp + 0x40]
call fcn.14002c0f0
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140052340
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov byte [rcx], 0
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov r9d, 1
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_Search
call fcn.14001e334
test eax, eax
jle 0x14005237d
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1400523e3
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]
test eax, eax
jle 0x1400523cc
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1400523d8
cmp dword [rsp + 0x40], 1
jne 0x1400523d8
mov byte [rbx], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x14005256c
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 [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x370], rax
lea rax, [rsp + 0x48]
mov r9d, 9
lea rdx, str.SOFTWAREMicrosoftWindows_SearchGathering_ManagerApplicationsWindowsPluginManagers
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.14001e334
xor esi, esi
mov ecx, eax
test eax, eax
jne 0x1400526a5
mov edi, esi
xor edx, edx
jmp 0x140052637
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]
test eax, eax
jne 0x140052633
lea rdx, str.MSSearch.IpsPi
mov word [rbp + 0x366], si
lea rcx, [rbp + 0x160]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140052674
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]
mov ebx, eax
test eax, eax
je 0x1400525d0
jmp 0x14005268d
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x20], rax
call fcn.14005d9b4
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp ebx, 0x103
mov ecx, esi
cmovne ecx, ebx
jmp 0x1400526ae
add eax, 0xfffffffe
cmp eax, 1
cmovbe ecx, esi
test ecx, ecx
jle 0x1400526bb
movzx ecx, cx
or ecx, 0x80070000
mov eax, ecx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14002cdb0
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 0x1400526e8
Capabilities:
Delete file
Get common file path
Timestomp file

Disassembly:
sub rsp, 0x278
mov rax, qword [0x1400c9158]
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]
test eax, eax
js 0x1400528a3
mov ecx, 0x104
mov qword [rsp + 0x280], rbx
mov edx, ecx
mov qword [rsp + 0x270], rdi
lea rax, [rsp + 0x50]
cmp word [rax], 0
je 0x140052751
add rax, 2
sub rdx, 1
jne 0x140052741
xor edi, edi
mov ebx, 0x80070057
test rdx, rdx
mov rax, rcx
mov r8d, edi
cmovne ebx, edi
sub rax, rdx
test rdx, rdx
cmovne r8, rax
je 0x1400527c9
lea rdx, [rsp + 0x50]
lea rdx, [rdx + r8*2]
sub rcx, r8
je 0x1400527b3
lea rax, [r8 + 0x7ffffefa]
add rax, rcx
lea r8, str.MicrosoftSearchCatalogCorruptionLoglogdata.txt
sub r8, rdx
test rax, rax
je 0x1400527b3
movzx r9d, word [r8 + rdx]
test r9w, r9w
je 0x1400527b3
mov word [rdx], r9w
dec rax
add rdx, 2
sub rcx, 1
jne 0x140052792
test rcx, rcx
lea rax, [rdx - 2]
mov ebx, 0x8007007a
cmovne rax, rdx
cmovne ebx, edi
mov word [rax], di
test ebx, ebx
js 0x140052891
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x140052804
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400527f5
movzx ebx, ax
or ebx, 0x80070000
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
ja 0x140052804
mov ebx, edi
jmp 0x14005280c
test ebx, ebx
js 0x140052891
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], edi
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]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140052850
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x140052893
movzx eax, ax
or eax, 0x80070000
jmp 0x140052893
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
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]
test eax, eax
jne 0x140052888
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140052888
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002cdb0
add rsp, 0x278
ret
Function at 0x1400528bc
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 [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rax, [rsp + 0x40]
xor edi, edi
mov r9d, 0xf003f
mov qword [rsp + 0x40], rdi
lea rdx, str.SOFTWAREMicrosoftWindows_Search
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.14001e334
mov ebx, eax
test eax, eax
jle 0x140052920
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140052a1b
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], 0x20
lea rdx, str._x_sys_default_locale
mov ecx, 1
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetNLSVersionEx]
test eax, eax
je 0x1400529fb
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]
mov ebx, eax
test eax, eax
js 0x140052a10
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.140006ce0
mov ebx, eax
test eax, eax
js 0x140052a10
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400529c2
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]
jmp 0x140052a01
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140052a10
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]
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400569a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor eax, eax
mov rsi, rdx
mov r8, rdx
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov r9d, 0x2001f
mov qword [rsp + 0x58], rax
call fcn.14002a044
jmp 0x140056a01
lea rdx, [rsp + 0x70]
call fcn.1400569a0
xor ecx, ecx
mov ebx, eax
test eax, eax
jne 0x140056a5c
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x1400569f7
call fcn.14002a094
mov rdx, rsi
mov rcx, rdi
call fcn.14002a0bc
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.14002a094
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002cdb0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x140056db8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r10, rdx
mov r11, rcx
test r8, r8
jne 0x140056dd6
mov ecx, 0x80004005
call fcn.14004a3b0
int3
mov r9d, ebx
mov rdx, r8
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x140056de0
inc ecx
lea rdx, [rdx + rcx*2]
lea r9d, [r9 + rcx*2]
cmp ecx, 1
jne 0x140056ddc
mov dword [rsp + 0x28], r9d
mov rdx, r10
mov qword [rsp + 0x20], r8
lea r9d, [rcx + 6]
mov rcx, qword [r11]
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret
Function at 0x1400586d0
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 [0x1400c9158]
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.14001f244
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.14001f244
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14001f244
nop
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.14001f244
and dword [rbp + 0x1e0], 0
and qword [rbp + 0x1e8], 0
mov rcx, rbx
call fcn.1400282a4
nop
mov rcx, rdi
call fcn.1400282a4
nop
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0xa0]
lea r8, [0x140058690]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbp + 0x1e8], rax
xor ebx, ebx
mov edi, 0x80070000
test rax, rax
jne 0x1400587da
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400587d3
movzx ebx, ax
or ebx, edi
mov rax, qword [rbp + 0x1e8]
test ebx, ebx
js 0x140058843
lea rcx, str.CSM____Ping__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov edx, 2
mov rcx, qword [r15 + 8]
call fcn.140028c4c
mov edx, 0x7d0
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1400587de
test eax, eax
jne 0x14005881e
mov ebx, dword [rbp + 0x1e0]
jmp 0x14005882f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14005882f
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]
mov rax, qword [rbp + 0x1e8]
test rax, rax
je 0x140058851
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rcx, [rbp + 0x140]
call fcn.1400282a4
lea rcx, [rbp + 0xa0]
call fcn.1400282a4
nop
mov rcx, rsi
call fcn.1400282a4
nop
mov rcx, r14
call fcn.1400282a4
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002cdb0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140058b44
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x458]
sub rsp, 0x540
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov qword [rsp + 0x38], rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
lea rcx, [rbp + 0x140]
call fcn.14001f244
nop
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14001f244
nop
mov rax, qword [rbp + 0xa0]
mov r9d, dword [rbp + 0x154]
mov r8d, dword [rbp + 0xb4]
mov rdx, qword [rbp + 0x148]
lea rcx, [rbp + 0xa0]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
mov rax, qword [rbp + 0xa0]
or r9d, 0xffffffff
mov r8d, dword [rbp + 0xb4]
lea rdx, [0x140094c84]
lea rcx, [rbp + 0xa0]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140058d17
test byte [rbp + 0x1e0], 0x10
je 0x140058ccd
cmp word [rbp + 0x20c], 0x2e
je 0x140058cd4
inc qword [rsi + 0xa8]
lea rdx, [rbp + 0x140]
lea rcx, [rbp]
call fcn.14001f244
nop
mov rax, qword [rbp]
or ebx, 0xffffffff
mov r9d, ebx
mov r8d, dword [rbp + 0x14]
lea rdx, [0x140094bd4]
lea rcx, [rbp]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
mov rax, qword [rbp]
mov r9d, ebx
mov r8d, dword [rbp + 0x14]
lea rdx, [rbp + 0x20c]
lea rcx, [rbp]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.14001f244
mov rdx, rax
mov rcx, rsi
call fcn.140058b44
mov ebx, eax
lea rcx, [rbp]
call fcn.1400282a4
mov rax, qword [rsp + 0x30]
jmp 0x140058cd4
inc qword [rsi + 0xa0]
test ebx, ebx
js 0x140058d0a
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
mov rax, qword [rsp + 0x30]
jne 0x140058c2c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140058d0a
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
jmp 0x140058d2c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140058d2c
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x80070012
cmovne edi, ebx
lea rcx, [rbp + 0xa0]
call fcn.1400282a4
nop
lea rcx, [rbp + 0x140]
call fcn.1400282a4
nop
mov rcx, qword [rsp + 0x38]
call fcn.1400282a4
mov eax, edi
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.14002cdb0
mov rbx, qword [rsp + 0x570]
add rsp, 0x540
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005aa6c
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x278
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x2e8]
xor esi, esi
mov qword [rsp + 0x48], rax
mov r15, rcx
mov ecx, dword [rsp + 0x2e0]
mov r13, r9
mov r12, r8
mov rbp, rdx
mov ebx, 1
test rdx, rdx
jne 0x14005aac7
test r8, r8
je 0x14005abce
test ecx, ecx
mov r14d, 0x104
mov eax, 2
cmovne r14d, ecx
mov rcx, 0xffffffffffffffff
mul r14
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14008e048]
call qword [case.0x140006f84.0]
mov rdi, rax
test rax, rax
jne 0x14005ab05
mov ebx, esi
jmp 0x14005abce
xor eax, eax
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
mov r8, rdi
lea rax, [rsp + 0x50]
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x28], rax
mov edx, esi
and qword [rsp + 0x20], 0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005aba8
mov eax, dword [rsp + 0x2f0]
mov r9, r12
mov dword [rsp + 0x38], eax
mov r8, rbp
mov rax, qword [rsp + 0x48]
mov rdx, rdi
mov qword [rsp + 0x30], rax
mov rcx, r15
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r13
call fcn.14005abf4
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x14005abbc
test rbp, rbp
je 0x14005abbc
cmp dword [rsp + 0x40], r14d
jae 0x14005aba4
mov r8, r13
mov rdx, rdi
mov rcx, r15
mov rax, rbp
call qword [case.0x140006f84.0]
xor eax, eax
jmp 0x14005abbc
mov ebx, eax
jmp 0x14005abbc
cmp eax, 0x103
je 0x14005abc6
cmp eax, 0xea
mov eax, 0
cmovne ebx, eax
inc esi
test ebx, ebx
jne 0x14005ab07
mov rcx, rdi
call fcn.14000abd8
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002cdb0
add rsp, 0x278
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret