joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d83c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4d8490
jb 0x4d84ef
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004d82a0
aeskeygenassist xmm1, xmm0, 1
call fcn.004d82c0
aeskeygenassist xmm1, xmm2, 2
call fcn.004d82a0
aeskeygenassist xmm1, xmm0, 2
call fcn.004d82c0
aeskeygenassist xmm1, xmm2, 4
call fcn.004d82a0
aeskeygenassist xmm1, xmm0, 4
call fcn.004d82c0
aeskeygenassist xmm1, xmm2, 8
call fcn.004d82a0
aeskeygenassist xmm1, xmm0, 8
call fcn.004d82c0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004d82a0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004d82c0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004d82a0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004d82c0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004d82a0
jmp 0x4d855d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004d8200
aeskeygenassist xmm1, xmm2, 2
call fcn.004d8260
aeskeygenassist xmm1, xmm2, 4
call fcn.004d8200
aeskeygenassist xmm1, xmm2, 8
call fcn.004d8260
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004d8200
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004d8260
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004d8200
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004d8260
jmp 0x4d855d
aeskeygenassist xmm1, xmm0, 1
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 2
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 4
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 8
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004d81c0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004d81c0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4d856a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x4d86a0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x00558180]
movdqu xmm14, xmmword [0x00558340]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x4d878b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x4d878b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x4d87f0
ret
Function at 0x4e4c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e4edf
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
mov rsi, qword [rax + 0x48]
test rsi, rsi
jle 0x4e4da2
cmp rsi, 0x10
ja 0x4e4ed1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rdx, [rsi - 0x10]
mov r8, rdx
neg rdx
cmp rcx, rdx
cmovl rdx, rcx
mov qword [rsp + 0x20], rdx
sar r8, 0x3f
and r8, rsi
lea rsi, [r8 + rax]
lea rsi, [rsi + 0x38]
cmp rbx, rsi
je 0x4e4cf6
mov rax, rsi
mov rcx, rdx
call fcn.00462660
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rax + 0x48]
add rsi, rdx
nop dword [rax]
cmp rsi, 0x10
jl 0x4e4d8d
cmp rcx, rdx
jb 0x4e4ec9
mov qword [rax + 0x48], 0
mov qword [rsp], rax
lea rcx, [rax + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x10
mov qword [rsp + 0x18], 0x10
call fcn.004e50a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x20]
sub rdi, rax
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
sub rcx, rax
mov rbx, rdi
neg rdi
sar rdi, 0x3f
and rax, rdi
mov rsi, qword [rsp + 0x60]
add rax, rsi
mov rdi, rbx
mov rbx, rax
mov rax, qword [rsp + 0x58]
jmp 0x4e4da5
mov qword [rax + 0x48], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rdx, rcx
mov rsi, rcx
and rcx, 0xf
mov r8, rsi
sub rsi, rcx
test rsi, rsi
jle 0x4e4e47
nop dword [rax + rax]
cmp rdi, rsi
jb 0x4e4ebe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rsi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
call fcn.004e50a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cmp rcx, rax
jb 0x4e4eb9
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
sub rcx, rsi
sar rax, 0x3f
and rax, rsi
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov r8, rcx
test r8, r8
jle 0x4e4e9b
mov rsi, qword [rax + 0x48]
cmp rsi, 0x10
ja 0x4e4eac
lea rcx, [rsi - 0x10]
mov rdi, rcx
neg rcx
cmp r8, rcx
cmovl rcx, r8
sar rdi, 0x3f
and rdi, rsi
lea rsi, [rdi + rax]
lea rsi, [rsi + 0x38]
cmp rbx, rsi
je 0x4e4e97
mov qword [rsp + 0x38], rcx
mov rax, rsi
call fcn.00462660
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
add qword [rax + 0x48], rcx
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rsi
mov ecx, 0x10
call fcn.00461dc0
call fcn.00461dc0
mov rcx, rsi
mov rdx, rdi
call fcn.00461d80
mov rax, rdx
call fcn.00461dc0
mov rax, rsi
mov ecx, 0x10
call fcn.00461dc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004e4c60
Function at 0x4e50a0
Capabilities:
Encode data using xor

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov r15, qword [rsp + 0x18]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
mov r11, qword [rdi + 0x18]
mov r12, qword [rdi + 0x20]
cmp r15, 0x10
jb 0x4e5167
add r8, qword [rsi]
adc r9, qword [rsi + 8]
adc r10, 1
lea rsi, [rsi + 0x10]
mov rax, r11
mul r8
mov rbx, rax
mov rcx, rdx
mov rax, r11
mul r9
add rcx, rax
adc rdx, 0
mov r13, r11
imul r13, r10
add r13, rdx
mov rax, r12
mul r8
add rcx, rax
adc rdx, 0
mov r8, rdx
mov r14, r12
imul r14, r10
mov rax, r12
mul r9
add r13, rax
adc r14, rdx
add r13, r8
adc r14, 0
mov r8, rbx
mov r9, rcx
mov r10, r13
and r10, 3
mov rbx, r13
and rbx, 0xfffffffffffffffc
add r8, rbx
adc r9, r14
adc r10, 0
shrd r13, r14, 2
shr r14, 2
add r8, r13
adc r9, r14
adc r10, 0
sub r15, 0x10
cmp r15, 0x10
jae 0x4e50cc
test r15, r15
je 0x4e51aa
mov rbx, 1
xor rcx, rcx
xor r13, r13
add rsi, r15
shld rcx, rbx, 8
shl rbx, 8
mov r13b, byte [rsi - 1]
xor rbx, r13
dec rsi
dec r15
jne 0x4e517c
add r8, rbx
adc r9, rcx
adc r10, 0
mov r15, 0x10
jmp 0x4e50db
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov qword [rdi + 0x10], r10
ret
Function at 0x4e6e00
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r9, 0xd
jne 0x4e6ea7
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12, 1
mov rax, qword [rbp]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 8]
mov r8, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 8]
mul r11
add r15, rax
adc rdx, 0
imul r8, r12
add r15, r10
adc r8, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r8
shrd r15, r8, 2
shr r8, 2
add r10, r13
adc r11, r14
adc r12, 0
add r10, r15
adc r11, r8
adc r12, 0
ret
cmp r9, 0x10
jb 0x4e6f4a
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
lea rcx, [rcx + 0x10]
sub r9, 0x10
mov rax, qword [rbp]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 8]
mov r8, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 8]
mul r11
add r15, rax
adc rdx, 0
imul r8, r12
add r15, r10
adc r8, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r8
shrd r15, r8, 2
shr r8, 2
add r10, r13
adc r11, r14
adc r12, 0
add r10, r15
adc r11, r8
adc r12, 0
jmp 0x4e6ea7
cmp r9, 0
je 0x4e7003
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r9
shld r14, r13, 8
shl r13, 8
mov r15b, byte [rcx - 1]
xor r13, r15
dec rcx
dec r9
jne 0x4e6f60
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 8]
mov r8, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 8]
mul r11
add r15, rax
adc rdx, 0
imul r8, r12
add r15, r10
adc r8, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r8
shrd r15, r8, 2
shr r8, 2
add r10, r13
adc r11, r14
adc r12, 0
add r10, r15
adc r11, r8
adc r12, 0
ret
Function at 0x4f2f60
Capabilities:
Encrypt data using blowfish

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f30db
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x00520380]
call fcn.0040cce0
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 1]
nop dword [rax]
cmp rcx, 0x37
ja 0x4f30b8
mov qword [rsp + 0x28], rax
nop
lea rdx, [0x00605d20]
cmp rax, rdx
je 0x4f2fd3
mov rbx, rdx
mov ecx, 0x48
call fcn.00462660
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
lea rdx, [rax + 0x48]
lea rsi, [0x0060fb00]
nop
cmp rsi, rdx
je 0x4f2fff
mov rax, rdx
mov rbx, rsi
mov ecx, 0x400
call fcn.00462660
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
lea rdx, [rax + 0x448]
lea rsi, [0x0060ff00]
cmp rsi, rdx
je 0x4f302f
mov rax, rdx
mov rbx, rsi
mov ecx, 0x400
nop dword [rax]
call fcn.00462660
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
lea rdx, [rax + 0x848]
lea rsi, [0x00610300]
nop dword [rax]
cmp rsi, rdx
je 0x4f305f
mov rax, rdx
mov rbx, rsi
mov ecx, 0x400
call fcn.00462660
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
lea rdx, [rax + 0xc48]
lea rsi, [0x00610700]
cmp rsi, rdx
je 0x4f308f
mov rax, rdx
mov rbx, rsi
mov ecx, 0x400
nop dword [rax]
call fcn.00462660
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rdi, rax
mov rax, qword [rsp + 0x40]
nop dword [rax]
call fcn.004f2880
mov rax, qword [rsp + 0x28]
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, rbx
nop dword [rax + rax]
call fcn.0040a280
lea rbx, [0x005592c0]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.004f2f60
Function at 0x4f6c00
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov rdi, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
vmovdqu xmm0, xmmword [0x005583c0]
vmovdqu xmm1, xmmword [rbx]
vmovdqu xmm2, xmmword [rbx + 0x10]
vmovdqu xmm3, xmmword [rax]
vmovdqu xmm5, xmmword [0x00558ca0]
vmovdqu xmm6, xmmword [0x00558ce0]
mov rdx, 0x14
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm5
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 0xc
vpsrld xmm1, xmm1, 0x14
vpxor xmm1, xmm4, xmm1
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm6
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 7
vpsrld xmm1, xmm1, 0x19
vpxor xmm1, xmm4, xmm1
vpshufd xmm1, xmm1, 0x39
vpshufd xmm2, xmm2, 0x4e
vpshufd xmm3, xmm3, 0x93
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm5
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 0xc
vpsrld xmm1, xmm1, 0x14
vpxor xmm1, xmm4, xmm1
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm6
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 7
vpsrld xmm1, xmm1, 0x19
vpxor xmm1, xmm4, xmm1
vpshufd xmm3, xmm3, 0x39
vpshufd xmm2, xmm2, 0x4e
vpshufd xmm1, xmm1, 0x93
sub rdx, 2
jne 0x4f6c3b
vmovdqu xmmword [rdi], xmm0
vmovdqu xmmword [rdi + 0x10], xmm3
vzeroupper
ret

Function at 0x4f6d00
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov rdi, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
movdqu xmm0, xmmword [0x005583c0]
movdqu xmm1, xmmword [rbx]
movdqu xmm2, xmmword [rbx + 0x10]
movdqu xmm3, xmmword [rax]
mov rdx, 0x14
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm4, 0x10
psrld xmm3, 0x10
pxor xmm3, xmm4
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm4, 8
psrld xmm3, 0x18
pxor xmm3, xmm4
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 7
psrld xmm1, 0x19
pxor xmm1, xmm4
pshufd xmm1, xmm1, 0x39
pshufd xmm2, xmm2, 0x4e
pshufd xmm3, xmm3, 0x93
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm4, 0x10
psrld xmm3, 0x10
pxor xmm3, xmm4
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm4, 8
psrld xmm3, 0x18
pxor xmm3, xmm4
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 7
psrld xmm1, 0x19
pxor xmm1, xmm4
pshufd xmm3, xmm3, 0x39
pshufd xmm2, xmm2, 0x4e
pshufd xmm1, xmm1, 0x93
sub rdx, 2
jne 0x4f6d2b
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + 0x10], xmm3
ret
Function at 0x4f6e40
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov rdi, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
movdqu xmm0, xmmword [0x005583c0]
movdqu xmm1, xmmword [rbx]
movdqu xmm2, xmmword [rbx + 0x10]
movdqu xmm3, xmmword [rax]
movdqu xmm5, xmmword [0x005583a0]
movdqu xmm6, xmmword [0x005583b0]
mov rdx, 0x14
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm5
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 7
psrld xmm1, 0x19
pxor xmm1, xmm4
pshufd xmm1, xmm1, 0x39
pshufd xmm2, xmm2, 0x4e
pshufd xmm3, xmm3, 0x93
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm5
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm4, 7
psrld xmm1, 0x19
pxor xmm1, xmm4
pshufd xmm3, xmm3, 0x39
pshufd xmm2, xmm2, 0x4e
pshufd xmm1, xmm1, 0x93
sub rdx, 2
jne 0x4f6e7b
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + 0x10], xmm3
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013780
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ac0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ae0
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014af3
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014b1d
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014b31
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014b43
xor al, al
jmp 0x140014b61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014b5f
xor al, al
jmp 0x140014b61
mov al, 1
add rsp, 0x38
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004440]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004450]
mov dword [rax], 1
mov rax, qword [0x140004460]
mov dword [rax], 1
mov rax, qword [0x1400043f0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004430]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004500]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400044e0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400043a0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x14000177d
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call dbg.__main
call sym.LoadBitmapWrapper
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400017a4
mov eax, 1
jmp 0x140001843
mov r9d, 0
mov r8d, 0
lea rax, [sym.MouseProc]
mov rdx, rax
mov ecx, 0xe
mov rax, qword [sym.imp.USER32.dll_SetWindowsHookExA]
call rax
mov qword [rbp - 0x10], rax
mov r9d, 0
mov r8d, 0
lea rax, [sym.KeyboardProc]
mov rdx, rax
mov ecx, 0xd
mov rax, qword [sym.imp.USER32.dll_SetWindowsHookExA]
call rax
mov qword [rbp - 0x18], rax
call sym.PlayWAV
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.ShowLockScreen
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call rax
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.WINMM.dll_PlaySoundA]
call rax
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x140001b20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008104]
mov rbx, rcx
test esi, esi
jle 0x140001cc0
mov rax, qword [0x140008108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001bdb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001c65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001bc0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001ce2
mov rax, qword [0x140008108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001cc7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001c5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001c70
add dword [0x140008104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140008108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001c5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001be8
mov rax, qword [0x140008108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002250
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008140]
test rbx, rbx
je 0x1400022ac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400022a3
test rsi, rsi
je 0x1400022a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002288
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400024c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400024d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400024e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret