joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002915c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400292ac
cmp rax, 0xffffffffffffffff
je 0x1400292ac
xor edi, edi
test rbp, rbp
jle 0x140029257
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f068
mov rbx, rax
test rax, rax
jne 0x1400291e4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002924d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a088
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d430
cmp eax, 0xffffffff
je 0x14002922d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400291f4
mov edx, r15d
mov ecx, r14d
call fcn.14001a088
jmp 0x14002924d
cmp byte [rsi + 0x38], dil
je 0x140029244
cmp dword [rsi + 0x34], 5
jne 0x140029244
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002924d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001ae1c
jmp 0x1400292c0
jns 0x1400292c0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c754
cmp rax, 0xffffffffffffffff
jne 0x140029278
cmp byte [rsi + 0x30], dil
je 0x1400292c0
mov edi, dword [rsi + 0x2c]
jmp 0x1400292c0
mov ecx, r14d
call fcn.140018540
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400292c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400292c0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400292b9
mov eax, dword [rsi + 0x2c]
jmp 0x1400292be
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c754
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001b7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bc6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bc6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bc6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bc6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bc6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bc8
xor al, al
add rsp, 0x28
ret
Function at 0x140007474
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x410
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov ebx, r9d
mov edi, r8d
mov rsi, rdx
lea r15, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0x50], r15
lea r12, str.CVssHwSupport::InternalGatherData
mov qword [rsp + 0x58], r12
lea r13, str.TST__
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x1c4
mov dword [rsp + 0x6c], 9
mov dword [rsp + 0x70], 0xdc
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14004058c
nop
mov edx, ebx
lea rcx, [rbp + 0x70]
call fcn.140006414
nop
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.14001efa0
test dil, 1
je 0x140007540
lea rcx, [rbp + 0x70]
call fcn.140008864
test dil, 0x20
je 0x140007579
lea rcx, [rbp + 0x70]
call fcn.14001be9c
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.14000b0dc
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.14000eb4c
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140010494
test dil, 0x10
je 0x140007588
lea rcx, [rbp + 0x70]
call fcn.14001aca4
test dil, 4
je 0x140007597
lea rcx, [rbp + 0x70]
call fcn.14001c56c
test dil, 0x82
je 0x1400075ad
mov edx, edi
shr edx, 1
and edx, 1
lea rcx, [rbp + 0x70]
call fcn.140015c00
test dil, 8
je 0x1400075bc
lea rcx, [rbp + 0x70]
call fcn.140017404
test dil, 0x40
je 0x1400075cb
lea rcx, [rbp + 0x70]
call fcn.14001d2fc
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x1400075f1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
je 0x14000763c
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.14001f6f0
nop
lea rcx, [rbp + 0x70]
call fcn.140007684
nop
lea rcx, [rbp]
call fcn.1400406a0
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400438c0
mov rbx, qword [rsp + 0x450]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0x200
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400400dc
lea r8, str.DeleteFile
mov rdx, rax
lea rcx, [rbp]
call fcn.140041e40
int3
Function at 0x140025630
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [rsp + 0x50], rax
lea rax, str.CHwDiag::OnLoad
mov qword [rsp + 0x58], rax
lea rax, str.VHWDIAGC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0xb8
mov dword [rsp + 0x6c], 6
mov dword [rsp + 0x70], 0xff
xor ebx, ebx
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call fcn.14004058c
nop
mov dword [rsp + 0x2a0], 0x80042306
mov dword [rsp + 0x2a8], ebx
cmp qword [rdi + 0x28], rbx
jne 0x1400256ee
lea rcx, [rsp + 0x160]
call fcn.1400406a0
xor eax, eax
jmp 0x140025906
lea rcx, [rdi + 0x2c0]
mov qword [rsp + 0x110], rcx
lea rax, [rdi + 0x30]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x4d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x4d8]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007cd0c]
mov dword [rsp + 0x20], eax
mov r9d, 0xe
lea r8, str.OnLoad
lea edx, [r9 - 0xd]
lea rcx, [rsp + 0x120]
call fcn.140037ff4
nop
mov rax, qword [rsp + 0x148]
mov word [rax], bx
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x120]
call fcn.140038654
mov r8, rsi
lea rdx, str.pCallback___p
lea rcx, [rsp + 0x120]
call fcn.140038654
mov r8, qword [rsp + 0x148]
lea rdx, str.InputParameters
lea rcx, [rsp + 0x138]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x120]
call fcn.1400381ac
nop
jmp 0x1400257d6
cmp qword [rdi + 0x28], rbx
je 0x140025822
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 0x18]
call qword [0x140053f18]
mov dword [rsp + 0x2a0], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
jae 0x14002581b
dec ecx
mov dword [rsp + 0x2a8], ecx
jmp 0x14002582c
mov eax, dword [rsp + 0x2a0]
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x4d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x4d8]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007cd0c]
mov dword [rsp + 0x20], eax
lea r8, str.OnLoad
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x2a8]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x120]
call fcn.140038208
mov r8d, 0xd
mov edx, dword [rsp + 0x2a0]
lea rcx, [rsp + 0x120]
call fcn.1400388f4
nop
lea rcx, [rsp + 0x120]
call fcn.1400381ac
nop
inc dword [0x14007cd0c]
lea rcx, [rsp + 0x160]
call fcn.1400406a0
mov eax, dword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x140027290
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rdi, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [rsp + 0x50], rax
lea rax, str.CHwDiag::GetProviderCapabilities
mov qword [rsp + 0x58], rax
lea rax, str.VHWDIAGC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x280
mov dword [rsp + 0x6c], 6
mov dword [rsp + 0x70], 0xff
xor esi, esi
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call fcn.14004058c
nop
mov dword [rsp + 0x2a0], 0x80042306
mov dword [rsp + 0x2a8], esi
lea rcx, [rdi + 0x2c8]
mov qword [rsp + 0x110], rcx
lea rax, [rdi + 0x38]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x4d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x4e0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccec]
mov dword [rsp + 0x20], eax
lea r9d, [rsi + 0xe]
lea r8, str.GetProviderCapabilities
lea edx, [rsi + 1]
lea rcx, [rsp + 0x120]
call fcn.140037ff4
lea rcx, [rsp + 0x120]
call fcn.1400381ac
nop
jmp 0x1400273ba
cmp qword [rdi + 0x28], rsi
je 0x14002740b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x298]
mov rax, qword [rax + 0x48]
call qword [0x140053f18]
mov dword [rsp + 0x2a0], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
jae 0x140027404
dec ecx
mov dword [rsp + 0x2a8], ecx
jmp 0x140027417
mov eax, dword [rsp + 0x2a0]
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x4d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x4e0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccec]
mov dword [rsp + 0x20], eax
lea r8, str.GetProviderCapabilities
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x2a8]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x120]
call fcn.140038208
mov r8d, 0xf
mov edx, dword [rsp + 0x2a0]
lea rcx, [rsp + 0x120]
call fcn.1400388f4
mov rax, qword [rsp + 0x298]
mov rbx, qword [rax]
mov rax, qword [rsp + 0x148]
mov word [rax], si
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x120]
call fcn.140038654
mov r8, rbx
lea rdx, str.llOriginalCapabilityMask___llu_r_n
lea rcx, [rsp + 0x120]
call fcn.140038654
mov r8, qword [rsp + 0x148]
lea rdx, str.OutputParameters
lea rcx, [rsp + 0x138]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x120]
call fcn.1400381ac
nop
inc dword [0x14007ccec]
lea rcx, [rsp + 0x160]
call fcn.1400406a0
mov eax, dword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400361d8
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 0x140036205
mov rax, rcx
jmp 0x1400362a6
movzx eax, word [rcx]
jmp 0x14003629b
mov rbx, rdi
mov rsi, r14
test ax, ax
je 0x140036280
cmp word [rsi], 0
je 0x1400362c2
movzx ecx, word [rbx]
movzx eax, word [rsi]
cmp ecx, eax
jne 0x140036280
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
sub rax, rsi
mov rcx, rbp
sub rcx, rbx
xor rax, rcx
test rax, 0xfffffffffffffffe
jne 0x140036280
jmp 0x140036275
add rbx, 2
add rsi, 2
movzx ecx, word [rsi]
movzx eax, word [rbx]
cmp eax, ecx
je 0x14003627a
cmp rbx, rbp
jb 0x140036263
cmp word [rbx], 0
jne 0x140036218
cmp word [rsi], 0
je 0x1400362c2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rdi, rax
movzx eax, word [rax]
test ax, ax
jne 0x14003620d
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 0x1400362a6
Function at 0x140036884
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], r14
mov rax, qword [0x14007c478]
xor rax, rbp
mov qword [rbp + 0x68], rax
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.KERNEL32.dll_VirtualQuery]
nop dword [rax + rax]
test rax, rax
je 0x1400369a9
mov rdi, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop dword [rax + rax]
mov eax, dword [rbp + 0x3c]
mov r14d, eax
lea ebx, [rax - 1]
not rbx
and rbx, rsi
lea rsi, [rdi + 0x2000]
sub rbx, rax
cmp rbx, rsi
jb 0x1400369a9
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [rax + rax]
test rax, rax
je 0x1400369a9
add rdi, qword [rbp + 0x20]
test dword [rbp + 0x28], 0x1000
je 0x140036922
test dword [rbp + 0x2c], 0x100
je 0x14003695d
mov eax, 1
jmp 0x1400369ab
mov rax, qword [rbp + 8]
cmp rbx, rax
jb 0x1400369a9
cmp rax, rsi
mov r9d, 4
mov r8d, 0x1000
mov rdx, r14
cmovae rsi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop dword [rax + rax]
lea r9, [rbp]
mov r8d, 0x104
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
jmp 0x1400369ab
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.1400438c0
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x88]
mov rdi, qword [rbp + 0x90]
mov r14, qword [rbp + 0x98]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x140036a58
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.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140036b42
lea esi, [rbx + 1]
cmp dword [rsp + 0x80], esi
jne 0x140036b34
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 0x140036b42
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.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140036b1f
cmp word [rdi], bx
jne 0x140036b21
mov esi, ebx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov eax, esi
jmp 0x140036b44
cmp dword [rsp + 0x80], ebx
seta bl
mov eax, ebx
jmp 0x140036b44
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140036b5c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140036c85
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036bf0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x140036c85
jmp 0x140036c1d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140036b5c
mov ebx, eax
test eax, eax
jne 0x140036c85
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
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, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140036c04
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036c78
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rsp + 0x48], 0
mov rdx, rsi
mov rcx, rdi
call fcn.140036cf8
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036c9b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400438c0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003bf98
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x390
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, rcx
lea r14, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x50], r14
lea r15, str.CVssRegistryKey::DeleteSubkey
mov qword [rsp + 0x58], r15
lea r12, str.REGREGSC
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 0xad
mov dword [rsp + 0x6c], VariantTimeToDosDateTime
mov ebx, 0xff
mov dword [rsp + 0x70], ebx
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14004058c
nop
lea r9, [rbp + 0x2e0]
mov r8, qword [rbp + 0x2d8]
lea edx, [rbx + 5]
lea rcx, [rbp + 0x70]
call fcn.140002f68
mov dword [rbp + 8], eax
test eax, eax
js 0x14003c122
lea rdx, [rbp + 0x70]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x14003c169
test eax, eax
jne 0x14003c0b2
lea rcx, [rbp]
call fcn.1400406a0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400438c0
add rsp, 0x390
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], SetErrorInfo
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140002ff8
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.SHDeleteKey__ld__s___s_
lea rcx, [rbp]
call fcn.140042060
int3
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0xb8
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbp]
call fcn.1400046e0
mov r8d, eax
lea r9, str.StringCchVPrintfW__
lea rcx, [rbp]
call fcn.140042060
int3
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0xc0
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140002ff8
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.Key_with_path__s_s_not_found
mov r8d, 0x80042308
lea rcx, [rbp]
call fcn.140041508
int3
Function at 0x14003c1cc
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
lea r14, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x48], r14
lea r15, str.CVssRegistryKey::DeleteValue
mov qword [rsp + 0x50], r15
lea r12, str.REGREGSC
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0xce
mov dword [rsp + 0x64], VariantTimeToDosDateTime
mov dword [rsp + 0x68], 0xff
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.14004058c
nop
lea rdx, str.Previous
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x14003c318
test eax, eax
jne 0x14003c2a5
lea rcx, [rbp - 0x10]
call fcn.1400406a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0xdb
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140002ff8
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
lea rcx, str.Previous
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegDeleteValue__ld__s___s_
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0xd8
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140002ff8
lea rcx, str.Previous
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.Value__s_s_not_found
mov r8d, 0x80042308
lea rcx, [rbp - 0x10]
call fcn.140041508
int3
Function at 0x14003c380
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea r12, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x48], r12
lea r13, str.CVssRegistryKey::SetValue
mov qword [rsp + 0x50], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0xfb
mov dword [rsp + 0x64], VariantTimeToDosDateTime
mov dword [rsp + 0x68], 0xff
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.14004058c
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [rax + rax]
mov r14d, eax
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14003c487
lea rcx, [rbp - 0x10]
call fcn.1400406a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], VarUI4FromDisp
mov r9, r13
lea r8, str.REGREGSC
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.1400400dc
mov r10, rax
lea edx, [r14 + 1]
add rdx, rdx
lea rcx, [rsi + 0x10]
call fcn.140002ff8
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegSetValueExW_0x_08lx__s_0_REG_SZ__s._d_
mov rdx, r10
lea rcx, [rbp - 0x10]
call fcn.140042060
int3