joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ac18
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
lea rsi, str.base_stor_vssincworker.hxx
mov qword [rsp + 0x30], rsi
lea r14, str.CVssWorkerThread::StartJob
mov qword [rsp + 0x38], r14
lea r15, str.INCWORKH
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x171
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor ebx, ebx
mov dword [rbp - 0x30], 0x1000000
lea r13d, [rbx + 0x78]
mov r8d, r13d
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.1400bec34
nop
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14004adc0
cmp dword [rdi + 0x1c], 2
jne 0x14004adc0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14004adba
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x184
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rdi + 0x1c]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x10]
lea r8, str.ResumeThread__p____1__GetLastError____0x_08lx__m_eThreadState___d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400c132c
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x187
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x20], eax
lea r8, str.ResumeThread_failed._Error:_0x_08lx._State:__d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140009fb0
mov dword [rdi + 0x1c], 5
mov eax, 0x8007000e
jmp 0x14004ae1b
mov byte [rdi + 0x20], 1
jmp 0x14004ae1d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x176
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9d, dword [rdi + 0x1c]
lea r8, str.Bad_state__d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140009fb0
mov eax, 0x8000ffff
mov ebx, eax
lea rcx, [rbp - 0x20]
call fcn.140009990
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14007ea28
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], 0x179
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.1400bec34
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14007eb39
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007eae2
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], 0x181
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.140027ed8
nop
lea rcx, [rbp - 0x30]
call fcn.140009990
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 0x14007eb74
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_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x14007eb9c
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 [0x14015d3e0]
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], 0x49
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.1400bec34
nop
mov edx, 0x104
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14007ecc6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007ec70
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], 0x50
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.140027ed8
mov r8d, 0x104
mov rdx, rbx
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14007ed52
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007ecfb
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], 0x56
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.140027ed8
nop
lea rcx, [rbp - 0x20]
call fcn.140009990
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400164a0
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 0x14007f850
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], 0x161
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.1400bec34
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007f969
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007f912
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], 0x16f
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.140027ed8
nop
lea rcx, [rbp - 0x30]
call fcn.140009990
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 0x1400b124c
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 [0x14015d3e0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rdx
mov dword [rsp + 0x30], 0x104
mov rdi, rcx
mov dword [rsp + 0x34], 0x10
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x208
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
xor esi, esi
lea rdx, [rbp]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rcx, rbx
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ext_ms_win_cluster_clusapi_l1_1_2.dll_GetClusterResourceState]
nop dword [rax + rax]
lea rdx, [rsp + 0x34]
mov ebx, eax
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
nop dword [rax + rax]
cmp ebx, 2
je 0x1400b1343
lea rax, str.base_stor_vssmodulescoord_srchwresync.cxx
mov dword [rsp + 0x50], 0xc89
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 0x1400b142e
test eax, eax
je 0x1400b13d4
mov r8d, 0xf
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400b13d4
lea rax, str.base_stor_vssmodulescoord_srchwresync.cxx
mov dword [rsp + 0x50], 0xc92
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.140009fb0
mov al, 1
jmp 0x1400b143d
lea rax, str.base_stor_vssmodulescoord_srchwresync.cxx
mov dword [rsp + 0x50], 0xc8e
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.140009fb0
xor al, al
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400164a0
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c6948
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov dword [rsp + 0x38], 0x3a2
mov qword [rsp + 0x20], rax
mov rdi, rdx
lea rax, str.CAutoSid::operator_
mov dword [rsp + 0x3c], reloc.VssTrace.DLL_Ordinal_11
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rax, str.SECSECRC
mov dword [rsp + 0x40], 0xff
xor esi, esi
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rbp - 0x40], 0x1000000
lea rcx, [rsp + 0x48]
lea r8d, [rsi + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.1400bec34
mov rcx, qword [rbx + 8]
mov rdx, qword [rdi + 8]
test rcx, rcx
jne 0x1400c69e5
test rdx, rdx
sete sil
jmp 0x1400c69fc
test rdx, rdx
je 0x1400c69fc
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
setne sil
mov dl, sil
lea rcx, [rbp - 0x30]
call fcn.140031dac
lea rcx, [rbp - 0x30]
mov bl, al
call fcn.140009990
lea r11, [rsp + 0x140]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400d5478
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rbx, rcx
lea r14, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x40], r14
lea r15, str.CVssRegistryKeyIterator::GetCurrentKeyName
mov qword [rsp + 0x48], r15
lea r12, str.REGREGSC
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2cf
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov edi, 0xff
mov dword [rsp + 0x60], edi
xor esi, esi
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400bec34
nop
cmp byte [rbx + 0x28], sil
je 0x1400d5647
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1400d5647
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0xa0], eax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xa0]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x1400d5624
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x68]
cmp eax, 0x103
je 0x1400d55ed
mov dword [rsp + 0x58], 0x2e8
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 0x20]
test edi, edi
jle 0x1400d55b6
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xa0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumKeyExW__p__lu__p__lu_..._
mov r8d, edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400c2a9c
int3
mov dword [rsp + 0x58], 0x2ec
call sub.msvcrt.dll_memset
mov eax, dword [rbx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400c2a9c
int3
mov rbx, qword [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140009990
mov rax, rbx
add rsp, 0x160
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2d3
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r9, str.Unexpected_error:_noninitialized_iterator
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400c2090
int3
Function at 0x1400db74c
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_0.dll_SetErrorMode]
nop dword [rax + rax]
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_1_0.dll_GetVolumeInformationW]
nop dword [rax + rax]
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_1_0.dll_GetDiskFreeSpaceW]
nop dword [rax + rax]
mov ecx, dword [rbp + 0x50]
imul ecx, dword [rbp + 0x60]
mov dword [rdi], ecx
test ebx, ebx
je 0x1400db812
test eax, eax
jne 0x1400db815
mov r15d, r12d
mov eax, r15d
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e2a40
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [rbx + 0x20]
lea ecx, [rbx + 0x5a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
js 0x1400e2a80
cmp dword [rsp + 0x30], 3
cmovl ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400164a0
add rsp, 0x50
pop rbx
ret
Function at 0x1400eb2e0
Capabilities:
Check if file exists
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rcx, str.AsrRegClearExitCode
call fcn.1400ed218
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, str.SOFTWAREMICROSOFTWINDOWS_NTCurrentVersionASRBackupSession
call fcn.1400f04c4
test eax, eax
jne 0x1400eb390
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400eb3db
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400eb3e0
test byte [rcx + 0x1c], 8
je 0x1400eb3e0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea edx, [rbx + 0x20]
mov r9d, eax
lea rax, str.GetLastError___
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013eda0]
mov qword [rsp + 0x20], rax
call fcn.1400d9dd4
jmp 0x1400eb3e0
mov rcx, qword [rsp + 0x48]
lea rdx, str.BackupExitCode
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov edi, eax
test eax, 0xfffffffd
je 0x1400eb3db
xor ebx, ebx
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400eb3e0
test byte [rcx + 0x1c], 8
je 0x1400eb3e0
lea edx, [rbx + 0x21]
mov r9d, edi
lea rax, str.lDeleteValueResult
jmp 0x1400eb379
xor edi, edi
lea ebx, [rdi + 1]
cmp qword [rsp + 0x48], 0
je 0x1400eb3f9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea rcx, str.AsrRegClearExitCode
call fcn.1400ed25c
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400eb848
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rsi, rcx
xor ebx, ebx
lea edi, [rbx + 1]
test rcx, rcx
jne 0x1400eb8c7
lea r9d, [rcx + 0x57]
mov edi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400eb9f6
test byte [rcx + 0x1c], 8
je 0x1400eb9f6
lea edx, [rsi + 0xe]
lea rax, [0x14013ee38]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013f150]
mov qword [rsp + 0x20], rax
call fcn.1400d9dd4
jmp 0x1400eb9f6
mov edx, 0x105
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1400eb93c
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400eb9f6
test byte [rcx + 0x1c], 8
je 0x1400eb9f6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0xf
mov rcx, qword [section..data]
mov r9d, eax
lea rax, str.GetLastError___
jmp 0x1400eb8ad
cmp eax, 0x104
jbe 0x1400eb97f
mov r9d, 0x7a
mov edi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400eb9f6
test byte [rcx + 0x1c], 8
je 0x1400eb9f6
lea edx, [r9 - 0x6a]
lea rax, str.ERROR_INSUFFICIENT_BUFFER
jmp 0x1400eb8ad
mov r8d, 0x32
mov word [rsp + 0xa6], bx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x1400eb9e9
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400eb9f6
test byte [rcx + 0x1c], 8
je 0x1400eb9f6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x11
jmp 0x1400eb926
lea rcx, [rsp + 0x30]
call fcn.1400ec990
mov qword [rsi], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400164a0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret