joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1337c0e97d80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov r14, rcx
mov edx, SHCreateMemStream
lea rcx, [rax + 0x18]
call fcn.1337c0e85220
nop
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x1337c0e97e5b
xor esi, esi
mov ebp, dword [rbx]
test ebp, ebp
je 0x1337c0e97e5b
mov r13d, dword [r12 + 4]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
lea r15, [rcx + rbx]
movzx r9d, word [r15 + 0x2e]
add r9, 0x30
add r9, rcx
add r9, rbx
mov rax, rdi
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x1337c0e97e00
cmp r13, rax
jne 0x1337c0e97e55
mov r10d, 0xbf41bdf
test eax, eax
je 0x1337c0e97e4f
mov r11d, eax
nop dword [rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
xor eax, r10d
imul r10d, eax, 0x1000193
lea r9, [r9 + 1]
sub r11, 1
jne 0x1337c0e97e20
cmp dword [r12], r10d
je 0x1337c0e97e8e
inc esi
cmp esi, ebp
jb 0x1337c0e97de0
mov byte [r14 + 0x10], 0
test rbx, rbx
je 0x1337c0e97e6d
mov rcx, rbx
call fcn.1337c0f010e0
mov rax, r14
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rax, [r15 + 0x30]
mov qword [rsp + 0x38], rax
inc rdi
cmp byte [rax + rdi], 0
jne 0x1337c0e97e97
mov qword [rsp + 0x40], rdi
mov r8, qword [r15 + 0x18]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1337c0e97870
mov rax, qword [rsp + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [r14], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [r14 + 8], rax
mov byte [r14 + 0x10], 1
jmp 0x1337c0e97e65

Function at 0x1337c0e97ee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r8, qword [rdx + 8]
mov rbx, rcx
mov eax, dword [rcx + 4]
cmp rax, r8
je 0x1337c0e97efc
xor al, al
mov rbx, qword [rsp + 8]
ret
mov r9, qword [rdx]
mov r10d, 0xbf41bdf
test r8d, r8d
je 0x1337c0e97f3f
mov r11d, r8d
nop dword [rax]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
xor eax, r10d
imul r10d, eax, 0x1000193
sub r11, 1
jne 0x1337c0e97f10
cmp dword [rbx], r10d
mov rbx, qword [rsp + 8]
sete al
ret
Function at 0x1337c0e9bff0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ecx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1337c12d02e8], eax
jg 0x1337c0e9c046
lea rax, [0x1337c12d02e4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1337c12d02e8]
call fcn.1337c102a77c
lea rax, [0x1337c12d02e4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1337c12d02e8]
call fcn.1337c102a7e8
cmp dword [0x1337c12d02e8], 0xffffffff
jne 0x1337c0e9c016
mov eax, 0x5a4d
cmp word [0x1337c0de0000], ax
jne 0x1337c0e9c028
lea rbx, [0x1337c0de0000]
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x1337c0e9c028
test rax, rax
je 0x1337c0e9c028
mov edi, dword [rax + 0x50]
add rdi, rbx
and rbx, 0xfffffffffffff000
add rdi, 0xfff
and rdi, 0xfffffffffffff000
sub rdi, rbx
mov edx, edi
mov rcx, rbx
call fcn.1337c0e83210
test eax, eax
jns 0x1337c0e9c0d5
cmp eax, 0xc00000a1
jne 0x1337c0e9c0d1
mov rcx, rdi
call fcn.1337c0e9be10
test al, al
je 0x1337c0e9c0d1
mov edx, edi
mov rcx, rbx
call fcn.1337c0e83210
test eax, eax
jns 0x1337c0e9c0d5
xor al, al
jmp 0x1337c0e9c0d7
mov al, 1
mov byte [0x1337c12a60da], al
jmp 0x1337c0e9c028
Function at 0x1337c0ea1aa0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov eax, edx
mov ebx, edx
cdq
mov r11, rcx
and edx, 3
lea r10d, [rdx + rax]
sar r10d, 2
test rcx, rcx
jne 0x1337c0ea1ac5
xor eax, eax
mov rbx, qword [rsp + 8]
ret
test r10d, r10d
jle 0x1337c0ea1b31
lea rdx, [rcx + 2]
mov r9, r10
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx - 2]
lea rdx, [rdx + 4]
mov byte [rsp + 0x10], al
movzx eax, byte [rdx - 5]
mov byte [rsp + 0x11], al
movzx eax, byte [rdx - 4]
mov byte [rsp + 0x12], al
movzx eax, byte [rdx - 3]
mov byte [rsp + 0x13], al
imul eax, dword [rsp + 0x10], 0xcc9e2d51
ror eax, 0x11
imul ecx, eax, 0x1b873593
xor r8d, ecx
mov dword [rsp + 0x10], ecx
ror r8d, 0x13
add r8d, 0xfaddaf14
lea r8d, [r8 + r8*4]
sub r9, 1
jne 0x1337c0ea1ae0
mov ecx, ebx
lea eax, [r10*4]
and ecx, 3
movsxd r9, eax
xor edx, edx
sub ecx, 1
je 0x1337c0ea1b66
sub ecx, 1
je 0x1337c0ea1b5b
cmp ecx, 1
jne 0x1337c0ea1b7f
movzx edx, byte [r9 + r11 + 2]
shl edx, 0x10
movzx eax, byte [r9 + r11 + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [r9 + r11]
xor eax, edx
imul ecx, eax, 0xcc9e2d51
ror ecx, 0x11
imul eax, ecx, 0x1b873593
xor r8d, eax
xor r8d, ebx
mov rbx, qword [rsp + 8]
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret

Function at 0x1337c0ebadc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov r9, qword [rcx + 0x18]
cmp rbx, 0x20
jb 0x1337c0ebae9d
mov rdx, qword [rcx + 8]
mov r11, r9
mov r8, qword [rcx + 0x10]
mov rax, rdx
mov r10, qword [rcx + 0x20]
rol r11, 0xc
rol rax, 1
add r11, rax
mov qword [rsp + 0x30], rsi
movabs rsi, 0x9e3779b185ebca87
mov qword [rsp + 0x38], rdi
movabs rdi, 0xc2b2ae3d27d4eb4f
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r9, rdi
imul r8, rdi
imul r10, rdi
mov rdi, qword [rsp + 0x38]
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
imul rdx, rsi
movabs rax, 0x7a1435883d4d519d
rol r9, 0x1f
xor r11, rdx
rol r8, 0x1f
imul r11, rsi
imul r9, rsi
imul r8, rsi
sub r11, rax
rol r10, 0x1f
imul r10, rsi
xor r11, r8
imul r11, rsi
sub r11, rax
xor r11, r9
movabs r9, 0x85ebca77c2b2ae63
imul r11, rsi
sub r11, rax
xor r11, r10
imul r11, rsi
mov rsi, qword [rsp + 0x30]
add r9, r11
jmp 0x1337c0ebaeaa
movabs rdx, 0x27d4eb2f165667c5
add r9, rdx
add r9, rbx
lea rdx, [rcx + 0x28]
mov rcx, r9
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1337c0eba990
Function at 0x1337c0f08710
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 [0x1337c12a6204]
cmp r10b, 0xc
jb 0x1337c0f087b6
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 0x1337c0f087d2
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 0x1337c0f08780
jmp 0x1337c0f087d2
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.1337c1058740
lea rcx, [0x1337c12a6268]
call qword [0x1337c105e400]
mov rcx, qword [rsi]
lea r9, [0x1337c12a6100]
movzx r8d, byte [0x1337c12a6103]
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 0x1337c0f0891f
cmp rcx, rdx
jge 0x1337c0f0882a
mov rbx, qword [rbx + r9 + 0x190]
jmp 0x1337c0f08840
cmp rcx, qword [r9 + r8*8 + 0x1a0]
jge 0x1337c0f0891f
mov rbx, qword [r9 + r8*8 + 0x190]
test rbx, rbx
je 0x1337c0f0891f
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.1337c0f83740
cmp eax, 1
je 0x1337c0f0887c
xor bl, bl
jmp 0x1337c0f088f6
mov r9, rsi
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1337c0f83770
cmp eax, 1
jne 0x1337c0f08878
lea r9, [rsi + 8]
mov dword [rsp + 0x20], 0x34
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 8]
call fcn.1337c0f83770
cmp eax, 1
jne 0x1337c0f08878
lea r9, [rsi + 0x3c]
mov edx, setsockopt
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.1337c0f82e60
cmp eax, 1
jne 0x1337c0f08878
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 0x3c]
call fcn.1337c0f83570
cmp eax, 1
sete bl
lea rcx, [0x1337c12a6268]
call qword [0x1337c105e418]
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, [0x1337c12a6268]
call qword [0x1337c105e418]
xor al, al
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
Function at 0x1337c0f16290
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, [0x1337c12a62b0]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
call fcn.1337c0f15ee0
test sil, sil
je 0x1337c0f16346
mov eax, dword [rsp + 0x48]
lea r8d, [rax + rax]
cmp sil, 0x14
jae 0x1337c0f162e0
mov ecx, esi
test sil, sil
je 0x1337c0f16330
jmp 0x1337c0f162e5
mov ecx, setsockopt
mov r9d, ecx
lea r10, [0x1337c12a6100]
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 0x1337c0f162f0
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 0x1337c0f16980
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.1337c0f2e900
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rdi]
cmp rsi, rbx
je 0x1337c0f16a97
cmp qword [rbx + 0x10], r8
jne 0x1337c0f16a97
test rbx, rbx
je 0x1337c0f16a97
movzx ebp, word [r14]
mov r12, qword [rsp + 0x30]
nop
cmp bp, word [rbx + 0x20]
jne 0x1337c0f16a5a
movzx eax, word [rbx + 0x22]
cmp word [r14 + 2], ax
jne 0x1337c0f16a5a
cmp bp, 2
jne 0x1337c0f16a20
mov eax, dword [r14 + 4]
cmp eax, dword [rbx + 0x24]
jmp 0x1337c0f16a35
mov rax, qword [r14 + 8]
sub rax, qword [rbx + 0x28]
jne 0x1337c0f16a32
mov rax, qword [r14 + 0x10]
sub rax, qword [rbx + 0x30]
test rax, rax
sete al
test al, al
je 0x1337c0f16a5a
cmp r15b, byte [rbx + 0x3c]
jne 0x1337c0f16a5a
mov rcx, qword [rsp + 0x88]
lea rdx, [rbx + 0x3d]
mov r8, r15
call fcn.1337c1058640
test eax, eax
je 0x1337c0f16ab9
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x1337c0f16a97
cmp dword [r13 + 0x38], 0
je 0x1337c0f16a88
mov rax, rbx
nop
cmp qword [rax + 0x10], 0
mov rbx, rax
jne 0x1337c0f16a88
mov rcx, qword [rax]
mov rdi, rax
mov rax, rcx
cmp rcx, rsi
jne 0x1337c0f16a70
cmp qword [rbx + 0x10], r12
jne 0x1337c0f16a97
test rbx, rbx
jne 0x1337c0f16a00
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 0x1337c0f16a99
Function at 0x1337c0f28130
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.1337c0f29d00
test eax, eax
jns 0x1337c0f28186
mov rcx, qword [rbx]
lea r9, str.HP_failure
movsxd r8, eax
mov edx, setsockopt
mov word [rsp + 0x20], 0xa
call fcn.1337c0f0b6b0
add rsp, 0x30
pop rbx
ret
movzx ecx, byte [rbx + 0x170]
xor r11b, r11b
test cl, 0x3c
jbe 0x1337c0f28216
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 0x1337c0f281ff
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 0x1337c0f281e0
movzx ecx, byte [rbx + 0x170]
inc r11b
movzx eax, cl
shr al, 2
and al, 0xf
cmp r11b, al
jb 0x1337c0f281a0
and cl, 0xc3
mov byte [rbx + 0x170], cl
add rsp, 0x30
pop rbx
ret
Function at 0x1337c0f3acf0
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 0x1337c0f3ae60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1337c0f39080
lea rcx, [fcn.1337c0f3ae60]
xor rax, rcx
xor rax, rbx
mov r8, rax
shr r8, 0x11
xor r8, rax
and r8d, 0xf
add r8, 1
je 0x1337c0f3aee3
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 0x1337c0f3aeb0
add rsp, 0x20
pop rbx
ret

Function at 0x1337c0f3bcf0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
movd eax, xmm0
syscall
ret
Function at 0x1337c0f6af40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xd8
call fcn.1337c102adb0
sub rsp, rax
mov rax, qword [0x1337c120fb80]
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 + 0x20], rax
mov rdi, r8
mov r13, rdx
mov ebp, esi
cmp r15, r8
jb 0x1337c0f6b127
cmp r8, 0x40
ja 0x1337c0f6b127
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 0x1337c0f6afda
mov rbp, r15
sub rbp, r8
sub rbp, 0x100
xor edx, edx
mov qword [rsp + 0x28], rsi
mov rcx, r14
mov rbx, rsi
call fcn.1337c1058de0
mov r9, rsi
cmp rbp, r15
jae 0x1337c0f6b097
mov r11, qword [r13 + 0x20]
mov r10, qword [rsp + 0x20]
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 0x1337c0f6b010
xor esi, esi
test rdi, rdi
je 0x1337c0f6b110
mov r9, qword [rsp + 0x30]
mov eax, ebx
and eax, 0x20
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [rsp + 0x20], eax
not eax
mov r8d, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov rax, rbx
mov ecx, dword [rsp + 0x20]
or rax, 0x20
movzx edx, byte [rax + r14]
mov rax, rbx
and dl, cl
inc rbx
and rax, 0xffffffffffffffdf
movzx ecx, byte [rax + r14]
mov rax, rdi
and cl, r8b
xor rax, rbx
or dl, cl
mov rcx, rbx
sub rcx, rdi
mov byte [r9 + rsi], dl
xor rcx, rdi
inc rsi
or rcx, rax
xor rcx, rbx
shr rcx, 0x3f
neg rcx
and rbx, rcx
cmp rsi, rdi
jb 0x1337c0f6b0a1
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1337c0f6b129
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1337c102ae90
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1337c0f6c000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov eax, 0x20
call fcn.1337c102adb0
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 0x1337c0f6c098
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1337c0f6c09d
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.1337c0eb5b10
mov rcx, rax
call fcn.1337c0f7a820
mov rdx, qword [rbx + 8]
and eax, 0x200000
je 0x1337c0f6c0aa
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 0x1337c0f6c04c
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 0x1337c0f6c12a
mov r10, qword [rbx + 0x20]
mov r11, rdi
shr r11, 0x3f
dec r10
add r10, rdx
nop
mov rax, r9
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r9
inc r9
shr rcx, 0x3f
xor cl, al
xor al, r11b
or cl, al
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rdi
and rdx, rcx
not rdx
and r8, rdx
cmp r9, rsi
jb 0x1337c0f6c0f0
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 eax, dword [rsp + 0x30]
mov dword [rsp + 0x30], ecx
and eax, 1
mov ecx, dword [rsp + 0x30]
or eax, ecx
add rsp, 0x20
pop rsi
ret
Function at 0x1337c0f86bd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x40
call fcn.1337c102adb0
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 0x1337c0f86c56
test r9, r9
je 0x1337c0f86c32
nop dword [rax]
cmp r8d, 0x40
jae 0x1337c0f86c32
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 0x1337c0f86c10
mov dword [r13], r8d
test rbp, rbp
je 0x1337c0f86d7a
cmp r8d, 0x40
jne 0x1337c0f86c56
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x1337c0f86c56
inc dword [rsi + 0x24]
mov eax, dword [rsi + 0x20]
lea rdx, [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 0x1337c0f86d15
mov qword [rsp + 0x78], rdi
lea r15, [rsi + 0x20]
mov r12d, 0x10000000
mov r13d, eax
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r15
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r13]
xor r13d, r13d
mov ecx, eax
cmp rcx, rdx
cmovae r13d, 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 [r15], r13d
add rbx, rdi
add r14, rdi
test r13d, r13d
jne 0x1337c0f86cf9
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x1337c0f86ca0
mov r12d, dword [rsp + 0x30]
lea rdx, [rsi + 0x20]
mov rdi, qword [rsp + 0x78]
mov r15d, r12d
mov r13, qword [rsp + 0x38]
test r12d, r12d
je 0x1337c0f86d6a
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rdx
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 0x1337c0f86d66
sub rsi, rbx
sub r14, rbx
movzx eax, byte [rbx + rsi + 0x30]
xor al, byte [rbx]
mov byte [rbx + r14], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x1337c0f86d51
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 0x1337c0f961a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1337c0f9620c
movzx ecx, byte [rcx]
test cl, cl
je 0x1337c0f9620c
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 0x1337c0f961c0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret