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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x30
call fcn.140189b30
sub rsp, rax
mov r10, r9
mov rbx, r8
mov r9, qword [rsp + 0xa0]
mov r14, rdx
mov rbp, rcx
mov edi, dword [r9]
mov dword [rsp + 0x80], edi
test edi, edi
je 0x1400fa678
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rbx, rbx
je 0x1400fa671
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x1400fa650
mov dword [rsp + 0x80], edi
mov r8, qword [rsp + 0x90]
mov esi, 1
movzx r12d, byte [r8 + 0xc]
lea r15, [r8 + 0xc]
mov r11, qword [rsp + 0xa8]
shl r12d, 8
movzx eax, byte [r8 + 0xd]
lea r13d, [rsi + 0xb]
or r12d, eax
movzx eax, byte [r8 + 0xe]
shl r12d, 8
or r12d, eax
movzx eax, byte [r8 + 0xf]
shl r12d, 8
or r12d, eax
cmp rbx, 0x10
jb 0x1400fa7ae
mov eax, 0x10000000
mov edi, r13d
mov qword [rsp + 0x20], r8
mov rdx, rbx
shr rdx, 4
mov r9, r10
cmp rdx, rax
cmova rdx, rax
add r12d, edx
mov r13, rdx
mov eax, r12d
mov ecx, r12d
sub r13, rax
cmp rax, rdx
cmovae r13, rdx
xor r12d, r12d
cmp rax, rdx
mov r8, r13
mov rdx, r14
cmovae r12d, ecx
mov rcx, rbp
call r11
mov r8, qword [rsp + 0x90]
mov eax, r12d
shr eax, 0x18
mov byte [r15], al
mov eax, r12d
shr eax, 0x10
mov byte [r8 + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [r8 + 0xe], al
mov byte [r8 + 0xf], r12b
test r12d, r12d
jne 0x1400fa76d
mov r8d, edi
mov eax, esi
mov rdx, r15
nop dword [rax + rax]
movzx ecx, byte [rdx - 1]
lea rdx, [rdx - 1]
add eax, ecx
mov byte [rdx], al
shr eax, 8
add r8d, 0xffffffff
jne 0x1400fa750
mov r8, qword [rsp + 0x90]
mov r10, qword [rsp + 0x88]
mov eax, 0x10000000
mov r11, qword [rsp + 0xa8]
shl r13, 4
sub rbx, r13
add r14, r13
add rbp, r13
cmp rbx, 0x10
jae 0x1400fa6d0
mov edi, dword [rsp + 0x80]
mov r13d, recv
mov r9, qword [rsp + 0xa0]
test rbx, rbx
je 0x1400fa851
mov rax, qword [rsp + 0x98]
xor ecx, ecx
mov qword [rsp + 0x20], r8
mov r9, r10
mov r8, rsi
mov rdx, rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call r11
mov rcx, qword [rsp + 0x90]
inc r12d
mov eax, r12d
shr eax, 0x18
mov byte [r15], al
mov eax, r12d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r12b
test r12d, r12d
jne 0x1400fa827
nop dword [rax + rax]
movzx eax, byte [r15 - 1]
lea r15, [r15 - 1]
add esi, eax
mov byte [r15], sil
shr esi, 8
add r13d, 0xffffffff
jne 0x1400fa810
mov rdx, qword [rsp + 0x98]
nop
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + rdx]
mov byte [rcx + r14], al
sub rbx, 1
jne 0x1400fa830
mov rax, qword [rsp + 0xa0]
mov dword [rax], edi
jmp 0x1400fa854
mov dword [r9], edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fb2e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
mov eax, DecryptFileW
call fcn.140189b30
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rdi, r8
mov r14, rdx
mov rbp, rcx
je 0x1400fb310
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, r8
cmp rcx, rax
ja 0x1400fb412
cmp rcx, r8
jb 0x1400fb412
mov qword [rsp + 0x40], rbx
lea rbx, [rbp + 0x40]
mov qword [rsp + 0x48], rsi
mov esi, dword [rbp + 0x174]
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x1400fb399
test rdi, rdi
je 0x1400fb384
movzx eax, byte [r14]
lea rbx, [rbp + 0x40]
mov ecx, esi
inc r14
dec rdi
xor byte [rcx + rbx], al
inc esi
and esi, 0xf
jne 0x1400fb354
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.1400fca60
jmp 0x1400fb39d
test esi, esi
jne 0x1400fb3f2
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.1400fca60
jmp 0x1400fb39d
lea r12, [rbp + 0x60]
mov qword [rsp + 0x58], r15
mov r15, rdi
and r15, 0xfffffffffffffff0
je 0x1400fb3c2
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.1400fc880
add r14, r15
sub rdi, r15
mov r15, qword [rsp + 0x58]
test rdi, rdi
je 0x1400fb3f2
mov esi, edi
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rbx - 0x40]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x1400fb3e0
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x174], esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov eax, 0xffffffff
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400fc880
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
movzx eax, byte [rcx + 0xf]
lea r14, [r8 + 0xe]
mov rsi, rcx
lea r13, [0x14021c370]
sub rsi, r8
mov r12, r9
mov rbp, rdx
mov rbx, rcx
nop word [rax + rax]
movzx edx, byte [r14 + 1]
mov rdi, r14
movzx ecx, al
mov r15d, reloc.WS2_32.dll_ntohs
xor rdx, rcx
mov r8, rdx
and edx, 0xf
add rdx, rdx
and r8, 0xfffffffffffffff0
mov r9, qword [rbp + rdx*8]
mov rax, qword [rbp + rdx*8 + 8]
mov rcx, r9
mov rdx, rax
shr rcx, 4
and edx, 0xf
shr rax, 4
shl r9, 0x3c
or rax, r9
mov r11, qword [r13 + rdx*8]
xor r11, rcx
xor r11, qword [r8 + rbp]
xor rax, qword [r8 + rbp + 8]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rsi + rdi]
lea rdi, [rdi - 1]
xor rdx, rcx
mov rcx, r11
mov r9, rdx
shl r11, 0x3c
and edx, 0xf
shr rcx, 4
add rdx, rdx
and r9, 0xfffffffffffffff0
lea r8, [rdx*8]
mov rdx, rax
shr rax, 4
and edx, 0xf
or r11, rax
xor r11, qword [r8 + rbp + 8]
mov r10, qword [r13 + rdx*8]
mov rdx, r11
xor r10, rcx
shr rdx, 4
xor r10, qword [r8 + rbp]
mov rcx, r11
and ecx, 0xf
mov rax, r10
shr rax, 4
mov r11, qword [r13 + rcx*8]
xor r11, rax
mov rax, r10
xor r11, qword [r9 + rbp]
shl rax, 0x3c
or rax, rdx
xor rax, qword [r9 + rbp + 8]
sub r15, 1
jne 0x1400fc920
mov rdx, r11
mov byte [rbx + 7], r11b
shr rdx, 0x20
add r14, 0x10
mov ecx, edx
mov byte [rbx + 3], dl
shr ecx, 0x18
sub rsi, 0x10
mov byte [rbx], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rbx + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [rbx + 2], cl
mov ecx, r11d
shr ecx, 0x18
mov byte [rbx + 4], cl
mov ecx, r11d
shr ecx, 0x10
mov byte [rbx + 5], cl
mov ecx, r11d
shr ecx, 8
mov byte [rbx + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [rbx + 0xb], dl
shr ecx, 0x18
mov byte [rbx + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rbx + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [rbx + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [rbx + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rbx + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [rbx + 0xe], cl
mov byte [rbx + 0xf], al
sub r12, 0x10
jne 0x1400fc8c0
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400fca60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rcx + 0xf]
lea r14, [0x14021c370]
mov r8d, eax
mov rdi, rdx
and eax, 0xf
mov r11, rcx
add rax, rax
and r8, 0xfffffffffffffff0
mov esi, recv
mov r9, qword [rdx + rax*8]
mov rax, qword [rdx + rax*8 + 8]
mov rcx, r9
mov rdx, rax
shr rcx, 4
and edx, 0xf
shr rax, 4
shl r9, 0x3c
or rax, r9
mov rbx, qword [r14 + rdx*8]
xor rbx, rcx
xor rbx, qword [r8 + rdi]
xor rax, qword [r8 + rdi + 8]
nop dword [rax + rax]
movzx ecx, byte [rsi + r11]
mov rdx, rax
shr rax, 4
mov r9d, ecx
and ecx, 0xf
and edx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
lea r8, [rdi + rcx*8]
mov rcx, rbx
shl rbx, 0x3c
mov r10, qword [r14 + rdx*8]
or rbx, rax
xor rbx, qword [r8 + 8]
shr rcx, 4
mov rdx, rbx
xor r10, rcx
shr rdx, 4
xor r10, qword [r8]
mov rcx, rbx
and ecx, 0xf
mov rax, r10
shr rax, 4
mov rbx, qword [r14 + rcx*8]
xor rbx, rax
mov rax, r10
xor rbx, qword [r9 + rdi]
shl rax, 0x3c
or rax, rdx
xor rax, qword [r9 + rdi + 8]
sub rsi, 1
jns 0x1400fcad0
mov rsi, qword [rsp + 0x10]
mov rdx, rbx
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
shr rdx, 0x20
mov ecx, edx
mov byte [r11 + 3], dl
shr ecx, 0x18
mov byte [r11], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [r11 + 2], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [r11 + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [r11 + 5], cl
mov ecx, ebx
shr ecx, 8
mov byte [r11 + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [r11 + 7], bl
mov rbx, qword [rsp + 8]
shr ecx, 0x18
mov byte [r11 + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [r11 + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r11 + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r11 + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [r11 + 0xe], cl
mov byte [r11 + 0xb], dl
mov byte [r11 + 0xf], al
ret
Function at 0x140100d00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
mov eax, 0xb0
call fcn.140189b30
sub rsp, rax
mov rax, qword [0x14028a3e8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov eax, dword [r9]
mov rdi, rcx
mov rcx, qword [rbp + 0x7f]
mov r14, r8
mov dword [rbp - 1], eax
mov rsi, rdx
mov eax, dword [r9 + 4]
mov dword [rbp + 3], eax
mov eax, dword [r9 + 8]
mov dword [rbp + 7], eax
mov eax, dword [r9 + 0xc]
mov dword [rbp + 0xb], eax
mov eax, dword [r9 + 0x10]
mov dword [rbp + 0xf], eax
mov eax, dword [r9 + 0x14]
mov dword [rbp + 0x13], eax
mov eax, dword [r9 + 0x18]
mov dword [rbp + 0x17], eax
mov eax, dword [r9 + 0x1c]
mov dword [rbp + 0x1b], eax
mov eax, dword [rcx]
mov dword [rbp + 0x1f], eax
mov eax, dword [rcx + 4]
mov dword [rbp + 0x23], eax
mov eax, dword [rcx + 8]
mov dword [rbp + 0x27], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp + 0x2b], eax
mov dword [rbp - 0x11], 0x61707865
mov dword [rbp - 0xd], 0x3320646e
mov dword [rbp - 9], 0x79622d32
mov dword [rbp - 5], 0x6b206574
test r8, r8
je 0x140100f14
mov qword [rsp + 0xd8], rbx
nop dword [rax]
nop word [rax + rax]
mov ebx, reloc.advapi32.dll_AdjustTokenPrivileges
lea rdx, [rbp - 0x11]
cmp r14, rbx
lea rcx, [rbp - 0x51]
cmovb rbx, r14
call fcn.140100f40
xor eax, eax
test rbx, rbx
je 0x140100efa
cmp rbx, 0x40
jb 0x140100ec7
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x140100e0c
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x140100ec7
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x140100e21
cmp rdx, rsi
jae 0x140100ec7
mov r9, rbx
and r9, 0xffffffffffffffc0
lea rcx, [rbp - 0x51]
mov rdx, rsi
sub rdx, rcx
mov r8, rdi
lea rcx, [rbp - 0x51]
sub r8, rcx
nop dword [rax]
movdqu xmm0, xmmword [rbp + rax - 0x51]
lea rcx, [rbp - 0x41]
movdqu xmm1, xmmword [rsi + rax]
add rcx, rdx
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x41]
movdqu xmmword [rdi + rax], xmm1
movdqu xmm1, xmmword [rcx + rax]
lea rcx, [rbp - 0x41]
add rcx, r8
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x31]
movdqu xmmword [rcx + rax], xmm1
lea rcx, [rbp - 0x31]
add rcx, rdx
movdqu xmm1, xmmword [rcx + rax]
lea rcx, [rbp - 0x31]
add rcx, r8
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x21]
movdqu xmmword [rcx + rax], xmm1
lea rcx, [rbp - 0x21]
add rcx, rdx
movdqu xmm1, xmmword [rcx + rax]
lea rcx, [rbp - 0x21]
add rcx, r8
pxor xmm1, xmm0
movdqu xmmword [rcx + rax], xmm1
add rax, 0x40
cmp rax, r9
jb 0x140100e40
cmp rax, rbx
jae 0x140100efa
lea rcx, [rbp - 0x51]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rbp - 0x51]
sub r9, rcx
lea rdx, [rbp - 0x51]
add rdx, rax
inc rax
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
cmp rax, rbx
jb 0x140100ee0
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x140100dc0
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140189130
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret
Function at 0x140104210
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.140189b30
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x140104239
lea rax, [0x140102880]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1400fa2b0
lea rax, [0x140101a40]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1400fa000

Function at 0x140104d90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, DecryptFileW
call fcn.140189b30
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.1400c2d60
test eax, eax
je 0x140104dcf
xor edx, edx
mov rcx, rbx
call fcn.1400c3210
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x140104e17
mov edx, ebp
mov rcx, rbx
call fcn.1400c3770
test rax, rax
je 0x140104e7d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x140104e37
mov qword [r8], rcx
test rdi, rdi
jle 0x140104e6e
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x140104e40
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x140104e78
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret

Function at 0x14012cbd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.140189b30
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x14012cc00
xor r9d, r9d
cmp rdx, r8
jae 0x14012cc19
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov r9d, reloc.WS2_32.dll_recv
cmp r9, 0x10
jae 0x14012cc41
sub r8, r10
lea rax, [r9 + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, r9
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14012cc30
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.1400b6b20
test eax, eax
je 0x14012cc72
cmp dword [rsp + 0x40], 0x10
jne 0x14012cc72
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x14012ce20
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14012cea8
test r8, r8
je 0x14012cea8
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x14012ce66
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x14012ce50
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x14012cea8
sub r8, rax
mov eax, reloc.WS2_32.dll_recv
cmp r8, rax
cmova r8, rax
xor ecx, ecx
test r8, r8
je 0x14012cea8
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x14012ce90
ret
Function at 0x140172100
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, DecryptFileW
call fcn.140189b30
sub rsp, rax
mov rsi, r9
mov rbp, r9
shr rsi, 3
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, r9
jb 0x1401721c0
nop
xor edx, edx
test rsi, rsi
je 0x1401721b0
nop word [rax + rax]
movzx eax, byte [rbx + 6]
movzx ecx, byte [rbx + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx]
shl rcx, 8
add rbx, 8
or rcx, rax
xor qword [r14 + rdx*8], rcx
inc rdx
cmp rdx, rsi
jb 0x140172150
mov rcx, r14
call fcn.140171930
sub rdi, rbp
cmp rdi, rbp
jae 0x140172140
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140172459
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14017264a
push rbx
mov eax, 0xd0
call fcn.140189b30
sub rsp, rax
mov rax, qword [0x14028a3e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xe8], rbp
mov rbx, rdx
mov qword [rsp + 0xf0], rsi
lea rbp, [r8 - 1]
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc8], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [rsp + 0xc0], r15
inc rbp
lea r15, [rcx + 0x14]
nop word [rax + rax]
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0x20], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0x28], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x2c], esi
call fcn.1400f3ec0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400f3860
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400f05a0
mov rcx, r15
call fcn.1400f3ec0
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400f3860
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400f05a0
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
xor r8d, edi
xor edi, dword [rsp + 0x28]
xor edx, esi
xor esi, dword [rsp + 0x2c]
mov eax, edi
mov byte [r14], dil
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, edx
shr eax, 8
shr edi, 0x18
mov byte [r14 + 3], dil
mov byte [r14 + 4], dl
mov byte [r14 + 5], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, r8d
shr eax, 8
shr edx, 0x18
mov byte [r14 + 7], dl
mov byte [r15], r8b
mov byte [r15 + 1], al
mov eax, r8d
shr eax, 0x10
mov byte [r15 + 2], al
shr r8d, 0x18
mov byte [r15 + 3], r8b
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x1401724c0
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140189130
add rsp, 0xd0
pop rbx
ret
Function at 0x140196330
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140196154

Function at 0x14019cbcc
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x14019cbec
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140193b30
or eax, 0xffffffff
jmp 0x14019cbee
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401a5688
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401a5665
call fcn.140193ba0
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140190f8c
or eax, 0xffffffff
jmp 0x1401a5682
sub dword [rcx + 0x10], 1
jns 0x1401a5674
add rsp, 0x28
jmp fcn.1401a3694
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401a5644
Function at 0x1401af760
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2140]
mov eax, 0x2240
call fcn.140189b30
sub rsp, rax
mov rax, qword [0x14028a3e8]
xor rax, rsp
mov qword [rbp + 0x2130], rax
mov rsi, rcx
lea r14, [0x140296880]
mov rcx, qword [0x140296878]
mov rdi, rdx
test rcx, rcx
jne 0x1401af7c4
call fcn.140047a30
test eax, eax
je 0x1401af7ba
xor ecx, ecx
jmp 0x1401af7c4
mov qword [0x140296878], r14
mov rcx, r14
xor r9d, r9d
lea rdx, [rsp + 0x60]
lea r8d, [r9 + 1]
call fcn.14004c060
xor r9d, r9d
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14004bf00
test eax, eax
je 0x1401af7f4
mov ecx, eax
call fcn.140053410
mov ebx, eax
jmp 0x1401af817
lea rcx, [rbp + 0x80]
mov dword [rbp + 0xc8], 0
mov dword [rbp + 0xb8], 0x1a4
call fcn.14004df10
mov ebx, dword [rbp - 0x18]
test ebx, ebx
jns 0x1401af84b
mov ecx, ebx
call fcn.140045db0
mov ecx, 2
mov rbx, rax
call fcn.1401925bc
mov rcx, rax
lea rdx, str.unable_to_open__s:__s_n
mov r9, rbx
mov r8, rsi
call fcn.140004fd0
xor al, al
jmp 0x1401af969
lea rcx, [rsp + 0x60]
call fcn.14004e7e0
lea rdx, [0x14025f4ec]
mov ecx, ebx
call fcn.1401a048c
lea rcx, [rbp + 0x130]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov r9, rax
lea rcx, [rbp + 0x130]
mov qword [rsp + 0x30], 0x2000
mov edx, 1
mov qword [rsp + 0x48], 0
mov r8d, 0x2000
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
call fcn.1401929a8
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rsp + 0x38], rcx
cmp rax, qword [rsp + 0x30]
jae 0x1401af8de
mov byte [rax + rdx], 0
inc qword [rsp + 0x38]
mov byte [rsp + 0x58], 1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140005620
mov rcx, qword [0x140296878]
test rcx, rcx
jne 0x1401af90e
call fcn.140047a30
test eax, eax
je 0x1401af904
xor ecx, ecx
jmp 0x1401af90e
mov qword [0x140296878], r14
mov rcx, r14
xor r9d, r9d
lea rdx, [rsp + 0x60]
lea r8d, [r9 + 2]
call fcn.14004c060
lea rcx, [rbp + 0x80]
mov dword [rbp + 0xb0], ebx
call fcn.14004df10
lea rcx, [rsp + 0x60]
call fcn.14004e7e0
mov ecx, dword [rdi + 0x50]
test ecx, ecx
je 0x1401af961
call fcn.140005210
mov r8d, dword [rdi + 0x58]
lea rcx, str._s__d_:__s_n
mov r9, rax
mov rdx, rsi
call fcn.140005020
xor al, al
jmp 0x1401af969
cmp word [rdi + 0xe], 3
sete al
mov rcx, qword [rbp + 0x2130]
xor rcx, rsp
call fcn.140189130
lea r11, [rsp + 0x2240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret