joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1337c0e9acc0
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.1337c0e860a0
nop
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x1337c0e9ad9b
xor esi, esi
mov ebp, dword [rbx]
test ebp, ebp
je 0x1337c0e9ad9b
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 0x1337c0e9ad40
cmp r13, rax
jne 0x1337c0e9ad95
mov r10d, 0xbf41bdf
test eax, eax
je 0x1337c0e9ad8f
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 0x1337c0e9ad60
cmp dword [r12], r10d
je 0x1337c0e9adce
inc esi
cmp esi, ebp
jb 0x1337c0e9ad20
mov byte [r14 + 0x10], 0
test rbx, rbx
je 0x1337c0e9adad
mov rcx, rbx
call fcn.1337c0f03f60
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 0x1337c0e9add7
mov qword [rsp + 0x40], rdi
mov r8, qword [r15 + 0x18]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1337c0e9a7b0
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 0x1337c0e9ada5

Function at 0x1337c0e9ae20
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 0x1337c0e9ae3c
xor al, al
mov rbx, qword [rsp + 8]
ret
mov r9, qword [rdx]
mov r10d, 0xbf41bdf
test r8d, r8d
je 0x1337c0e9ae7f
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 0x1337c0e9ae50
cmp dword [rbx], r10d
mov rbx, qword [rsp + 8]
sete al
ret
Function at 0x1337c0e9eef0
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 [0x1337c12d32e8], eax
jg 0x1337c0e9ef46
lea rax, [0x1337c12d32e4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1337c12d32e8]
call fcn.1337c102d914
lea rax, [0x1337c12d32e4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1337c12d32e8]
call fcn.1337c102d980
cmp dword [0x1337c12d32e8], 0xffffffff
jne 0x1337c0e9ef16
mov eax, 0x5a4d
cmp word [0x1337c0de0000], ax
jne 0x1337c0e9ef28
lea rbx, [0x1337c0de0000]
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x1337c0e9ef28
test rax, rax
je 0x1337c0e9ef28
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.1337c0e84190
test eax, eax
jns 0x1337c0e9efd5
cmp eax, 0xc00000a1
jne 0x1337c0e9efd1
mov rcx, rdi
call fcn.1337c0e9ed10
test al, al
je 0x1337c0e9efd1
mov edx, edi
mov rcx, rbx
call fcn.1337c0e84190
test eax, eax
jns 0x1337c0e9efd5
xor al, al
jmp 0x1337c0e9efd7
mov al, 1
mov byte [0x1337c12a90da], al
jmp 0x1337c0e9ef28
Function at 0x1337c0ea49b0
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 0x1337c0ea49d5
xor eax, eax
mov rbx, qword [rsp + 8]
ret
test r10d, r10d
jle 0x1337c0ea4a41
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 0x1337c0ea49f0
mov ecx, ebx
lea eax, [r10*4]
and ecx, 3
movsxd r9, eax
xor edx, edx
sub ecx, 1
je 0x1337c0ea4a76
sub ecx, 1
je 0x1337c0ea4a6b
cmp ecx, 1
jne 0x1337c0ea4a8f
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 0x1337c0ebdcc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov r9, qword [rcx + 0x18]
cmp rbx, 0x20
jb 0x1337c0ebdd9d
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 0x1337c0ebddaa
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.1337c0ebd890
Function at 0x1337c0f0b500
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 [0x1337c12a9204]
cmp r10b, 0xc
jb 0x1337c0f0b5a6
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 0x1337c0f0b5c2
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 0x1337c0f0b570
jmp 0x1337c0f0b5c2
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.1337c105b8f0
lea rcx, [0x1337c12a9268]
call qword [0x1337c1061400]
mov rcx, qword [rsi]
lea r9, [0x1337c12a9100]
movzx r8d, byte [0x1337c12a9103]
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 0x1337c0f0b70f
cmp rcx, rdx
jge 0x1337c0f0b61a
mov rbx, qword [rbx + r9 + 0x190]
jmp 0x1337c0f0b630
cmp rcx, qword [r9 + r8*8 + 0x1a0]
jge 0x1337c0f0b70f
mov rbx, qword [r9 + r8*8 + 0x190]
test rbx, rbx
je 0x1337c0f0b70f
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.1337c0f863e0
cmp eax, 1
je 0x1337c0f0b66c
xor bl, bl
jmp 0x1337c0f0b6e6
mov r9, rsi
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1337c0f86410
cmp eax, 1
jne 0x1337c0f0b668
lea r9, [rsi + 8]
mov dword [rsp + 0x20], 0x34
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 8]
call fcn.1337c0f86410
cmp eax, 1
jne 0x1337c0f0b668
lea r9, [rsi + 0x3c]
mov edx, setsockopt
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.1337c0f85b00
cmp eax, 1
jne 0x1337c0f0b668
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 0x3c]
call fcn.1337c0f86210
cmp eax, 1
sete bl
lea rcx, [0x1337c12a9268]
call qword [0x1337c1061418]
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, [0x1337c12a9268]
call qword [0x1337c1061418]
xor al, al
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
Function at 0x1337c0f11690
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [r8]
mov rbx, rdx
mov rdx, qword [rdx + 0x10]
mov rdi, rcx
mov r11, r8
test byte [rbx + 0x34], 4
movzx ecx, byte [rdx]
je 0x1337c0f116bd
and al, 0x1f
jmp 0x1337c0f116bf
and al, 0xf
xor al, cl
mov r10b, 0
mov byte [rdx], al
mov rax, qword [rbx + 0x10]
movzx r9d, byte [rax]
and r9b, 3
add r9b, 1
je 0x1337c0f11741
nop dword [rax + rax]
movzx edx, word [rbx + 0x2a]
mov rax, qword [rbx + 0x10]
movzx r8d, r10b
inc r10b
add edx, r8d
movzx ecx, byte [r8 + r11 + 1]
xor byte [rdx + rax], cl
cmp r10b, r9b
jb 0x1337c0f116e0
movzx esi, word [rbx + 0x2a]
xor r8d, r8d
mov r10d, esi
mov qword [rsp + 0x30], r8
add r10, qword [rbx + 0x10]
xor dl, dl
movzx r11d, r9b
nop dword [rax]
movzx ecx, dl
mov rax, r10
sub rax, rcx
inc dl
movzx eax, byte [rax + r11 - 1]
mov byte [rsp + rcx + 0x30], al
cmp dl, r9b
jb 0x1337c0f11720
mov r11, qword [rsp + 0x30]
jmp 0x1337c0f1174b
movzx esi, word [rbx + 0x2a]
xor r8d, r8d
mov r11d, r8d
movzx ecx, r9b
lea eax, [rsi + rcx]
mov word [rbx + 0x2a], ax
movzx eax, word [rbx + 0x2c]
sub ax, cx
mov ecx, dword [rbx + 0x30]
mov word [rbx + 0x2c], ax
movzx esi, ax
test ecx, ecx
je 0x1337c0f11781
sub ecx, 1
je 0x1337c0f1177b
mov r8d, 1
cmp ecx, 1
je 0x1337c0f11781
mov r8d, 2
mov eax, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [rdi + rax*8 + 0x848]
mov r10, qword [rcx + 8]
movzx ecx, r9b
shl ecx, 3
shl rdx, cl
mov r9, rdx
and rdx, r10
or rdx, r11
neg r9
cmp rdx, r10
jae 0x1337c0f117cb
sub r10, rdx
lea rax, [rdx + r9]
mov rcx, r9
sub rcx, r10
cmp rcx, r10
cmovae rax, rdx
mov rdx, rax
jmp 0x1337c0f117e4
mov rcx, rdx
mov rax, r9
sub rcx, r10
sub rax, rcx
cmp rax, rcx
ja 0x1337c0f117e4
cmp rdx, r9
jb 0x1337c0f117e4
sub rdx, r9
movzx eax, byte [rbx + 0x34]
movabs rcx, 0x3fffffffffffffff
or al, 0x20
mov qword [rbx + 8], rdx
mov byte [rbx + 0x34], al
cmp rdx, rcx
jbe 0x1337c0f1185e
test al, 1
mov ecx, 0x118
mov eax, 0xc28
cmove eax, ecx
lock inc qword [rax + rdi]
lea rcx, [rsp + 0x30]
call qword [0x1337c1061430]
mov rax, qword [0x1337c12e18d0]
movzx ecx, word [rsp + 0x30]
movzx edx, byte [rsp + 0x32]
mov eax, dword [rax + rcx*4]
add eax, edx
imul rcx, rax, 0x1c0
mov rax, qword [0x1337c12a9260]
lock inc qword [rcx + rax + 0xf8]
xor al, al
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
test al, 0x40
je 0x1337c0f11868
cmp si, 0x10
jb 0x1337c0f11800
mov r9, qword [rdi + 0x858]
test al, 4
je 0x1337c0f118e1
cmp r8d, 2
jne 0x1337c0f118e1
mov rax, qword [rbx + 0x10]
movzx ecx, byte [rax]
shr cl, 2
xor cl, byte [r9 + 0x198]
test cl, 1
je 0x1337c0f118e1
cmp rdx, qword [r9 + 0x188]
jae 0x1337c0f118b1
mov dword [rbx + 0x30], 4
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
call fcn.1337c0f1f480
test eax, eax
jns 0x1337c0f118da
mov rdx, rbx
mov rcx, rdi
call fcn.1337c0f0bd90
xor al, al
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 0x30], 5
mov rbx, qword [rsp + 0x38]
mov al, 1
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1337c0f19080
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, [0x1337c12a92b0]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
call fcn.1337c0f18cd0
test sil, sil
je 0x1337c0f19136
mov eax, dword [rsp + 0x48]
lea r8d, [rax + rax]
cmp sil, 0x14
jae 0x1337c0f190d0
mov ecx, esi
test sil, sil
je 0x1337c0f19120
jmp 0x1337c0f190d5
mov ecx, setsockopt
mov r9d, ecx
lea r10, [0x1337c12a9100]
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 0x1337c0f190e0
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 0x1337c0f19770
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.1337c0f316c0
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rdi]
cmp rsi, rbx
je 0x1337c0f19887
cmp qword [rbx + 0x10], r8
jne 0x1337c0f19887
test rbx, rbx
je 0x1337c0f19887
movzx ebp, word [r14]
mov r12, qword [rsp + 0x30]
nop
cmp bp, word [rbx + 0x20]
jne 0x1337c0f1984a
movzx eax, word [rbx + 0x22]
cmp word [r14 + 2], ax
jne 0x1337c0f1984a
cmp bp, 2
jne 0x1337c0f19810
mov eax, dword [r14 + 4]
cmp eax, dword [rbx + 0x24]
jmp 0x1337c0f19825
mov rax, qword [r14 + 8]
sub rax, qword [rbx + 0x28]
jne 0x1337c0f19822
mov rax, qword [r14 + 0x10]
sub rax, qword [rbx + 0x30]
test rax, rax
sete al
test al, al
je 0x1337c0f1984a
cmp r15b, byte [rbx + 0x3c]
jne 0x1337c0f1984a
mov rcx, qword [rsp + 0x88]
lea rdx, [rbx + 0x3d]
mov r8, r15
call fcn.1337c105b7f0
test eax, eax
je 0x1337c0f198a9
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x1337c0f19887
cmp dword [r13 + 0x38], 0
je 0x1337c0f19878
mov rax, rbx
nop
cmp qword [rax + 0x10], 0
mov rbx, rax
jne 0x1337c0f19878
mov rcx, qword [rax]
mov rdi, rax
mov rax, rcx
cmp rcx, rsi
jne 0x1337c0f19860
cmp qword [rbx + 0x10], r12
jne 0x1337c0f19887
test rbx, rbx
jne 0x1337c0f197f0
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 0x1337c0f19889
Function at 0x1337c0f2af10
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.1337c0f2cae0
test eax, eax
jns 0x1337c0f2af66
mov rcx, qword [rbx]
lea r9, str.HP_failure
movsxd r8, eax
mov edx, setsockopt
mov word [rsp + 0x20], 0xa
call fcn.1337c0f0e4a0
add rsp, 0x30
pop rbx
ret
movzx ecx, byte [rbx + 0x170]
xor r11b, r11b
test cl, 0x3c
jbe 0x1337c0f2aff6
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 0x1337c0f2afdf
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 0x1337c0f2afc0
movzx ecx, byte [rbx + 0x170]
inc r11b
movzx eax, cl
shr al, 2
and al, 0xf
cmp r11b, al
jb 0x1337c0f2af80
and cl, 0xc3
mov byte [rbx + 0x170], cl
add rsp, 0x30
pop rbx
ret
Function at 0x1337c0f3d9f0
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 0x1337c0f3db60
Capabilities:
Encode data using xor

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

Function at 0x1337c0f3e9b0
Capabilities:
Execute syscall

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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xd8
call fcn.1337c102df50
sub rsp, rax
mov rax, qword [0x1337c1212b80]
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 0x1337c0f6ddc7
cmp r8, 0x40
ja 0x1337c0f6ddc7
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 0x1337c0f6dc7a
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.1337c105bf90
mov r9, rsi
cmp rbp, r15
jae 0x1337c0f6dd37
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 0x1337c0f6dcb0
xor esi, esi
test rdi, rdi
je 0x1337c0f6ddb0
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 0x1337c0f6dd41
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1337c0f6ddc9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1337c102e030
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1337c0f6eca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov eax, 0x20
call fcn.1337c102df50
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 0x1337c0f6ed38
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1337c0f6ed3d
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.1337c0eb8a10
mov rcx, rax
call fcn.1337c0f7d4c0
mov rdx, qword [rbx + 8]
and eax, 0x200000
je 0x1337c0f6ed4a
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 0x1337c0f6ecec
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 0x1337c0f6edca
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 0x1337c0f6ed90
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