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

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x180009270
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.1800e5160
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1800092e4
mov qword [rbp + 0x30], rdx
mov rax, qword [rdx]
test rax, rax
je 0x1800092c8
mov rcx, qword [rbp + 0x28]
call rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18000932d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.1800093e0
jmp 0x18000932d
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, [0x180131788]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.1800e4f50
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.1800e2a60
Function at 0x18001eca0
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 0x18001ece2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x18001ecea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18001ecfb
jmp 0x18001ed12
xor r10d, r10d
jmp 0x18001ed9d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x18001ed12
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x18001ed29
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 0x18001ed49
add r11, r8
jmp 0x18001ee79
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x18001ee12
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x18001edc0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x18001ee2f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x18001ee40
jmp 0x18001ee5b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x18001ee5b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x18001ee75
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 0x1800220c0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov r15, rcx
mov r14, qword [rcx + 8]
mov r12, qword [rcx + 0x10]
test r12, r12
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x20], rcx
je 0x180022137
mov rax, r12
shr rax, 0x3d
lea rdi, [r12*4]
test rax, rax
jne 0x18002225d
movzx eax, byte [0x1801d91a1]
mov ebx, 4
mov edx, 4
mov rcx, rdi
call fcn.1800093d0
test rax, rax
je 0x18002225f
mov r13, rax
jmp 0x18002213f
mov r13d, 4
xor edi, edi
mov rcx, r13
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x28]
movzx ecx, byte [rsi + 0x158]
shr rdx, cl
test rdx, rdx
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r13
je 0x1800221c9
mov rcx, qword [r15 + 0x18]
and ecx, 0x3f
xor r8d, r8d
jmp 0x18002218c
mov dword [r14 + r8*4], r10d
inc r8
cmp r8, rdx
je 0x1800221c9
mov r9, r8
shl r9, cl
cmp r8, r12
je 0x180022249
mov eax, dword [r13 + r8*4]
cmp eax, r9d
je 0x180022184
nop word cs:[rax + rax]
mov r10d, eax
mov eax, eax
shr rax, cl
cmp rax, r12
jae 0x180022235
mov eax, dword [r13 + rax*4]
cmp eax, r9d
jne 0x1800221b0
jmp 0x180022180
lea r8, [r15 + 0x18]
mov rcx, rsi
mov rdx, r15
call fcn.180055520
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1800221f4
shl rdx, 2
mov r8d, 4
mov rcx, qword [rbp - 8]
call fcn.1800093e0
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
test rdx, rdx
mov rcx, qword [rbp - 0x10]
je 0x180022223
shl rdx, 2
mov r8d, 4
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1800093e0
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x180134d28]
mov rcx, rax
mov rdx, r12
call fcn.180116e40
jmp 0x18002226a
lea r8, [0x180134d10]
mov rcx, r12
mov rdx, r12
call fcn.180116e40
jmp 0x18002226a
xor ebx, ebx
mov rcx, rbx
mov rdx, rdi
call fcn.180116aa0
ud2
Function at 0x180051130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r12, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 8
jb 0x1800511aa
shr r9, 3
mov r14, r9
shl r14, 7
lea rdx, [rbx + r14]
imul r15, r9, 0xe0
lea r8, [rbx + r15]
mov rcx, rbx
mov rsi, r12
mov r12, r9
call fcn.180051130
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r15]
mov rcx, rdi
mov r9, r12
call fcn.180051130
mov rdi, rax
add r14, rsi
add r15, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r15
mov r9, r12
call fcn.180051130
mov r12, rax
mov qword [rsp + 0x38], rdi
mov rbp, qword [rbx + 8]
mov rsi, qword [rbx + 0x10]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov r13, rsi
sub r13, r8
mov qword [rsp + 0x48], r8
cmovb r8, rsi
mov rcx, rbp
mov qword [rsp + 0x50], rdx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
movzx r15d, byte [rbx + 0x18]
movzx ecx, byte [rdi + 0x18]
mov eax, r15d
mov byte [rsp + 0x2f], cl
sub al, cl
xor r14d, r14d
cmp al, 0xff
sete r14b
xor eax, eax
test r13, r13
sets al
cmovne r14d, eax
mov rdx, qword [r12 + 8]
mov r13, qword [r12 + 0x10]
mov rdi, r12
mov r12, rsi
sub r12, r13
cmovae rsi, r13
mov rcx, rbp
mov qword [rsp + 0x30], rdx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
mov qword [rsp + 0x40], rdi
movzx ebp, byte [rdi + 0x18]
sub r15b, bpl
xor eax, eax
cmp r15b, 0xff
sete al
xor ecx, ecx
test r12, r12
sets cl
cmovne eax, ecx
cmp r14b, al
jne 0x1800512b0
mov rax, qword [rsp + 0x48]
mov rsi, rax
sub rsi, r13
cmovb r13, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
movzx ecx, byte [rsp + 0x2f]
sub cl, bpl
xor eax, eax
cmp cl, 0xff
sete al
xor ecx, ecx
test rsi, rsi
sets cl
cmovne eax, ecx
xor r14b, al
mov rbx, qword [rsp + 0x38]
cmovne rbx, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1800512d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
cmp r9, 8
jb 0x18005134b
mov rbx, r9
shr rbx, 3
and r9, 0xfffffffffffffff8
lea rdx, [rcx + r9]
mov r14, rbx
shl r14, 4
sub r14, rbx
sub r14, rbx
lea r8, [rcx + r14]
mov r15, r9
mov r9, rbx
call fcn.1800512d0
mov r12, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r14]
mov rcx, rdi
mov r9, rbx
call fcn.1800512d0
mov rdi, rax
add r15, rsi
add r14, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r14
mov r9, rbx
call fcn.1800512d0
mov rsi, rax
mov rcx, r12
movzx r11d, byte [rcx]
movzx ebx, byte [rcx + 1]
movzx edx, byte [rdi]
movzx r8d, byte [rdi + 1]
xor r9d, r9d
cmp bl, r8b
setb r9b
xor eax, eax
cmp r11b, dl
setb al
cmove eax, r9d
movzx r9d, byte [rsi]
movzx r10d, byte [rsi + 1]
xor ebp, ebp
cmp bl, r10b
setb bpl
xor ebx, ebx
cmp r11b, r9b
setb bl
cmove ebx, ebp
cmp al, bl
jne 0x1800513b2
xor ecx, ecx
cmp r8b, r10b
setb cl
xor r8d, r8d
cmp dl, r9b
setb r8b
cmove r8d, ecx
xor al, r8b
cmovne rdi, rsi
mov rcx, rdi
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x180052eb0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rcx
mov r15, qword [rcx + 0x28]
movzx ecx, byte [rcx + 0x158]
shr r15, cl
test r15, r15
mov qword [rbp - 8], r15
je 0x1800530cc
mov rax, r15
shr rax, 0x3d
lea rbx, [r15*4]
test rax, rax
jne 0x1800530e6
movzx eax, byte [0x1801d91a1]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.1800093d0
test rax, rax
je 0x1800530e9
mov rdi, rax
cmp r15, 8
jae 0x180052f35
xor eax, eax
jmp 0x180052fa0
movabs rax, 0x1ffffffffffffff8
and rax, r15
movabs rcx, 0x7fffffffffffffe0
and rbx, rcx
movdqa xmm0, xmmword [0x180134a90]
xor ecx, ecx
movdqa xmm1, xmmword [0x180134aa0]
movdqa xmm2, xmmword [str._b_b_b_b]
nop dword [rax]
movdqa xmm3, xmm0
paddd xmm3, xmm1
movdqu xmmword [rdi + rcx], xmm0
movdqu xmmword [rdi + rcx + 0x10], xmm3
paddd xmm0, xmm2
add rcx, 0x20
cmp rbx, rcx
jne 0x180052f70
cmp r15, rax
je 0x180052faf
nop word cs:[rax + rax]
mov dword [rdi + rax*4], eax
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x180052fa0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0
lea r14, [rbp - 0x28]
mov rbx, r15
lea rax, [rbx - 0x80000000]
cmp rax, 0xffffffff80000001
jb 0x180053075
dec r15d
mov rcx, qword [rsi + 0x158]
and ecx, 0x3f
mov r8, qword [rsi + 0x160]
mov r9, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
nop dword [rax]
sub rbx, 1
jb 0x18005307a
mov rax, rbx
shl rax, cl
add rax, r8
cmp rax, rdx
jae 0x1800530b3
mov rax, qword [r9 + rax*8]
shr rax, 0x2a
cmp eax, 0x3ffffe
ja 0x180053000
mov qword [rbp], rdi
mov byte [rbp + 0xf], 0
mov rcx, r14
mov rdx, rsi
mov r8d, r15d
mov r9d, ebx
call fcn.180021fd0
mov dword [rsi + 0x170], r15d
test r15d, r15d
jne 0x180052fca
mov qword [rbp], rdi
mov byte [rbp + 0xf], 0
lea rcx, str.match_states_should_be_a_proper_subset_of_all_states
lea r8, [0x18013a380]
mov edx, 0x34
call fcn.180116cb0
jmp 0x18005312b
test rbx, rbx
jne 0x1800530f4
movdqu xmm0, xmmword [rbp - 0x28]
movdqu xmm1, xmmword [rbp - 0x18]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp], rdi
mov byte [rbp + 0xf], 1
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.1800220c0
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], rdi
mov byte [rbp + 0xf], 0
lea r8, [0x18013a5f8]
mov rcx, rax
call fcn.180116e40
jmp 0x18005312b
mov qword [rbp], 4
mov byte [rbp + 0xf], 0
lea rcx, [0x18013a628]
call fcn.180116c90
jmp 0x18005312b
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.180116aa0
dec rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp], rdi
mov byte [rbp + 0xf], 0
lea rax, [0x18013a330]
mov qword [rsp + 0x20], rax
lea rcx, [0x18013a2a6]
lea r9, [0x18013a090]
lea r8, [rbp - 0x50]
mov edx, 0x15
call fcn.1801170a0
ud2
Function at 0x18007adc0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov r15, rcx
mov rbx, qword [rcx + 8]
mov r12, qword [rcx + 0x10]
test r12, r12
mov qword [rbp - 0x18], rcx
je 0x18007ae34
mov rax, r12
shr rax, 0x3d
lea rdi, [r12*4]
test rax, rax
jne 0x18007af6c
movzx eax, byte [0x1801d91a1]
mov r14d, 4
mov edx, 4
mov rcx, rdi
call fcn.1800093d0
test rax, rax
je 0x18007af6f
mov r13, rax
jmp 0x18007ae3c
mov r13d, 4
xor edi, edi
mov rcx, r13
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsi + 0x10]
test r8, r8
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
je 0x18007aed8
mov rcx, qword [r15 + 0x18]
and ecx, 0x3f
xor eax, eax
jmp 0x18007ae80
mov rdx, qword [r15 + 8]
mov dword [rdx + rax*4], r10d
inc rax
cmp rax, r8
je 0x18007aed8
mov r9, rax
shl r9, cl
cmp rax, r12
je 0x18007af58
mov edx, dword [r13 + rax*4]
cmp edx, r9d
je 0x18007ae78
nop dword [rax]
mov r10d, edx
mov edx, edx
shr rdx, cl
cmp rdx, r12
jae 0x18007af44
mov edx, dword [r13 + rdx*4]
cmp edx, r9d
jne 0x18007aea0
mov rdx, qword [r15 + 0x10]
cmp rax, rdx
jb 0x18007ae70
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_srcutil_remapper.rs
mov rcx, rax
call fcn.180116e40
jmp 0x18007af7a
lea r8, [r15 + 0x18]
mov rcx, rsi
mov rdx, r15
call fcn.180079bd0
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x18007af03
shl rdx, 2
mov r8d, 4
mov rcx, qword [rbp - 8]
call fcn.1800093e0
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
test rdx, rdx
je 0x18007af32
mov rcx, qword [rax + 8]
shl rdx, 2
mov r8d, 4
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1800093e0
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_srcutil_remapper.rs
mov rcx, rdx
mov rdx, r12
call fcn.180116e40
jmp 0x18007af7a
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_srcutil_remapper.rs
mov rcx, r12
mov rdx, r12
call fcn.180116e40
jmp 0x18007af7a
xor r14d, r14d
mov rcx, r14
mov rdx, rdi
call fcn.180116aa0
ud2
Function at 0x1800d6420
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
mov rsi, rcx
mov r15, r8
sub r15, rdx
shr r15, 3
sub rbx, rdx
je 0x1800d651e
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
ja 0x1800d65fb
mov rdi, rdx
movzx eax, byte [0x1801d91a1]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.1800093d0
test rax, rax
je 0x1800d65fe
cmp rbx, 0x80
jae 0x1800d652a
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 8
je 0x1800d64bb
mov r8d, dword [rdi + rcx*8]
mov r9d, dword [rdi + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp r15, rdx
je 0x1800d65de
nop word cs:[rax + rax]
mov edx, dword [rdi + rcx*8]
mov r8d, dword [rdi + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [rdi + rcx*8 + 8]
mov r8d, dword [rdi + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp r15, rcx
jne 0x1800d64d0
jmp 0x1800d65de
xor ecx, ecx
mov eax, 4
jmp 0x1800d65e1
lea rdx, [rax + r15*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1800d648c
lea rdx, [rax + r15*8]
add rdx, 0xfffffffffffffffc
mov r8, rax
add r8, 4
cmp rdx, r8
jb 0x1800d648c
lea rdx, [r15 - 1]
shr rdx, 0x3d
jne 0x1800d648c
movabs rcx, 0xffffffffffffffe
and rcx, r15
xor edx, edx
movdqa xmm0, xmmword [0x180135170]
nop word [rax + rax]
movdqu xmm1, xmmword [rdi + rdx*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x1800d6580
cmp r15, rcx
jne 0x1800d648c
mov rcx, r15
mov qword [rsi], r15
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.180116aa0
int3
Function at 0x1800dc910
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1801d91a1]
mov ecx, 0x1818
mov edx, 4
call fcn.1800093d0
test rax, rax
je 0x1800dca2e
xor ecx, ecx
lea rdx, [0x18016f668]
movdqa xmm0, xmmword [0x180135170]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x1800dc960
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x303
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1800d3a90
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.1800da7e0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x1818
call fcn.180116aa0
int3

Function at 0x1800dcba0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1801d91a1]
mov ecx, 0x200
mov edx, 4
call fcn.1800093d0
test rax, rax
je 0x1800dccad
xor ecx, ecx
lea rdx, [0x180170ed0]
movdqa xmm0, xmmword [0x180135170]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x1800dcbf0
mov rcx, rax
add rcx, 0x200
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1800d3a90
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.1800da7e0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x200
call fcn.180116aa0
int3
Function at 0x1800e53b0
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 0x1800e5422
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 0x1800e53e8
add rdi, rbx
sub rsi, rbx
je 0x1800e5422
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 0x1800e53e0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1800e53e0
and ebp, 0x7fffffff
jmp 0x1800e5424
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

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

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x1800eea20
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1800eeac0
jmp 0x1800eeaaf
jae 0x1800eeb7f
cmp r8, 0x201
jae 0x1800eeac0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1800eeb17
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x1800eeaef
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.180115ba0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1800eeb40
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800eebeb
mov r8d, r13d
cmp r12, r8
jne 0x1800eeaa0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800eec1f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1800eeaaf
jmp 0x1800eeac0
cmp r14, r8
jb 0x1800eec39
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1800f16a0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1800eebd4
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1800093e0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1800eebbf
jmp 0x1800eebd4
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.180116db0
jmp 0x1800eec4e
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1801171a0
ud2