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

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x60
movups xmm0, xmmword [rdx]
mov rsi, r8
movaps xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [r8 + 0x40], xmm0
movzx r10d, byte [0x1337c1253634]
cmp r10b, 0xc
jb 0x1337c0f03fe6
mov r9, qword [rcx + 0x18]
mov r8b, reloc.SHLWAPI.dll_SHCreateMemStream
movsd xmm0, qword [r9]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [r9 + 8]
mov dword [rsp + 0x38], eax
jbe 0x1337c0f04002
add r9, 0xc
nop word [rax + rax]
movzx ecx, r8b
lea r9, [r9 + 1]
mov eax, 0xaaaaaaab
inc r8b
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
movsxd rax, ecx
lea rcx, [rsp + 0x30]
add rcx, rax
movzx eax, byte [r9 - 1]
xor byte [rcx], al
cmp r8b, r10b
jb 0x1337c0f03fb0
jmp 0x1337c0f04002
mov rdx, qword [rcx + 0x18]
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8, r10
mov dword [rsp + 0x38], eax
call fcn.1337c1052260
lea rcx, [0x1337c1253698]
call qword [0x1337c10573f0]
mov rcx, qword [rsi]
lea r9, [0x1337c1253530]
movzx r8d, byte [0x1337c1253533]
xor ebx, ebx
shr rcx, 1
mov r14d, 8
test r8b, r8b
cmove ebx, r14d
mov rdx, qword [rbx + r9 + 0x1a0]
lea rax, [rdx - 0x7530]
cmp rcx, rax
jl 0x1337c0f0414b
cmp rcx, rdx
jge 0x1337c0f0405a
mov rbx, qword [rbx + r9 + 0x190]
jmp 0x1337c0f04070
cmp rcx, qword [r9 + r8*8 + 0x1a0]
jge 0x1337c0f0414b
mov rbx, qword [r9 + r8*8 + 0x190]
test rbx, rbx
je 0x1337c0f0414b
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rbp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x90], rdi
xor edx, edx
mov rcx, rbx
call fcn.1337c0f7de30
cmp eax, 1
je 0x1337c0f040ac
xor bl, bl
jmp 0x1337c0f04122
mov r9, rsi
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1337c0f7de60
cmp eax, 1
jne 0x1337c0f040a8
lea r9, [rsi + 8]
mov dword [rsp + 0x20], 0x34
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 8]
call fcn.1337c0f7de60
cmp eax, 1
jne 0x1337c0f040a8
lea r9, [rsi + 0x3c]
mov rcx, rbx
lea edx, [rax + 0x10]
lea r8d, [rax + 0xf]
call fcn.1337c0f7d590
cmp eax, 1
jne 0x1337c0f040a8
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 0x3c]
call fcn.1337c0f7dc70
cmp eax, 1
sete bl
lea rcx, [0x1337c1253698]
call qword [0x1337c1057408]
mov rdi, qword [rsp + 0x90]
movzx eax, bl
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
lea rcx, [0x1337c1253698]
call qword [0x1337c1057408]
xor al, al
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
Function at 0x1337c0f11960
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx esi, dl
lea r9, [rsp + 0x48]
mov rdx, rcx
mov rdi, r8
xor ebx, ebx
lea rcx, [0x1337c12536e0]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
call fcn.1337c0f11680
test sil, sil
je 0x1337c0f11a16
mov eax, dword [rsp + 0x48]
lea r8d, [rax + rax]
cmp sil, 0x14
jae 0x1337c0f119b0
mov ecx, esi
test sil, sil
je 0x1337c0f11a00
jmp 0x1337c0f119b5
mov ecx, setsockopt
mov r9d, ecx
lea r10, [0x1337c1253530]
nop
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
mov eax, r8d
mov ecx, edx
shl rax, 4
inc r8d
shr rcx, 4
and edx, 0xf
add rcx, rax
mov eax, r8d
shl rax, 4
inc r8d
add rax, rdx
xor ebx, dword [r10 + rcx*4 + 0x1b0]
xor ebx, dword [r10 + rax*4 + 0x1b0]
sub r9, 1
jne 0x1337c0f119c0
mov eax, dword [rsp + 0x38]
xor eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1337c0f12050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx r15d, r8b
mov eax, 1
mov r8d, dword [rsp + 0x90]
mov r14, rdx
mov r13, rcx
lea rdx, [rsp + 0x20]
test r8, r8
cmove r8d, eax
add rcx, 0x20
call fcn.1337c0f29e50
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rdi]
cmp rsi, rbx
je 0x1337c0f12157
cmp qword [rbx + 0x10], r8
jne 0x1337c0f12157
movzx ebp, word [r14]
mov r12, qword [rsp + 0x30]
cmp bp, word [rbx + 0x20]
jne 0x1337c0f12120
movzx eax, word [rbx + 0x22]
cmp word [r14 + 2], ax
jne 0x1337c0f12120
cmp bp, 2
jne 0x1337c0f120e6
mov eax, dword [r14 + 4]
cmp eax, dword [rbx + 0x24]
jmp 0x1337c0f120fb
mov rax, qword [r14 + 8]
sub rax, qword [rbx + 0x28]
jne 0x1337c0f120f8
mov rax, qword [r14 + 0x10]
sub rax, qword [rbx + 0x30]
test rax, rax
sete al
test al, al
je 0x1337c0f12120
cmp r15b, byte [rbx + 0x3c]
jne 0x1337c0f12120
mov rcx, qword [rsp + 0x88]
lea rdx, [rbx + 0x3d]
mov r8, r15
call fcn.1337c1052160
test eax, eax
je 0x1337c0f12179
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x1337c0f12157
cmp dword [r13 + 0x38], 0
je 0x1337c0f1214d
mov rax, rbx
cmp qword [rax + 0x10], 0
mov rbx, rax
jne 0x1337c0f1214d
mov rcx, qword [rax]
mov rdi, rax
mov rax, rcx
cmp rcx, rsi
jne 0x1337c0f12135
cmp qword [rbx + 0x10], r12
je 0x1337c0f120c6
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rbx + 0x18]
jmp 0x1337c0f12159
Function at 0x1337c0f23740
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
movzx edx, byte [rcx + 0x170]
lea r9, [rcx + 0xb0]
mov rbx, rcx
shr dl, 2
lea r8, [rcx + 0x30]
and dl, 0xf
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x10]
call fcn.1337c0f25310
test eax, eax
jns 0x1337c0f23796
mov rcx, qword [rbx]
lea r9, str.HP_failure
movsxd r8, eax
mov edx, setsockopt
mov word [rsp + 0x20], 0xa
call fcn.1337c0f06f90
add rsp, 0x30
pop rbx
ret
movzx ecx, byte [rbx + 0x170]
xor r11b, r11b
test cl, 0x3c
jbe 0x1337c0f23826
nop dword [rax]
movzx eax, r11b
movzx r9d, r11b
shl r9, 4
mov rdx, qword [rbx + rax*8 + 0x130]
movzx eax, byte [r9 + rbx + 0xb0]
and al, 0x1f
xor byte [rdx], al
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x58]
xor al, al
movzx r10d, byte [rcx + 0x21]
inc r10
add r10, rdx
cmp byte [rbx + 0x179], al
jbe 0x1337c0f2380f
nop
movzx ecx, al
inc al
lea r8, [rcx + r10]
add rcx, r9
movzx edx, byte [rcx + rbx + 0xb1]
xor byte [r8], dl
cmp al, byte [rbx + 0x179]
jb 0x1337c0f237f0
movzx ecx, byte [rbx + 0x170]
inc r11b
movzx eax, cl
shr al, 2
and al, 0xf
cmp r11b, al
jb 0x1337c0f237b0
and cl, 0xc3
mov byte [rbx + 0x170], cl
add rsp, 0x30
pop rbx
ret
Function at 0x1337c0f36220
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov qword [rcx + 0x80], rax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x10], ecx
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x28], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [r9 + 0x2c], ecx
mov dword [r9 + 0x38], r8d
shr r8, 0x20
mov dword [r9 + 0x3c], r8d
mov qword [r9 + 0x30], rax
ret

Function at 0x1337c0f36390
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1337c0f345d0
lea rcx, [fcn.1337c0f36390]
xor rax, rcx
xor rax, rbx
mov r8, rax
shr r8, 0x11
xor r8, rax
and r8d, 0xf
add r8, 1
je 0x1337c0f36413
mov r9d, setsockopt
movabs r10, 0xbf58476d1ce4e5b9
movabs r11, 0x94d049bb133111eb
nop dword [rax]
test rax, rax
cmove rax, r9
mov rcx, rax
shr rcx, 0x1e
xor rcx, rax
imul rcx, r10
mov rdx, rcx
shr rdx, 0x1b
xor rdx, rcx
imul rdx, r11
mov rax, rdx
shr rax, 0x1f
xor rax, rdx
sub r8, 1
jne 0x1337c0f363e0
add rsp, 0x20
pop rbx
ret
Function at 0x1337c0f65c10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xd8
call fcn.1337c1023cb0
sub rsp, rax
mov rax, qword [0x1337c1249ac0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, qword [rdx + 8]
xor esi, esi
mov r15, qword [rdx + 0x10]
mov rax, r12
sub rax, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rdi, r8
mov r13, rdx
mov ebp, esi
cmp r15, r8
jb 0x1337c0f65df6
cmp r8, 0x40
ja 0x1337c0f65df6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x118], rbx
neg rax
mov qword [rsp + 0xd0], r14
and eax, 0x3f
lea r14, [rsp + 0x40]
add r14, rax
lea rax, [r8 + 0x100]
cmp r15, rax
jbe 0x1337c0f65caa
mov rbp, r15
sub rbp, r8
sub rbp, 0x100
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rbx, rsi
call fcn.1337c1052900
mov r9, rsi
cmp rbp, r15
jae 0x1337c0f65d67
mov r11, qword [r13 + 0x20]
mov r10, qword [rsp + 0x28]
lea r13, [r11 + r12]
nop word [rax + rax]
lea rdx, [r11 + rbp]
mov rax, rbp
xor rax, r10
mov rcx, rdx
sub rcx, r13
xor rcx, r12
lea r8, [rax - 1]
not rax
shr rax, 0x3f
shr r8, 0x3f
and r8, rax
mov rax, rbp
xor rax, r12
neg r8
or rcx, rax
mov rax, r8
xor rcx, rbp
or rax, rsi
shr rcx, 0x3f
and r8, r9
neg rcx
or rbx, r8
mov rsi, rcx
inc rbp
and rsi, rax
movzx eax, byte [rdx]
and al, sil
or byte [r9 + r14], al
inc r9
mov rcx, r9
mov rax, rdi
sub rcx, rdi
xor rax, r9
xor rcx, rdi
or rcx, rax
xor rcx, r9
shr rcx, 0x3f
neg rcx
and r9, rcx
cmp rbp, r15
jb 0x1337c0f65ce0
xor esi, esi
test rdi, rdi
je 0x1337c0f65ddf
mov r9, qword [rsp + 0x30]
mov rax, rbx
and rax, 0xffffffffffffffdf
movzx r8d, byte [rax + r14]
mov rax, rbx
or rax, 0x20
movzx edx, byte [rax + r14]
mov eax, ebx
and eax, 0x20
inc rbx
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [rsp + 0x28], eax
not eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
and cl, dl
and al, r8b
or al, cl
mov rcx, rbx
sub rcx, rdi
mov byte [r9 + rsi], al
xor rcx, rdi
mov rax, rdi
xor rax, rbx
inc rsi
or rcx, rax
xor rcx, rbx
shr rcx, 0x3f
neg rcx
and rbx, rcx
cmp rsi, rdi
jb 0x1337c0f65d71
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1337c0f65df8
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1337c1023d90
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1337c0f66cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov eax, 0x20
call fcn.1337c1023cb0
sub rsp, rax
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x1337c0f66d48
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1337c0f66d4d
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x4f8]
mov qword [rsp + 0x38], rdi
movzx edi, byte [rax + rdx - 1]
call fcn.1337c0eb0410
mov rcx, rax
call fcn.1337c0f750d0
mov rdx, qword [rbx + 8]
and eax, 0x200000
je 0x1337c0f66d5a
sub rdx, rdi
mov eax, 1
mov rdi, qword [rsp + 0x38]
dec rdx
mov qword [rbx + 8], rdx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
cmp rsi, rdx
jbe 0x1337c0f66cfc
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov r8, rdx
sub r8, rcx
mov esi, 0x100
xor r8, rcx
mov rax, rdx
xor rax, rcx
or r8, rax
xor r8, rdx
shr r8, 0x3f
dec r8
cmp rdx, rsi
cmovb rsi, rdx
xor r9d, r9d
test rsi, rsi
je 0x1337c0f66ddd
mov r11, qword [rbx + 0x20]
mov r10, rdi
shr r10, 0x3f
dec r11
add r11, rdx
nop
mov rax, r9
lea r11, [r11 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r9
inc r9
shr rcx, 0x3f
xor cl, al
xor al, r10b
or cl, al
xor cl, r10b
dec cl
movzx edx, cl
movzx ecx, byte [r11 + 1]
xor rcx, rdi
and rdx, rcx
not rdx
and r8, rdx
cmp r9, rsi
jb 0x1337c0f66da0
lea rax, [rdi + 1]
not r8
mov rdi, qword [rsp + 0x38]
movzx ecx, r8b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x30], ecx
not ecx
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x48]
and ecx, 1
or eax, ecx
add rsp, 0x20
pop rsi
ret
Function at 0x1337c0f81260
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x40
call fcn.1337c1023cb0
sub rsp, rax
mov rsi, qword [rcx + 0x70]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea r13, [rsi + 0x70]
mov qword [rsp + 0x38], r13
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x1337c0f812e6
test r9, r9
je 0x1337c0f812c2
nop dword [rax]
cmp r8d, 0x40
jae 0x1337c0f812c2
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x1337c0f812a0
mov dword [r13], r8d
test rbp, rbp
je 0x1337c0f81419
cmp r8d, 0x40
jne 0x1337c0f812e6
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x1337c0f812e6
inc dword [rsi + 0x24]
mov ecx, dword [rsi + 0x20]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x80], r12
mov r12d, ebp
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x30], r12d
cmp rbp, 0x40
jb 0x1337c0f813a6
mov qword [rsp + 0x78], rdi
lea r13, [rsi + 0x20]
mov r12d, 0x10000000
mov r15d, ecx
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r13
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r15]
xor r15d, r15d
mov ecx, eax
cmp rcx, rdx
cmovae r15d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.1337c0dea4c0
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x1337c0f8138a
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x1337c0f81330
mov r12d, dword [rsp + 0x30]
lea rax, [rsi + 0x20]
mov rdi, qword [rsp + 0x78]
mov r15d, r12d
mov r13, qword [rsp + 0x38]
test r12d, r12d
je 0x1337c0f81409
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.1337c0dea4c0
test r12d, r12d
je 0x1337c0f81405
sub rsi, rbx
sub r14, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [rbx + r14], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x1337c0f813f0
mov dword [r13], r12d
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1337c0f9056c
movzx ecx, byte [rcx]
test cl, cl
je 0x1337c0f9056c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1337c0f90520
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x1337c0f90620
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.1337c1023cb0
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1337c0f906b3
movzx eax, byte [rcx]
test al, al
je 0x1337c0f906b3
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.1337c0fab060
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x1337c0f90650
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1337c0f9e9b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
movsxd rbx, r9d
mov r10, r8
mov r11, rdx
cmp rdx, r8
je 0x1337c0f9eb12
mov qword [rsp + 0x10], rsi
lea rsi, [rcx - 1]
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
and rsi, rcx
mov ecx, dword [rdx + 8]
xor ecx, dword [r8 + 8]
dec rsi
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
mov ecx, dword [rdx + 0x10]
movq xmm4, rsi
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, dword [r8 + 0x14]
xor rcx, rdx
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x1337c0f9eace
cmp ebx, 2
jb 0x1337c0f9eace
mov r9, qword [r8]
lea rax, [rbx - 1]
mov r8, qword [r11]
mov qword [rsp + 0x18], rdi
lea rdi, [rbx - 1]
lea rdi, [r9 + rdi*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x1337c0f9ea5e
cmp rdi, r8
jae 0x1337c0f9eac9
cmp r9, r10
ja 0x1337c0f9ea68
cmp rdi, r10
jae 0x1337c0f9eac9
cmp r9, r11
ja 0x1337c0f9ea72
cmp rdi, r11
jae 0x1337c0f9eac9
cmp r8, r10
ja 0x1337c0f9ea7c
cmp rax, r10
jae 0x1337c0f9eac9
cmp r8, r11
ja 0x1337c0f9ea86
cmp rax, r11
jae 0x1337c0f9eac9
mov eax, ebx
and eax, 0xfffffffe
nop dword [rax + rax]
movdqu xmm2, xmmword [r9 + rcx]
add edx, 2
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
xorps xmm3, xmm1
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [r8 + rcx - 0x10], xmm0
movdqu xmmword [r9 + rcx - 0x10], xmm3
cmp edx, eax
jl 0x1337c0f9ea90
mov rdi, qword [rsp + 0x18]
movsxd rax, edx
cmp rax, rbx
jge 0x1337c0f9eb0d
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rbx
jl 0x1337c0f9eae0
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1337c0faa7f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x38
call fcn.1337c1023cb0
sub rsp, rax
mov r10, rcx
test r9, r9
jne 0x1337c0faa822
mov edx, 0xe2
mov dword [rsp + 0x20], r9d
lea ecx, [rax - 0x2b]
lea r8d, [rdx - 4]
call fcn.1337c0f82460
xor eax, eax
add rsp, 0x38
ret
movzx r11d, byte [r8]
and r11d, 0x80
test rdx, rdx
je 0x1337c0faa835
mov dword [rdx], r11d
cmp r9, 1
jne 0x1337c0faa857
test r10, r10
je 0x1337c0faa84d
movzx eax, byte [r8]
test r11d, r11d
je 0x1337c0faa84b
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x1337c0faa869
mov eax, 1
jmp 0x1337c0faa91a
xor eax, eax
cmp cl, 0xff
jne 0x1337c0faa94e
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x1337c0faa90f
cmp rcx, 8
jb 0x1337c0faa900
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [r8 + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1337c0faa8a0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x1337c0faa90f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
or edx, ecx
cmp rax, r9
jb 0x1337c0faa900
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x1337c0faa94e
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r11d, ecx
jne 0x1337c0faa94e
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xe2
lea ecx, [r9 + 0xd]
lea r8d, [rdx - 5]
call fcn.1337c0f82460
xor eax, eax
add rsp, 0x38
ret
mov qword [rsp + 0x30], rbx
mov rbx, r9
sub rbx, rax
test r10, r10
je 0x1337c0faa99d
neg r11d
sbb r11d, r11d
add r9, r8
movzx r11d, r11b
mov edx, r11d
and edx, 1
test rbx, rbx
je 0x1337c0faa99d
mov r8, rbx
nop dword [rax]
movzx ecx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r8
xor ecx, r11d
add edx, ecx
mov byte [r10 + r8], dl
shr edx, 8
test r8, r8
jne 0x1337c0faa980
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x1337c0faaab0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rdi, r9
mov rbx, rcx
test rcx, rcx
je 0x1337c0faabb1
test r10, r10
je 0x1337c0faabb1
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1337c0faaaf9
cmp al, 0x7f
jbe 0x1337c0faabaa
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1337c0faabb9
mov r11b, 0xff
cmp al, 0x80
jbe 0x1337c0faab0f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1337c0faabb9
jne 0x1337c0faabaa
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1337c0faab9f
cmp rcx, 8
jb 0x1337c0faab91
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rbx + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rbx + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1337c0faab40
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1337c0faab9f
movzx ecx, byte [rbx + rax]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1337c0faab91
neg edx
sbb r11b, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1337c0faabb9
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x1337c0faac05
mov rcx, qword [r9]
test rcx, rcx
je 0x1337c0faac05
mov r8d, r11d
mov byte [rcx], r11b
and r8d, 1
lea r9, [rbx + r10]
test r10, r10
je 0x1337c0faac02
mov ebx, edx
add rbx, rcx
nop
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x1337c0faabe0
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret