joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007eb0
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 0x1800085a0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
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.1800daa70
test rax, rax
je 0x180008602
mov rbx, rax
mov r14, rdx
mov rax, qword [rdx]
test rax, rax
je 0x1800085eb
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180008652
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.1800098b0
jmp 0x180008652
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x180129ef0]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.1800da860
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], 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, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1800d8370
Function at 0x180013de0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rdi, qword [rcx + 0x28]
movzx ecx, byte [rcx + 0x158]
shr rdi, cl
test rdi, rdi
je 0x180013fa7
mov rax, rdi
shr rax, 0x3d
lea rbx, [rdi*4]
test rax, rax
jne 0x180013fb3
movzx eax, byte [0x1801bb181]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.1800098a0
test rax, rax
je 0x180013fb6
cmp rdi, 7
ja 0x180013e49
xor ecx, ecx
jmp 0x180013eb0
movabs rcx, 0x1ffffffffffffff8
and rcx, rdi
movabs rdx, 0x7fffffffffffffe0
and rbx, rdx
movdqa xmm0, xmmword [0x18012b590]
xor edx, edx
movdqa xmm1, xmmword [0x18012b5a0]
movdqa xmm2, xmmword [str._b_b_b_b]
nop dword [rax]
movdqa xmm3, xmm0
paddd xmm3, xmm1
movdqu xmmword [rax + rdx], xmm0
movdqu xmmword [rax + rdx + 0x10], xmm3
paddd xmm0, xmm2
add rdx, 0x20
cmp rbx, rdx
jne 0x180013e80
cmp rdi, rcx
je 0x180013ebf
nop word cs:[rax + rax]
mov dword [rax + rcx*4], ecx
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdi, rdx
jne 0x180013eb0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0
lea rbx, [rsp + 0x30]
mov ebp, edi
lea rax, [rdi - 0x80000000]
cmp rax, 0xffffffff80000001
jb 0x180013f66
dec ebp
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 + rax]
sub rdi, 1
jb 0x180013f6b
mov rax, rdi
shl rax, cl
add rax, r8
cmp rax, rdx
jae 0x180013f98
mov rax, qword [r9 + rax*8]
shr rax, 0x2a
cmp eax, 0x3ffffe
ja 0x180013f10
mov rcx, rbx
mov rdx, rsi
mov r8d, ebp
mov r9d, edi
call fcn.18006c8e0
mov dword [rsi + 0x170], ebp
test ebp, ebp
jne 0x180013ede
lea rcx, str.match_states_should_be_a_proper_subset_of_all_states
lea r8, [0x18012b900]
mov edx, 0x34
call fcn.18010e890
test rdi, rdi
jne 0x180013fc1
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.18006c9d0
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, [0x18012bb78]
mov rcx, rax
call fcn.18010ea20
lea rcx, [0x18012bba8]
call fcn.18010e870
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.18010e680
dec rdi
mov qword [rsp + 0x50], rdi
lea rax, [0x18012b8b0]
mov qword [rsp + 0x20], rax
lea rcx, [0x18012b826]
lea r9, [0x18012b5e0]
lea r8, [rsp + 0x50]
mov edx, 0x15
call fcn.18010ec80
int3
Function at 0x180020130
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 0x180020172
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x18002017a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18002018b
jmp 0x1800201a2
xor r10d, r10d
jmp 0x18002022d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1800201a2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1800201b9
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 0x1800201d9
add r11, r8
jmp 0x180020309
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 0x1800202a2
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 0x180020250
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1800202bf
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x1800202d0
jmp 0x1800202eb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x1800202eb
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 0x180020305
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 0x18006c9d0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov rbx, rcx
mov rsi, qword [rcx + 8]
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x18006ca32
mov rax, rdi
shr rax, 0x3d
lea r12, [rdi*4]
test rax, rax
jne 0x18006cb48
movzx eax, byte [0x1801bb181]
mov r13d, 4
mov edx, 4
mov rcx, r12
call fcn.1800098a0
test rax, rax
je 0x18006cb4b
mov r15, rax
jmp 0x18006ca3b
mov r15d, 4
xor r12d, r12d
mov rcx, r15
mov rdx, rsi
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [r14 + 0x28]
movzx ecx, byte [r14 + 0x158]
shr rdx, cl
lea r8, [rbx + 0x18]
test rdx, rdx
je 0x18006cac5
mov rcx, qword [r8]
and ecx, 0x3f
xor r9d, r9d
jmp 0x18006ca7c
mov dword [rsi + r9*4], r11d
inc r9
cmp r9, rdx
je 0x18006cab8
mov r10, r9
shl r10, cl
cmp r9, rdi
je 0x18006cb36
mov eax, dword [r15 + r9*4]
cmp eax, r10d
je 0x18006ca74
nop word cs:[rax + rax]
mov r11d, eax
mov eax, eax
shr rax, cl
cmp rax, rdi
jae 0x18006cb24
mov eax, dword [r15 + rax*4]
cmp eax, r10d
jne 0x18006caa0
jmp 0x18006ca70
mov rcx, r14
mov rdx, rbx
call fcn.180016240
jmp 0x18006cad5
mov rcx, r14
mov rdx, rbx
call fcn.180016240
test rdi, rdi
je 0x18006caea
shl rdi, 2
mov r8d, 4
mov rcx, r15
mov rdx, rdi
call fcn.1800098b0
mov rdx, qword [rbx]
test rdx, rdx
je 0x18006cb13
shl rdx, 2
mov r8d, 4
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1800098b0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_srcdfa_remapper.rs
mov rcx, rax
mov rdx, rdi
call fcn.18010ea20
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_srcdfa_remapper.rs
mov rcx, rdi
mov rdx, rdi
call fcn.18010ea20
xor r13d, r13d
mov rcx, r13
mov rdx, r12
call fcn.18010e680
int3
Function at 0x1800746e0
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 0x18007475b
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.1800746e0
mov r12, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r14]
mov rcx, rdi
mov r9, rbx
call fcn.1800746e0
mov rdi, rax
add r15, rsi
add r14, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r14
mov r9, rbx
call fcn.1800746e0
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 0x1800747c2
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 0x1800747e0
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 0x18007485a
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.1800747e0
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r15]
mov rcx, rdi
mov r9, r12
call fcn.1800747e0
mov rdi, rax
add r14, rsi
add r15, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r15
mov r9, r12
call fcn.1800747e0
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 0x180074960
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 0x180082710
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
mov r12, qword [rcx + 8]
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x180082772
mov rax, rdi
shr rax, 0x3d
lea r15, [rdi*4]
test rax, rax
jne 0x180082893
movzx eax, byte [0x1801bb181]
mov r13d, 4
mov edx, 4
mov rcx, r15
call fcn.1800098a0
test rax, rax
je 0x180082896
mov r14, rax
jmp 0x18008277b
mov r14d, 4
xor r15d, r15d
mov rcx, r14
mov rdx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x10]
lea r8, [rsi + 0x18]
test r9, r9
je 0x18008280f
xor eax, eax
jmp 0x1800827b0
mov rcx, qword [rsi + 8]
mov dword [rcx + rax*4], r11d
inc rax
cmp rax, r9
je 0x180082802
mov rcx, qword [r8]
and ecx, 0x3f
mov r10, rax
shl r10, cl
cmp rax, rdi
je 0x180082881
mov edx, dword [r14 + rax*4]
cmp edx, r10d
je 0x1800827a8
nop
mov r11d, edx
mov edx, edx
shr rdx, cl
cmp rdx, rdi
jae 0x18008286f
mov edx, dword [r14 + rdx*4]
cmp edx, r10d
jne 0x1800827d0
mov rdx, qword [rsi + 0x10]
cmp rax, rdx
jb 0x1800827a0
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_srcutil_remapper.rs
mov rcx, rax
call fcn.18010ea20
mov rcx, rbx
mov rdx, rsi
call fcn.180080b70
jmp 0x18008281f
mov rcx, rbx
mov rdx, rsi
call fcn.180080b70
test rdi, rdi
je 0x180082834
shl rdi, 2
mov r8d, 4
mov rcx, r14
mov rdx, rdi
call fcn.1800098b0
mov rdx, qword [rsi]
test rdx, rdx
je 0x18008285e
mov rcx, qword [rsi + 8]
shl rdx, 2
mov r8d, 4
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1800098b0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
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, rdi
call fcn.18010ea20
lea r8, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.3_srcutil_remapper.rs
mov rcx, rdi
mov rdx, rdi
call fcn.18010ea20
xor r13d, r13d
mov rcx, r13
mov rdx, r15
call fcn.18010e680
int3
Function at 0x1800cdd00
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 0x1800cddfe
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
ja 0x1800cdedb
mov rdi, rdx
movzx eax, byte [0x1801bb181]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.1800098a0
test rax, rax
je 0x1800cdede
cmp rbx, 0x80
jae 0x1800cde0a
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 8
je 0x1800cdd9b
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 0x1800cdebe
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 0x1800cddb0
jmp 0x1800cdebe
xor ecx, ecx
mov eax, 4
jmp 0x1800cdec1
lea rdx, [rax + r15*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1800cdd6c
lea rdx, [rax + r15*8]
add rdx, 0xfffffffffffffffc
mov r8, rax
add r8, 4
cmp rdx, r8
jb 0x1800cdd6c
lea rdx, [r15 - 1]
shr rdx, 0x3d
jne 0x1800cdd6c
movabs rcx, 0xffffffffffffffe
and rcx, r15
xor edx, edx
movdqa xmm0, xmmword [0x180131920]
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 0x1800cde60
cmp r15, rcx
jne 0x1800cdd6c
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.18010e680
int3
Function at 0x1800d3a60
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1801bb181]
mov ecx, 0x1818
mov edx, 4
call fcn.1800098a0
test rax, rax
je 0x1800d3b7b
xor ecx, ecx
lea rdx, [0x180167778]
movdqa xmm0, xmmword [0x180131920]
nop dword [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 0x1800d3aa0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x303
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1800cc950
mov rax, qword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1800d1c60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov ecx, 4
mov edx, 0x1818
call fcn.18010e680
int3

Function at 0x1800d3c70
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
movzx eax, byte [0x1801bb181]
mov ecx, 0x200
mov edx, 4
call fcn.1800098a0
test rax, rax
je 0x1800d3d7a
xor ecx, ecx
lea rdx, [0x180168fe0]
movdqa xmm0, xmmword [0x180131920]
nop dword [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 0x1800d3cb0
mov rcx, rax
add rcx, 0x200
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1800cc950
mov rax, qword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x20], xmm0
sete byte [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1800d1c60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
mov ecx, 4
mov edx, 0x200
call fcn.18010e680
int3
Function at 0x1800dacc0
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 0x1800dad32
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 0x1800dacf8
add rdi, rbx
sub rsi, rbx
je 0x1800dad32
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 0x1800dacf0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1800dacf0
and ebp, 0x7fffffff
jmp 0x1800dad34
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 0x1800dd630
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x1800e4e20
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 0x1800e4ec0
jmp 0x1800e4eaf
jae 0x1800e4f7f
cmp r8, 0x201
jae 0x1800e4ec0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1800e4f17
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x1800e4eef
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.18010d780
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 0x1800e4f40
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800e4feb
mov r8d, r13d
cmp r12, r8
jne 0x1800e4ea0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800e501f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1800e4eaf
jmp 0x1800e4ec0
cmp r14, r8
jb 0x1800e5039
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1800e7c10
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 0x1800e4fd4
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1800098b0
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 0x1800e4fbf
jmp 0x1800e4fd4
lea rcx, [0x1801a9648]
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.18010e990
jmp 0x1800e504e
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.18010ed80
ud2