joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7659cf610
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, [0x7ff765a090a0]
mov r8d, 0x11
mov rcx, r9
mov rbx, r9
call fcn.7ff76598d920
test eax, eax
je 0x7ff7659cf65b
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x191
je 0x7ff7659cf682
mov r8d, 0x13
lea rdx, [0x7ff765a090b8]
mov rcx, rbx
call fcn.7ff76598d920
test eax, eax
je 0x7ff7659cf6dd
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x197
jne 0x7ff7659cf6dd
mov rcx, rbx
call fcn.7ff7659bcc90
mov rsi, rax
test rax, rax
jne 0x7ff7659cf69a
lea eax, [rsi + 0x1b]
jmp 0x7ff7659cf8a1
mov r9, rbx
lea r8, [0x7ff765a0ab38]
mov rdx, r15
mov rcx, rdi
call fcn.7ff7659a2ee0
cmp ebp, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.7ff7659bece0
mov rcx, rsi
mov ebx, eax
call qword [fcn.7ff7659fbaa4]
test ebx, ebx
je 0x7ff7659cf89f
mov eax, ebx
jmp 0x7ff7659cf8a1
mov r8d, 0xf
lea rdx, [0x7ff765a089d8]
mov rcx, rbx
call fcn.7ff76598d920
test eax, eax
je 0x7ff7659cf738
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff7659cf71d
lea rdx, [0x7ff765a0ab58]
mov rcx, rdi
call fcn.7ff7659a2e40
jmp 0x7ff7659cf89f
xor edx, edx
lea r9, [r14 + 0xc8]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.7ff7659ab650
jmp 0x7ff7659cf89f
lea r9, [0x7ff765a01820]
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, [0x7ff765a089e8]
mov rcx, rbx
call fcn.7ff7659bcbc0
test al, al
jne 0x7ff7659cf897
mov r8d, 0x12
lea rdx, [0x7ff765a089f8]
mov rcx, rbx
call fcn.7ff76598d920
test eax, eax
je 0x7ff7659cf7f6
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff7659cf7a5
lea rdx, [0x7ff765a0ab90]
mov rcx, rdi
call fcn.7ff7659a2e40
jmp 0x7ff7659cf89f
lea r9, [0x7ff765a00e30]
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, [0x7ff765a089f8]
mov rcx, rbx
call fcn.7ff7659bcbc0
test al, al
je 0x7ff7659cf89f
lea rdx, [0x7ff765a0abc8]
mov rcx, rdi
call fcn.7ff7659a2e40
mov rcx, rdi
mov byte [r14 + 0xd4], 1
call fcn.7ff7659ccfc0
jmp 0x7ff7659cf89f
lea r9, [0x7ff765a01820]
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, [0x7ff765a08fc0]
mov rcx, rbx
call fcn.7ff7659bcbc0
test al, al
jne 0x7ff7659cf897
mov r8d, 7
lea rdx, [0x7ff765a0abe8]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x7ff7659cf89f
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x7ff7659cf89f
cmp byte [rbx + 8], 0x20
jne 0x7ff7659cf89f
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff7659cf89f
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff7659cf89f
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff7659cf89f
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x7ff7659cf89f
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 0x7ff7659cf89f
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 0x7ff7659d3740
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x7ff765a29540]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x7ff7659d37a4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.7ff7659d5580
test al, al
je 0x7ff7659d3798
mov dword [0x7ff765a29540], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x7ff765a29540], 1
jmp 0x7ff7659d37a9
cmp eax, 2
je 0x7ff7659d37fb
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 0x7ff7659d37da
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x7ff7659d37fb
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 0x7ff7659d4400
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x7ff765a28900]
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 0x7ff7659d44a1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x7ff7659d4465
mov dword [rsi], 0x51
jmp 0x7ff7659d449a
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.7ff7659a9490
mov rcx, qword [rdi + 8]
lea rdx, [0x7ff765a0bb40]
mov r8, rax
call fcn.7ff7659a2d50
mov rax, qword [rdi + 8]
mov dword [rax + 0xd7c], ebx
mov dword [rsi], 0x38
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, [0x7ff765a0bb58]
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.7ff7659a2ee0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.7ff7659fa990
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x7ff765a28900]
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 0x7ff7659d4623
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 0x7ff7659d45b1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.7ff7659a9490
mov r9, rax
lea rdx, [0x7ff765a0ba90]
mov r8d, ebx
mov rcx, rsi
call fcn.7ff7659a2d50
mov eax, 2
jmp 0x7ff7659d4625
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.7ff7659a4100
test al, al
jne 0x7ff7659d4623
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.7ff7659a9490
mov r8d, dword [rdi]
lea rdx, [0x7ff765a0bc08]
mov r9, rax
mov rcx, rsi
call fcn.7ff7659a2d50
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x7ff7659d4625
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.7ff7659fa990
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x7ff7659d6500
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 [0x7ff765a28900]
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.7ff76598d460
mov r13, rax
test rax, rax
jne 0x7ff7659d657e
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7659a95d0
mov r9, rax
lea rdx, [0x7ff765a0c318]
mov r8, r12
mov rcx, r15
call fcn.7ff7659a2d50
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.7ff7659fbaa4]
jmp 0x7ff7659d6739
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 0x7ff7659d65f1
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7659a95d0
mov r9, rax
lea rdx, [0x7ff765a0c350]
mov r8, r12
mov rcx, r15
call fcn.7ff7659a2d50
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x7ff7659d6722
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
jne 0x7ff7659d663a
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7659a95d0
mov r9, rax
lea rdx, [0x7ff765a0c380]
mov r8, r12
mov rcx, r15
call fcn.7ff7659a2d50
mov ebx, 0x4d
jmp 0x7ff7659d6716
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x7ff7659d666f
mov r8d, 0x100000
lea rdx, [0x7ff765a0c3b8]
mov rcx, r15
call fcn.7ff7659a2d50
mov ebx, 0x4d
jmp 0x7ff7659d670e
lea rcx, [rdi + 1]
call qword [sub.ucrtbase.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x7ff7659d6689
lea ebx, [rax + 0x1b]
jmp 0x7ff7659d670e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x7ff7659d66e8
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 0x7ff7659d675b
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x7ff7659d66df
mov edi, esi
jmp 0x7ff7659d66e1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x7ff7659d66a0
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.7ff7659d6280
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.7ff7659fbaa4]
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.7ff7659fa990
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.7ff7659a95d0
mov r9, rax
lea rdx, [0x7ff765a0c3e8]
mov r8, r12
mov rcx, r15
call fcn.7ff7659a2d50
mov ebx, 0x4d
jmp 0x7ff7659d6706
Function at 0x7ff7659e3480
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 0x7ff7659e34c3
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 0x7ff7659e3510
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 0x7ff7659e3572
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 0x7ff7659e3530
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x7ff7659e35b1
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x7ff765a0e59a]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x7ff765a0e59b]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x7ff7659e3580
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 0x7ff7659e37a0
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 [0x7ff765a28900]
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 0x7ff7659e37ec
mov eax, 0x1b
jmp 0x7ff7659e38be
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 0x7ff7659e3830
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x7ff7659e38be
mov rcx, rbp
call fcn.7ff76598d9d0
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 0x7ff7659e389a
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 0x7ff7659e38aa
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x7ff7659e38bc
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff7659fa990
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff7659e38e0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x7ff7659e3945
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 0x7ff7659e38f0
ret
Function at 0x7ff7659e3a80
Capabilities:
Hash data using sha512

Disassembly:
jmp 0x7ff7659e4c00
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x7ff765a28900]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
movaps xmm0, xmmword [0x7ff765a0e8d0]
xor ebx, ebx
movaps xmm1, xmmword [0x7ff765a0e8e0]
mov r14, r8
movaps xmmword [rsp + 0x20], xmm0
mov rdi, rdx
movaps xmm0, xmmword [0x7ff765a0e8f0]
mov r15, rcx
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x7ff765a0e900]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
test r8, r8
je 0x7ff7659e4d84
lea rax, [r8*8]
mov qword [rsp + 0x68], rax
mov rax, r8
shr rax, 0x3d
mov qword [rsp + 0x60], rax
cmp r8, 0x80
jae 0x7ff7659e4ca7
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x7ff7659e4d84
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.7ff7659e3a90
sub rdi, 0xffffffffffffff80
add r14, 0xffffffffffffff80
cmp r14, 0x80
jb 0x7ff7659e4d4b
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.7ff7659e3a90
sub rdi, 0xffffffffffffff80
sub rsi, 1
jne 0x7ff7659e4d21
mov rsi, qword [rsp + 0x400]
and r14d, 0x7f
jbe 0x7ff7659e4d76
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 0x7ff7659e4d60
mov edx, 0x2c0
lea rcx, [rbp - 0x10]
call fcn.7ff7659e5150
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.7ff7659e4dc0
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.7ff7659fa990
add rsp, 0x3c0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x7ff7659e4c00
Capabilities:
Hash data using sha512

Disassembly:
jmp 0x7ff7659e4c00
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x7ff765a28900]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
movaps xmm0, xmmword [0x7ff765a0e8d0]
xor ebx, ebx
movaps xmm1, xmmword [0x7ff765a0e8e0]
mov r14, r8
movaps xmmword [rsp + 0x20], xmm0
mov rdi, rdx
movaps xmm0, xmmword [0x7ff765a0e8f0]
mov r15, rcx
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x7ff765a0e900]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
test r8, r8
je 0x7ff7659e4d84
lea rax, [r8*8]
mov qword [rsp + 0x68], rax
mov rax, r8
shr rax, 0x3d
mov qword [rsp + 0x60], rax
cmp r8, 0x80
jae 0x7ff7659e4ca7
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x7ff7659e4d84
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.7ff7659e3a90
sub rdi, 0xffffffffffffff80
add r14, 0xffffffffffffff80
cmp r14, 0x80
jb 0x7ff7659e4d4b
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.7ff7659e3a90
sub rdi, 0xffffffffffffff80
sub rsi, 1
jne 0x7ff7659e4d21
mov rsi, qword [rsp + 0x400]
and r14d, 0x7f
jbe 0x7ff7659e4d76
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 0x7ff7659e4d60
mov edx, 0x2c0
lea rcx, [rbp - 0x10]
call fcn.7ff7659e5150
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.7ff7659e4dc0
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.7ff7659fa990
add rsp, 0x3c0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x7ff7659e9a60
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 [0x7ff765a28900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x7ff765a0e970]
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 0x7ff7659e9ac0
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.7ff7659fa990
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 0x7ff7659ef650
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
Function at 0x7ff7659f45a0
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 0x7ff7659f45b0
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret