joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c4440
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x140120218]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400c44cf
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0xc0000011
jne 0x1400c44dc
xor edx, edx
xor eax, eax
jmp 0x1400c4506
cmp eax, 0x103
je 0x1400c4510
test eax, eax
js 0x1400c44ef
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1400c4506
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1400be860
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1400b9c50
mov ecx, 7
int 0x29
ud2

Function at 0x1400c4560
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x140120218]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400c45f6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1400c4623
test eax, eax
js 0x1400c4602
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1400c4619
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1400be860
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1400b9c50
mov ecx, 7
int 0x29
ud2
Function at 0x1400dbb88
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400dbbd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400dbbd2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400dbbd2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400dbbd2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400dbbd2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400dbbd4
xor al, al
add rsp, 0x28
ret
Function at 0x140001088
Capabilities:
Compare security identifiers

Disassembly:
sar dword [rbp + rax*8 + 0x2c885756], cl
int 0xad
lodsd eax, dword [rsi]

Function at 0x1400010a0
Capabilities:
Compare security identifiers

Disassembly:
pop rsp
invalid
loopne 0x14000104a
mov dword [rsp + 0x3c], eax
invalid
invalid
and al, 0x48

Function at 0x14000111c
Capabilities:
Compare security identifiers

Disassembly:
fsubr qword [rdi]
mov eax, 0x56c5bcd3
loopne 0x1400010c9
invalid
invalid

Function at 0x140001780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x30
mov al, 0x24
mov byte [rsp + 0x27], 0x4b
and al, 0x27
mov dl, byte [r12 + r12 + 0x27]
push rsp
and al, 0x27

Function at 0x140001788
Capabilities:
Parse pe header

Disassembly:
and al, 0x27
mov dl, byte [r12 + r12 + 0x27]
push rsp
and al, 0x27

Function at 0x140001790
Capabilities:
Parse pe header

Disassembly:
ror byte [rax - 0x75e8dbbc], 1
and al, 0x27
invalid

Function at 0x1400017a0
Capabilities:
Parse pe header

Disassembly:
imul r9d, r8d, 0x7301249c
mov dl, byte [rsp + 0x17]
push rsp
and al, 0x17

Function at 0x1400017b0
Capabilities:
Parse pe header

Disassembly:
cmp al, dl
mov qword [rsp + 8], rcx
mov dword [rsp + 4], r8d
ja 0x1400017be
invalid
invalid

Function at 0x140002680
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub al, bh
call 0x184c78cec
and al, 0x7e
outsb dx, byte [rsi]
xor ecx, dword [rax - 0x75]
invalid
test byte [rax + rbp*4], ah

Function at 0x1400026c4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], r10d
and al, 0x44

Function at 0x1400026dc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov cx, word [rsp + 0x7e]
invalid
invalid
xchg esp, eax
and al, 0xa0
add byte [rax], al

Function at 0x1400026ec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
cmp byte [rax + 0x48], ch
mov dword [rsp + 0xa8], eax
test byte [rax + rbp*4], ah
add byte [rax], al
add byte [rax], al

Function at 0x140002708
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
lahf
add dword [rax], eax
add byte [rax + 0x100], bh
mov eax, 0x100

Function at 0x140002728
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
test byte [rsi + rsi*4], ah
add byte [rax], al
add byte [rax], al
invalid
invalid

Function at 0x140002740
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov dword [rsp + 0xa8], 0xbb9a5917

Function at 0x140002754
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
add byte [rax], al
or r11b, 0xcf
retf
iretd
mov byte [rsp + 0xa3], r11b
add byte [rax], al

Function at 0x140002770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r8d, dword [rsp + 0xb6]
invalid
invalid
invalid
scasd eax, dword [rdi]
test byte [rsi + rsi*4], ah
invalid

Function at 0x140002788
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov word [rsp + 0xb6], r8w
mov eax, ebx
mov dword [rsp + 0x38], edx
push rsp
and al, 0x38
cdq

Function at 0x140002798
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
idiv ecx
movsxd r14, edx
mov bpl, byte [rsi + r14]

Function at 0x1400027cc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
and r15d, 0xff
mov edi, r15d
mov edi, edi
Function at 0x140002810
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov dword [rsp + 0x88], ecx
mov r8w, word [rsp + 0xb6]
xor r8w, word [rsp + 0xb6]
and al, 0xb6
add byte [rax], al
add byte [rsi + 0x44], ah
mov dword [rsp + 0xb6], eax
test byte [rsi + rsi*4], ah
add byte [rax], al
add byte [rax], al
mov edi, dword [rsp + 0x38]

Function at 0x140002814
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov dword [rsp + 0x88], ecx
mov r8w, word [rsp + 0xb6]
xor r8w, word [rsp + 0xb6]
and al, 0xb6
add byte [rax], al
add byte [rsi + 0x44], ah
mov dword [rsp + 0xb6], eax
test byte [rsi + rsi*4], ah
add byte [rax], al
add byte [rax], al
mov edi, dword [rsp + 0x38]

Function at 0x140002818
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
test byte [rsi + rsi*4], ah
add byte [rax], al
add byte [rax], al
mov edi, dword [rsp + 0x38]
invalid
jl 0x140002849
invalid
js 0x140002873
mov ebp, dword [rsp + 0x48]
invalid

Function at 0x140003d04
Capabilities:
Encode data using xor

Disassembly:
mov ax, 0xf77e
mov rcx, qword [rsp + 0x88]
mov dx, word [rcx + 0x48]
sub ax, word [rsp + 0xae]
and al, 0xae
add byte [rax], al
invalid
mov cx, ax
shr dx, cl
movzx r8d, dx
mov dword [rsp + 0x94], r8d
mov rax, qword [rsp + 0x88]
test al, 1
invalid
invalid

Function at 0x140004078
Capabilities:
Parse pe header

Disassembly:
mov al, 0x1d
mov cl, byte [rsp + 0x2f]
mov rdx, qword [rsp + 8]
mov qword [rsp + 0x18], rdx
cmp al, cl
invalid
jne 0x1400040f4
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 8]
invalid
invalid
invalid

Function at 0x140004080
Capabilities:
Parse pe header

Disassembly:
mov al, 0x1d
mov cl, byte [rsp + 0x2f]
mov rdx, qword [rsp + 8]
mov qword [rsp + 0x18], rdx
cmp al, cl
invalid
jne 0x1400040f4
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 8]
invalid
invalid
invalid

Function at 0x14000408c
Capabilities:
Parse pe header

Disassembly:
mov al, 0x1d
mov cl, byte [rsp + 0x2f]
mov rdx, qword [rsp + 8]
mov qword [rsp + 0x18], rdx
cmp al, cl
invalid
jne 0x1400040f4
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 8]
invalid
invalid
invalid

Function at 0x140004090
Capabilities:
Parse pe header

Disassembly:
mov al, 0x1d
mov cl, byte [rsp + 0x2f]
mov rdx, qword [rsp + 8]
mov qword [rsp + 0x18], rdx
cmp al, cl
invalid
jne 0x1400040f4
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 8]
invalid
invalid
invalid

Function at 0x140004098
Capabilities:
Parse pe header

Disassembly:
cmp al, 0xc6
and al, 0x2e
adc eax, 0x2444c766
and al, 0x36
lahf

Function at 0x1400040bc
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 8], rcx
mov word [rsp + 6], 0xafa3
mov dl, byte [rsp + 0x2e]
mov r8b, 0x24

Function at 0x1400040e4
Capabilities:
Parse pe header

Disassembly:
mov byte [rsp + 0x2e], al
mov r10w, word [rsp + 4]
and al, 4

Function at 0x1400040ec
Capabilities:
Parse pe header

Disassembly:
and al, 4
cmp r10w, r9w
jne sym.DUI70.dll_public:_class_DirectUI::CCTreeView____ptr64___cdecl_DirectUI::CCTreeView::operator_class_DirectUI::CCTreeView____ptr64____ptr64
mov rax, qword [rsp + 0x18]
add rax, 0xfffffffffffff000
invalid
Function at 0x1400040f0
Capabilities:
Parse pe header

Disassembly:
and al, 4
cmp r10w, r9w
jne sym.DUI70.dll_public:_class_DirectUI::CCTreeView____ptr64___cdecl_DirectUI::CCTreeView::operator_class_DirectUI::CCTreeView____ptr64____ptr64
mov rax, qword [rsp + 0x18]
add rax, 0xfffffffffffff000
invalid

Function at 0x14000410c
Capabilities:
Parse pe header

Disassembly:
mov ax, word [rsp + 0x36]
or ax, word [rsp + 0x36]
and al, 0x36
mov word [rsp + 0x36], ax
mov rcx, qword [rsp + 8]
mov ax, word [rcx]
mov edx, dword [rsp + 0x30]
push rsp
and al, 0x30
xor edx, 0x2781b673
mov dword [rsp + 0x30], edx
cmp ax, 0x5a4d

Function at 0x140004114
Capabilities:
Parse pe header

Disassembly:
mov ax, word [rsp + 0x36]
or ax, word [rsp + 0x36]
and al, 0x36
mov word [rsp + 0x36], ax
mov rcx, qword [rsp + 8]
mov ax, word [rcx]
mov edx, dword [rsp + 0x30]
push rsp
and al, 0x30
xor edx, 0x2781b673
mov dword [rsp + 0x30], edx
cmp ax, 0x5a4d
Function at 0x140003a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140003ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003ac4
xor al, al
add rsp, 0x28
ret
Function at 0x140029a74
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rbx
mov rbp, rdx
mov qword [r11 - 0x28], rbx
xor r9d, r9d
mov qword [r11 - 0x30], rbx
xor r8d, r8d
mov qword [r11 - 0x38], rbx
xor edx, edx
mov qword [r11 - 0x40], rax
mov rcx, rbp
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x50], rbx
mov qword [r11 - 0x58], rbx
mov dword [r11 + 8], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140029b5e
lea esi, [rbx + 1]
cmp dword [rsp + 0x80], esi
jne 0x140029b50
mov ecx, 0x2000
mov dword [rsp + 0x90], 0x1000
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140029b5e
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x90]
mov qword [rsp + 0x30], rbx
mov r8, rax
mov qword [rsp + 0x28], rbx
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140029b3b
cmp word [rdi], bx
jne 0x140029b3d
mov esi, ebx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov eax, esi
jmp 0x140029b60
cmp dword [rsp + 0x80], ebx
seta bl
mov eax, ebx
jmp 0x140029b60
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002b624
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.14002ad08
jmp 0x14002b690
lea rdx, [rsp + 0x70]
call fcn.14002b624
test eax, eax
mov ebx, eax
jne 0x14002b6f2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x14002b686
call fcn.1400280c4
mov rdx, rsi
mov rcx, rdi
call fcn.140028a24
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.1400280c4
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400164a0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002cf90
Capabilities:
Encrypt data using rc4 prga

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
cmp word [rdx], 0
mov r14, rdx
mov rdi, rcx
jne 0x14002cfbd
mov rax, rcx
jmp 0x14002d05e
movzx eax, word [rcx]
jmp 0x14002d053
mov rbx, rdi
mov rsi, r14
test ax, ax
je 0x14002d038
cmp word [rsi], 0
je 0x14002d07a
movzx ecx, word [rbx]
movzx eax, word [rsi]
cmp ecx, eax
jne 0x14002d038
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
nop dword [rax + rax]
sub rax, rsi
mov rcx, rbp
sub rcx, rbx
xor rax, rcx
test rax, 0xfffffffffffffffe
jne 0x14002d038
jmp 0x14002d02d
add rbx, 2
add rsi, 2
movzx ecx, word [rsi]
movzx eax, word [rbx]
cmp eax, ecx
je 0x14002d032
cmp rbx, rbp
jb 0x14002d01b
cmp word [rbx], 0
jne 0x14002cfd0
cmp word [rsi], 0
je 0x14002d07a
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
nop dword [rax + rax]
mov rdi, rax
movzx eax, word [rax]
test ax, ax
jne 0x14002cfc5
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
mov rax, rdi
jmp 0x14002d05e
Function at 0x14003510c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
lea r12, str.base_stor_vssinc_vs_vol.hxx
mov qword [rsp + 0x30], r12
lea r13, str.GetVolumeNameWithCheck
mov qword [rsp + 0x38], r13
lea rax, str.INCVOLH
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x15b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
xor r15d, r15d
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
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 word [rsi], r15w
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea rax, str.INCVOLH
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x163
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, str.GetVolumeNameForVolumeMountPointW_will_be_called_on__s
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140009fb0
mov r8d, dword [rbp + 0xb0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x140035264
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140004780
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9, str.GetVolumeNameForVolumeMountPoint__s_...__failed_with_error_code_0x_08lx
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1400c2090
int3
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea rax, str.INCVOLH
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x16b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
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
mov r9, rsi
lea r8, str.GetVolumeNameForVolumeMountPointW_succeeded_and_the_output_is__s
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140009fb0
nop
lea rcx, [rbp - 0x20]
call fcn.140009990
nop
mov rcx, rbx
call fcn.1400bed5c
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035b9c
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 [0x14015d3e0]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov rdi, rdx
mov dword [rsp + 0x48], 0xb21
xor ebx, ebx
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, [rbx + 0x78]
mov qword [rsp + 0x40], r13
xor edx, edx
mov dword [rbp - 0x30], 0x1000000
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400bec34
mov edx, 0x105
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140035d31
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
je 0x140035d31
mov r8d, 0x104
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x140035cbb
mov rdx, rdi
lea rcx, [rbp + 0x470]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
sete bl
jmp 0x140035d31
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x140035cd6
movzx edi, ax
or edi, 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], 0xb2d
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], edi
lea r8, str.GetVolumeNameForVolumeMountPoint__s__failed_with_0x_08lx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140009fb0
mov dl, bl
lea rcx, [rbp - 0x20]
call fcn.140031dac
lea rcx, [rbp - 0x20]
mov bl, al
call fcn.140009990
mov al, bl
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1400164a0
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 0x140040aa0
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]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
jne 0x140040b55
lea rax, str.base_stor_vssmodulescoord_src_reg_util.cxx
mov dword [rbp - 0x51], 0x5a
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.1400c2090
int3
test ebx, ebx
je 0x140040bd3
lea rax, str.base_stor_vssmodulescoord_src_reg_util.cxx
mov dword [rbp - 0x51], 0x5d
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 0x140040bb2
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.1400c2a9c
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