joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f1ebd
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 0x1400f2031
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 [0x140197760]
sub rsi, rdi
call fcn.1400f2040
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x140197750]
test rcx, 1
je 0x1400f1f7a
movdqu xmm7, xmmword [rdi]
call fcn.1400f16c0
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x1400f1fe6
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x140197750]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.1400f1820
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x140197770]
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 0x1400f1f89
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
Function at 0x1400fb240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400fb360
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 0x1400fb2a0
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 0x1400fb2a0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400fb2a0
Function at 0x1400ff1c0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400ff26e
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x1400ff319
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 0x1400ff26e
cmp r8, 0
je 0x1400ff3df
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 0x1400ff32f
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x14010d980
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14010e740
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14010e740
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14010d9f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401d2274]
mov rbx, rcx
test esi, esi
jle 0x14010db20
mov rax, qword [0x1401d2278]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14010da3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14010dac5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14010da20
mov rcx, rbx
call fcn.14010e460
mov rdi, rax
test rax, rax
je 0x14010db42
mov rax, qword [0x1401d2278]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14010e5a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401d2278]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14010db27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14010dabe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14010dad0
add dword [0x1401d2274], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401d2278]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14010dabe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14010d980
nop dword [rax]
xor esi, esi
jmp 0x14010da48
mov rax, qword [0x1401d2278]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14010d980
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14010d980
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14010e0d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401d22e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401d22c0]
test rbx, rbx
je 0x14010e12c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14010e123
test eax, eax
jne 0x14010e123
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14010e108
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14010e460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140198870]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14010e480
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14010e488
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14010e480
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14010e4dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14010e4d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14010e480
add rax, 0x28
cmp rax, r9
jne 0x14010e4c0
xor eax, eax
ret

Function at 0x14010e4e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140198870]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14010e4ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14010e508
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14010e4ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14010e5a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140198870]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14010e5bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14010e5c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140119700
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
pxor xmm2, xmm2
xor r9d, r9d
xor r10d, r10d
movdqa xmm3, xmm2
movdqa xmm4, xmm2
xor r11d, r11d
xor ebx, ebx
xor esi, esi
xor edi, edi
xor ebp, ebp
xor r12d, r12d
xor r13d, r13d
xor r14d, r14d
mov rax, rcx
mov qword [rsp + 0x100], r8
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 8], 0
mov qword [rsp + 0xf0], rax
nop word [rax + rax]
mov r15, qword [rsp + 0x100]
add rcx, 1
movdqa xmm0, xmmword [rdx]
xor r15, rcx
pxor xmm0, xmm4
mov rax, r15
sub r15, 1
not rax
and rax, r15
mov r15, qword [rsp + 8]
xor r15, qword [rdx + 0x30]
sar rax, 0x3f
and r15, rax
xor qword [rsp + 8], r15
mov r15, qword [rdx + 0x60]
movq xmm1, rax
punpcklqdq xmm1, xmm1
xor r15, r14
pand xmm0, xmm1
and r15, rax
pxor xmm4, xmm0
movdqa xmm0, xmmword [rdx + 0x10]
xor r14, r15
mov r15, qword [rdx + 0x38]
pxor xmm0, xmm3
xor r15, r13
pand xmm0, xmm1
and r15, rax
pxor xmm3, xmm0
movdqa xmm0, xmmword [rdx + 0x20]
xor r13, r15
mov r15, qword [rdx + 0x68]
pxor xmm0, xmm2
xor r15, r12
pand xmm0, xmm1
and r15, rax
pxor xmm2, xmm0
xor r12, r15
mov r15, qword [rdx + 0x40]
xor r15, rbp
and r15, rax
xor rbp, r15
mov r15, qword [rdx + 0x70]
xor r15, rdi
and r15, rax
xor rdi, r15
mov r15, qword [rdx + 0x48]
xor r15, rsi
and r15, rax
xor rsi, r15
mov r15, qword [rdx + 0x78]
xor r15, rbx
and r15, rax
xor rbx, r15
mov r15, qword [rdx + 0x50]
xor r15, r11
and r15, rax
xor r11, r15
mov r15, qword [rdx + 0x80]
add rdx, 0x90
xor r15, r10
and r15, rax
xor r10, r15
mov r15, qword [rdx - 0x38]
xor r15, r9
and r15, rax
xor r9, r15
mov r15, qword [rdx - 8]
xor r15, r8
and r15, rax
xor r8, r15
cmp rcx, 0x10
jne 0x140119760
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x40], rcx
movdqa xmm5, xmmword [rsp + 0x40]
mov qword [rsp + 0x58], rsi
movaps xmmword [rax + 0x20], xmm2
movdqa xmm2, xmmword [rsp + 0x50]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x98], r8
movaps xmmword [rax], xmm4
movdqa xmm4, xmmword [rsp + 0x70]
movaps xmmword [rax + 0x10], xmm3
movdqa xmm3, xmmword [rsp + 0x60]
movaps xmmword [rax + 0x30], xmm5
movdqa xmm5, xmmword [rsp + 0x80]
movaps xmmword [rax + 0x40], xmm2
movdqa xmm2, xmmword [rsp + 0x90]
movaps xmmword [rax + 0x50], xmm3
movaps xmmword [rax + 0x60], xmm4
movaps xmmword [rax + 0x70], xmm5
movaps xmmword [rax + 0x80], xmm2
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140119db0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, rcx
mov r10, rdx
test r8, r8
je 0x140119f58
lea rax, [r8 - 1]
cmp rax, 0xe
jbe 0x140119f5c
mov rcx, r8
xor eax, eax
pxor xmm1, xmm1
and rcx, 0xfffffffffffffff0
nop dword [rax + rax]
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm3, xmmword [r10 + rax]
add rax, 0x10
pxor xmm0, xmm3
por xmm1, xmm0
cmp rcx, rax
jne 0x140119de0
movdqa xmm0, xmm1
psrldq xmm0, 8
por xmm0, xmm1
movdqa xmm2, xmm0
psrldq xmm2, 4
por xmm0, xmm2
movdqa xmm2, xmm0
psrldq xmm2, 2
por xmm0, xmm2
movdqa xmm2, xmm0
psrldq xmm2, 1
por xmm0, xmm2
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm1, 8
por xmm1, xmm0
cmp r8, rcx
je 0x140119f4f
mov r11, r8
sub r11, rcx
lea rdx, [r11 - 1]
cmp rdx, 6
jbe 0x140119ec0
movq xmm0, qword [r9 + rcx]
movq xmm2, qword [r10 + rcx]
pxor xmm0, xmm2
por xmm0, xmm1
movq rdx, xmm0
mov rax, rdx
mov rbx, rdx
or al, dh
shr rbx, 0x10
or eax, ebx
mov rbx, rdx
shr rbx, 0x18
or eax, ebx
mov rbx, rdx
shr rbx, 0x20
or eax, ebx
mov rbx, rdx
shr rbx, 0x28
or eax, ebx
mov rbx, rdx
shr rdx, 0x38
shr rbx, 0x30
or eax, ebx
or eax, edx
mov rdx, r11
and rdx, 0xfffffffffffffff8
add rcx, rdx
and r11d, 7
je 0x140119f4f
movzx edx, byte [r9 + rcx]
xor dl, byte [r10 + rcx]
or eax, edx
lea rdx, [rcx + 1]
cmp rdx, r8
jae 0x140119f4f
movzx edx, byte [r10 + rcx + 1]
xor dl, byte [r9 + rcx + 1]
or eax, edx
lea rdx, [rcx + 2]
cmp rdx, r8
jae 0x140119f4f
movzx edx, byte [r9 + rcx + 2]
xor dl, byte [r10 + rcx + 2]
or eax, edx
lea rdx, [rcx + 3]
cmp rdx, r8
jae 0x140119f4f
movzx edx, byte [r9 + rcx + 3]
xor dl, byte [r10 + rcx + 3]
or eax, edx
lea rdx, [rcx + 4]
cmp rdx, r8
jae 0x140119f4f
movzx edx, byte [r9 + rcx + 4]
xor dl, byte [r10 + rcx + 4]
or eax, edx
lea rdx, [rcx + 5]
cmp rdx, r8
jae 0x140119f4f
movzx edx, byte [r9 + rcx + 5]
xor dl, byte [r10 + rcx + 5]
or eax, edx
lea rdx, [rcx + 6]
cmp rdx, r8
jae 0x140119f4f
movzx edx, byte [r9 + rcx + 6]
xor dl, byte [r10 + rcx + 6]
or eax, edx
movzx eax, al
pop rbx
ret
xor eax, eax
pop rbx
ret
pxor xmm1, xmm1
xor ecx, ecx
xor eax, eax
jmp 0x140119e4b

Function at 0x14011c340
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14011c380
lea r10, [rcx + rdx*8]
mov r8, 0xffffffffffffffff
mov rdx, qword [rcx]
mov r9, r8
add rcx, 8
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r8
and rax, r9
xor r8, rax
cmp r10, rcx
jne 0x14011c350
mov rax, r8
ret
mov r8, 0xffffffffffffffff
mov rax, r8
ret

Function at 0x14011c390
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
mov r11, rcx
mov rbx, rdx
test r8, r8
je 0x14011c3e0
xor ecx, ecx
mov r9, 0xffffffffffffffff
nop dword [rax]
mov rdx, qword [rbx + rcx*8]
xor rdx, qword [r11 + rcx*8]
mov r10, r9
add rcx, 1
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r9
and rax, r10
xor r9, rax
cmp r8, rcx
jne 0x14011c3a8
mov rax, r9
pop rbx
ret
mov r9, 0xffffffffffffffff
mov rax, r9
pop rbx
ret
Function at 0x14011c3f0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14011c450
xor rdx, qword [rcx]
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
cmp r8, 1
je 0x14011c460
lea r11, [rcx + r8*8]
lea r9, [rcx + 8]
mov r8, 0xffffffffffffffff
nop
mov rcx, qword [r9]
mov r10, r8
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, r8
and rdx, r10
xor r8, rdx
cmp r11, r9
jne 0x14011c420
and rax, r8
ret
lea rax, [rdx - 1]
not rdx
and rax, rdx
sar rax, 0x3f
ret
mov r8, 0xffffffffffffffff
jmp 0x14011c449

Function at 0x14011c4c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov r9, rdx
xor edx, edx
cmp rax, r9
sbb rdx, 0
mov r10, rdx
and r10d, 1
sub r10, 1
mov rax, r10
not r10
sar rax, 0x3f
cmp r8, 1
je 0x14011c52c
lea r9, [rcx + 8]
lea r11, [rcx + r8*8]
mov rax, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [r9]
mov r8, rax
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, rax
and rdx, r8
xor rax, rdx
cmp r11, r9
jne 0x14011c500
xor rax, r10
mov rdx, r10
and rax, rdx
xor rax, r10
ret
Function at 0x14011e7c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov r13, rcx
mov rbp, r8
test rbx, rbx
je 0x14011e910
cmp rbx, rdx
jne 0x14011e910
lea rdx, [rbx + rbx]
xor eax, eax
cmp rdx, r9
jne 0x14011e8fd
mov rax, qword [rsp + 0xa0]
mov r15, r8
xor r14d, r14d
xor esi, esi
mov r12, qword [rax]
nop word [rax + rax]
mov r8, qword [r15]
mov rcx, r15
mov rdx, rdi
mov r9, rbx
imul r8, r12
call fcn.14011e970
mov rcx, qword [r15 + rbx*8]
xor edx, edx
add rax, rsi
add rax, rcx
cmp rcx, rax
mov qword [r15 + rbx*8], rax
setne dl
or rdx, rsi
xor esi, esi
cmp rcx, rax
setae sil
add r14, 1
add r15, 8
and rsi, rdx
cmp r14, rbx
jb 0x14011e820
lea rcx, [rbp + rbx*8]
mov r8, qword [rdi]
mov rax, qword [rcx]
mov rdx, rax
sub rdx, r8
mov qword [r13], rdx
xor edx, edx
cmp rax, r8
sbb rdx, 0
and edx, 1
cmp rbx, 1
je 0x14011e8c2
mov eax, 1
nop dword [rax + rax]
mov r8, qword [rcx + rax*8]
xor r9d, r9d
sub r8, qword [rdi + rax*8]
sbb r9, 0
sub r8, rdx
sbb r9, 0
mov qword [r13 + rax*8], r8
add rax, 1
mov rdx, r9
and edx, 1
cmp rbx, rax
jne 0x14011e898
xor eax, eax
sub rsi, rdx
nop word [rax + rax]
mov r8, qword [r13 + rax*8]
mov rdx, qword [rcx + rax*8]
xor rdx, r8
and rdx, rsi
xor rdx, r8
mov qword [r13 + rax*8], rdx
mov qword [rcx + rax*8], 0
add rax, 1
cmp rax, rbx
jb 0x14011e8d0
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14011e8fd

Function at 0x14011e920
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 0x40
xor eax, eax
mov r8d, 1
movabs rbx, 0x8000000000000000
nop dword [rax]
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r9, r11
add rax, rdx
xor r9, r8
and r8, r11
shr r9, 1
add r8, r9
sub r10, 1
jne 0x14011e940
pop rbx
ret
Function at 0x1401288e0
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x140008740
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009180

Function at 0x140008e10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140008e37
and qword [r8], 0
call fcn.140008f4c
mov rbx, rax
test rax, rax
je 0x140008f30
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008f27
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140008f27
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008f27
mov rax, qword [0x140049860]
mov rbp, rdi
test rax, rax
je 0x140008e9f
inc dword [rax + 0x3c8]
mov rdx, qword [0x140049870]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140008f27
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140008efe
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140049860]
test rax, rax
je 0x140008eec
dec dword [rax + 0x3c8]
mov rdx, qword [0x140049870]
mov rcx, rdi
call qword [0x140048008]
jmp 0x140008f30
test r15d, r15d
jle 0x140008f11
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140008f22
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140008f32
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009180
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140049894], 0
lea rsi, [0x140049890]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x1400091e7
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x1400091b5
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1400091ad
not ebx
mov edx, ebx
test edi, edi
jle 0x140009209
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x1400091ef
jmp 0x140009243
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009243
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009228
cmp byte [r10], r9b
jne 0x140009228
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140009217
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000e474
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140049860]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000e4dd
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000e4e8
lea rdx, [0x14003d9a4]
mov rcx, rbx
mov rdi, rax
call fcn.140008f4c
mov rbx, rax
test rax, rax
je 0x14000e4dd
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret