joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005a60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rax, str.f_1yuq5s_n_M__Po:__H_9rle.
mov qword [rsp + 0x30], rax
lea rax, [0x180105a0b]
mov qword [rsp + 0x38], rax
lea r14, [0x1801094a8]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0x13
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x30]
call fcn.1800050a0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rbx
call fcn.1800e39a0
cmp qword [rsp + 0x30], 0
je 0x180005b06
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x40]
mov edx, dword [rsp + 0x41]
mov dword [rsp + 0x28], edx
mov edx, dword [rsp + 0x44]
mov dword [rsp + 0x2b], edx
cmp cl, 2
jne 0x180005c68
mov rcx, rdi
call sub.KERNEL32.dll_LoadLibraryA
mov r15, rax
lea rax, [0x180105a0b]
mov qword [rsp + 0x30], rax
lea rax, [0x180105a1a]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0x13
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x30]
call fcn.1800050a0
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
lea rcx, [rsp + 0x30]
mov rdx, r14
mov r8, r12
call fcn.1800e39a0
cmp qword [rsp + 0x30], 0
je 0x180005ba0
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x40]
mov edx, dword [rsp + 0x41]
mov dword [rsp + 0x28], edx
mov edx, dword [rsp + 0x44]
mov dword [rsp + 0x2b], edx
cmp cl, 2
jne 0x180005c79
mov rcx, r15
mov rdx, r14
call sub.KERNEL32.dll_GetProcAddress
mov r15, rax
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r12
mov dword [rsp + 0x20], 0
mov r8d, 1
mov rcx, rax
mov rdx, r15
mov r9d, 0x40
call sub.KERNEL32.dll_VirtualProtectEx
call r12
mov qword [rsp + 0x20], 0
lea r8, [0x180105a1a]
mov r9d, 1
mov rcx, rax
mov rdx, r15
call sub.KERNEL32.dll_WriteProcessMemory
call r12
mov dword [rsp + 0x20], 0
mov r8d, 1
mov rcx, rax
mov rdx, r15
xor r9d, r9d
call sub.KERNEL32.dll_VirtualProtectEx
test rbx, rbx
je 0x180005c30
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call fcn.18000b3d0
test rsi, rsi
je 0x180005c56
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.18000b3d0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbx
jmp 0x180005c88
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], cl
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [rsp + 0x51], eax
mov dword [rsp + 0x54], ecx
lea rax, str.src_lib.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valuecannot_sample_empty_rangeC:Users_nero.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rand_0.8.5_src_rng.rs
lea r9, fcn.1800010a0
lea r8, [rsp + 0x30]
mov edx, 0x2b
call fcn.180102a20
ud2
Function at 0x180006480
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x1800064e9
cmp rax, 1
jne 0x180006523
test rdi, rdi
je 0x180006570
js 0x1800066fb
movzx ebp, byte [r9]
movzx eax, byte [0x1801b3bd1]
mov edx, 1
mov rcx, rdi
call fcn.18000b3c0
test rax, rax
je 0x180006514
mov rbx, rax
cmp rdi, 8
jae 0x180006592
xor eax, eax
jmp 0x180006630
test rdi, rdi
je 0x18000657a
js 0x1800066fb
movzx eax, byte [0x1801b3bd1]
mov edx, 1
mov rcx, rdi
call fcn.18000b3c0
mov rbx, rax
test rax, rax
jne 0x18000657f
mov ecx, 1
mov rdx, rdi
call fcn.180102420
ud2
add rdi, r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], rax
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x50]
call fcn.1800050a0
mov rbx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
jmp 0x180006655
mov ebx, 1
jmp 0x180006643
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1800fe4e0
jmp 0x180006643
movzx ecx, bpl
cmp rdi, 0x20
jae 0x1800065a0
xor eax, eax
jmp 0x1800065f4
mov rax, rdi
and rax, 0xffffffffffffffe0
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor edx, edx
nop dword [rax + rax]
movdqu xmm1, xmmword [r14 + rdx]
movdqu xmm2, xmmword [r14 + rdx + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rbx + rdx], xmm1
movdqu xmmword [rbx + rdx + 0x10], xmm2
add rdx, 0x20
cmp rax, rdx
jne 0x1800065c0
cmp rax, rdi
je 0x180006643
test dil, 0x18
je 0x180006630
mov rdx, rax
mov rax, rdi
and rax, 0xfffffffffffffff8
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
nop dword [rax + rax]
movq xmm1, qword [r14 + rdx]
pxor xmm1, xmm0
movq qword [rbx + rdx], xmm1
add rdx, 8
cmp rax, rdx
jne 0x180006610
cmp rax, rdi
je 0x180006643
nop dword [rax]
movzx ecx, byte [r14 + rax]
xor cl, bpl
mov byte [rbx + rax], cl
inc rax
cmp rdi, rax
jne 0x180006630
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r14, rdi
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov r8, rdi
call fcn.1800e39a0
cmp qword [rsp + 0x50], 0
je 0x18000668c
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x60]
mov edx, dword [rsp + 0x61]
mov dword [rsp + 0x30], edx
mov edx, dword [rsp + 0x64]
mov dword [rsp + 0x33], edx
cmp cl, 2
jne 0x1800066a8
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
mov rax, rsi
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x70], cl
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
mov dword [rsp + 0x71], eax
mov dword [rsp + 0x74], ecx
lea rax, str.src_lib.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valuecannot_sample_empty_rangeC:Users_nero.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rand_0.8.5_src_rng.rs
lea r9, fcn.1800010a0
lea r8, [rsp + 0x50]
mov edx, 0x2b
call fcn.180102a20
ud2
call fcn.1800dd350
ud2
Function at 0x18000aff0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x20
call fcn.1800b68d0
test rax, rax
je 0x18000b04f
mov r14, rax
mov r15, rdx
mov rcx, rax
call qword [rdx]
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x18000b09f
mov r8, qword [r15 + 0x10]
mov rcx, r14
call fcn.18000b3d0
jmp 0x18000b09f
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x1801059f8]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.1800b66c0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], rbx
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1800b4130
Function at 0x180024ca0
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 0x180024ce2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x180024cea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x180024cfb
jmp 0x180024d12
xor r10d, r10d
jmp 0x180024d9d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x180024d12
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x180024d29
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 0x180024d49
add r11, r8
jmp 0x180024e7a
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 0x180024e12
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 0x180024dc0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x180024e30
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x180024e42
jmp 0x180024e5c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x180024e5c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x180024e76
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 0x1800707a0
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [0x18012ec30]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x18012ec20]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x18012ec10]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x18012ec00]
movups xmmword [rsp + 0x30], xmm0
mov rax, qword [0x1801b3bd8]
test rax, rax
jne 0x180070859
mov ecx, 1
xor eax, eax
lock cmpxchg qword [0x1801b3bd8], rcx
jne 0x180070859
lea rax, [0x1801b3bd8]
mov qword [rsp + 0x150], rax
call fcn.1800e6710
mov byte [0x1801b3be0], 1
mov byte [rsp + 0x158], 0
mov eax, 2
xchg qword [0x1801b3bd8], rax
lea rcx, [rsp + 0x150]
call fcn.18009bec0
jmp 0x180070869
pause
mov rax, qword [0x1801b3bd8]
cmp rax, 1
je 0x180070850
cmp rax, 2
jne 0x1800709b9
mov r15, qword [rsp + 0x2a0]
mov r12, qword [rsp + 0x298]
mov r13, qword [rsp + 0x290]
xorps xmm0, xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
lea rax, [0x18012ebd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0xf8], 0
lea rbp, [rsp + 0x28]
mov rcx, rbp
mov rdx, r14
mov r8, rbx
call fcn.180070130
mov rcx, rbp
mov rdx, rdi
mov r8, r13
call fcn.180070130
mov rcx, rbp
mov rdx, r12
mov r8, r15
call fcn.180070130
lea rcx, [rsp + 0x150]
mov r8d, 0xd8
mov rdx, rbp
call fcn.1800fe4e0
mov rax, qword [rsp + 0x150]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x140], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmm2, xmmword [rsp + 0x48]
movups xmm3, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x130], xmm3
movaps xmmword [rsp + 0x120], xmm2
movaps xmmword [rsp + 0x110], xmm1
movaps xmmword [rsp + 0x100], xmm0
cmp r9, 0x81
jae 0x1800709f2
lea r8, [rsp + 0x1a0]
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x100]
mov rcx, rsi
call fcn.18006fdd0
mov rax, rsi
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rax, rax
jne 0x1800709d8
lea rcx, str.internal_error:_entered_unreachable_codeC:Users_nero.cargo_registry_srcindex.crates.io_6f17d22bba15001f_spin_0.5.2_srconce.rs
lea r8, [0x18012fbb0]
mov edx, 0x28
call fcn.1801026b0
ud2
lea rcx, str.Once_has_panicked
lea r8, [0x18012fbe0]
mov edx, 0x11
call fcn.1801026b0
ud2
lea r8, [0x18012ea90]
mov edx, 0x80
mov rcx, r9
call fcn.180102b40
ud2
Function at 0x180072860
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 + 0x28], r8
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rcx]
bswap rax
mov qword [rsp + 0x30], rcx
mov r15, qword [rcx + 8]
bswap r15
and rdx, 0xfffffffffffffff0
je 0x1800729a5
mov rdi, r9
mov rcx, qword [rsp + 0x28]
xor rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov qword [rsp + 0x40], rdx
nop dword [rax + rax]
mov rbx, qword [rdi + r12]
mov r14, qword [rdi + r12 + 8]
bswap r14
xor r14, r15
bswap rbx
xor rbx, rax
mov rcx, r14
mov rdx, qword [rsp + 0x28]
call fcn.1800725c0
mov r13, rax
mov r15, rdx
mov rcx, rbx
mov rdx, qword [rsp + 0x20]
call fcn.1800725c0
mov rbp, rax
mov rsi, rdx
xor rbx, r14
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
call fcn.1800725c0
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 r15, r13
mov rcx, r15
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
mov rdx, qword [rsp + 0x40]
xor r13, r11
xor r13, rcx
xor r13, r10
xor r15, rsi
xor r15, rbp
xor r15, r13
add r12, 0x10
cmp rdx, r12
jne 0x1800728c0
bswap rax
bswap r15
movq xmm0, r15
movq xmm1, rax
punpcklqdq xmm1, xmm0
mov rax, qword [rsp + 0x30]
movdqu xmmword [rax], xmm1
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x180074860
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1800748b0
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov r14d, 0xffffffff
nop
mov r15, rbx
mov rbx, rsi
sub rbx, r15
lea rcx, [rdi + r15]
cmp rbx, r14
cmovae rbx, r14
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
mov ecx, eax
test al, al
sete al
add rbx, r15
cmp rbx, rsi
jae 0x1800748b2
test cl, cl
jne 0x180074880
jmp 0x1800748b2
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x18008203d
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 0x1800821b1
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 [0x1800823e0]
sub rsi, rdi
call fcn.1800821c0
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x1800823d0]
test rcx, 1
je 0x1800820fa
movdqu xmm7, xmmword [rdi]
call fcn.180081840
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x180082166
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x1800823d0]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.1800819a0
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x1800823f0]
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 0x180082109
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]
repz ret

Function at 0x180082790
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.180082790
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
repz ret
Function at 0x18008289a
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 0x180082870
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
repz ret
Function at 0x1800854c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1800855e0
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 0x180085520
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 0x180085520
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 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 [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz 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 0x180085520
Function at 0x1800880c0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x18008816f
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
repz ret
cmp r8, 0x10
jb 0x18008821a
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 0x18008816f
cmp r8, 0
je 0x1800882e0
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 0x180088230
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
repz ret
Function at 0x180092840
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r9, qword [rcx + 8]
mov al, 1
test r9, r9
je 0x180092940
mov rcx, qword [rcx]
movzx edx, byte [rdx + 0x28]
movzx r10d, byte [rcx]
not dl
test r10b, dl
jne 0x180092940
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x180092948
mov r8, qword [r8]
xor byte [r8], r10b
cmp rdx, 1
je 0x18009293a
lea rdi, [rdx - 2]
lea rsi, [r9 - 1]
cmp rdi, rsi
mov r11, rsi
cmovb r11, rdi
inc r11
mov r10d, 1
cmp r11, 0x10
jbe 0x180092920
lea rbx, [r8 + 1]
cmp rdi, rsi
cmovb rsi, rdi
lea rdi, [rcx + rsi]
add rdi, 2
cmp rbx, rdi
jae 0x1800928d2
add rsi, r8
add rsi, 2
lea rdi, [rcx + 1]
cmp rdi, rsi
jb 0x180092920
mov r10d, r11d
and r10d, 0xf
mov edi, 0x10
cmovne rdi, r10
mov rsi, r11
sub rsi, rdi
neg rdi
lea r10, [r11 + rdi]
inc r10
xor r11d, r11d
nop word cs:[rax + rax]
movups xmm0, xmmword [rcx + r11 + 1]
movups xmm1, xmmword [r8 + r11 + 1]
xorps xmm1, xmm0
movups xmmword [r8 + r11 + 1], xmm1
add r11, 0x10
cmp rsi, r11
jne 0x180092900
nop
cmp r9, r10
je 0x180092940
movzx r11d, byte [rcx + r10]
xor byte [r8 + r10], r11b
lea r11, [r10 + 1]
mov r10, r11
cmp rdx, r11
jne 0x180092920
cmp rdx, r9
setne al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea r8, str.C:Users_nero.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_src_rsapadding.rs
xor ecx, ecx
xor edx, edx
call fcn.180102750
ud2