joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [rcx + 0x3b], 0
lea rbx, [rcx + 0x3b]
mov rax, rcx
je 0x1400754c9
mov r11, rcx
neg r11
nop dword [rax + rax]
lea r10, [r11 + rax]
mov ecx, 8
lea r8d, [r10 + 0x10]
mov r9d, r10d
xor r8b, byte [rax]
lea rax, [rax + 2]
movzx edx, r8b
and r9d, 7
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [r10 + 1]
mov byte [rax - 2], dl
add r10b, 0x11
xor r10b, byte [rax - 1]
and r8d, 7
sub ecx, r8d
movzx edx, r10b
shl dl, cl
movzx ecx, r8b
shr r10b, cl
lea rcx, [r11 + rax]
or dl, r10b
mov byte [rax - 1], dl
cmp rcx, 0x3a
jb 0x140075460
mov byte [rbx], 0
mov rbx, qword [rsp + 8]
ret

Function at 0x1400754d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3c], 0
mov r10, rcx
je 0x140075519
xor eax, eax
nop dword [rax + rax]
mov r9d, eax
lea r8d, [rax + 0x10]
xor r8b, byte [r10 + rax]
and r9d, 7
movzx edx, r8b
mov ecx, 8
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
or dl, r8b
mov byte [r10 + rax], dl
inc rax
cmp rax, 0x3b
jb 0x1400754e0
mov byte [r10 + 0x3c], 0
ret
Function at 0x140075520
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x1f], 0
mov rax, rcx
je 0x140075715
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rsi, rcx
lea rdi, [rcx + 2]
nop dword [rax]
lea rbx, [rsi + rdi]
mov r10d, 8
lea r8d, [rbx + 0x10]
mov r11d, ebx
xor r8b, byte [rdi - 2]
lea r9d, [rbx + 1]
movzx edx, r8b
and r9d, 7
and r11d, 7
sub r10d, r11d
mov ecx, r10d
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
sub ecx, r9d
mov byte [rdi - 2], dl
lea r8d, [rbx + 0x11]
xor r8b, byte [rdi - 1]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 1], dl
lea r8d, [rbx + 0x12]
xor r8b, byte [rdi]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 3]
or dl, r8b
and r9d, 7
mov byte [rdi], dl
lea r8d, [rbx + 0x13]
xor r8b, byte [rdi + 1]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 4]
or dl, r8b
and r9d, 7
mov byte [rdi + 1], dl
lea r8d, [rbx + 0x14]
xor r8b, byte [rdi + 2]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 3]
or dl, r8b
and r9d, 7
mov byte [rdi + 2], dl
lea r8d, [rbx + 0x15]
xor r8b, byte [rdi + 3]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 2]
or dl, r8b
and r9d, 7
lea r8d, [rbx + 0x16]
mov byte [rdi + 3], dl
xor r8b, byte [rdi + 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
lea rdi, [rdi + 0xa]
movzx ecx, r9b
lea r9d, [rbx - 1]
shr r8b, cl
and r9d, 7
or dl, r8b
mov ecx, 8
mov byte [rdi - 6], dl
lea r8d, [rbx + 0x17]
xor r8b, byte [rdi - 5]
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, r10d
or dl, r8b
lea r8d, [rbx + 0x18]
xor r8b, byte [rdi - 4]
mov byte [rdi - 5], dl
movzx edx, r8b
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [rbx + 1]
mov byte [rdi - 4], dl
add bl, 0x19
xor bl, byte [rdi - 3]
and r8d, 7
sub ecx, r8d
movzx edx, bl
shl dl, cl
movzx ecx, r8b
shr bl, cl
lea rcx, [rsi + rdi]
or dl, bl
mov byte [rdi - 3], dl
cmp rcx, 0x1e
jb 0x140075550
mov rdi, qword [rsp]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov byte [rax + 0x1f], 0
add rsp, 8
ret
Function at 0x140075720
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x4d], 0
mov rax, rcx
je 0x14007581d
mov qword [rsp], rbx
lea r11, [rcx + 2]
mov rbx, 0xfffffffffffffffe
sub rbx, rcx
nop dword [rax]
nop word [rax + rax]
lea r10, [rbx + r11]
mov ecx, 8
lea r8d, [r10 + 0x10]
mov r9d, r10d
xor r8b, byte [r11 - 2]
lea r11, [r11 + 4]
movzx edx, r8b
and r9d, 7
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [r10 + 1]
or dl, r8b
and r9d, 7
mov byte [r11 - 6], dl
lea r8d, [r10 + 0x11]
xor r8b, byte [r11 - 5]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [r10 + 2]
or dl, r8b
and r9d, 7
mov byte [r11 - 5], dl
lea r8d, [r10 + 0x12]
xor r8b, byte [r11 - 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [r10 + 3]
mov byte [r11 - 4], dl
add r10b, 0x13
xor r10b, byte [r11 - 3]
and r8d, 7
sub ecx, r8d
movzx edx, r10b
shl dl, cl
movzx ecx, r8b
shr r10b, cl
lea rcx, [rbx + r11]
or dl, r10b
mov byte [r11 - 3], dl
cmp rcx, 0x4c
jb 0x140075750
mov rbx, qword [rsp]
mov byte [rax + 0x4d], 0
add rsp, 8
ret
Function at 0x140075830
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x1c], 0
mov rax, rcx
je 0x1400759fa
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rsi, rcx
lea rdi, [rcx + 2]
nop dword [rax]
lea rbx, [rsi + rdi]
mov r10d, 8
lea r8d, [rbx + 0x10]
mov r11d, ebx
xor r8b, byte [rdi - 2]
lea r9d, [rbx + 1]
movzx edx, r8b
and r9d, 7
and r11d, 7
movzx ecx, r11b
sub r10d, r11d
shr dl, cl
mov ecx, r10d
shl r8b, cl
mov ecx, 8
or dl, r8b
sub ecx, r9d
mov byte [rdi - 2], dl
lea r8d, [rbx + 0x11]
xor r8b, byte [rdi - 1]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 1], dl
lea r8d, [rbx + 0x12]
xor r8b, byte [rdi]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 3]
or dl, r8b
and r9d, 7
mov byte [rdi], dl
lea r8d, [rbx + 0x13]
xor r8b, byte [rdi + 1]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 4]
or dl, r8b
and r9d, 7
mov byte [rdi + 1], dl
lea r8d, [rbx + 0x14]
xor r8b, byte [rdi + 2]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 3]
or dl, r8b
and r9d, 7
mov byte [rdi + 2], dl
lea r8d, [rbx + 0x15]
xor r8b, byte [rdi + 3]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 2]
or dl, r8b
and r9d, 7
lea r8d, [rbx + 0x16]
mov byte [rdi + 3], dl
xor r8b, byte [rdi + 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
lea rdi, [rdi + 9]
movzx ecx, r9b
lea r9d, [rbx - 1]
shr r8b, cl
and r9d, 7
or dl, r8b
mov ecx, 8
mov byte [rdi - 5], dl
lea r8d, [rbx + 0x17]
xor r8b, byte [rdi - 4]
sub ecx, r9d
add bl, 0x18
movzx edx, r8b
xor bl, byte [rdi - 3]
shl dl, cl
movzx ecx, r9b
shr r8b, cl
movzx ecx, r11b
or dl, r8b
mov byte [rdi - 4], dl
movzx edx, bl
shr dl, cl
mov ecx, r10d
shl bl, cl
lea rcx, [rsi + rdi]
or dl, bl
mov byte [rdi - 3], dl
cmp rcx, 0x1b
jb 0x140075860
mov rdi, qword [rsp]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov byte [rax + 0x1c], 0
add rsp, 8
ret

Function at 0x140075a00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
mov r10, rcx
je 0x140075a49
xor eax, eax
nop dword [rax + rax]
mov r9d, eax
lea r8d, [rax + 0x10]
xor r8b, byte [r10 + rax]
and r9d, 7
movzx edx, r8b
mov ecx, 8
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
or dl, r8b
mov byte [r10 + rax], dl
inc rax
cmp rax, 0x49
jb 0x140075a10
mov byte [r10 + 0x4a], 0
ret
Function at 0x140075a50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x33], 0
mov rax, rcx
je 0x140075c45
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rsi, rcx
lea rdi, [rcx + 2]
nop dword [rax]
lea rbx, [rsi + rdi]
mov r10d, 8
lea r8d, [rbx + 0x10]
mov r11d, ebx
xor r8b, byte [rdi - 2]
lea r9d, [rbx + 1]
movzx edx, r8b
and r9d, 7
and r11d, 7
sub r10d, r11d
mov ecx, r10d
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
sub ecx, r9d
mov byte [rdi - 2], dl
lea r8d, [rbx + 0x11]
xor r8b, byte [rdi - 1]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 1], dl
lea r8d, [rbx + 0x12]
xor r8b, byte [rdi]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 3]
or dl, r8b
and r9d, 7
mov byte [rdi], dl
lea r8d, [rbx + 0x13]
xor r8b, byte [rdi + 1]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 4]
or dl, r8b
and r9d, 7
mov byte [rdi + 1], dl
lea r8d, [rbx + 0x14]
xor r8b, byte [rdi + 2]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 3]
or dl, r8b
and r9d, 7
mov byte [rdi + 2], dl
lea r8d, [rbx + 0x15]
xor r8b, byte [rdi + 3]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 2]
or dl, r8b
and r9d, 7
lea r8d, [rbx + 0x16]
mov byte [rdi + 3], dl
xor r8b, byte [rdi + 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
lea rdi, [rdi + 0xa]
movzx ecx, r9b
lea r9d, [rbx - 1]
shr r8b, cl
and r9d, 7
or dl, r8b
mov ecx, 8
mov byte [rdi - 6], dl
lea r8d, [rbx + 0x17]
xor r8b, byte [rdi - 5]
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, r10d
or dl, r8b
lea r8d, [rbx + 0x18]
xor r8b, byte [rdi - 4]
mov byte [rdi - 5], dl
movzx edx, r8b
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [rbx + 1]
mov byte [rdi - 4], dl
add bl, 0x19
xor bl, byte [rdi - 3]
and r8d, 7
sub ecx, r8d
movzx edx, bl
shl dl, cl
movzx ecx, r8b
shr bl, cl
lea rcx, [rsi + rdi]
or dl, bl
mov byte [rdi - 3], dl
cmp rcx, 0x32
jb 0x140075a80
mov rdi, qword [rsp]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov byte [rax + 0x33], 0
add rsp, 8
ret
Function at 0x140075c50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x42], 0
mov rax, rcx
je 0x140075d79
mov qword [rsp], rbx
lea r11, [rcx + 2]
mov rbx, 0xfffffffffffffffe
sub rbx, rcx
nop dword [rax]
nop word [rax + rax]
lea r10, [rbx + r11]
mov ecx, 8
lea r8d, [r10 + 0x10]
mov r9d, r10d
xor r8b, byte [r11 - 2]
lea r11, [r11 + 5]
movzx edx, r8b
and r9d, 7
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [r10 + 1]
or dl, r8b
and r9d, 7
mov byte [r11 - 7], dl
lea r8d, [r10 + 0x11]
xor r8b, byte [r11 - 6]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [r10 + 2]
or dl, r8b
and r9d, 7
mov byte [r11 - 6], dl
lea r8d, [r10 + 0x12]
xor r8b, byte [r11 - 5]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [r10 + 3]
or dl, r8b
and r9d, 7
mov byte [r11 - 5], dl
lea r8d, [r10 + 0x13]
xor r8b, byte [r11 - 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [r10 - 4]
mov byte [r11 - 4], dl
add r10b, 0x14
xor r10b, byte [r11 - 3]
and r8d, 7
sub ecx, r8d
movzx edx, r10b
shl dl, cl
movzx ecx, r8b
shr r10b, cl
lea rcx, [rbx + r11]
or dl, r10b
mov byte [r11 - 3], dl
cmp rcx, 0x41
jb 0x140075c80
mov rbx, qword [rsp]
mov byte [rax + 0x42], 0
add rsp, 8
ret

Function at 0x140075d80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [rcx + 0x1b], 0
lea rbx, [rcx + 0x1b]
mov rax, rcx
je 0x140075e09
mov r11, rcx
neg r11
nop dword [rax + rax]
lea r10, [r11 + rax]
mov ecx, 8
lea r8d, [r10 + 0x10]
mov r9d, r10d
xor r8b, byte [rax]
lea rax, [rax + 2]
movzx edx, r8b
and r9d, 7
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [r10 + 1]
mov byte [rax - 2], dl
add r10b, 0x11
xor r10b, byte [rax - 1]
and r8d, 7
sub ecx, r8d
movzx edx, r10b
shl dl, cl
movzx ecx, r8b
shr r10b, cl
lea rcx, [r11 + rax]
or dl, r10b
mov byte [rax - 1], dl
cmp rcx, 0x1a
jb 0x140075da0
mov byte [rbx], 0
mov rbx, qword [rsp + 8]
ret

Function at 0x140075e10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [rcx + 0x3f], 0
lea rbx, [rcx + 0x3f]
mov rax, rcx
je 0x140075e99
mov r11, rcx
neg r11
nop dword [rax + rax]
lea r10, [r11 + rax]
mov ecx, 8
lea r8d, [r10 + 0x10]
mov r9d, r10d
xor r8b, byte [rax]
lea rax, [rax + 2]
movzx edx, r8b
and r9d, 7
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [r10 + 1]
mov byte [rax - 2], dl
add r10b, 0x11
xor r10b, byte [rax - 1]
and r8d, 7
sub ecx, r8d
movzx edx, r10b
shl dl, cl
movzx ecx, r8b
shr r10b, cl
lea rcx, [r11 + rax]
or dl, r10b
mov byte [rax - 1], dl
cmp rcx, 0x3e
jb 0x140075e30
mov byte [rbx], 0
mov rbx, qword [rsp + 8]
ret
Function at 0x140075ea0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x5b], 0
mov rax, rcx
je 0x140076095
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rsi, rcx
lea rdi, [rcx + 2]
nop dword [rax]
lea rbx, [rsi + rdi]
mov r10d, 8
lea r8d, [rbx + 0x10]
mov r11d, ebx
xor r8b, byte [rdi - 2]
lea r9d, [rbx + 1]
movzx edx, r8b
and r9d, 7
and r11d, 7
sub r10d, r11d
mov ecx, r10d
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
sub ecx, r9d
mov byte [rdi - 2], dl
lea r8d, [rbx + 0x11]
xor r8b, byte [rdi - 1]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 1], dl
lea r8d, [rbx + 0x12]
xor r8b, byte [rdi]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 3]
or dl, r8b
and r9d, 7
mov byte [rdi], dl
lea r8d, [rbx + 0x13]
xor r8b, byte [rdi + 1]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 4]
or dl, r8b
and r9d, 7
mov byte [rdi + 1], dl
lea r8d, [rbx + 0x14]
xor r8b, byte [rdi + 2]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 3]
or dl, r8b
and r9d, 7
mov byte [rdi + 2], dl
lea r8d, [rbx + 0x15]
xor r8b, byte [rdi + 3]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 2]
or dl, r8b
and r9d, 7
lea r8d, [rbx + 0x16]
mov byte [rdi + 3], dl
xor r8b, byte [rdi + 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
lea rdi, [rdi + 0xa]
movzx ecx, r9b
lea r9d, [rbx - 1]
shr r8b, cl
and r9d, 7
or dl, r8b
mov ecx, 8
mov byte [rdi - 6], dl
lea r8d, [rbx + 0x17]
xor r8b, byte [rdi - 5]
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, r10d
or dl, r8b
lea r8d, [rbx + 0x18]
xor r8b, byte [rdi - 4]
mov byte [rdi - 5], dl
movzx edx, r8b
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [rbx + 1]
mov byte [rdi - 4], dl
add bl, 0x19
xor bl, byte [rdi - 3]
and r8d, 7
sub ecx, r8d
movzx edx, bl
shl dl, cl
movzx ecx, r8b
shr bl, cl
lea rcx, [rsi + rdi]
or dl, bl
mov byte [rdi - 3], dl
cmp rcx, 0x5a
jb 0x140075ed0
mov rdi, qword [rsp]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov byte [rax + 0x5b], 0
add rsp, 8
ret
Function at 0x1400760c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x3a], 0
mov rax, rcx
je 0x140076191
mov qword [rsp], rbx
lea r11, [rcx + 2]
mov rbx, 0xfffffffffffffffe
sub rbx, rcx
nop dword [rax]
nop word [rax + rax]
lea r10, [rbx + r11]
mov ecx, 8
lea r8d, [r10 + 0x10]
mov r9d, r10d
xor r8b, byte [r11 - 2]
lea r11, [r11 + 3]
movzx edx, r8b
and r9d, 7
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [r10 + 1]
or dl, r8b
and r9d, 7
mov byte [r11 - 5], dl
lea r8d, [r10 + 0x11]
xor r8b, byte [r11 - 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [r10 + 2]
mov byte [r11 - 4], dl
add r10b, 0x12
xor r10b, byte [r11 - 3]
and r8d, 7
sub ecx, r8d
movzx edx, r10b
shl dl, cl
movzx ecx, r8b
shr r10b, cl
lea rcx, [rbx + r11]
or dl, r10b
mov byte [r11 - 3], dl
cmp rcx, 0x39
jb 0x1400760f0
mov rbx, qword [rsp]
mov byte [rax + 0x3a], 0
add rsp, 8
ret

Function at 0x1400761a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5a], 0
mov r10, rcx
je 0x1400761e9
xor eax, eax
nop dword [rax + rax]
mov r9d, eax
lea r8d, [rax + 0x10]
xor r8b, byte [r10 + rax]
and r9d, 7
movzx edx, r8b
mov ecx, 8
sub ecx, r9d
shl dl, cl
movzx ecx, r9b
shr r8b, cl
or dl, r8b
mov byte [r10 + rax], dl
inc rax
cmp rax, 0x59
jb 0x1400761b0
mov byte [r10 + 0x5a], 0
ret
Function at 0x1400761f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
cmp byte [rcx + 0x19], 0
mov rax, rcx
je 0x14007643b
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rsi, rcx
lea rdi, [rcx + 2]
nop dword [rax]
lea rbx, [rsi + rdi]
mov r10d, 8
lea r8d, [rbx + 0x10]
mov r11d, ebx
xor r8b, byte [rdi - 2]
lea r9d, [rbx + 1]
movzx edx, r8b
and r9d, 7
and r11d, 7
sub r10d, r11d
mov ecx, r10d
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
sub ecx, r9d
mov byte [rdi - 2], dl
lea r8d, [rbx + 0x11]
xor r8b, byte [rdi - 1]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 1], dl
lea r8d, [rbx + 0x12]
xor r8b, byte [rdi]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 3]
or dl, r8b
and r9d, 7
mov byte [rdi], dl
lea r8d, [rbx + 0x13]
xor r8b, byte [rdi + 1]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 4]
or dl, r8b
and r9d, 7
mov byte [rdi + 1], dl
lea r8d, [rbx + 0x14]
xor r8b, byte [rdi + 2]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 3]
or dl, r8b
and r9d, 7
mov byte [rdi + 2], dl
lea r8d, [rbx + 0x15]
xor r8b, byte [rdi + 3]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx - 2]
or dl, r8b
and r9d, 7
lea r8d, [rbx + 0x16]
mov byte [rdi + 3], dl
xor r8b, byte [rdi + 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
lea rdi, [rdi + 0xc]
movzx ecx, r9b
lea r9d, [rbx - 1]
shr r8b, cl
and r9d, 7
or dl, r8b
mov ecx, 8
sub ecx, r9d
mov byte [rdi - 8], dl
lea r8d, [rbx + 0x17]
xor r8b, byte [rdi - 7]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 1]
or dl, r8b
and r9d, 7
mov byte [rdi - 7], dl
lea r8d, [rbx + 0x18]
xor r8b, byte [rdi - 6]
mov ecx, r10d
movzx edx, r8b
shl dl, cl
movzx ecx, r11b
shr r8b, cl
mov ecx, 8
or dl, r8b
sub ecx, r9d
mov byte [rdi - 6], dl
lea r8d, [rbx + 0x19]
xor r8b, byte [rdi - 5]
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
lea r9d, [rbx + 2]
or dl, r8b
and r9d, 7
mov byte [rdi - 5], dl
lea r8d, [rbx + 0x1a]
xor r8b, byte [rdi - 4]
mov ecx, 8
sub ecx, r9d
movzx edx, r8b
shl dl, cl
movzx ecx, r9b
shr r8b, cl
mov ecx, 8
or dl, r8b
lea r8d, [rbx + 3]
mov byte [rdi - 4], dl
add bl, 0x1b
xor bl, byte [rdi - 3]
and r8d, 7
sub ecx, r8d
movzx edx, bl
shl dl, cl
movzx ecx, r8b
shr bl, cl
lea rcx, [rsi + rdi]
or dl, bl
mov byte [rdi - 3], dl
cmp rcx, 0x18
jb 0x140076220
mov rdi, qword [rsp]
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov byte [rax + 0x19], 0
add rsp, 8
ret

Function at 0x140077c98
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140077ce2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140077ce2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140077ce2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140077ce2
cmp dword [rcx + 0x84], 0xe
jbe 0x140077ce2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140077ce4
xor al, al
add rsp, 0x28
ret
Function at 0x14007cd10
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14007cd7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007cd7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007cd7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007cd7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007cd7f
cmp dword [rcx + 0x84], 0xe
jbe 0x14007cd7f
cmp dword [rcx + 0xf8], 0
je 0x14007cd7f
mov ecx, ebx
call fcn.14007ce24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14007cc18
nop
cmp dword [rbp + 0x20], 0
jne 0x14007cde0
call fcn.14008c2f4
cmp eax, 1
jne 0x14007cdd0
xor dl, dl
jmp 0x14007cdda
call fcn.14008c27c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14007cdeb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14007cdf4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14007cd10

Function at 0x14007cef8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14007cd7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007cd7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007cd7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007cd7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007cd7f
cmp dword [rcx + 0x84], 0xe
jbe 0x14007cd7f
cmp dword [rcx + 0xf8], 0
je 0x14007cd7f
mov ecx, ebx
call fcn.14007ce24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14007cc18
nop
cmp dword [rbp + 0x20], 0
jne 0x14007cde0
call fcn.14008c2f4
cmp eax, 1
jne 0x14007cdd0
xor dl, dl
jmp 0x14007cdda
call fcn.14008c27c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14007cdeb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14007cdf4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14007cd10
Function at 0x14007d77c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400777b0
sub rsp, rax
mov rax, qword [0x1400c0040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14008c974
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14007d7cb
mov rax, rbp
jmp 0x14007d8d7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1058c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14008cc08
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1058c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14007d8d3
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007d8d3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14008cc08
test rax, rax
js 0x14007d8d3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14007d8d3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14007d8c5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14007d8c5
cmp byte [rcx], 0xd
jne 0x14007d8ab
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14007d8ba
cmp byte [rcx + 1], 0xa
jne 0x14007d8ba
inc rcx
jmp 0x14007d8ba
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xc0420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14007d88d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14007d8d7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140077780
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret