joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1337c0e951d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov r8, qword [rcx]
test r8, r8
je 0x1337c0e95295
mov r10, qword [rcx + 8]
cmp r10, 0x40
jb 0x1337c0e95295
mov eax, 0x5a4d
cmp word [r8], ax
jne 0x1337c0e95295
movsxd rcx, dword [r8 + 0x3c]
lea r11d, [rcx + 0x18]
mov eax, r11d
cmp r10, rax
jb 0x1337c0e95295
cmp dword [r8 + rcx], 0x4550
lea rdx, [r8 + rcx]
jne 0x1337c0e95295
movzx eax, word [rdx + 0x18]
mov ecx, 0x10b
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x1337c0e95295
movzx r9d, word [rdx + 6]
movzx r8d, word [rdx + 0x14]
lea ecx, [r9 + r9*4]
lea eax, [r11 + r8]
lea eax, [rax + rcx*8]
cmp r10, rax
jb 0x1337c0e95295
mov eax, r8d
xor r8d, r8d
test r9d, r9d
je 0x1337c0e9528d
lea r11, [rax + rdx]
lea rbx, [rax + rdx]
nop dword [rax]
nop word [rax + rax]
lea rcx, [r8 + r8*4]
mov edx, dword [rbx + rcx*8 + 0x28]
mov eax, dword [r11 + rcx*8 + 0x2c]
add rdx, rax
cmp rdx, r10
ja 0x1337c0e95295
inc r8d
cmp r8d, r9d
jb 0x1337c0e95270
mov al, 1
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
xor al, al
ret

Function at 0x1337c0e95c30
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x20
mov r11, qword [rcx]
mov rbp, rdx
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x1337c0e95d45
mov eax, ecx
add rax, r11
je 0x1337c0e95d45
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov r10d, ebx
mov esi, dword [rax + 0x18]
mov qword [rsp + 0x18], r12
mov r12d, dword [rax + 0x1c]
mov qword [rsp + 8], r14
add r12, r11
mov r14d, dword [rax + 0x20]
mov qword [rsp], r15
add r14, r11
mov r15d, dword [rax + 0x24]
add r15, r11
test esi, esi
je 0x1337c0e95d1c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r13
mov r13d, dword [rdx + 4]
nop word [rax + rax]
mov edi, r10d
mov rax, 0xffffffffffffffff
mov edx, dword [r14 + rdi*4]
add rdx, r11
inc rax
cmp byte [rdx + rax], bl
jne 0x1337c0e95cc1
cmp r13, rax
jne 0x1337c0e95cff
mov r9d, 0xbf41bdf
mov r8d, ebx
test eax, eax
je 0x1337c0e95cf9
nop dword [rax + rax]
movsx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, r9d
inc r8d
imul r9d, ecx, 0x1000193
cmp r8d, eax
jb 0x1337c0e95ce0
cmp dword [rbp], r9d
je 0x1337c0e95d09
inc r10d
cmp r10d, esi
jb 0x1337c0e95cb0
jmp 0x1337c0e95d12
movzx eax, word [r15 + rdi*2]
mov ebx, dword [r12 + rax*4]
mov rdi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x10]
mov r15, qword [rsp]
lea rax, [r11 + rbx]
mov r14, qword [rsp + 8]
test rbx, rbx
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x38]
cmove rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x1337c0e95d50
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov rbp, rdx
mov rdi, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov r9, qword [rsi]
cmp r9, rsi
je 0x1337c0e95ded
mov r14d, dword [rdx + 4]
nop dword [rax]
movzx eax, word [r9 + 0x58]
mov r10, qword [r9 + 0x60]
shr rax, 1
cmp r14, rax
jne 0x1337c0e95de5
xor r11d, r11d
mov ebx, 0xbf41bdf
test eax, eax
je 0x1337c0e95de0
nop dword [rax]
movzx r8d, word [r10]
lea r10, [r10 + 2]
movzx edx, r8w
or dx, 0x20
lea ecx, [r8 - 0x41]
cmp cx, 0x19
cmova dx, r8w
inc r11d
movzx ecx, dx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp r11d, eax
jb 0x1337c0e95db0
cmp dword [rbp], ebx
je 0x1337c0e95e0b
mov r9, qword [r9]
cmp r9, rsi
jne 0x1337c0e95d90
mov byte [rdi + 0x10], 0
mov rbx, qword [rsp + 0x10]
mov rax, rdi
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop r14
ret
mov qword [rdi], 0
mov qword [rdi + 8], r9
mov rax, qword [r9 + 0x30]
mov qword [rdi], rax
mov byte [rdi + 0x10], 1
jmp 0x1337c0e95df1
Function at 0x1337c0e961f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
xor r11d, r11d
movzx ebp, r9b
mov edi, r8d
mov rsi, rdx
mov ebx, r11d
mov r15d, r11d
movsxd r13, dword [rax + 0x3c]
add r13, rax
movzx eax, word [r13 + 0x14]
lea r14, [r13 + 0x18]
add r14, rax
cmp r11w, word [r13 + 6]
jae 0x1337c0e96328
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
nop dword [rax]
mov eax, dword [r14 + 0x24]
bt eax, 0x19
jb 0x1337c0e962ec
and eax, 0x60000000
cmp eax, 0x60000000
jne 0x1337c0e962ec
test r12, r12
je 0x1337c0e9629a
mov edx, 8
mov rcx, r14
call fcn.1337c10319c0
mov r8, rax
mov rdx, r14
mov rcx, r12
call fcn.1337c1031d00
xor r11d, r11d
test eax, eax
jne 0x1337c0e962ec
mov rcx, qword [rsp + 0x50]
mov ebx, dword [r14 + 0xc]
add rbx, qword [rcx]
mov r10d, dword [r14 + 0x10]
sub r10, rdi
add r10, rbx
cmp rbx, r10
jae 0x1337c0e962e9
mov eax, r11d
cmp eax, edi
jae 0x1337c0e96321
mov ecx, eax
movzx r8d, byte [rcx + rbx]
lea r9, [rcx + rbx]
movzx edx, byte [rcx + rsi]
cmp r8b, dl
je 0x1337c0e962d0
cmp dl, bpl
jne 0x1337c0e962d4
inc eax
jmp 0x1337c0e962b3
cmp r8b, byte [rsi]
jne 0x1337c0e962de
mov rbx, r9
jmp 0x1337c0e962e4
lea ecx, [rax + 1]
add rbx, rcx
cmp rbx, r10
jb 0x1337c0e962b0
mov rbx, r11
movzx eax, word [r13 + 6]
inc r15d
mov rcx, qword [rsp + 0x50]
add r14, 0x28
cmp r15d, eax
jb 0x1337c0e96250
mov r12, qword [rsp + 0x58]
test rbx, rbx
je 0x1337c0e96328
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
add rax, rbx
jmp 0x1337c0e9632a
test rbx, rbx
jne 0x1337c0e96306
jmp 0x1337c0e962ec
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1337c0e96350
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.1337c0e84b90
nop
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x1337c0e9642b
xor esi, esi
mov ebp, dword [rbx]
test ebp, ebp
je 0x1337c0e9642b
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 0x1337c0e963d0
cmp r13, rax
jne 0x1337c0e96425
mov r10d, 0xbf41bdf
test eax, eax
je 0x1337c0e9641f
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 0x1337c0e963f0
cmp dword [r12], r10d
je 0x1337c0e9645e
inc esi
cmp esi, ebp
jb 0x1337c0e963b0
mov byte [r14 + 0x10], 0
test rbx, rbx
je 0x1337c0e9643d
mov rcx, rbx
call fcn.1337c0efdde0
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 0x1337c0e96467
mov qword [rsp + 0x40], rdi
mov r8, qword [r15 + 0x18]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1337c0e95e30
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 0x1337c0e96435

Function at 0x1337c0e964b0
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 0x1337c0e964cc
xor al, al
mov rbx, qword [rsp + 8]
ret
mov r9, qword [rdx]
mov r10d, 0xbf41bdf
test r8d, r8d
je 0x1337c0e9650f
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 0x1337c0e964e0
cmp dword [rbx], r10d
mov rbx, qword [rsp + 8]
sete al
ret
Function at 0x1337c0e9e640
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 0x1337c0e9e665
xor eax, eax
mov rbx, qword [rsp + 8]
ret
test r10d, r10d
jle 0x1337c0e9e6d1
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 0x1337c0e9e680
mov ecx, ebx
lea eax, [r10*4]
and ecx, 3
movsxd r9, eax
xor edx, edx
sub ecx, 1
je 0x1337c0e9e706
sub ecx, 1
je 0x1337c0e9e6fb
cmp ecx, 1
jne 0x1337c0e9e71f
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 0x1337c0eb7a80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov r9, qword [rcx + 0x18]
cmp rbx, 0x20
jb 0x1337c0eb7b5d
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 0x1337c0eb7b6a
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.1337c0eb7650
Function at 0x1337c0f05410
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 [0x1337c12d6644]
cmp r10b, 0xc
jb 0x1337c0f054b6
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 0x1337c0f054d2
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 0x1337c0f05480
jmp 0x1337c0f054d2
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.1337c1055260
lea rcx, [0x1337c12d66a8]
call qword [0x1337c105a3f0]
mov rcx, qword [rsi]
lea r9, [0x1337c12d6540]
movzx r8d, byte [0x1337c12d6543]
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 0x1337c0f0561f
cmp rcx, rdx
jge 0x1337c0f0552a
mov rbx, qword [rbx + r9 + 0x190]
jmp 0x1337c0f05540
cmp rcx, qword [r9 + r8*8 + 0x1a0]
jge 0x1337c0f0561f
mov rbx, qword [r9 + r8*8 + 0x190]
test rbx, rbx
je 0x1337c0f0561f
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.1337c0f802e0
cmp eax, 1
je 0x1337c0f0557c
xor bl, bl
jmp 0x1337c0f055f6
mov r9, rsi
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1337c0f80310
cmp eax, 1
jne 0x1337c0f05578
lea r9, [rsi + 8]
mov dword [rsp + 0x20], 0x34
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 8]
call fcn.1337c0f80310
cmp eax, 1
jne 0x1337c0f05578
lea r9, [rsi + 0x3c]
mov edx, setsockopt
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.1337c0f7fa00
cmp eax, 1
jne 0x1337c0f05578
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 0x3c]
call fcn.1337c0f80110
cmp eax, 1
sete bl
lea rcx, [0x1337c12d66a8]
call qword [0x1337c105a408]
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, [0x1337c12d66a8]
call qword [0x1337c105a408]
xor al, al
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
Function at 0x1337c0f12f90
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, [0x1337c12d66f0]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
call fcn.1337c0f12be0
test sil, sil
je 0x1337c0f13046
mov eax, dword [rsp + 0x48]
lea r8d, [rax + rax]
cmp sil, 0x14
jae 0x1337c0f12fe0
mov ecx, esi
test sil, sil
je 0x1337c0f13030
jmp 0x1337c0f12fe5
mov ecx, setsockopt
mov r9d, ecx
lea r10, [0x1337c12d6540]
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 0x1337c0f12ff0
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 0x1337c0f13680
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.1337c0f2b5f0
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rdi]
cmp rsi, rbx
je 0x1337c0f13797
cmp qword [rbx + 0x10], r8
jne 0x1337c0f13797
test rbx, rbx
je 0x1337c0f13797
movzx ebp, word [r14]
mov r12, qword [rsp + 0x30]
nop
cmp bp, word [rbx + 0x20]
jne 0x1337c0f1375a
movzx eax, word [rbx + 0x22]
cmp word [r14 + 2], ax
jne 0x1337c0f1375a
cmp bp, 2
jne 0x1337c0f13720
mov eax, dword [r14 + 4]
cmp eax, dword [rbx + 0x24]
jmp 0x1337c0f13735
mov rax, qword [r14 + 8]
sub rax, qword [rbx + 0x28]
jne 0x1337c0f13732
mov rax, qword [r14 + 0x10]
sub rax, qword [rbx + 0x30]
test rax, rax
sete al
test al, al
je 0x1337c0f1375a
cmp r15b, byte [rbx + 0x3c]
jne 0x1337c0f1375a
mov rcx, qword [rsp + 0x88]
lea rdx, [rbx + 0x3d]
mov r8, r15
call fcn.1337c1055160
test eax, eax
je 0x1337c0f137b9
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x1337c0f13797
cmp dword [r13 + 0x38], 0
je 0x1337c0f13788
mov rax, rbx
nop
cmp qword [rax + 0x10], 0
mov rbx, rax
jne 0x1337c0f13788
mov rcx, qword [rax]
mov rdi, rax
mov rax, rcx
cmp rcx, rsi
jne 0x1337c0f13770
cmp qword [rbx + 0x10], r12
jne 0x1337c0f13797
test rbx, rbx
jne 0x1337c0f13700
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 0x1337c0f13799
Function at 0x1337c0f24e20
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.1337c0f269f0
test eax, eax
jns 0x1337c0f24e76
mov rcx, qword [rbx]
lea r9, str.HP_failure
movsxd r8, eax
mov edx, setsockopt
mov word [rsp + 0x20], 0xa
call fcn.1337c0f083b0
add rsp, 0x30
pop rbx
ret
movzx ecx, byte [rbx + 0x170]
xor r11b, r11b
test cl, 0x3c
jbe 0x1337c0f24f06
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 0x1337c0f24eef
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 0x1337c0f24ed0
movzx ecx, byte [rbx + 0x170]
inc r11b
movzx eax, cl
shr al, 2
and al, 0xf
cmp r11b, al
jb 0x1337c0f24e90
and cl, 0xc3
mov byte [rbx + 0x170], cl
add rsp, 0x30
pop rbx
ret
Function at 0x1337c0f37a00
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 0x1337c0f37b70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1337c0f35d90
lea rcx, [fcn.1337c0f37b70]
xor rax, rcx
xor rax, rbx
mov r8, rax
shr r8, 0x11
xor r8, rax
and r8d, 0xf
add r8, 1
je 0x1337c0f37bf3
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 0x1337c0f37bc0
add rsp, 0x20
pop rbx
ret
Function at 0x1337c0f67af0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xd8
call fcn.1337c1027ae0
sub rsp, rax
mov rax, qword [0x1337c123eb80]
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 0x1337c0f67cd7
cmp r8, 0x40
ja 0x1337c0f67cd7
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 0x1337c0f67b8a
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.1337c1055900
mov r9, rsi
cmp rbp, r15
jae 0x1337c0f67c47
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 0x1337c0f67bc0
xor esi, esi
test rdi, rdi
je 0x1337c0f67cc0
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 0x1337c0f67c51
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1337c0f67cd9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1337c1027bc0
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret