joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18094f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x18094f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18094f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18094f06f
add dl, dl
jne 0x18094f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18094f0f6
xor eax, eax
add dl, dl
jne 0x18094f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18094f1ad
add dl, dl
jne 0x18094f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18094f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18094f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18094f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18094f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18094f07e
mov eax, 1
add dl, dl
jne 0x18094f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18094f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18094f0fb
sub eax, ebx
mov ebx, 1
jne 0x18094f14c
mov ecx, 1
add dl, dl
jne 0x18094f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18094f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18094f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18094f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18094f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18094f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18094f15d
cmp eax, 0x7d00
jae 0x18094f19b
cmp eax, 0x500
jb 0x18094f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18094f07e
cmp eax, 0x7f
ja 0x18094f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18094f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18094f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18094f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400027a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x1400027e0
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x1400027d5
cmp edi, 0x2d
jne 0x1400027e0
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x140002974
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x14000297f
movzx r11d, r11b
cmp rbx, rsi
jae 0x14000287d
mov ebx, 1
sub rbx, rsi
add r10, 2
jmp 0x14000283c
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x14000287d
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x14000287d
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x140002820
cmp r11d, 0xccccccc
jne 0x140002868
cmp sil, 7
jbe 0x140002820
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.14032e470
jmp 0x140002961
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14000289a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x1400028aa
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x14033b000]
subpd xmm1, xmmword [0x14033b010]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14000291c
xorpd xmm1, xmm1
movsd xmm2, qword [0x14033b020]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x1400028f8
jnp 0x14000294a
test r10d, r10d
jns 0x1400029a8
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x1400028f0
mov eax, eax
mov r9, qword [str.Pn__]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x140002969
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x14033b030]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x14033b040]
jae 0x1400029a8
test r8b, r8b
jne 0x140002957
xorpd xmm0, xmmword [0x14033b050]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x14000294f
jmp 0x140002957
mov qword [rsp + 0x28], 5
jmp 0x140002988
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14032e510
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140002961
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14032e510
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14000295e
Function at 0x1400ba7d0
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 0x1400ba812
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400ba81a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400ba82b
jmp 0x1400ba842
xor r10d, r10d
jmp 0x1400ba8cd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400ba842
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400ba859
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 0x1400ba879
add r11, r8
jmp 0x1400ba9ab
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 0x1400ba942
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 0x1400ba8f0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400ba960
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400ba972
jmp 0x1400ba98d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400ba98d
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 0x1400ba9a7
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 0x1400bf0b0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
mov rdx, rbp
mov r8d, 0x20
call fcn.14012dee0
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1400bf124
mov qword [rbp + 0x30], rdx
mov rax, qword [rdx]
test rax, rax
je 0x1400bf108
mov rcx, qword [rbp + 0x28]
call rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bf16d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.140120550
jmp 0x1400bf16d
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x50]
lea r8, [0x1403486c8]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.14012dc00
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
jmp fcn.14012b710

Function at 0x1400e0740
Capabilities:
Log keystrokes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp + 0x18], rdx
mov rdi, rcx
lea rcx, [rbp - 0x10]
call fcn.14028f260
mov r13, qword [rbp - 8]
mov r14, qword [rbp + 8]
cmp r13, r14
je 0x1400e0819
mov rbx, qword [rbp + 0x10]
mov rax, qword [sym.imp.user32.dll_MapVirtualKeyA]
nop
cmp byte [r13], 0
js 0x1400e07a4
inc r13
inc rbx
cmp r13, r14
jne 0x1400e0790
jmp 0x1400e0819
movzx ecx, bx
xor edx, edx
mov rsi, rax
call rax
mov r15d, eax
mov ecx, ebx
call fcn.14028f630
mov r12d, eax
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
call fcn.1400e0680
call fcn.14028f1b0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x58], 0xd
mov dword [rbp - 0x50], r12d
mov dword [rbp - 0x4c], r15d
mov dword [rbp - 0x48], eax
mov byte [rbp - 0x44], 1
mov dword [rbp - 0x40], 0
mov byte [rbp - 0x3c], 1
mov rax, qword [rbp + 0x18]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
lea rdx, [rbp - 0x58]
call fcn.1400e6210
inc r13
inc rbx
cmp r13, r14
mov rax, rsi
jne 0x1400e0790
mov rdx, qword [rbp]
test rdx, rdx
je 0x1400e0831
mov rcx, qword [rbp - 0x10]
mov r8d, 1
call fcn.140120550
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x58], 0xc
mov byte [rbp - 0x50], 1
mov rax, qword [rbp + 0x18]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
lea rdx, [rbp - 0x58]
call fcn.1400e6210
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e08c0
Capabilities:
Log keystrokes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
lea rcx, [rbp - 0x60]
call fcn.14028f260
mov r13, qword [rbp - 0x58]
mov r14, qword [rbp - 0x48]
cmp r13, r14
je 0x1400e0986
mov rbx, qword [rbp - 0x40]
mov rax, qword [sym.imp.user32.dll_MapVirtualKeyA]
nop
cmp byte [r13], 0
js 0x1400e0924
inc r13
inc rbx
cmp r13, r14
jne 0x1400e0910
jmp 0x1400e0986
movzx ecx, bx
xor edx, edx
call rax
mov r15d, eax
mov ecx, ebx
call fcn.14028f630
mov r12d, eax
call fcn.14028f1b0
mov qword [rbp + 8], rdi
mov qword [rbp - 0x38], 0xd
mov dword [rbp - 0x30], r12d
mov dword [rbp - 0x2c], r15d
mov dword [rbp - 0x28], eax
mov byte [rbp - 0x24], 1
mov dword [rbp - 0x20], 0
mov byte [rbp - 0x1c], 1
mov rcx, qword [rsi + 0x18]
add rcx, 0x10
lea rdx, [rbp - 0x38]
call fcn.1400e6210
inc r13
inc rbx
cmp r13, r14
mov rax, qword [sym.imp.user32.dll_MapVirtualKeyA]
jne 0x1400e0910
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400e099e
mov rcx, qword [rbp - 0x60]
mov r8d, 1
call fcn.140120550
mov rbx, qword [rsi + 0x10]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rbx + 0x10], cl
jne 0x1400e0a1c
mov dword [rbx + 0xdc], 0
xor ecx, ecx
mov al, 1
lock cmpxchg byte [rbx + 0x10], cl
jne 0x1400e0a2d
mov qword [rbp + 8], rdi
mov qword [rbp - 0x38], 0xe
mov dword [rbp - 0x30], 0
mov rcx, qword [rsi + 0x18]
add rcx, 0x10
lea rdx, [rbp - 0x38]
call fcn.1400e6210
mov qword [rbp + 8], rdi
mov qword [rbp - 0x38], 0xc
mov byte [rbp - 0x30], 0
mov rcx, qword [rsi + 0x18]
add rcx, 0x10
lea rdx, [rbp - 0x38]
call fcn.1400e6210
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbx + 0x10]
mov r8d, 0x3b9aca00
call fcn.1403366c0
jmp 0x1400e09ad
add rbx, 0x10
mov rcx, rbx
xor edx, edx
call fcn.140336dd0
jmp 0x1400e09c2

Function at 0x1400e8aa0
Capabilities:
Log keystrokes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov dl, 1
xor eax, eax
lock cmpxchg byte [rcx + 0x10], dl
jne 0x1400e8ae9
mov edi, dword [rcx + 0xe0]
xor edx, edx
mov al, 1
lock cmpxchg byte [rcx + 0x10], dl
jne 0x1400e8b03
call qword [sym.imp.user32.dll_GetForegroundWindow]
and edi, 0x2002
cmp edi, 2
jne 0x1400e8b1f
cmp rax, rsi
je 0x1400e8b1f
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140292510
lea rax, [rcx + 0x10]
mov rdi, rcx
mov rcx, rax
mov r8d, 0x3b9aca00
call fcn.1403366c0
mov rcx, rdi
jmp 0x1400e8ab4
add rcx, 0x10
xor edx, edx
call fcn.140336dd0
call qword [sym.imp.user32.dll_GetForegroundWindow]
and edi, 0x2002
cmp edi, 2
je 0x1400e8ad6
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140206840
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 0x20]
cmp rax, qword [rdx + 0x20]
jne 0x140206872
test rax, rax
je 0x140206879
lea r8, [rax - 0x21]
cmp r8, 0xffffffffffffffe0
jb 0x140206983
cmp rax, 8
jae 0x140206880
xor r9d, r9d
xor r8d, r8d
jmp 0x140206960
xor eax, eax
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
cmp rax, 0x10
jae 0x1402068ec
xor r9d, r9d
xor r8d, r8d
mov r10, r8
mov r8d, eax
and r8d, 0x38
movzx r9d, r9b
movd xmm0, r9d
nop
mov r9, qword [rdx + r10]
xor r9, qword [rcx + r10]
movq xmm1, r9
por xmm0, xmm1
add r10, 8
cmp r8, r10
jne 0x1402068a0
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x10
por xmm0, xmm1
movdqa xmm1, xmm0
psrlw xmm1, 8
por xmm1, xmm0
movd r9d, xmm1
cmp rax, r8
jne 0x140206960
jmp 0x140206978
mov r8d, eax
and r8d, 0x30
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm1
cmp r8, 0x10
je 0x140206917
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rdx + 0x10]
pxor xmm2, xmm1
por xmm0, xmm2
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movdqa xmm1, xmm0
psrld xmm1, 0x10
por xmm1, xmm0
movdqa xmm0, xmm1
psrlw xmm0, 8
por xmm0, xmm1
movd r9d, xmm0
cmp rax, r8
je 0x140206978
test al, 8
jne 0x14020688c
nop word cs:[rax + rax]
movzx r10d, byte [rdx + r8]
xor r10b, byte [rcx + r8]
lea r11, [r8 + 1]
or r9b, r10b
mov r8, r11
cmp rax, r11
jne 0x140206960
test r9b, r9b
sete al
add rsp, 0x28
ret
lea r8, [0x140393f68]
mov ecx, 0x20
mov edx, 0x20
call fcn.1403393b0
int3
Function at 0x14022e850
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r8, qword [rcx + 8]
mov al, 1
test r8, r8
je 0x14022e95e
mov rcx, qword [rcx]
movzx r9d, byte [rcx]
mov r10, qword [rdx]
movzx r10d, byte [r10]
not r10b
test r9b, r10b
jne 0x14022e95e
mov r10, qword [rdx + 0x10]
test r10, r10
je 0x14022e968
mov rdx, qword [rdx + 8]
xor byte [rdx], r9b
mov r11d, 1
cmp r10, 1
je 0x14022e958
lea rbx, [r8 - 1]
lea rdi, [r10 - 2]
cmp rbx, rdi
mov rsi, rdi
cmovb rsi, rbx
lea r9, [rdx + 1]
inc rsi
cmp rsi, 0x10
jbe 0x14022e92e
cmp rbx, rdi
cmovb rdi, rbx
lea rbx, [rcx + rdi]
add rbx, 2
cmp r9, rbx
jae 0x14022e8e9
add rdi, rdx
add rdi, 2
lea rbx, [rcx + 1]
cmp rbx, rdi
jb 0x14022e92e
mov r11d, esi
and r11d, 0xf
mov r14d, 0x10
cmovne r14, r11
mov rdi, rsi
sub rdi, r14
lea rbx, [r9 + rdi]
neg r14
lea r11, [rsi + r14]
inc r11
xor esi, esi
movups xmm0, xmmword [rcx + rsi + 1]
movups xmm1, xmmword [r9 + rsi]
xorps xmm1, xmm0
movups xmmword [r9 + rsi], xmm1
add rsi, 0x10
cmp rdi, rsi
jne 0x14022e910
mov r9, rbx
add rdx, r10
nop word cs:[rax + rax]
cmp r8, r11
je 0x14022e95e
movzx r10d, byte [rcx + r11]
xor byte [r9], r10b
inc r11
inc r9
cmp r9, rdx
jne 0x14022e940
cmp r11, r8
setne al
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Userspavel.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.8_src_rsapaddingpss.rs
xor ecx, ecx
xor edx, edx
call fcn.1403393b0
int3

Function at 0x140232090
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r8
cmp rax, r8
jne 0x140232170
mov rsi, r8
test r8, r8
je 0x14023219b
mov rdi, rdx
mov r14, rsi
shl r14, 6
cmp rsi, 4
jae 0x1402320d3
xor eax, eax
jmp 0x140232110
mov rax, rsi
and rax, 0xfffffffffffffffc
xor edx, edx
pcmpeqd xmm0, xmm0
movdqu xmm1, xmmword [rbx + rdx*8]
movdqu xmm2, xmmword [rbx + rdx*8 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdi + rdx*8], xmm1
movdqu xmmword [rdi + rdx*8 + 0x10], xmm2
add rdx, 4
cmp rax, rdx
jne 0x1402320e0
cmp rax, rsi
je 0x140232127
nop dword [rax]
mov rdx, qword [rbx + rax*8]
not rdx
mov qword [rdi + rax*8], rdx
lea rdx, [rax + 1]
mov rax, rdx
cmp rsi, rdx
jne 0x140232110
or byte [rdi], 1
sub r14, qword [rcx + 0x20]
je 0x140232166
mov rax, qword [rdi + rsi*8 - 8]
mov ecx, r14d
shl rax, cl
shr rax, cl
mov qword [rdi + rsi*8 - 8], rax
cmp r14, 1
adc r14, 0
nop dword [rax + rax]
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
mov r9, rsi
call fcn.1403296b0
dec r14
jne 0x140232150
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x38], 0
lea rax, [0x14039e870]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x38]
xor ecx, ecx
call fcn.140334eb0
lea r8, str.eU:_
xor ecx, ecx
xor edx, edx
call fcn.1403393b0
int3
Function at 0x14023a650
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.14023a650
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x14023a75a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14023a730
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret
Function at 0x14023bf7d
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
xchg rcx, rdx
test rcx, rcx
je 0x14023c0f1
lea rsp, [rsp - 0xb8]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x90], xmm14
movaps xmmword [rsp + 0xa0], xmm15
movdqu xmm0, xmmword [r8]
movdqa xmm8, xmmword [0x1403a5be0]
sub rsi, rdi
call fcn.14023c100
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x1403a5bd0]
test rcx, 1
je 0x14023c03a
movdqu xmm7, xmmword [rdi]
call fcn.14023b780
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x14023c0a6
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x1403a5bd0]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.14023b8e0
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x1403a5bf0]
pxor xmm0, xmm1
pxor xmm6, xmm2
paddd xmm14, xmm3
paddd xmm15, xmm3
movdqu xmmword [rsi + rdi], xmm0
movdqu xmmword [rsi + rdi + 0x10], xmm6
sub rcx, 2
lea rdi, [rdi + 0x20]
jne 0x14023c049
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
Function at 0x140242440
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1402424ee
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x140242599
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1402424ee
cmp r8, 0
je 0x14024265f
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1402425af
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret