joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ec4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140013d34

Function at 0x1400156c4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400156da
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400156dc
xor eax, eax
test eax, eax
je 0x1400156ec
mov ecx, eax
call fcn.140016038
or eax, 0xffffffff
jmp 0x1400156ee
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001a49b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003f8c0]
jne 0x1400126ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1400126b6
repz ret
ror rcx, 0x10
jmp 0x14001a3f4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140055410]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140055508]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001a479
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140055410]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001a49b
mov rax, qword [rsp + 0x88]
mov qword [0x140055508], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400554a8], rax
mov rax, qword [0x140055508]
mov qword [0x140055380], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140055490], rax
mov dword [0x140055370], 0xc0000409
mov dword [0x140055374], 1
mov rax, qword [0x14003f8c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003f8c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140055408], eax
mov ecx, 1
call fcn.140026bec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140031380]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140055408], 0
jne 0x14001a522
mov ecx, 1
call fcn.140026bec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140022f70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x140022f9a
call fcn.140016018
and dword [rax], 0
call fcn.140015ff8
mov ebx, socket
mov dword [rax], ebx
call fcn.14001a3d4
mov eax, ebx
jmp 0x140022fea
test edx, 0xfffffff9
jne 0x140022f7d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140022fc3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140016038
call fcn.140015ff8
mov eax, dword [rax]
jmp 0x140022fea
test al, 0x10
jne 0x140022fe8
test al, 1
je 0x140022fe8
test bl, 2
je 0x140022fe8
call fcn.140016018
mov dword [rax], 5
call fcn.140015ff8
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x140022fba
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140027798
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14003f8c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001b104
xor ebx, ebx
cmp qword [0x1400564c8], rbx
mov rdi, rax
jne 0x1400278ab
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140027982
lea rdx, [0x140033158]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140027982
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400564c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400564d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400564d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400564e8], rax
test rax, rax
je 0x1400278a2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400564e0], rax
jmp 0x1400278b2
mov rax, qword [0x1400564e0]
jmp 0x1400278b9
mov rax, qword [0x1400564e0]
mov r11, qword [0x1400564e8]
cmp rax, rdi
je 0x140027920
cmp r11, rdi
je 0x140027920
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400564e8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140027920
test rax, rax
je 0x140027920
call rsi
test rax, rax
je 0x14002791a
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002791a
test byte [rsp + 0x40], 1
jne 0x140027920
bts ebp, 0x15
jmp 0x140027960
mov rcx, qword [0x1400564d0]
cmp rcx, rdi
je 0x140027960
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140027960
call rax
mov rbx, rax
test rax, rax
je 0x140027960
mov rcx, qword [0x1400564d8]
cmp rcx, rdi
je 0x140027960
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140027960
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400564c8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140027982
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140027984
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400126a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400504c0
Capabilities:
Encode data using xor
Encrypt data using speck

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor eax, eax
cmp rbx, 2
sete al
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rsi
call fcn.14001ddb0
cmp rbx, 2
jne 0x140050549
movzx ebx, byte [rdi + 8]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rsi
call fcn.14001ddb0
add rdi, 9
test rbx, rbx
je 0x14005061b
mov qword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rsi
call fcn.14001ddb0
mov r8d, 0x10
jmp 0x14005063d
test rbx, rbx
mov rbx, qword [rdi + 0x10]
mov r14, qword [rdi + 8]
cmovne r14, rbx
cmovne rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140050611
add rbx, r14
lea rdi, [rsp + 0x20]
jmp 0x14005059b
inc r14
lea ecx, [rax - 0x41]
mov edx, eax
xor edx, 0x20
cmp ecx, 0x1a
cmovae edx, eax
mov dword [rsp + 0x20], edx
mov r8d, 4
mov rcx, rsi
mov rdx, rdi
call fcn.14001ddb0
cmp r14, rbx
je 0x140050611
movzx r8d, byte [r14]
movzx eax, r8b
test al, al
jns 0x140050570
mov ecx, eax
and ecx, 0x1f
movzx r9d, byte [r14 + 1]
and r9d, 0x3f
cmp al, 0xdf
jbe 0x1400505f0
movzx edx, byte [r14 + 2]
shl r9d, 6
and edx, 0x3f
or edx, r9d
cmp r8b, 0xf0
jb 0x140050601
movzx eax, byte [r14 + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or eax, ecx
cmp eax, 0x110000
je 0x140050611
add r14, 4
jmp 0x140050573
add r14, 2
shl ecx, 6
or ecx, r9d
mov eax, ecx
jmp 0x140050573
add r14, 3
shl ecx, 0xc
or edx, ecx
mov eax, edx
jmp 0x140050573
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 4
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rsi
call fcn.14001ddb0
mov r8d, 4
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14001ddb0
Function at 0x140072170
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 0x20]
cmp rax, qword [rdx + 0x20]
jne 0x1400721a2
test rax, rax
je 0x1400721a9
lea r8, [rax - 0x21]
cmp r8, 0xffffffffffffffe0
jb 0x1400722b3
cmp rax, 8
jae 0x1400721b0
xor r9d, r9d
xor r8d, r8d
jmp 0x140072290
xor eax, eax
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
cmp rax, 0x10
jae 0x14007221c
xor r9d, r9d
xor r8d, r8d
mov r10, r8
mov r8, rax
and r8, 0xfffffffffffffff8
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 0x1400721d0
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 0x140072290
jmp 0x1400722a8
mov r8, rax
and r8, 0xfffffffffffffff0
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm1
cmp r8, 0x10
je 0x140072247
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 0x1400722a8
test al, 8
jne 0x1400721bc
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 0x140072290
test r9b, r9b
sete al
add rsp, 0x28
ret
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustls_0.22.2_srcmsgshandshake.rsRandom
mov ecx, 0x20
mov edx, 0x20
call fcn.14012ed60
ud2
Function at 0x1400aaec0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov r12, qword [rsp + 0xb0]
mov rax, qword [rcx]
bswap rax
mov qword [rsp + 0x38], rcx
mov rbx, qword [rcx + 8]
bswap rbx
test r12, r12
je 0x1400aaffe
mov rdi, r9
shl r12, 4
add r12, r9
mov rcx, qword [rsp + 0x30]
xor rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
nop word cs:[rax + rax]
mov r14, qword [rdi]
mov r15, qword [rdi + 8]
bswap r14
xor r14, rax
bswap r15
xor r15, rbx
mov rcx, r15
mov rdx, qword [rsp + 0x30]
call fcn.1400aaa90
mov r13, rax
mov rbx, rdx
mov rcx, r14
mov rdx, qword [rsp + 0x28]
call fcn.1400aaa90
mov rbp, rax
mov rsi, rdx
xor r15, r14
mov rcx, r15
mov rdx, qword [rsp + 0x40]
call fcn.1400aaa90
mov rcx, r13
shl rcx, 0x3f
mov r8, r13
shl r8, 0x3e
xor r8, rcx
mov r9, r13
shl r9, 0x39
xor r9, rax
xor r9, r8
xor rbx, r13
mov rcx, rbx
xor rcx, rbp
xor rcx, r9
mov r8, r13
shr r8, 1
mov rax, rcx
shr rax, 1
mov r9, rcx
mov r11, rcx
shr r11, 2
xor r11, rax
mov r10, rcx
mov rax, rcx
shr rax, 7
xor rax, rsi
xor rax, r11
xor rax, rcx
shl rcx, 0x3f
mov r11, r13
shr r11, 2
xor r11, r8
shl r9, 0x3e
shr r13, 7
shl r10, 0x39
xor r10, r9
xor r13, rdx
xor r13, r11
xor r13, rcx
xor r13, r10
xor rbx, rsi
xor rbx, rbp
xor rbx, r13
add rdi, 0x10
cmp rdi, r12
jne 0x1400aaf20
bswap rax
bswap rbx
mov rcx, rax
shr rcx, 0x10
mov rdx, rax
shr rdx, 0x18
mov r8, rax
shr r8, 0x20
mov r9, rax
shr r9, 0x28
mov r10, rax
shr r10, 0x30
mov r11, rax
shr r11, 0x38
mov rsi, rbx
shr rsi, 0x10
mov rdi, rbx
shr rdi, 0x18
mov r14, rbx
shr r14, 0x20
mov r15, rbx
shr r15, 0x28
mov r12, rbx
shr r12, 0x30
mov r13, rbx
shr r13, 0x38
mov rbp, qword [rsp + 0x38]
mov byte [rbp], al
mov byte [rbp + 1], ah
mov byte [rbp + 2], cl
mov byte [rbp + 3], dl
mov byte [rbp + 4], r8b
mov byte [rbp + 5], r9b
mov byte [rbp + 6], r10b
mov byte [rbp + 7], r11b
mov byte [rbp + 8], bl
mov byte [rbp + 9], bh
mov byte [rbp + 0xa], sil
mov byte [rbp + 0xb], dil
mov byte [rbp + 0xc], r14b
mov byte [rbp + 0xd], r15b
mov byte [rbp + 0xe], r12b
mov byte [rbp + 0xf], r13b
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400aed7d
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 0x1400aeef1
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 [0x14015b520]
sub rsi, rdi
call fcn.1400aef00
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x14015b510]
test rcx, 1
je 0x1400aee3a
movdqu xmm7, xmmword [rdi]
call fcn.1400ae580
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x1400aeea6
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x14015b510]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.1400ae6e0
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x14015b530]
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 0x1400aee49
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 0x1400af250
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.1400af250
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 0x1400af35a
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 0x1400af330
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 0x1400b2550
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rax
call fcn.140020700
mov rcx, rax
mov al, 1
test rdx, rdx
je 0x1400b267e
test rcx, rcx
je 0x1400b267e
mov r8, qword [rsi + 0x10]
movzx r9d, byte [rcx]
movzx r8d, byte [r8]
not r8b
test r9b, r8b
jne 0x1400b267e
mov r10, qword [rsi + 8]
test r10, r10
je 0x1400b2688
mov r8, qword [rsi]
xor byte [r8], r9b
mov r11d, 1
cmp r10, 1
je 0x1400b2678
lea rbx, [r10 - 2]
lea rdi, [rdx - 1]
cmp rbx, rdi
mov rsi, rdi
cmovb rsi, rbx
lea r9, [r8 + 1]
inc rsi
cmp rsi, 0x10
jbe 0x1400b264e
cmp rbx, rdi
cmovb rdi, rbx
lea rbx, [rcx + rdi]
add rbx, 2
cmp r9, rbx
jae 0x1400b2602
add rdi, r8
add rdi, 2
mov rbx, rcx
inc rbx
cmp rbx, rdi
jb 0x1400b264e
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
nop dword [rax]
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 0x1400b2630
mov r9, rbx
add r8, r10
nop word cs:[rax + rax]
cmp rdx, r11
je 0x1400b267e
movzx r10d, byte [rcx + r11]
xor byte [r9], r10b
inc r11
inc r9
cmp r9, r8
jne 0x1400b2660
cmp r11, rdx
setne al
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.8_src_rsapaddingpss.rs
xor ecx, ecx
xor edx, edx
call fcn.14012ed60
ud2
Function at 0x1400bd980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400bdaa0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400bd9e0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400bd9e0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400bd9e0
Function at 0x1400bdfc0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400be06e
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 0x1400be119
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 0x1400be06e
cmp r8, 0
je 0x1400be1df
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 0x1400be12f
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
Function at 0x1400c8610
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rax, rcx
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], r8
cmp rcx, r8
jne 0x1400c8700
mov rsi, r8
test r8, r8
je 0x1400c872d
mov rdi, rdx
mov rcx, rsi
shl rcx, 6
mov rbx, qword [rax + 0x10]
cmp rsi, 4
jae 0x1400c8657
xor edx, edx
jmp 0x1400c86a0
mov rdx, rsi
and rdx, 0xfffffffffffffffc
xor r8d, r8d
pcmpeqd xmm0, xmm0
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbx + r8*8]
movdqu xmm2, xmmword [rbx + r8*8 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdi + r8*8], xmm1
movdqu xmmword [rdi + r8*8 + 0x10], xmm2
add r8, 4
cmp rdx, r8
jne 0x1400c8670
cmp rdx, rsi
je 0x1400c86b7
mov r8, qword [rbx + rdx*8]
not r8
mov qword [rdi + rdx*8], r8
lea r8, [rdx + 1]
mov rdx, r8
cmp rsi, r8
jne 0x1400c86a0
or byte [rdi], 1
sub rcx, qword [rax + 0x20]
je 0x1400c86f6
mov rax, qword [rdi + rsi*8 - 8]
shl rax, cl
shr rax, cl
mov qword [rdi + rsi*8 - 8], rax
cmp rcx, 2
mov r14d, 1
cmovae r14, rcx
nop
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
mov r9, rsi
call fcn.140127fa0
dec r14
jne 0x1400c86e0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x48], 0
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.8_src_arithmetic_bigintmodulus.rs_
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x38]
xor ecx, ecx
call fcn.14012d050
ud2
lea r8, [0x1401584c8]
xor ecx, ecx
xor edx, edx
call fcn.14012ed60
ud2

Function at 0x1400cedf0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1400cee62
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
jmp 0x1400cee28
add rdi, rbx
sub rsi, rbx
je 0x1400cee62
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x1400cee20
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1400cee20
add ebp, 0x80000000
jmp 0x1400cee64
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret