joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005dc68
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x1c0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x1c0], rbx
mov qword [rbp + 0x1c8], rsi
mov qword [rbp + 0x1d0], rdi
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x190], rax
mov eax, dword [0x14015b058]
mov r15d, 1
test r15b, al
jne 0x14005dced
or eax, r15d
lea rcx, [rbp + 0x70]
mov ebx, VarUI4FromDisp
mov dword [0x14015b058], eax
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x70], ebx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetVersionExW]
mov eax, dword [rbp + 0x80]
mov dword [0x14015ab80], eax
mov dword [0x14015b05c], r15d
mov eax, dword [rsp]
sub rsp, 0x10
lea rsi, [rsp + 0x20]
mov eax, dword [rsi]
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_memory_l1_1_2.dll_VirtualQuery]
test rax, rax
jne 0x14005dd1a
xor eax, eax
jmp 0x14005dde7
mov rbx, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemInfo]
mov eax, dword [rbp + 0x3c]
mov edx, 0x11000
mov ecx, dword [0x14015ab80]
mov r14d, eax
lea edi, [rax - 1]
not rdi
and rdi, rsi
sub rdi, rax
mov eax, 0x2000
cmp ecx, r15d
cmove eax, edx
movsxd rsi, eax
add rsi, rbx
cmp rdi, rsi
jb 0x14005dd13
cmp ecx, r15d
je 0x14005ddc7
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_2.dll_VirtualQuery]
test rax, rax
je 0x14005dd13
add rbx, qword [rbp + 0x20]
test dword [rbp + 0x28], 0x1000
je 0x14005dd60
test dword [rbp + 0x2c], 0x100
mov rbx, qword [rbp + 8]
je 0x14005dd97
mov eax, r15d
jmp 0x14005dde7
cmp rdi, rbx
jb 0x14005dd13
cmp rbx, rsi
mov r9d, 4
mov r8d, 0x1000
mov rdx, r14
cmovb rbx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_2.dll_VirtualAlloc]
mov ecx, dword [0x14015ab80]
jmp 0x14005ddca
mov rbx, rdi
cmp ecx, r15d
lea r9, [rbp]
mov r8d, 0x104
mov rdx, r14
cmove r8d, r15d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_2.dll_VirtualProtect]
mov rcx, qword [rbp + 0x190]
xor rcx, rbp
call fcn.1400305f0
mov rbx, qword [rbp + 0x1c0]
mov rsi, qword [rbp + 0x1c8]
mov rdi, qword [rbp + 0x1d0]
lea rsp, [rbp + 0x1a0]
pop r15
pop r14
pop rbp
ret
Function at 0x140062db4
Capabilities:
Get common file path
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r15
lea rbp, [rax - 0x6a8]
sub rsp, 0x790
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov rbx, rdx
mov dword [rsp + 0x48], 0xb27
xor edx, edx
mov dword [rsp + 0x4c], 1
lea r15, str.base_stor_vssmodulescoord_srccoord.cxx
mov dword [rsp + 0x50], 0xff
lea r12, str.CVssCoordinator::IsBootVolume
mov qword [rsp + 0x30], r15
lea r13, str.CORCOORC
mov qword [rsp + 0x38], r12
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x58]
mov dword [rbp - 0x30], 0x1000000
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140010990
mov edx, 0x105
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemDirectoryW]
test eax, eax
je 0x140062f29
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
je 0x140062f29
mov r8d, 0x104
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140062eb9
mov rdx, rbx
lea rcx, [rbp + 0x470]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete dl
jmp 0x140062f2b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140062ece
movzx ebx, ax
or ebx, 0x80070000
xor edx, edx
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0xb33
lea r8d, [rdx + 0x78]
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
call sub.msvcrt.dll_memset
lea r9, [rbp + 0x50]
mov dword [rsp + 0x20], ebx
lea r8, str.GetVolumeNameForVolumeMountPoint__s__failed_with_0x_08lx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140010920
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14001082c
lea rcx, [rbp - 0x20]
mov bl, al
call fcn.140010ab0
mov al, bl
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1400305f0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
Function at 0x14006a4e0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov r14, rcx
mov r15, 0xffffffff80000002
mov rcx, r15
mov rdx, r8
mov rsi, r8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
mov ebx, eax
cmp eax, 2
jne 0x14006a58f
lea rax, str.base_stor_vssmodulescoord_src_reg_util.cxx
mov dword [rbp - 0x51], 0x5c
mov qword [rbp - 0x69], rax
lea r8d, [rbx + 0x76]
lea rax, str.RecursiveDeleteKey
mov dword [rbp - 0x4d], 1
mov qword [rbp - 0x61], rax
lea rcx, [rbp - 0x41]
lea rax, str.CORREGUC
mov dword [rbp - 0x49], 0xff
xor edx, edx
mov qword [rbp - 0x59], rax
mov dword [rbp + 0x37], 0x1000000
call sub.msvcrt.dll_memset
lea r9, str.Key_with_path__p_s_not_found
mov qword [rsp + 0x28], rsi
mov r8d, 0x80042308
mov qword [rsp + 0x20], r15
lea rdx, [rbp - 0x69]
mov rcx, r14
call fcn.1400ce7c0
int3
test eax, eax
je 0x14006a60d
lea rax, str.base_stor_vssmodulescoord_src_reg_util.cxx
mov dword [rbp - 0x51], 0x5f
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x41]
xor edx, edx
mov dword [rbp - 0x4d], 1
lea rax, str.RecursiveDeleteKey
mov dword [rbp - 0x49], 0xff
mov qword [rbp - 0x61], rax
lea rax, str.CORREGUC
mov qword [rbp - 0x59], rax
lea r8d, [rdx + 0x78]
mov dword [rbp + 0x37], 0x1000000
call sub.msvcrt.dll_memset
test ebx, ebx
jle 0x14006a5ec
movzx ebx, bx
or ebx, 0x80070000
mov qword [rsp + 0x28], rsi
lea r9, str.SHDeleteKey__p__s_
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [rbp - 0x69]
mov rcx, r14
call fcn.1400cf12c
int3
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14008c800
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rbx, rdx
lea r14, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x20], r14
lea r15, str.CVssHardwareProviderWrapper::DeleteDatabase
mov qword [rsp + 0x28], r15
lea r12, str.CORHWDBC
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], 0x184
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140010990
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteFileW]
test eax, eax
jne 0x14008c905
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008c8ae
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], 0x18c
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, str.DeleteFile
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x30]
call fcn.140010ab0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14008c940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov rcx, rdx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x14008c960
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x370
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rcx
lea r15, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x28], r15
lea r12, str.CVssHardwareProviderWrapper::GetBootDrive
mov qword [rsp + 0x30], r12
lea r13, str.CORHWDBC
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x54
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 0xff
mov dword [rbp - 0x38], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.140010990
nop
mov edx, 0x104
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14008ca7e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008ca28
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x5b
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 0xff
mov dword [rbp - 0x38], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea r8, str.GetSystemDirectory
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.14000f7d0
mov r8d, 0x104
mov rdx, rbx
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
jne 0x14008cafe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008caa7
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x61
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 0xff
mov dword [rbp - 0x38], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea r8, str.GetVolumePathName
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x20]
call fcn.140010ab0
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400305f0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
Function at 0x14008d5f0
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov rdi, rdx
lea r15, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x20], r15
lea r12, str.CVssHardwareProviderWrapper::MoveDatabase
mov qword [rsp + 0x28], r12
lea r13, str.CORHWDBC
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x16c
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140010990
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l2_1_1.dll_MoveFileExW]
test eax, eax
jne 0x14008d6fd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008d6a6
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x17a
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, str.MoveFileEx
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x30]
call fcn.140010ab0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1400ad9f4
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea r14, str.base_stor_vssmodulescoord_srchwutils.cxx
mov qword [rsp + 0x30], r14
lea r15, str.CVssHardwareProviderWrapper::GetLocalComputerName
mov qword [rsp + 0x38], r15
lea r12, str.CORHWUTC
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x90f
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor edi, edi
mov dword [rbp - 0x30], 0x1000000
lea ebx, [rdi + 0x78]
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140010990
nop
mov dword [rbp + 0x80], edi
lea r8, [rbp + 0x80]
xor edx, edx
lea ecx, [rdi + 3]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetComputerNameExW]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0xea
je 0x1400adb09
test eax, eax
jle 0x1400adab4
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x91a
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, str.GetComputerName
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000f7d0
mov ecx, dword [rbp + 0x80]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x14015a53c]
mov rcx, rax
call fcn.14003083c
mov rbx, rax
test rax, rax
jne 0x1400adb93
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x920
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r9, str.Cannot_allocate_space_for_computer_name
mov r8d, 0x8007000e
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400ce7c0
int3
lea r8, [rbp + 0x80]
mov rdx, rax
mov ecx, 3
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetComputerNameExW]
test eax, eax
jne 0x1400adc1d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400adbbe
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x18], eax
mov rcx, rbx
call fcn.140030134
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x927
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, str.GetComputerName
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400d020c
int3
mov qword [rsp + 0x20], rbx
lea r9, str.Returning_string:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rbp - 0x20]
call fcn.14000f840
nop
lea rcx, [rbp - 0x20]
call fcn.140010ab0
mov rax, rbx
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400bf74c
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rdx
mov dword [rsp + 0x34], 0x104
mov rdi, rcx
mov dword [rsp + 0x30], 0x10
xor esi, esi
lea rcx, [rbp + 2]
xor edx, edx
mov word [rbp], si
mov r8d, 0x206
call sub.msvcrt.dll_memset
xor eax, eax
mov word [rbp - 0x20], si
xor r9d, r9d
mov qword [rbp - 0x1e], rax
lea r8, [rsp + 0x34]
mov qword [rbp - 0x16], rax
lea rdx, [rbp]
mov qword [rbp - 0xe], rax
mov rcx, rbx
mov dword [rbp - 6], eax
mov word [rbp - 2], ax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ext_ms_win_cluster_clusapi_l1_1_2.dll_GetClusterResourceState]
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_1.dll_GetComputerNameW]
cmp ebx, 2
je 0x1400bf849
lea rax, str.base_stor_vssmodulescoord_srchwresync.cxx
mov dword [rsp + 0x50], 0xc66
mov qword [rsp + 0x38], rax
lea r8d, [rsi + 0x78]
lea rax, str.CVssHardwareProviderWrapper::CheckIsOnlineOnMachine
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
lea rax, str.CORHRSNC
mov dword [rsp + 0x58], 0xff
xor edx, edx
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x28], 0x1000000
call sub.msvcrt.dll_memset
lea r8, str.This_cluster_resource_is_not_online_on_any_machine
jmp 0x1400bf92e
test eax, eax
je 0x1400bf8d4
mov r8d, 0xf
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x1400bf8d4
lea rax, str.base_stor_vssmodulescoord_srchwresync.cxx
mov dword [rsp + 0x50], 0xc6f
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x54], 1
lea rax, str.CVssHardwareProviderWrapper::CheckIsOnlineOnMachine
mov dword [rsp + 0x58], 0xff
mov qword [rsp + 0x40], rax
lea rax, str.CORHRSNC
mov qword [rsp + 0x48], rax
lea r8d, [rdx + 0x78]
mov dword [rbp - 0x28], 0x1000000
call sub.msvcrt.dll_memset
lea r8, str.Cluster_resource_is_online_on_this_machine
mov rcx, rdi
lea rdx, [rsp + 0x38]
call fcn.140010920
mov al, 1
jmp 0x1400bf93d
lea rax, str.base_stor_vssmodulescoord_srchwresync.cxx
mov dword [rsp + 0x50], 0xc6b
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x54], 1
lea rax, str.CVssHardwareProviderWrapper::CheckIsOnlineOnMachine
mov dword [rsp + 0x58], 0xff
mov qword [rsp + 0x40], rax
lea rax, str.CORHRSNC
mov qword [rsp + 0x48], rax
lea r8d, [rdx + 0x78]
mov dword [rbp - 0x28], 0x1000000
call sub.msvcrt.dll_memset
lea r8, str.This_cluster_resource_is_not_online_on_this_machine
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140010920
xor al, al
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400305f0
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d0428
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x810]
sub rsp, 0x910
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rdi, rcx
call qword [sym.imp.VssTrace.DLL_Ordinal_11]
cmp eax, dword [rdi + 4]
je 0x1400d0582
mov rdx, qword [rdi + 0x28]
lea r8, [rsp + 0x50]
mov ecx, dword [rdi + 0x24]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov dword [rdi + 4], eax
call qword [sym.imp.VssTrace.DLL_Ordinal_8]
test eax, eax
je 0x1400d048a
mov eax, dword [rsp + 0x50]
jmp 0x1400d04a0
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1400d049a
call fcn.14005a718
jmp 0x1400d04a0
call qword [sym.imp.VssTrace.DLL_Ordinal_6]
mov dword [rdi], eax
mov eax, dword [rdi + 4]
cmp dword [0x14015a020], eax
je 0x1400d0582
xor edx, edx
mov word [rbp], bx
mov r8d, 0x7fe
lea rcx, [rbp + 2]
call sub.msvcrt.dll_memset
lea rdx, [rbp]
call fcn.14000f618
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov dword [rsp + 0x70], 0x252
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x80]
xor edx, edx
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
lea rax, str.CVssFunctionTracer::UpdateLocalIsTracingEnabledFlag
mov dword [rsp + 0x78], 0xff
mov qword [rsp + 0x60], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0x68], rax
lea r8d, [rdx + 0x78]
mov dword [rbp - 8], 0x1000000
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_processenvironment_l1_2_0.dll_GetCommandLineW]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcessId]
mov ecx, dword [rdi + 4]
lea r8, str.TRACING_STARTED
mov dword [rsp + 0x48], ecx
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14015a020]
mov r9d, 0x78
mov dword [rsp + 0x40], ecx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, str.Tracing_started_or_updated._PID_d__CommandLine__s___UserName__s_._SQN__d_____d_
mov qword [rsp + 0x20], rax
call fcn.1400107c0
mov eax, dword [rdi + 4]
mov dword [0x14015a020], eax
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.1400305f0
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400d6be4
Capabilities:
Get disk information
Get disk size

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, qword [rbp + 0x68]
xor r12d, r12d
mov r14, rcx
mov word [rdx], r12w
mov rsi, r9
mov dword [rbp + 0x48], r12d
mov rbx, rdx
mov dword [rbp + 0x60], r12d
lea r15d, [r12 + 1]
mov dword [rbp + 0x50], r12d
mov ecx, r15d
mov dword [rbp - 0x10], r12d
mov dword [rbp + 0x58], r12d
mov word [r9], r12w
mov dword [rdi], r12d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetErrorMode]
mov dword [rsp + 0x38], 0x10
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 0x100
mov rdx, rsi
mov qword [rsp + 0x20], r12
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeInformationW]
lea r9, [rbp - 0x10]
mov rcx, r14
mov ebx, eax
lea r8, [rbp + 0x50]
lea rax, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetDiskFreeSpaceW]
mov ecx, dword [rbp + 0x50]
imul ecx, dword [rbp + 0x60]
mov dword [rdi], ecx
test ebx, ebx
je 0x1400d6c98
test eax, eax
jne 0x1400d6c9b
mov r15d, r12d
mov eax, r15d
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret