joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002320
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14000b020]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r14b, r14b
mov word [rsp + 0x20], 0xba49
mov word [rsp + 0x2a], 0xff41
lea rax, [0x140001e10]
mov qword [rsp + 0x22], rax
mov rbx, r9
mov dword [rsp + 0x30], 0
mov rdi, rdx
mov esi, 0xd
test cl, cl
je 0x1400023cb
test rbx, rbx
je 0x140002396
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140002480
mov eax, dword [r9 + 0x18]
test eax, eax
je 0x140002480
mov r8d, eax
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002421
movsd xmm0, qword [rsp + 0x20]
mov r14b, 1
mov eax, dword [rsp + 0x28]
movsd qword [rdi], xmm0
mov dword [rdi + 8], eax
mov byte [rdi + 0xc], 0xe2
jmp 0x140002421
test rbx, rbx
je 0x140002480
cmp qword [r9], 0
je 0x140002480
mov eax, dword [r9 + 8]
test eax, eax
je 0x140002480
lea r9, [rsp + 0x30]
mov qword [rsp + 0x60], rbp
mov r8d, 0x40
mov edx, eax
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000241c
mov rdx, qword [rbx]
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r14b, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [0x14000b9c8]
test rbx, rbx
jne 0x140002454
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtFlushInstructionCache
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14000b9c8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call rbx
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, r14b
jmp 0x140002482
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140005240
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400024a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14000b020]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x14000b9a0], 0
je 0x14000268f
cmp qword [0x14000b9a8], 0
je 0x14000268f
cmp qword [0x14000b9b0], 0
jbe 0x14000268f
call fcn.140002280
test al, al
je 0x14000268f
movzx eax, byte [0x14000b9b8]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
test al, al
je 0x140002508
cmp dword [0x14000b9a0], 2
jne 0x14000253c
mov rdx, qword [0x14000b9b0]
lea r9, [0x14000b9c0]
mov rcx, qword [0x14000b9a8]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_RW.
call fcn.140003ab0
movzx eax, byte [0x14000b9b8]
test al, al
lea rdx, str.____Decoding...
lea rcx, str.____Encoding...
cmovne rcx, rdx
call fcn.140003ab0
mov edx, dword [0x14000b9bc]
mov r9, qword [0x14000b9b0]
mov rcx, qword [0x14000b9a8]
mov rax, r9
shr rax, 2
movd xmm2, edx
pshufd xmm2, xmm2, 0
test rax, rax
je 0x1400025fb
cmp rax, 0x10
jb 0x1400025f0
mov r10, rax
lea r8, [rcx + 0x20]
and r10, 0xfffffffffffffff0
nop
movdqu xmm0, xmmword [r8 - 0x20]
lea r8, [r8 + 0x40]
add rbx, 0x10
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r8 - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [r8 - 0x50]
pxor xmm0, xmm2
movdqu xmmword [r8 - 0x50], xmm0
movdqu xmm0, xmmword [r8 - 0x40]
pxor xmm1, xmm0
movdqu xmmword [r8 - 0x40], xmm1
movdqu xmm0, xmmword [r8 - 0x30]
pxor xmm0, xmm2
movdqu xmmword [r8 - 0x30], xmm0
cmp rbx, r10
jb 0x140002590
cmp rbx, rax
jae 0x1400025fb
nop word [rax + rax]
xor dword [rcx + rbx*4], edx
inc rbx
cmp rbx, rax
jb 0x1400025f0
mov rbx, qword [rsp + 0x30]
lea rax, [rax*4]
cmp rax, r9
jae 0x14000261b
nop dword [rax]
xor byte [rax + rcx], dl
inc rax
cmp rax, r9
jb 0x140002610
cmp byte [0x14000b9b8], 0
jne 0x140002655
cmp dword [0x14000b9a0], 2
jne 0x140002681
mov rdx, qword [0x14000b9b0]
lea r9, [rsp + 0x20]
mov rcx, qword [0x14000b9a8]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_No_Access._n
jmp 0x14000267c
mov r8d, dword [0x14000b9c0]
lea r9, [rsp + 0x20]
mov rdx, qword [0x14000b9b0]
mov rcx, qword [0x14000b9a8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_back_to_RX_RWX._n
call fcn.140003ab0
cmp byte [0x14000b9b8], 0
sete byte [0x14000b9b8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005240
add rsp, 0x38
ret
Function at 0x140005dfc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005e46
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005e46
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005e46
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005e46
cmp dword [rcx + 0x84], 0xe
jbe 0x140005e46
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005e48
xor al, al
add rsp, 0x28
ret

Function at 0x2950710
Capabilities:
Encode data using xor

Disassembly:
jmp 0x295071a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x2950743
pop rbp
sub rbp, 0x33
sub rbp, 0x2550710
sub rsp, 0x20
jmp 0x2950762
mov rax, 0x2550710
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x2aed1280
xor byte [rax], dl
inc rax
dec rcx
jne 0x2950781
jmp 0x2950798
enter 0x6909, 0xb
or dword [rax + rax*4 + 0x1c88080], edi
mov byte [r9 - 0x7e377f80], al
imul ecx, eax, 0x808a4047
add byte [rax - 0x57bdb838], 0x80
add byte [rax - 0x379d8838], 0x81
or eax, dword [r9]
mov word [rax - 0x7e377f80], es
push 0x38c8d0d0
adc byte [rsi - 0x7f7f7f80], dil
or al, 0x39
invalid
Function at 0x140001ab0
Capabilities:
Terminate process

Disassembly:
movzx r9d, si
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001218
mov dword [0x14001b038], eax
cmp dword [0x14001b020], 0
jne 0x140003f08
mov ecx, eax
call qword [sym.imp.MSVCR120_CLR0400.dll_exit]
nop
jmp 0x140003f08
sub rsp, 0x28
call fcn.1400016e0
add rsp, 0x28
jmp 0x140001ac0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
call qword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx esi, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [0x14001b218], rdx
jne 0x140003e92
mov eax, dword [0x14001b220]
cmp eax, 1
je 0x140003ea7
mov eax, dword [0x14001b220]
test eax, eax
jne 0x140003ebf
mov dword [0x14001b220], 1
lea rdx, [0x1400117c8]
lea rcx, [0x1400117a8]
call fcn.140193000
test eax, eax
jne 0x140003eb5
mov eax, dword [0x14001b220]
cmp eax, 1
jne 0x140001b6c
lea rdx, [0x1400117a0]
lea rcx, [0x140011758]
call sub.MSVCR120_CLR0400.dll__initterm
mov dword [0x14001b220], 2
test ebx, ebx
jne 0x140001b79
xor eax, eax
xchg qword [0x14001b218], rax
cmp qword [0x14001b238], 0
jne 0x140003ecf
mov rax, qword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
jbe 0x140001bc4
cmp byte [rbx], 0x22
je 0x140003f20
movzx ecx, byte [rbx]
call qword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
test eax, eax
jne 0x140003f33
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001b9a
cmp byte [rbx], 0
je 0x140001bcd
test edi, edi
jne 0x140001b9f
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x1400011e1
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bcd
cmp rax, rdx
jne 0x140003ea1
mov ebx, 1
jmp 0x140001b02
jmp 0x140001af1
lea ecx, [rax + 0x1e]
call sub.MSVCR120_CLR0400.dll__amsg_exit
jmp 0x140001b44
mov eax, 0xff
jmp 0x140003f6e
mov dword [0x14001b37c], 1
jmp 0x140001b44
lea rcx, [0x14001b238]
call fcn.14000e710
test eax, eax
je 0x140001b87
mov rbx, qword [0x14001b238]
mov rcx, rbx
mov rax, qword [0x140011568]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
nop
jmp 0x140001b87
cmp dword [0x14001b37c], 0
jne 0x140003f1d
call qword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x14001b038]
jmp 0x140003f6e
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
jmp 0x140001ba8
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bb9
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000207c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400020c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400020c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400020c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400020c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400020c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400020c8
xor al, al
add rsp, 0x28
ret
Function at 0x1400010a7
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x1400010ca
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x1400010f5
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x1400010ee
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x1400041b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor esi, esi
mov edi, r8d
mov rbx, rdx
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], si
call fcn.140018030
lea r11, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
adc eax, 0x2d147

Function at 0x140004290
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.140018030
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140007d30
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140016ba0
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
Function at 0x1400043d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x3a8
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rsi, r9
mov rbp, r8
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x130], r8
mov rax, qword [rsp + 0x3f0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x68], rax
xor edi, edi
mov dword [rsp + 0x48], edi
test r9, r9
jne 0x14000447e
lea ecx, [rdi + 0x38]
call fcn.140017dcc
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000447b
lea ecx, [rdi + 8]
call fcn.140017dcc
test rax, rax
je 0x140004463
mov qword [rax], rsi
jmp 0x140004466
mov rax, rdi
mov qword [rsi], rax
mov rcx, rsi
call fcn.140007970
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rdi
jmp 0x14000447e
mov rsi, rdi
mov rbx, qword [rsi + 0x28]
mov r9, rbp
mov r8, qword [rbx + 8]
mov rdx, rbx
mov rcx, rsi
call fcn.140007fe0
mov rdi, rax
mov edx, 1
mov rcx, rsi
call fcn.140008080
mov qword [rbx + 8], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rdi
mov rax, qword [rsp + 0x50]
inc dword [rax]
mov dword [rsp + 0x140], 0
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0x144]
call fcn.140018030
mov rax, qword [rbp + 0x18]
lea rdi, [rax - 1]
cmp rdi, rax
jbe 0x1400044e8
call fcn.1400177cc
cmp qword [rbp + 0x20], 8
jb 0x1400044f8
lea rbx, [rbp + 8]
mov rax, qword [rbx]
jmp 0x1400044ff
lea rbx, [rbp + 8]
mov rax, rbx
cmp word [rax + rdi*2], 0x5c
je 0x14000451b
mov r8d, 1
lea rdx, [0x140034a60]
mov rcx, rbp
call fcn.140007bb0
lea r8, [0x140034a68]
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.140008680
add byte [r8], al

Function at 0x140004fa0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get file system object information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x590
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x580], rax
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea r8, [rsp + 0x48]
lea edx, [rsi + 0xa]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x140031510]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
and al, 0x40

Function at 0x140005280
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
Function at 0x14000ab80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareProtectStarData_Shredder
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ac27
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.ShredMethod
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ac1c
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000ac1a
cmp eax, 1
je 0x14000ac1a
cmp eax, 2
je 0x14000ac1a
cmp eax, 3
je 0x14000ac1a
cmp eax, 4
jne 0x14000ac1c
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000ac30
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000acb9
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.ShredMethod
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret

Function at 0x14000acc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareProtectStarData_Shredder
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov ebx, 7
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ad68
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.UpdateInterval
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ad5d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000ad5b
cmp eax, 1
je 0x14000ad5b
cmp eax, ebx
je 0x14000ad5b
cmp eax, 0xe
jne 0x14000ad5d
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000ad70
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000adf9
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.UpdateInterval
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret

Function at 0x14000ae00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareProtectStarData_Shredder
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ae98
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.ShowSignature
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ae8d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000ae8b
cmp eax, 1
jne 0x14000ae8d
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000aea0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000af29
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.ShowSignature
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret
Function at 0x14000af30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareProtectStarData_Shredder
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000afc8
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.AutoSaveReport
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000afbd
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000afbb
cmp eax, 1
jne 0x14000afbd
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000afd0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000b059
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.AutoSaveReport
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret

Function at 0x14000b060
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareProtectStarData_Shredder
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
or ebx, 0xffffffff
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b101
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Language
xor r8d, r8d
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000b0f6
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000b0f4
cmp eax, 1
jne 0x14000b0f6
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000b110
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000b199
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.Language
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret

Function at 0x14000b1a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareProtectStarData_Shredder
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b238
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.MethodBlock
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000b22d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000b22b
cmp eax, 1
jne 0x14000b22d
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000b240
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000b2c9
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.MethodBlock
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret