joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009b80
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 0x140009c27
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 0x140009c1c
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140009c1a
cmp eax, 1
je 0x140009c1a
cmp eax, 2
je 0x140009c1a
cmp eax, 3
je 0x140009c1a
cmp eax, 4
jne 0x140009c1c
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 0x140009c30
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 0x140009cb9
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 0x140009cc0
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 0x140009d68
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 0x140009d5d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140009d5b
cmp eax, 1
je 0x140009d5b
cmp eax, ebx
je 0x140009d5b
cmp eax, 0xe
jne 0x140009d5d
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 0x140009d70
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 0x140009df9
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 0x140009e00
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 0x140009e98
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 0x140009e8d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140009e8b
cmp eax, 1
jne 0x140009e8d
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 0x140009ea0
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 0x140009f29
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 0x140009f30
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 0x140009fc8
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 0x140009fbd
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140009fbb
cmp eax, 1
jne 0x140009fbd
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 0x140009fd0
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 0x14000a059
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 0x14000a060
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 0x14000a101
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 0x14000a0f6
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000a0f4
cmp eax, 1
jne 0x14000a0f6
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 0x14000a110
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 0x14000a199
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 0x14000a1a0
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 0x14000a238
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 0x14000a22d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000a22b
cmp eax, 1
jne 0x14000a22d
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 0x14000a240
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 0x14000a2c9
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
Function at 0x14000a2e0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14000a304
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14000a379
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a356
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
add rsp, 0x40
pop rbx
ret
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x40
pop rbx
ret

Function at 0x14000a390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov eax, r8d
mov rbx, rdx
mov rdi, r9
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
lea r9, [rsp + 0x30]
mov r8d, 0x200000
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
mov al, 1
add rsp, 0x40
pop rdi
ret

Function at 0x14000a3f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov eax, r8d
mov rbx, rdx
mov rdi, r9
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
lea r9, [rsp + 0x30]
mov r8d, 0x200000
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x50]
mov al, 1
add rsp, 0x40
pop rdi
ret

Function at 0x14000aa80
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x68], 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 0x14000ab14
cmp qword [rbx + 0x20], 8
mov rax, qword [rbx + 0x18]
jb 0x14000aadf
mov rbx, qword [rbx + 8]
jmp 0x14000aae3
add rbx, 8
mov rcx, qword [rsp + 0x68]
add eax, eax
lea rdx, str.Password
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret
Function at 0x14000ab20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14003b510]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [r11 - 0x28], rcx
xor r12d, r12d
mov qword [r11 - 0x40], r12
mov dword [rsp + 0x40], 7
mov dword [rsp + 0x30], 0x800
mov ecx, 0x800
call fcn.140015044
mov rsi, rax
cmp qword [rbx + 0x20], 8
jb 0x14000ab86
lea rdi, [rbx + 8]
mov rcx, qword [rdi]
jmp 0x14000ab8d
lea rdi, [rbx + 8]
mov rcx, rdi
mov rdx, rax
movzx eax, word [rcx]
mov word [rdx], ax
add rcx, 2
add rdx, 2
test ax, ax
jne 0x14000ab90
mov rax, qword [rbx + 0x18]
mov word [rsi + rax*2], r12w
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x14000ac47
mov rax, qword [rbx + 0x18]
lea rcx, [rsi + rax*2 + 2]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.BootExecute
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11, qword [rbx + 0x18]
mov eax, dword [rsp + 0x30]
lea ecx, [rax + r11*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rsi
lea r9d, [rbp + 7]
xor r8d, r8d
lea rdx, str.BootExecute
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.1400160a4
nop
cmp qword [rbx + 0x20], 8
jb 0x14000ac5f
mov rcx, qword [rdi]
call fcn.140016cb8
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rdi], r12w
mov eax, ebp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015ba0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14000ad40
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x170
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x14003b510]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor eax, eax
mov dword [rsp + 0x38], eax
mov qword [rcx + 0x20], 7
mov qword [rcx + 0x18], rax
mov word [rcx + 8], ax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140017030
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ae48
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.Password
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ae38
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140006d30
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x14000ae4b
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140015ba0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret

Function at 0x14000ae70
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x970
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x988], rbx
mov rax, qword [0x14003b510]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rbx, rcx
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.140011fd0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbx + 0x78]
call fcn.140017030
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareProtectStarData_Shredder
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000afb3
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 0x800
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.RegisteredLicense
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000afa7
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000bba0
lea rcx, [rbx + 0x78]
mov rdx, rax
mov r8d, 0x110
call fcn.140017980
lea rdx, [rbx + 0x86]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x28]
call fcn.140006d30
lea rdx, [rbx + 0x106]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x50]
call fcn.140006d30
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x30]
call fcn.140003050
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.140015ba0
mov rbx, qword [rsp + 0x988]
add rsp, 0x970
pop rdi
ret
Function at 0x14000b390
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
xor eax, eax
mov byte [rsp + 0x58], dl
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea r9d, [rax + 1]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntdll.dll_ZwSetInformationFile]
add rsp, 0x48
ret

Function at 0x14000b3d0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
mov rbx, rcx
xor ecx, ecx
lea r9d, [rcx + 0x18]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x58], ecx
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.ntdll.dll_ZwQueryVolumeInformationFile]
test eax, eax
jne 0x14000b46a
mov rcx, qword [rbx + 8]
lea r9d, [rax + 0x18]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
je 0x14000b46a
mov al, 1
add rsp, 0x70
pop rbx
ret
xor al, al
add rsp, 0x70
pop rbx
ret

Function at 0x14000b480
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
xor eax, eax
mov rdi, rcx
xor ecx, ecx
lea r9d, [rcx + 0x18]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x58], ecx
mov rcx, qword [rdi + 8]
mov rbx, rdx
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
jne 0x14000b50b
mov rax, qword [rsp + 0x58]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r9d, 0x18
mov dword [rsp + 0x20], 3
call qword [sym.imp.ntdll.dll_ZwQueryVolumeInformationFile]
mov r11d, dword [rsp + 0x50]
mov eax, dword [rsp + 0x54]
imul r11, rax
imul r11, qword [rsp + 0x40]
mov qword [rbx], r11
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x14000b560
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
xor eax, eax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
mov rax, qword [rdx]
lea rdx, [rsp + 0x30]
mov r9d, 8
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_ZwSetInformationFile]
add rsp, 0x48
ret