joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009460
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140009488
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400094ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400094b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009509
test ecx, ecx
jle 0x1400094e9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140009509
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009509
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140009530
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140009552
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140009568
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140009584
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009586
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400095c2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000965e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400095fd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000963e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000965e
cmp rbx, rax
ja 0x140009610
test rbx, rbx
je 0x14000965e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140009ac0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140009aed
xor eax, eax
jmp 0x140009c59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140009b27
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140009b27
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140009c59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140009c4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009b6a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140009b95
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009c51
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140009c04
sub eax, 1
je 0x140009c04
cmp eax, 2
jne 0x140009c4c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009c51
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140009c32
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140009c4c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140009c51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010e450
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b070
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b143
cmp byte [rcx + 0x71], 0
je 0x14000b143
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000b13f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000b104
sub eax, 1
je 0x14000b108
cmp eax, 2
jne 0x14000b13f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010e450
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000b136
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000b13f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b0ec
xor al, al
jmp 0x14000b0ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010e450
add rsp, 0x60
pop rbx
ret
Function at 0x14001bbb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, rdx
mov r8, rcx
mov rdx, rcx
mov rcx, rax
call fcn.14001c150
movups xmm5, xmmword [rdx]
lea rax, [rdx + 0x10]
mov edx, 0xd
aesenc xmm5, xmmword [rax]
lea rax, [rax + 0x10]
sub rdx, 1
jne 0x14001bbe0
aesenclast xmm5, xmmword [r8 + 0xe0]
lea rcx, [r8 + 0xf0]
movdqa xmmword [rsp + 0x20], xmm5
mov r8d, 0xe
lea rdx, [rsp + 0x20]
call fcn.14001cc30
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010e450
add rsp, 0x48
ret

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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x68]
lea rax, [r8 + 0xf]
mov rsi, qword [rbp + 0x60]
mov r15, rdx
mov rdx, qword [rbp + 0x70]
mov r12, r9
mov r14, qword [rbp + 0x78]
mov rbx, r8
lea rcx, [rdi + 0xf]
shr rax, 4
shr rcx, 4
cmp rdi, 0xffffffffffffff1f
ja 0x14001c130
cmp rbx, 0xffffffffffffff1f
ja 0x14001c130
cmp rdi, rcx
jb 0x14001c130
cmp rbx, rax
jb 0x14001c130
mov ecx, 0xfffffffe
cmp rax, rcx
jae 0x14001c130
movsd xmm1, qword [rdx]
xorps xmm0, xmm0
mov eax, dword [rdx + 8]
mov r9, rdi
and r9, 0xfffffffffffffff0
movdqa xmmword [rbp - 0x50], xmm0
mov r8, rsi
movsd qword [rbp - 0x30], xmm1
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x28], eax
mov rcx, r14
call fcn.14001c3b0
mov r8, rdi
and r8d, 0xf
je 0x14001c026
sub rsi, r8
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rdx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
mov r9d, 0x10
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14001c3b0
mov r9, rbx
lea rdx, [rbp - 0x50]
and r9, 0xfffffffffffffff0
mov r8, r15
mov rcx, r14
call fcn.14001c3b0
mov r8, rbx
and r8d, 0xf
je 0x14001c074
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
mov rdx, rbx
sub rdx, r8
add rdx, r15
movups xmmword [rbp - 0x40], xmm0
call sub.VCRUNTIME140.dll_memcpy
mov r9d, 0x10
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14001c3b0
lea rax, [rdi*8]
mov dword [rbp - 0x24], 0x1000000
movq xmm0, rax
lea rcx, [rbx*8]
movq xmm1, rcx
lea rax, [r14 + 0x10]
punpcklqdq xmm1, xmm0
mov ecx, 0xd
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [r14]
pshufb xmm1, xmmword [0x1401128e0]
nop dword [rax]
nop dword [rax + rax]
aesenc xmm0, xmmword [rax]
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14001c0c0
aesenclast xmm0, xmmword [r14 + 0xe0]
mov r9d, 0x10
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm1
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14001c3b0
movdqa xmm0, xmmword [rbp - 0x50]
lea rdx, [rbp - 0x20]
pshufb xmm0, xmmword [0x1401128e0]
mov rcx, r12
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
call fcn.14001d240
mov edx, 0x10
lea rcx, [rbp - 0x20]
mov ebx, eax
call fcn.14001d030
mov eax, ebx
jmp 0x14001c135
mov eax, 0xffffffff
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14010e450
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001c150
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm0, xmmword [rcx]
movdqu xmmword [rdx + 0x10], xmm2
movdqu xmmword [rdx], xmm0
movdqa xmm1, xmm0
pslldq xmm1, 4
xorps xmm1, xmm0
aeskeygenassist xmm0, xmm2, 1
movdqa xmm3, xmm1
pslldq xmm3, 8
xorps xmm3, xmm1
pshufd xmm1, xmm0, 0xff
xorps xmm3, xmm1
movdqa xmm0, xmm2
pslldq xmm0, 4
xorps xmm0, xmm2
movdqu xmmword [rdx + 0x20], xmm3
movdqa xmm2, xmm0
pslldq xmm2, 8
xorps xmm2, xmm0
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm3
pslldq xmm0, 4
xorps xmm2, xmm1
xorps xmm0, xmm3
movdqu xmmword [rdx + 0x30], xmm2
movdqa xmm3, xmm0
pslldq xmm3, 8
xorps xmm3, xmm0
aeskeygenassist xmm0, xmm2, 2
pshufd xmm1, xmm0, 0xff
movdqa xmm0, xmm2
pslldq xmm0, 4
xorps xmm3, xmm1
xorps xmm0, xmm2
movdqu xmmword [rdx + 0x40], xmm3
movdqa xmm2, xmm0
pslldq xmm2, 8
xorps xmm2, xmm0
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm3
pslldq xmm0, 4
xorps xmm2, xmm1
xorps xmm0, xmm3
movdqu xmmword [rdx + 0x50], xmm2
movdqa xmm3, xmm0
pslldq xmm3, 8
xorps xmm3, xmm0
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
movdqa xmm0, xmm2
pslldq xmm0, 4
xorps xmm3, xmm1
xorps xmm0, xmm2
movdqu xmmword [rdx + 0x60], xmm3
movdqa xmm2, xmm0
pslldq xmm2, 8
xorps xmm2, xmm0
aeskeygenassist xmm0, xmm3, 4
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm3
xorps xmm2, xmm1
pslldq xmm0, 4
xorps xmm0, xmm3
movdqu xmmword [rdx + 0x70], xmm2
movdqa xmm3, xmm0
pslldq xmm3, 8
xorps xmm3, xmm0
aeskeygenassist xmm0, xmm2, 8
pshufd xmm1, xmm0, 0xff
movdqa xmm0, xmm2
pslldq xmm0, 4
xorps xmm3, xmm1
xorps xmm0, xmm2
movdqu xmmword [rdx + 0x80], xmm3
movdqa xmm2, xmm0
pslldq xmm2, 8
xorps xmm2, xmm0
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm3
pslldq xmm0, 4
xorps xmm2, xmm1
xorps xmm0, xmm3
movdqu xmmword [rdx + 0x90], xmm2
movdqa xmm3, xmm0
pslldq xmm3, 8
xorps xmm3, xmm0
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
movdqa xmm0, xmm2
pslldq xmm0, 4
xorps xmm3, xmm1
xorps xmm0, xmm2
movdqu xmmword [rdx + 0xa0], xmm3
movdqa xmm2, xmm0
pslldq xmm2, 8
xorps xmm2, xmm0
aeskeygenassist xmm0, xmm3, 0x10
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm3
xorps xmm2, xmm1
pslldq xmm0, 4
xorps xmm0, xmm3
movdqu xmmword [rdx + 0xb0], xmm2
movdqa xmm4, xmm0
pslldq xmm4, 8
xorps xmm4, xmm0
aeskeygenassist xmm0, xmm2, 0x20
pshufd xmm1, xmm0, 0xff
movdqa xmm0, xmm2
pslldq xmm0, 4
xorps xmm4, xmm1
xorps xmm0, xmm2
movdqu xmmword [rdx + 0xc0], xmm4
movdqa xmm3, xmm0
pslldq xmm3, 8
xorps xmm3, xmm0
aeskeygenassist xmm0, xmm4, 0x20
pshufd xmm1, xmm0, 0xaa
movdqa xmm0, xmm4
xorps xmm3, xmm1
pslldq xmm0, 4
xorps xmm0, xmm4
movdqu xmmword [rdx + 0xd0], xmm3
movdqa xmm2, xmm0
pslldq xmm2, 8
xorps xmm2, xmm0
aeskeygenassist xmm0, xmm3, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm2, xmm1
movdqu xmmword [rdx + 0xe0], xmm2
ret
Function at 0x14001cad0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x20], xmm7
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rsp], rax
movdqu xmm7, xmmword [rcx]
mov eax, 0xfffffffe
and rdx, rax
mov r9, rcx
cmp rdx, r8
jae 0x14001cc0d
movaps xmmword [rsp + 0x30], xmm6
lea rcx, [rdx + 1]
shl rcx, 4
xorps xmm5, xmm5
xorps xmm6, xmm6
movaps xmmword [rsp + 0x10], xmm8
movdqa xmm8, xmmword [0x1401128d0]
add rcx, r9
pslldq xmm6, 8
psrldq xmm5, 8
nop
movdqu xmm4, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x20]
movdqa xmm3, xmm4
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm7, 1
pclmulqdq xmm3, xmm7, 0x10
xorps xmm3, xmm0
movdqa xmm1, xmm4
pclmulqdq xmm1, xmm7, 0
movdqa xmm0, xmm3
mov rax, rdx
pslldq xmm0, 8
add rdx, 2
xorps xmm1, xmm0
psrldq xmm3, 8
pshufd xmm0, xmm1, 0x4e
movdqa xmm2, xmm1
pclmulqdq xmm2, xmm8, 0
xorps xmm2, xmm0
shr rax, 1
pshufd xmm0, xmm2, 0x4e
movdqa xmm1, xmm2
pclmulqdq xmm1, xmm8, 0
xorps xmm1, xmm0
add rax, rax
pclmulqdq xmm4, xmm7, 0x11
xorps xmm4, xmm3
xorps xmm4, xmm1
movdqu xmmword [rcx - 0x30], xmm4
movdqu xmm3, xmmword [r9 + rax*8]
movdqa xmm0, xmm3
pclmulqdq xmm0, xmm3, 0
xorps xmm0, xmm6
movdqa xmm1, xmm0
pshufd xmm0, xmm0, 0x4e
pclmulqdq xmm1, xmm8, 0
xorps xmm1, xmm0
pshufd xmm0, xmm1, 0x4e
movdqa xmm2, xmm1
pclmulqdq xmm2, xmm8, 0
xorps xmm2, xmm0
pclmulqdq xmm3, xmm3, 0x11
xorps xmm3, xmm5
xorps xmm2, xmm3
movdqu xmmword [rcx - 0x20], xmm2
cmp rdx, r8
jb 0x14001cb30
movaps xmm8, xmmword [rsp + 0x10]
movaps xmm6, xmmword [rsp + 0x30]
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.14010e450
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x14001cff0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [section..data], rax
cmp rax, 0x10
jae 0x14001d015
call fcn.14001a800
mov edx, 0x10
lea rcx, [0x140142a00]
call fcn.14001cd10
xor eax, eax
add rsp, 0x58
ret

Function at 0x14001d240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x14001d250
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x14001d290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x20
jl 0x14001d2a0
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x14001d320
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14001d3a0
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x14001d344
call fcn.14001a800
mov edx, ebx
mov rcx, rdi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14001d357
call fcn.14001a800
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140025160
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x10
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rsp + 8], rax
xor r8d, r8d
lea r14, [0x1401129e0]
mov dword [rsp], r8d
mov r9, rcx
mov word [r11 - 0x14], r8w
xor eax, eax
movzx r10d, byte [r11 - 0x13]
movzx r11d, r8b
movzx ebx, byte [rsp + 3]
movzx edi, byte [rsp + 2]
movzx esi, byte [rsp + 1]
movzx ebp, byte [rsp]
nop dword [rax]
movzx edx, byte [r9 + rax]
movzx ecx, dl
xor cl, byte [rax + r14]
or cl, bpl
movzx ebp, cl
movzx ecx, dl
xor cl, byte [rax + r14 + 0x20]
or cl, sil
movzx esi, cl
movzx ecx, dl
xor cl, byte [rax + r14 + 0x40]
or cl, dil
movzx edi, cl
movzx ecx, dl
xor cl, byte [rax + r14 + 0x60]
or cl, bl
movzx ebx, cl
movzx ecx, dl
xor cl, byte [rax + r14 + 0x80]
or cl, r11b
movzx r11d, cl
movzx ecx, dl
xor cl, byte [rax + r14 + 0xa0]
xor dl, byte [rax + r14 + 0xc0]
or cl, r10b
or dl, r8b
movzx r10d, cl
inc rax
movzx r8d, dl
cmp rax, 0x1f
jb 0x1400251c0
movzx ecx, byte [rax + r9]
movzx r9d, byte [rax + r14 + 0xc0]
and cl, 0x7f
movzx r8d, cl
movzx ecx, dl
xor r9d, r8d
movzx edx, byte [rax + r14 + 0xa0]
or r9d, ecx
xor edx, r8d
dec r9d
or edx, r10d
dec edx
or r9d, edx
movzx edx, byte [rax + r14 + 0x80]
xor edx, r8d
or edx, r11d
dec edx
or r9d, edx
movzx edx, byte [rax + r14 + 0x60]
xor edx, r8d
or edx, ebx
dec edx
or r9d, edx
movzx edx, byte [rax + r14 + 0x40]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r14 + 0x20]
movzx eax, byte [rax + r14]
xor edx, r8d
xor eax, r8d
or edx, esi
or eax, ebp
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.14010e450
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x10
pop r14
ret
Function at 0x140025c80
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x14002a210
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x38], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
ret
Function at 0x14002e090
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x38
movdqu xmm0, xmmword [rdx]
movdqu xmm2, xmmword [r8 + 0x60]
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x10], xmm7
movdqu xmm7, xmmword [rdx + 0x10]
movaps xmmword [rsp], xmm8
movdqa xmm8, xmm2
xorps xmm7, xmmword [r8 + 0x50]
xorps xmm8, xmm0
xorps xmm7, xmmword [r8 + 0x20]
xorps xmm8, xmmword [r8 + 0x10]
movdqu xmm0, xmmword [r8 + 0x20]
andps xmm0, xmmword [r8 + 0x30]
andps xmm2, xmmword [r8 + 0x70]
xorps xmm8, xmm0
movdqu xmmword [rcx], xmm8
xorps xmm7, xmm2
movdqu xmmword [rcx + 0x10], xmm7
movdqu xmm6, xmmword [r8 + 0x70]
movdqu xmm5, xmmword [r8 + 0x30]
movdqu xmm0, xmmword [r8 + 0x60]
movdqu xmm1, xmmword [r8 + 0x50]
aesenc xmm1, xmmword [r8 + 0x60]
aesenc xmm0, xmm6
aesenc xmm6, xmmword [r8]
movdqu xmmword [r8 + 0x70], xmm0
xorps xmm6, xmm8
movdqu xmm0, xmmword [r8 + 0x40]
aesenc xmm0, xmmword [r8 + 0x50]
movaps xmm8, xmmword [rsp]
movdqu xmmword [r8 + 0x50], xmm0
movdqu xmm0, xmmword [r8 + 0x20]
aesenc xmm0, xmm5
aesenc xmm5, xmmword [r8 + 0x40]
movdqu xmmword [r8 + 0x30], xmm0
xorps xmm5, xmm7
movdqu xmm0, xmmword [r8]
aesenc xmm0, xmmword [r8 + 0x10]
movaps xmm7, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x60], xmm1
movdqu xmm1, xmmword [r8 + 0x10]
aesenc xmm1, xmmword [r8 + 0x20]
movdqu xmmword [r8], xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0x10], xmm0
movdqu xmmword [r8 + 0x20], xmm1
movdqu xmmword [r8 + 0x40], xmm5
add rsp, 0x38
ret
Function at 0x14002e1a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140141fc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov rsi, r9
movups xmmword [rsp + 0x20], xmm0
mov rdi, r8
movups xmmword [rsp + 0x30], xmm0
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, 0x20
movdqu xmm3, xmmword [rsi + 0x60]
sub r8, rdi
movdqa xmm1, xmm3
add rcx, rdi
andps xmm3, xmmword [rsi + 0x70]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rsi + 0x20]
xor edx, edx
andps xmm0, xmmword [rsi + 0x30]
xorps xmm1, xmmword [rsi + 0x10]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x20], xmm1
xorps xmm0, xmmword [rsi + 0x50]
xorps xmm0, xmmword [rsi + 0x20]
xorps xmm0, xmm3
movdqu xmmword [rsp + 0x30], xmm0
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm6, xmmword [rsi + 0x70]
movdqu xmm5, xmmword [rsi + 0x30]
movdqu xmm0, xmmword [rsi + 0x60]
movdqu xmm1, xmmword [rsi + 0x50]
aesenc xmm1, xmmword [rsi + 0x60]
aesenc xmm0, xmm6
aesenc xmm6, xmmword [rsi]
movdqu xmmword [rsi + 0x70], xmm0
movdqu xmm0, xmmword [rsi + 0x40]
aesenc xmm0, xmmword [rsi + 0x50]
movdqu xmmword [rsi + 0x50], xmm0
movdqu xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmm5
aesenc xmm5, xmmword [rsi + 0x40]
movdqu xmmword [rsi + 0x30], xmm0
movdqu xmm0, xmmword [rsi]
aesenc xmm0, xmmword [rsi + 0x10]
movdqu xmmword [rsi + 0x60], xmm1
movdqu xmm1, xmmword [rsi + 0x10]
aesenc xmm1, xmmword [rsi + 0x20]
movdqu xmmword [rsi + 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsi + 0x20], xmm1
xorps xmm6, xmm0
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsi], xmm6
xorps xmm5, xmm0
movdqu xmmword [rsi + 0x40], xmm5
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14010e450
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret