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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
je 0x140024e19
mov rax, qword [rcx + 0x28]
cmp r8, rax
ja 0x140024d7a
mov rcx, qword [rcx + 0x20]
call fcn.140076900
jmp 0x140024d92
mov r9, qword [rcx + 0x20]
mov ecx, dword [rcx]
mov qword [rsp + 0x20], rax
call fcn.140021730
test eax, eax
js 0x140024e46
xor edi, edi
mov ecx, edi
cmp qword [rbx + 0x28], rcx
jbe 0x140024db1
nop dword [rax]
mov rax, qword [rbx + 0x20]
xor byte [rax + rcx], 0x36
inc rcx
cmp rcx, qword [rbx + 0x28]
jb 0x140024da0
mov rcx, qword [rbx + 8]
mov r8, qword [rbx + 0x28]
add rcx, 8
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.libcrypto.dll_EVP_DigestUpdate]
cmp eax, 1
jne 0x140024e46
cmp qword [rbx + 0x28], rdi
jbe 0x140024df1
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x20]
xor byte [rax + rdi], 0x6a
inc rdi
cmp rdi, qword [rbx + 0x28]
jb 0x140024de0
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x28]
add rcx, 8
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.libcrypto.dll_EVP_DigestUpdate]
cmp eax, 1
jne 0x140024e46
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x20]
call fcn.14005cec0
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 8]
mov eax, dword [rcx]
cmp dword [rdx], eax
jne 0x140024e46
add rdx, 8
add rcx, 8
call qword [sym.imp.libcrypto.dll_EVP_MD_CTX_copy_ex]
test eax, eax
je 0x140024e46
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140027dc0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x20
call fcn.140030f60
movups xmm2, xmmword [rbx]
lea rcx, [0x1400a8261]
movups xmm0, xmmword [rbx + 0x10]
lea rdx, [rsp + 0x24]
mov ebx, 0x10
movd eax, xmm2
mov r8d, ebx
movups xmmword [rsp + 0x1b0], xmm0
and al, 0xf8
psrldq xmm0, 0xf
movups xmmword [rsp + 0x1a0], xmm2
mov byte [rsp + 0x1a0], al
movd eax, xmm0
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x1bf], al
nop dword [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 2]
mov dword [rdx - 4], eax
lea rdx, [rdx + 8]
movzx eax, byte [rcx - 2]
mov dword [rdx - 8], eax
sub r8, 1
jne 0x140027e40
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x20]
call fcn.14002c470
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call fcn.14002cac0
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x120]
call fcn.14002bf50
lea rcx, [rsp + 0x120]
call fcn.14002bdb0
lea rax, [rsp + 0x124]
lea r11, [rdi + 1]
nop word [rax + rax]
movzx ecx, byte [rax - 4]
lea rax, [rax + 8]
mov byte [r11 - 1], cl
lea r11, [r11 + 2]
movzx ecx, byte [rax - 8]
mov byte [r11 - 2], cl
sub rbx, 1
jne 0x140027ec0
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140075860
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x140027f00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov rsi, rcx
mov edx, 0x20
lea rcx, [rsp + 0x20]
mov rdi, r8
call fcn.14005cec0
xor r8d, r8d
lea r10, [rsp + 0x20]
sub r10, rbx
mov r9d, 0x20
mov rax, rbx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r10 + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
xor edx, ecx
or r8d, edx
sub r9, 1
jne 0x140027f50
test r8d, r8d
jne 0x140027f72
lea eax, [r9 - 0x14]
jmp 0x140027faa
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14002ce70
mov rcx, rdi
call fcn.140001300
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140002500
mov edx, 0x20
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.14005cec0
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140075860
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002b930
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x20], rax
xor r10d, r10d
lea rax, [rdx + 0x7c]
mov r9, rcx
mov rdi, r8
add rcx, 0x7c
mov rbx, rdx
mov esi, r10d
lea r11d, [r10 + 0x20]
cmp r9, rax
ja 0x14002b973
cmp rcx, rdx
jae 0x14002b9c4
mov rcx, rbx
lea rax, [r8 + 0x10]
sub rcx, rdi
mov rdx, r9
sub rdx, rdi
mov r8d, 4
mov esi, r11d
nop dword [rax]
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x20]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmmword [rdx + rax - 0x30], xmm1
movdqu xmm2, xmmword [rcx + rax - 0x20]
paddd xmm2, xmm0
movdqu xmmword [rdx + rax - 0x20], xmm2
sub r8, 1
jne 0x14002b990
movsxd rax, esi
cmp rax, r11
jge 0x14002b9f3
mov r8, r9
lea rcx, [rdi + rax*4]
sub r8, rdi
sub rbx, rdi
mov rdx, r11
sub rdx, rax
nop
mov eax, dword [rcx + rbx]
add eax, dword [rcx]
mov dword [rcx + r8], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14002b9e0
mov r8, r9
mov ebx, 0x1f
nop dword [rax + rax]
mov ecx, dword [r8]
lea r8, [r8 + 4]
mov eax, ecx
shr eax, 8
add dword [r8], eax
movzx eax, cl
mov dword [r8 - 4], eax
sub rbx, 1
jne 0x14002ba00
lea rbx, [0x1400c2fd0]
mov r8, r10
sub rbx, r9
mov rdx, r9
nop dword [rax]
add r10d, dword [rbx + rdx]
movzx ecx, byte [rdx]
mov eax, dword [rdx]
lea rdx, [rdx + 4]
sub cl, r10b
sub eax, r10d
shr eax, 0x1f
mov byte [rsp + r8], cl
mov r10d, eax
inc r8
cmp r8, r11
jl 0x14002ba30
lea r8d, [rax - 1]
lea rdx, [rsp]
nop dword [rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, dword [r9]
lea r9, [r9 + 4]
and ecx, r8d
xor dword [r9 - 4], ecx
sub r11, 1
jne 0x14002ba60
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140075860
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002baa0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r9, rcx
lea r11, [rdx + 8]
lea r10, [rcx + 2]
mov ebx, 0xa
nop word [rax + rax]
mov ecx, dword [r11 - 4]
lea r10, [r10 + 8]
movzx eax, byte [r11 - 8]
mov r8d, dword [r11 - 8]
lea r11, [r11 + 0xc]
and al, 7
mov byte [r10 - 0xa], al
mov eax, r8d
shr eax, 3
and al, 7
shr r8d, 6
mov byte [r10 - 9], al
movzx eax, byte [r11 - 0x10]
shl al, 2
xor r8b, al
mov eax, ecx
shr eax, 1
and r8b, 7
and al, 7
mov byte [r10 - 8], r8b
mov byte [r10 - 7], al
mov eax, ecx
shr eax, 4
and al, 7
shr ecx, 7
mov byte [r10 - 6], al
movzx eax, byte [r11 - 0xc]
add al, al
xor cl, al
and cl, 7
mov byte [r10 - 5], cl
mov ecx, dword [r11 - 0xc]
mov eax, ecx
shr eax, 2
shr ecx, 5
and al, 7
and cl, 7
mov byte [r10 - 4], al
mov byte [r10 - 3], cl
sub rbx, 1
jne 0x14002bac0
movzx eax, byte [rdx + 0x78]
lea r10, [r9 + 0x54]
mov ecx, dword [rdx + 0x78]
lea r8d, [rbx + 0x54]
and al, 7
mov byte [r9 + 0x50], al
mov eax, ecx
shr eax, 3
and al, 7
shr ecx, 6
mov byte [r9 + 0x51], al
movzx eax, byte [rdx + 0x7c]
shl al, 2
xor cl, al
and cl, 7
mov byte [r9 + 0x52], cl
mov ecx, dword [rdx + 0x7c]
mov eax, ecx
shr eax, 1
shr ecx, 4
and al, 7
and cl, 7
mov byte [r9 + 0x53], al
xor al, al
mov byte [r10], cl
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
add cl, al
movzx eax, cl
sar cl, 3
add byte [r9], cl
and al, 7
mov byte [r9 - 1], al
sar al, 2
movzx ecx, al
shl cl, 3
sub byte [r9 - 1], cl
sub r8, 1
jne 0x14002bba0
add byte [r10], al
mov rbx, qword [rsp + 8]
ret
Function at 0x14002bdb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rcx]
xor edx, edx
lea r10, [0x1400c3050]
movups xmm1, xmmword [rcx + 0x10]
mov r8, rcx
sub r10, rcx
movups xmmword [rsp], xmm0
lea r9d, [rdx + 0x1f]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r10 + r8]
add eax, dword [r8]
lea r8, [r8 + 4]
add edx, eax
movzx eax, dl
shr edx, 8
mov dword [r8 - 4], eax
sub r9, 1
jne 0x14002be30
lea r9, [rcx + 0x7c]
lea eax, [rdx + 0x80]
add dword [r9], eax
lea rax, [rsp + 0x7c]
mov r8d, dword [r9]
shr r8d, 7
and r8d, 1
neg r8d
movd xmm2, r8d
pshufd xmm2, xmm2, 0
cmp rcx, rax
ja 0x14002bece
lea rax, [rsp]
cmp r9, rax
jb 0x14002bece
lea r10, [rsp]
mov r9d, 0x20
sub r10, rcx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rcx + r10]
xor edx, dword [rcx]
lea rcx, [rcx + 4]
and edx, r8d
xor dword [rcx - 4], edx
sub r9, 1
jne 0x14002bea0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140075860
add rsp, 0xa8
ret
lea r8, [rsp]
sub r8, rcx
lea rax, [rsp]
sub rax, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rax - 0x10]
mov eax, 4
nop dword [rax]
movdqu xmm0, xmmword [rdx - 0x10]
movdqu xmm1, xmmword [rcx + rdx]
lea rdx, [rdx + 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm0, xmmword [rdx - 0x20]
movdqu xmm1, xmmword [r8 + rdx - 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
sub rax, 1
jne 0x14002bef0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140075860
add rsp, 0xa8
ret
Function at 0x14002ce70
Capabilities:
Encrypt data using curve25519

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
movups xmm2, xmmword [rdx]
mov ebx, 0x10
mov rdi, rcx
movups xmm0, xmmword [rdx + 0x10]
lea rcx, [rsp + 0x24]
mov edx, ebx
movd eax, xmm2
movups xmmword [r11 - 0x28], xmm0
and al, 0xf8
psrldq xmm0, 0xf
movups xmmword [r11 - 0x38], xmm2
mov byte [r11 - 0x38], al
movd eax, xmm0
and al, 0x3f
or al, 0x40
mov byte [r11 - 0x19], al
inc r8
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 + 2]
mov dword [rcx - 4], eax
lea rcx, [rcx + 8]
movzx eax, byte [r8 - 2]
mov dword [rcx - 8], eax
sub rdx, 1
jne 0x14002ced0
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x20]
call fcn.14002c470
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call fcn.14002cac0
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x120]
call fcn.14002bf50
lea rcx, [rsp + 0x120]
call fcn.14002bdb0
lea rax, [rsp + 0x124]
lea r11, [rdi + 1]
nop dword [rax + rax]
movzx ecx, byte [rax - 4]
lea rax, [rax + 8]
mov byte [r11 - 1], cl
lea r11, [r11 + 2]
movzx ecx, byte [rax - 8]
mov byte [r11 - 2], cl
sub rbx, 1
jne 0x14002cf50
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140075860
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14002cfa0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
movzx eax, byte [rdx + 2]
movzx r8d, byte [rdx + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx]
shl r8d, 8
or r8d, eax
mov dword [rcx + 0x10], r8d
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 ecx, byte [rdx + 0x1f]
movzx eax, byte [rdx + 0x1e]
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
mov dword [r9], 0x61707865
mov dword [r9 + 0x2c], ecx
mov dword [r9 + 4], 0x3320646e
mov dword [r9 + 8], 0x79622d32
mov dword [r9 + 0xc], 0x6b206574
ret
Function at 0x14002e240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, dword [rcx + 0x7c]
lea r10, [rcx + 0x74]
mov r9d, r11d
mov r8, rcx
xor r9d, 0x7f
mov ebx, 5
dec r9d
shr r9d, 0x1f
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r10 - 0x10]
mov eax, dword [r10 - 0xc]
xor ecx, 0xff
mov edx, dword [r10 + 4]
lea r10, [r10 - 0x18]
xor eax, 0xff
dec ecx
dec eax
shr ecx, 0x1f
shr eax, 0x1f
xor edx, 0xff
and ecx, eax
dec edx
mov eax, dword [r10 + 0x10]
xor eax, 0xff
shr edx, 0x1f
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [r10 + 0x14]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [r10 + 0x18]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
and ecx, edx
and r9d, ecx
sub rbx, 1
jne 0x14002e270
mov ecx, dword [r8]
sub ecx, 0xed
not ecx
shr ecx, 0x1f
and ecx, r9d
neg ecx
mov eax, ecx
movzx edx, cl
and eax, 0x7f
sub r11d, eax
mov eax, 0x1e
mov dword [r8 + 0x7c], r11d
nop dword [rax]
nop dword [rax + rax]
sub dword [r8 + rax*4], edx
sub dword [r8 + rax*4 - 4], edx
sub rax, 2
test rax, rax
jg 0x14002e310
mov rbx, qword [rsp + 8]
and ecx, 0xed
sub dword [r8], ecx
ret

Function at 0x14002e460
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
movzx r10d, r8b
neg r10d
lea rdx, [rcx + 0x7c]
lea rax, [r9 + 0x7c]
movd xmm2, r10d
pshufd xmm2, xmm2, 0
cmp rcx, rax
ja 0x14002e4a7
cmp rdx, r9
jb 0x14002e4a7
sub r9, rcx
mov r8d, 0x20
nop
mov edx, dword [rcx + r9]
xor edx, dword [rcx]
lea rcx, [rcx + 4]
and edx, r10d
xor dword [rcx - 4], edx
sub r8, 1
jne 0x14002e490
ret
lea rax, [rcx + 0x10]
sub r9, rcx
mov ecx, 4
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x14002e4c0
ret

Function at 0x14002f7b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, r8
mov r11, rdx
mov r9d, eax
test r8, r8
je 0x14002f7e8
sub r11, rcx
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r11 + rcx]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or r9d, r8d
sub r10, 1
jne 0x14002f7d0
test r9d, r9d
setne al
ret
Function at 0x1400305a0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
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 [0x1400ea6b0], 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 [0x1400ea6b4], 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 [0x1400ea6b8], 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 [0x1400ea6bc], 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 [0x1400ea6c0], 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 [0x1400ea6c4], 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 [0x1400ea6c8], ecx
movzx ecx, byte [rdx + 0x1f]
movzx eax, byte [rdx + 0x1e]
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
mov dword [0x1400ea6a0], 0x61707865
mov dword [0x1400ea6cc], ecx
mov dword [0x1400ea6a4], 0x3320646e
mov dword [0x1400ea6a8], 0x79622d32
mov dword [0x1400ea6ac], 0x6b206574
ret
Function at 0x140030de0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.1400306f0
xor r11d, r11d
lea r10, [0x1400ea280]
test rbx, rbx
je 0x140030eb4
mov r9d, 0x28
mov eax, r11d
cmp rdi, r9
cmovb r9, rdi
test r9, r9
je 0x140030eb4
cmp r9, 0x20
jb 0x140030e90
lea rdx, [r10 - 1]
lea rcx, [rbx - 1]
add rdx, r9
add rcx, r9
cmp r10, rcx
ja 0x140030e3f
cmp rdx, rbx
jae 0x140030e90
mov r8, r9
mov rdx, rbx
and r8, 0xffffffffffffffe0
sub rdx, r10
nop dword [rax]
movdqu xmm0, xmmword [rax + r10]
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rcx + r10]
lea rcx, [rdx + rax]
pxor xmm1, xmm0
movdqu xmmword [rax + r10], xmm1
movdqu xmm0, xmmword [rax + r10 + 0x10]
movdqu xmm1, xmmword [rcx + r10 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + r10 + 0x10], xmm1
add rax, 0x20
cmp rax, r8
jb 0x140030e50
cmp rax, r9
jae 0x140030eb4
sub rbx, r10
nop dword [rax + rax]
lea r8, [rax + r10]
inc rax
movzx ecx, byte [rbx + r8]
xor byte [r8], cl
cmp rax, r9
jb 0x140030ea0
mov rdx, r10
call fcn.1400305a0
movzx eax, byte [0x1400ea2a2]
movzx ecx, byte [0x1400ea2a3]
mov rbx, qword [rsp + 0x30]
shl ecx, 8
or ecx, eax
mov qword [0x1400ea6d0], r11
movzx eax, byte [0x1400ea2a1]
shl ecx, 8
or ecx, eax
mov qword [0x1400ea690], 0x3d8
movzx eax, byte [0x1400ea2a0]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x1400ea2a6]
mov dword [0x1400ea6d8], ecx
movzx ecx, byte [0x1400ea2a7]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x1400ea2a5]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x1400ea2a4]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [0x1400ea6dc], ecx
mov qword [0x1400ea280], rax
mov qword [0x1400ea288], rax
mov qword [0x1400ea290], rax
mov qword [0x1400ea298], rax
mov qword [0x1400ea2a0], rax
add rsp, 0x20
pop rdi
ret
Function at 0x140032810
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
xor r11d, r11d
lea r15, [0x1400c31d0]
mov r14, r9
mov rbx, rdx
mov r10, rcx
mov eax, r11d
cmp rdx, 2
jbe 0x1400328e8
lea edx, [r11 + 4]
nop dword [rax + rax]
movzx r9d, byte [r10]
sub rbx, 3
movzx edi, byte [r10 + 1]
movzx ebp, r9b
movzx esi, byte [r10 + 2]
movzx ecx, dil
shr cl, 4
and r9b, 3
and dil, 0xf
shl r9b, 4
add r9b, cl
shl dil, 2
movzx ecx, sil
shr bpl, 2
shr cl, 6
add r10, 3
add dil, cl
and sil, 0x3f
cmp rdx, r14
ja 0x14003298e
movzx ecx, bpl
add rdx, 4
movzx ecx, byte [rcx + r15]
mov byte [rax + r8], cl
movzx ecx, r9b
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 1], cl
movzx ecx, dil
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 2], cl
movzx ecx, sil
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 3], cl
add rax, 4
cmp rbx, 2
ja 0x140032850
test rbx, rbx
je 0x1400329ac
xor r9b, r9b
mov word [rsp + 0x29], r11w
xor dil, dil
mov byte [rsp + 0x28], r9b
xor dl, dl
test rbx, rbx
je 0x140032936
mov rdx, r11
nop dword [rax]
movzx ecx, byte [r10]
inc r11d
mov byte [rsp + rdx + 0x28], cl
inc r10
mov edx, r11d
cmp rdx, rbx
jb 0x140032910
movzx edi, byte [rsp + 0x2a]
movzx edx, byte [rsp + 0x29]
movzx r9d, byte [rsp + 0x28]
movzx ecx, dl
shr dil, 6
movzx r10d, r9b
shr cl, 4
and r9b, 3
shr r10b, 2
and dl, 0xf
shl r9b, 4
shl dl, 2
add r9b, cl
lea rcx, [rax + 4]
add dl, dil
cmp rcx, r14
ja 0x14003298e
movzx ecx, r10b
movzx ecx, byte [rcx + r15]
mov byte [rax + r8], cl
movzx ecx, r9b
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 1], cl
cmp rbx, 1
jne 0x140032993
mov byte [rax + r8 + 2], 0x3d
jmp 0x1400329a0
or eax, 0xffffffff
jmp 0x1400329b6
movzx ecx, dl
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 2], cl
add rax, 3
mov byte [rax + r8], 0x3d
inc rax
cmp rax, r14
jae 0x14003298e
mov byte [rax + r8], 0
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop rdi
ret
Function at 0x140048730
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
lea rcx, [0x1400e7440]
call fcn.14000b9d0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x4d0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
jmp 0x140048789
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140048952
mov dword [rsp + 0x30], 0xa
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x401
lea r8, [rsp + 0xa0]
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400487ff
mov ecx, dword [rsp + 0x48]
call fcn.1400034f0
mov rdx, rax
lea rcx, str.getnameinfo:__.100s
call fcn.140002d00
jmp 0x14004877b
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0x17
jne 0x1400488b0
mov rax, qword [rsp + 0x4d0]
cmp qword [rax], 0
jne 0x140048834
lea rax, [0x1400e7441]
mov qword [rsp + 0x60], rax
jmp 0x140048844
mov rax, qword [rsp + 0x4d0]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x4d0]
cmp qword [rax], 0
jne 0x140048860
lea rax, [0x1400e7442]
mov qword [rsp + 0x68], rax
jmp 0x14004886c
lea rax, [0x1400d9868]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
lea rdx, str.listenaddress___s_:_s_s_s_n_s
lea rcx, [rsp + 0x58]
call fcn.14000ba70
jmp 0x140048943
mov rax, qword [rsp + 0x4d0]
cmp qword [rax], 0
jne 0x1400488cc
lea rax, [0x1400e7443]
mov qword [rsp + 0x70], rax
jmp 0x1400488dc
mov rax, qword [rsp + 0x4d0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x4d0]
cmp qword [rax], 0
jne 0x1400488f8
lea rax, [0x1400e7444]
mov qword [rsp + 0x78], rax
jmp 0x140048904
lea rax, [0x1400d9898]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
lea rdx, str.listenaddress__s:_s_s_s_n_s
lea rcx, [rsp + 0x58]
call fcn.14000ba70
mov rcx, qword [rsp + 0x50]
call fcn.140077f70
jmp 0x14004877b
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140075860
add rsp, 0x4c8
ret
Function at 0x14005a790
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
call fcn.14005d490
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14005a7d4
mov rdx, qword [rsp + 0x50]
lea rcx, str.unable_to_resolve_group__s
call fcn.140002d00
jmp 0x14005a81c
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [0x1400e79b0]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
test eax, eax
jne 0x14005a81c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [0x1400e79a8]
lea rdx, str.check_group_membership
lea rcx, str._s_CheckTokenMembership_for_user__s_failed_with__d_for_group__s
call fcn.14000c3a0
cmp qword [rsp + 0x38], 0
je 0x14005a82e
mov rcx, qword [rsp + 0x38]
call fcn.140077f70
cmp dword [rsp + 0x30], 0
je 0x14005a83f
mov dword [rsp + 0x34], 1
jmp 0x14005a847
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret