joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff66b5d1950
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov r15, rcx
lea rdx, [0x7ff66b60f160]
mov r8d, 0x11
mov rcx, r9
mov rbx, r9
call fcn.7ff66b58fc60
test eax, eax
je 0x7ff66b5d199b
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x191
je 0x7ff66b5d19c2
mov r8d, 0x13
lea rdx, [0x7ff66b60f178]
mov rcx, rbx
call fcn.7ff66b58fc60
test eax, eax
je 0x7ff66b5d1a1d
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x197
jne 0x7ff66b5d1a1d
mov rcx, rbx
call fcn.7ff66b5befd0
mov rsi, rax
test rax, rax
jne 0x7ff66b5d19da
lea eax, [rsi + 0x1b]
jmp 0x7ff66b5d1be1
mov r9, rbx
lea r8, [0x7ff66b610bf8]
mov rdx, r15
mov rcx, rdi
call fcn.7ff66b5a5220
cmp ebp, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.7ff66b5c1020
mov rcx, rsi
mov ebx, eax
call qword [fcn.7ff66b6015f4]
test ebx, ebx
je 0x7ff66b5d1bdf
mov eax, ebx
jmp 0x7ff66b5d1be1
mov r8d, 0xf
lea rdx, [0x7ff66b60ea98]
mov rcx, rbx
call fcn.7ff66b58fc60
test eax, eax
je 0x7ff66b5d1a78
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff66b5d1a5d
lea rdx, [0x7ff66b610c18]
mov rcx, rdi
call fcn.7ff66b5a5180
jmp 0x7ff66b5d1bdf
xor edx, edx
lea r9, [r14 + 0xc8]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.7ff66b5ad990
jmp 0x7ff66b5d1bdf
lea r9, [0x7ff66b6078e0]
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, [0x7ff66b60eaa8]
mov rcx, rbx
call fcn.7ff66b5bef00
test al, al
jne 0x7ff66b5d1bd7
mov r8d, 0x12
lea rdx, [0x7ff66b60eab8]
mov rcx, rbx
call fcn.7ff66b58fc60
test eax, eax
je 0x7ff66b5d1b36
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff66b5d1ae5
lea rdx, [0x7ff66b610c50]
mov rcx, rdi
call fcn.7ff66b5a5180
jmp 0x7ff66b5d1bdf
lea r9, [0x7ff66b606ef0]
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, [0x7ff66b60eab8]
mov rcx, rbx
call fcn.7ff66b5bef00
test al, al
je 0x7ff66b5d1bdf
lea rdx, [0x7ff66b610c88]
mov rcx, rdi
call fcn.7ff66b5a5180
mov rcx, rdi
mov byte [r14 + 0xd4], 1
call fcn.7ff66b5cf300
jmp 0x7ff66b5d1bdf
lea r9, [0x7ff66b6078e0]
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, [0x7ff66b60f080]
mov rcx, rbx
call fcn.7ff66b5bef00
test al, al
jne 0x7ff66b5d1bd7
mov r8d, 7
lea rdx, [0x7ff66b610ca8]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x7ff66b5d1bdf
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x7ff66b5d1bdf
cmp byte [rbx + 8], 0x20
jne 0x7ff66b5d1bdf
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff66b5d1bdf
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff66b5d1bdf
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff66b5d1bdf
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x7ff66b5d1bdf
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x150], ecx
mov dword [rdi + 0x1394], ecx
jmp 0x7ff66b5d1bdf
mov byte [r14 + 0xd5], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x7ff66b5d5a80
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x7ff66b62f600]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x7ff66b5d5ae4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.7ff66b5d78c0
test al, al
je 0x7ff66b5d5ad8
mov dword [0x7ff66b62f600], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x7ff66b62f600], 1
jmp 0x7ff66b5d5ae9
cmp eax, 2
je 0x7ff66b5d5b3b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockopt]
test eax, eax
jne 0x7ff66b5d5b1a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x7ff66b5d5b3b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x7ff66b5d6740
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.ws2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x7ff66b5d67e1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x7ff66b5d67a5
mov dword [rsi], 0x51
jmp 0x7ff66b5d67da
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.7ff66b5ab7d0
mov rcx, qword [rdi + 8]
lea rdx, [0x7ff66b611c00]
mov r8, rax
call fcn.7ff66b5a5090
mov rax, qword [rdi + 8]
mov dword [rax + 0xd7c], ebx
mov dword [rsi], 0x38
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, [0x7ff66b611c18]
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.7ff66b5a5220
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.7ff66b6004e0
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x7ff66b5d6820
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x7ff66b5d6963
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x7ff66b5d68f1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.7ff66b5ab7d0
mov r9, rax
lea rdx, [0x7ff66b611b50]
mov r8d, ebx
mov rcx, rsi
call fcn.7ff66b5a5090
mov eax, 2
jmp 0x7ff66b5d6965
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.7ff66b5a6440
test al, al
jne 0x7ff66b5d6963
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.ucrtbase.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.ucrtbase.dll__errno]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.7ff66b5ab7d0
mov r8d, dword [rdi]
lea rdx, [0x7ff66b611cc8]
mov r9, rax
mov rcx, rsi
call fcn.7ff66b5a5090
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x7ff66b5d6965
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.7ff66b6004e0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x7ff66b5d8840
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.7ff66b58f7a0
mov r13, rax
test rax, rax
jne 0x7ff66b5d88be
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff66b5ab910
mov r9, rax
lea rdx, [0x7ff66b6123d8]
mov r8, r12
mov rcx, r15
call fcn.7ff66b5a5090
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.7ff66b6015f4]
jmp 0x7ff66b5d8a79
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff66b5d8931
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff66b5ab910
mov r9, rax
lea rdx, [0x7ff66b612410]
mov r8, r12
mov rcx, r15
call fcn.7ff66b5a5090
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x7ff66b5d8a62
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
jne 0x7ff66b5d897a
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff66b5ab910
mov r9, rax
lea rdx, [0x7ff66b612440]
mov r8, r12
mov rcx, r15
call fcn.7ff66b5a5090
mov ebx, 0x4d
jmp 0x7ff66b5d8a56
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x7ff66b5d89af
mov r8d, 0x100000
lea rdx, [0x7ff66b612478]
mov rcx, r15
call fcn.7ff66b5a5090
mov ebx, 0x4d
jmp 0x7ff66b5d8a4e
lea rcx, [rdi + 1]
call qword [sub.ucrtbase.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x7ff66b5d89c9
lea ebx, [rax + 0x1b]
jmp 0x7ff66b5d8a4e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x7ff66b5d8a28
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff66b5d8a9b
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x7ff66b5d8a1f
mov edi, esi
jmp 0x7ff66b5d8a21
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x7ff66b5d89e0
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.7ff66b5d85c0
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.7ff66b6015f4]
mov rcx, r13
call qword [sym.imp.ucrtbase.dll_free]
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.7ff66b6004e0
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff66b5ab910
mov r9, rax
lea rdx, [0x7ff66b6124a8]
mov r8, r12
mov rcx, r15
call fcn.7ff66b5a5090
mov ebx, 0x4d
jmp 0x7ff66b5d8a46
Function at 0x7ff66b5e57d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x7ff66b5e5813
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x7ff66b5e5860
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + 0x10]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x7ff66b5e58c2
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x7ff66b5e5880
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x7ff66b5e5901
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x7ff66b61465a]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x7ff66b61465b]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x7ff66b5e58d0
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x7ff66b5e5af0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
test eax, eax
jne 0x7ff66b5e5b3c
mov eax, 0x1b
jmp 0x7ff66b5e5c0e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
jne 0x7ff66b5e5b80
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x7ff66b5e5c0e
mov rcx, rbp
call fcn.7ff66b58fd10
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.advapi32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x7ff66b5e5bea
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x7ff66b5e5bfa
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x7ff66b5e5c0c
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff66b6004e0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff66b5e5c30
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x7ff66b5e5c95
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x7ff66b5e5c40
ret
Function at 0x7ff66b5e7440
Capabilities:
Hash data using sha512

Disassembly:
jmp 0x7ff66b5e7440
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
movaps xmm0, xmmword [0x7ff66b6149b0]
xor ebx, ebx
movaps xmm1, xmmword [0x7ff66b6149c0]
mov r14, r8
movaps xmmword [rsp + 0x20], xmm0
mov rdi, rdx
movaps xmm0, xmmword [0x7ff66b6149d0]
mov r15, rcx
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x7ff66b6149e0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
test r8, r8
je 0x7ff66b5e75c4
lea rax, [r8*8]
mov qword [rsp + 0x68], rax
mov rax, r8
shr rax, 0x3d
mov qword [rsp + 0x60], rax
cmp r8, 0x80
jae 0x7ff66b5e74e7
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x7ff66b5e75c4
movups xmm0, xmmword [rdx]
lea r9, [rbp + 0x270]
movups xmm1, xmmword [rdx + 0x10]
lea r8, [rbp - 0x10]
movaps xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rdx + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rdx + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [rdx + 0x70]
lea rdx, [rsp + 0x70]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
call fcn.7ff66b5e62d0
sub rdi, 0xffffffffffffff80
add r14, 0xffffffffffffff80
cmp r14, 0x80
jb 0x7ff66b5e758b
mov qword [rsp + 0x400], rsi
mov rsi, r14
shr rsi, 7
lea r9, [rbp + 0x270]
mov rdx, rdi
lea r8, [rbp - 0x10]
lea rcx, [rsp + 0x20]
call fcn.7ff66b5e62d0
sub rdi, 0xffffffffffffff80
sub rsi, 1
jne 0x7ff66b5e7561
mov rsi, qword [rsp + 0x400]
and r14d, 0x7f
jbe 0x7ff66b5e75b6
lea rax, [rsp + 0x70]
sub rdi, rax
nop dword [rax]
lea rcx, [rsp + 0x70]
add rcx, rbx
inc rbx
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
cmp rbx, r14
jb 0x7ff66b5e75a0
mov edx, 0x2c0
lea rcx, [rbp - 0x10]
call fcn.7ff66b5e7bf0
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.7ff66b5e7600
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.7ff66b6004e0
add rsp, 0x3c0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret

Function at 0x7ff66b5e7b90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], 0
test r8, r8
je 0x7ff66b5e7bd9
nop word [rax + rax]
mov rax, qword [rsp + 0x10]
movzx edx, byte [rax + r9]
mov rax, qword [rsp + 0x18]
movzx ecx, byte [rax + r9]
inc r9
movzx eax, byte [rsp + 8]
xor dl, cl
or dl, al
mov byte [rsp + 8], dl
cmp r9, r8
jb 0x7ff66b5e7bb0
movzx eax, byte [rsp + 8]
dec eax
sar eax, 8
and eax, 1
dec eax
ret
Function at 0x7ff66b5eacf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x7ff66b61c7f0]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x7ff66b5ead50
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15 + 0xa0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0x80]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, ebx
xor r9d, r8d
dec edx
or r9d, r11d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
xor edx, r8d
or edx, esi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, r14d
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.7ff66b6004e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x7ff66b5eddf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x7ff66b5ede00
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x7ff66b5ede40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x20
jl 0x7ff66b5ede50
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x7ff66b5f1830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x7ff66b62e900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x7ff66b61c950]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x7ff66b5f1890
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15 + 0xa0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0x80]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, ebx
xor r9d, r8d
dec edx
or r9d, r11d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
xor edx, r8d
or edx, esi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, r14d
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.7ff66b6004e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x7ff66b5f7420
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 + 0x14], 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 + 0x28], 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 + 0x3c], 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 + 0x30], 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 + 0x1c], 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 + 0x10], 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 + 0x24], 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 + 0x38], ecx
mov dword [r9], 0x61707865
mov dword [r9 + 4], 0x3320646e
mov dword [r9 + 8], 0x79622d32
mov dword [r9 + 0xc], 0x6b206574
ret