joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075294
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.14003c930
sub rsp, rax
mov rax, qword [0x1400ad328]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140071598
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400752e3
mov rax, rbp
jmp 0x1400753eb
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 + 0xb11b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140074fc4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xb11b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400753e7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400753e7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140074fc4
test rax, rax
js 0x1400753e7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400753e7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400753d9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400753d9
cmp byte [rcx], 0xd
jne 0x1400753bf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400753ce
cmp byte [rcx + 1], 0xa
jne 0x1400753ce
inc rcx
jmp 0x1400753ce
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xadfa0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400753a1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400753eb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003c990
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140075c3c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140075c6c
xor eax, eax
jmp 0x140075d2f
mov rbp, rbx
cmp word [rax], si
je 0x140075c91
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140075c78
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140075c74
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14006c53c
movsxd r14, eax
test eax, eax
jne 0x140075ccf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140075c65
mov rcx, r14
call fcn.14006c44c
mov rdi, rax
test rax, rax
jne 0x140075ce8
xor ecx, ecx
call fcn.14006c410
jmp 0x140075cc4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14006c53c
test eax, eax
jne 0x140075d19
mov rcx, rdi
call fcn.14006c410
jmp 0x140075d23
xor ecx, ecx
call fcn.14006c410
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140075d4c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140075dd3
mov rsi, rbx
cmp word [rax], bp
je 0x140075d92
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140075d7c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140075d78
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006c44c
mov rdi, rax
test rax, rax
je 0x140075dc0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14004edb0
mov rbp, rdi
xor ecx, ecx
call fcn.14006c410
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007857c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140078592
mov al, 1
jmp 0x1400785f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400785a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400785f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14007668c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400785f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400785f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400785f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400785f2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140078f28
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400b11b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140078f7f
cmp word [rdx], r13w
jne 0x140078f7f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140078f84
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400790a9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400790ca
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140078fbd
mov rdx, r9
mov word [rbx], cx
jmp 0x140078fe4
cmp r9, r8
jae 0x140078ff4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140078f9e
jmp 0x1400790a9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007909e
cmp dword [rsp + 0x80], esi
je 0x14007909e
lea r8, [0x1400b11b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140079076
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140079046
mov word [rbx], r13w
jmp 0x1400790a6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140079053
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400790a6
cmp word [rsp + 0x70], r13w
jne 0x140079083
cmp rbx, r14
je 0x140079040
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140074f20
cmp word [rsp + 0x70], r13w
je 0x1400790a9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400b11b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400790a3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400790a9
Function at 0x14007e9b8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14004f7d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007ea42
cmp byte [rbp - 0x21], r15b
je 0x14007ea3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007ea78
call fcn.14006d058
test eax, eax
jne 0x14007ea64
cmp byte [rbp - 0x21], r15b
je 0x14007ea5c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007ea78
cmp byte [rbp - 0x21], r15b
je 0x14007ea75
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14004f874
test eax, eax
jne 0x14007eb18
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14004f7d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007eab7
cmp byte [rbp - 0x21], r15b
je 0x14007eaec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007eaec
call fcn.14006d058
test eax, eax
jne 0x14007ead8
cmp byte [rbp - 0x21], r15b
je 0x14007ead1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007eaec
cmp byte [rbp - 0x21], r15b
je 0x14007eae9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14004f874
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007eb18
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007eb1b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007eb29
mov rcx, rdi
call fcn.14006c410
cmp byte [rbp + 0x3f], r15b
je 0x14007eb38
mov rcx, qword [rbp + 0x27]
call fcn.14006c410
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14007eb80
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400ad328]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14007ebca
call fcn.140056684
mov dword [rax], 0xf
call fcn.140056664
mov dword [rax], 0xd
call fcn.1400572ec
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14003c990
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14007ebd5
lea eax, [rbx + 1]
jmp 0x14007ebb7
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14007ebb5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14007ebb7
Function at 0x1400804a0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140074f20
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140074f20
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400805f0
cmp rax, 0xffffffffffffffff
je 0x1400805f0
xor edi, edi
test rbp, rbp
jle 0x14008059b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14006e724
mov rbx, rax
test rax, rax
jne 0x140080528
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140080591
mov edx, 0x8000
mov ecx, r14d
call fcn.1400579f0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400776ec
cmp eax, 0xffffffff
je 0x140080571
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140080538
mov edx, r15d
mov ecx, r14d
call fcn.1400579f0
jmp 0x140080591
cmp byte [rsi + 0x38], dil
je 0x140080588
cmp dword [rsi + 0x34], 5
jne 0x140080588
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140080591
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14006c410
jmp 0x140080604
jns 0x140080604
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140074f20
cmp rax, 0xffffffffffffffff
jne 0x1400805bc
cmp byte [rsi + 0x30], dil
je 0x140080604
mov edi, dword [rsi + 0x2c]
jmp 0x140080604
mov ecx, r14d
call fcn.14007668c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140080604
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140080604
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400805fd
mov eax, dword [rsi + 0x2c]
jmp 0x140080602
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140074f20
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400548f0
Capabilities:
Encode data using xor

Disassembly:
movzx r10d, byte [rdx + r8]
test r10b, r10b
mov ebx, 0x110fc0
mov dl, 0x11
adc byte [rdi], cl
adc dword [rax + 0x20], eax
js 0x140054917
xchg ebp, eax
add byte [rax], al
add byte [rax], al
jb 0x140054870
invalid
push rsi
jns 0x1400548c7
sub byte [rax - 0x77], cl
adc dword [rbp - 0x7d], edx
cmp dword [rax], eax
mov ebx, 0x1c63e8
add byte [rsi + 0x4801c783], cl
cmp dword [rsi], edi
ja 0x14005494d

Function at 0x14007a950
Capabilities:
Encode data using xor

Disassembly:
mov r8b, 0x41
push rsi
push rsi
push rdi
push rbp
push rbx
jbe fcn.14007a8dd
in al, dx
invalid

Function at 0x140082790
Capabilities:
Encode data using xor

Disassembly:
pop rcx
push rdi
jl 0x1400827ea
push r13
push r12
push rsi
push rsp
push 0xffffffffec8348c7
sub byte [rbx], bl
mov ebp, eax
mov qword [r15], rbx
mov r15, qword [rcx]
mov rsi, qword [r15]
mov bl, 0x3c
add byte [rax], al
add byte [rax], al
mov ecx, 1
mov edx, 0xcf
mov r8, rdi
call 0x13fd62df3
mov r12, rax
test rsi, rsi
movabs eax, dword fs:[0x48f2093b090d8d48]
popfq
mov dword [rax + 0x71], esi
or dword [rax], eax
mov r8d, 0x48
call fcn.1400c9bdd
add byte [rcx - 0x76b3dbcc], cl
loope 0x140082837
invalid
and al, 0x4c
mov ecx, esp
test byte [rax + rdx], dil
test byte [rax + rdx], bh
mov qword [r8 + rbx*8 + 8], rcx
mov qword [rsi - 0xaf5e18], rbx
dec dword [rcx - 0x75]
sbb al, 0x83
in eax, dx
test al, 0xc0
sbb dword [rcx + 0x49], edi
mov ecx, dword [rbp + rax*2 + 8]
sal byte [rsi], cl
test ch, 4
invalid
jbe 0x140082850
movabs byte [0xf57c8b48086e8b], al
cmp rsi, qword [r13 - 0x7b]
jl 0x14008282e
add byte [rcx + 0x3b], cl
jne 0x1400827c3
ja 0x140082858
xor ebp, ebp
movabs eax, dword [0xdd1fa02e661d]
cmp al, 0
add byte [rsi - 0x70], ah
xor edi, edi
cmp qword [r13 - 0x3d], rsi
xor ch, al
mov rbp, qword [r13 + 8]
mov cl, 0x95
insb byte [rdi], dx
cmc

Function at 0x140083c50
Capabilities:
Create pipe

Disassembly:
adc eax, 0x94d2e
cmp eax, 0x4771b8
add al, ch
jg 0x140083c5a
add al, 0
call fcn.140007a30
int3
push rsi
push rdi
cmp byte [rax - 0x7f], cl
in al, dx
xor byte [rcx], al
add byte [rax], al
psubq mm6, qword [rsp + 0x1f0]
jp 0x140083bed
xlatb
add rsi, rcx
mov rax, rbx
loope 0x140083cc0
or al, byte [rax]
xor rsp, rbp
mov qword [rsp + 0x118], rax
invalid
rol cl, 1
add byte [rax], al
add byte [r8], r8b
add byte [rax - 0x39], cl
test byte [rax + rbx*8], ah
add byte [rax], al
add byte es:[rax + rax + 0x2484074c], bl
leave
add cl, ch
add byte [rax + rax - 0x72b80000], ah
mov word [rdx], ss
add byte [rcx], al
add byte [rax], al
lea rsi, [rsp - 8]
add byte [rax], al
add ch, cl
hlt
test byte [rcx], al
fadd dword [rax]
add byte [rax - 0x73], cl
in eax, dx
and al, 8
add dword [rax], eax
add byte [rax + 0x70], cl
xchg esp, eax
and al, 0x10
add dword [rax], eax
mov byte [rsp + 0xd0], r8b
xor r9d, r9d
call qword [0x140115958]
ror byte [rdi], 0x84
mov es, word [rcx]
add byte [rax], al
jns 0x140083c7d
mov word [rax + rsi*8], fs
add byte [rax], al
add byte [rax - 0x73], cl
xchg esp, eax
and al, 0xe8
add byte [rax], al
sar esi, cl
Function at 0x1400891b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
pop r13
push rsi
push rdi
push rbp
movabs byte [0x4800000088ec81be], al
mov ecx, esp
jne 0x140089230
mov rbp, rcx
mov rax, qword [0x140129050]
loopne 0x14008921e
mov dword [rdx + rdi*4 + 0x1027], eax
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400891eb
call 0x13f30da80
mov rcx, qword [rsp - 0x6f]
cld
sbb edi, dword [rdx - 5]
stosb byte [rdi], al
mov qword [rbp + 8], rax
out dx, al
test al, 0x31
shr al, cl
sub al, 0xba
push 0xffffffffc0856bff
je 0x140089229
fld qword [rcx]
add byte [rax], al
add byte [rsi - 0x70], ah
add byte [rax], 0
add byte [rax], al
add byte [rax - 0x75], cl
adc byte [r9 - 0x45f0170e], r9b
xor edi, edi
add esi, 1
xor sil, cl
mov edx, 0xc683ff33
add dword [rax + 0x32], ecx
int1
jne 0x140089210
push rbx
lea ecx, [rbp + riz*4 + 0x78]
mov ecx, dword cs:[rsp + 0x68]
and al, 0x68
movabs al, byte [0xe8c03145e27300b1]
mov al, 0x7e
sti
invalid

Function at 0x1400940a0
Capabilities:
Execute syscall

Disassembly:
push rsi
push rbx
xor ecx, dword [r9 + 0x1000]
mov r10d, ecx
shr r10d, 0x18
mov eax, ecx
shr eax, 0x10
psadbw mm0, mm0
in al, dx
mov eax, dword [rcx + rax*4 + 0x400]
add eax, dword [r9 + r10*4]
sysenter
rol byte [rcx + 0x33], cl
test byte [rcx - 0x1afff800], dh
movzx esi, cl
add ecx, dword [r8]
add dword [rax], 0x3100000c
rol byte [rcx + 0x33], 1
add dword [rax + rdx], 0xc6890000
shr esi, 0x18
in al, dx
ret 0xeac1

Function at 0x1400a6490
Capabilities:
Encode data using xor

Disassembly:
sub r11d, 0x41554156
push rsp
push rsi
push rdi
scasb al, byte [rdi]
push rbx
sub rsp, 0x88
mov cl, 0x89
int 0x48
mov eax, dword [0x140129050]
xor rax, rsp
lodsd eax, dword [rsi]
mov dword [rsp - 0xffff74], eax
mov rax, qword [rdx + 8]
mov rcx, qword [rdx + 0x10]
mov qword [rdx + rcx*2 + 0x50], rax
mov qword [rsp + 0x60], rcx
push rbp
mov dword [rsp + 0x58], 0xfb0000
mov dword [rsp + 0x68], 0xb52700
lea rdx, [rsp + 0x50]
shr dh, 1
push rsp
and al, 0xa3
jle 0x1400a649b
stosb byte [rdi], al
and al, 0x40
mov qword [rsp + 0x48], r9
or dword [rdi], 1

Function at 0x14000b310
Capabilities:
Encode data using xor

Disassembly:
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
xor ecx, dword [rsi + 0x10]
xor ecx, dword [rsp + 0x38]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r9 + rdx*4 + 0x2cfb0]
add rsi, 0x14
cmp rbp, 8
jb 0x14000b45e
mov r8, rbp
shr r8, 3
imul rax, r8, 0xfffffffffffffff8
add rbp, rax
nop dword [rax]
Function at 0x140002ce0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140298684], 0
lea rdi, [0x140298680]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002db8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002d10
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x140002dee
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002dd0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x140002e2f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002e13
cmp byte [r8], r9b
jne 0x140002e13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002e00
not eax
pop rdi
ret
Function at 0x14001bd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001bfa2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x140125540]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001be0a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001be29
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001bf40
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001be70
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001be73
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140016ee0
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140019980
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001be60
jmp 0x14001bf47
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x14001bdc0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret