joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8cf810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x8cf830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.008c9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.008c9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.008c9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.008cb4a0
mov rcx, rbx
mov rdx, rbx
call fcn.008c9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.008c9fa0
lea rcx, [rsp + 0x80]
call fcn.008c9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.008c91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.008c9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.008c9200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.008c93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.008c93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.008cb4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.008cb4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.008c9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.008c9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.008c9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.008c9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.008c9a90
mov rcx, rbx
mov rdx, rsi
call fcn.008c9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.008c9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.008cb4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.008c9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.008cb4a0
mov rcx, rdi
mov rdx, rdi
call fcn.008c9a90
mov rcx, r14
mov rdx, rbx
call fcn.008caae0
mov rcx, r12
mov rdx, r12
call fcn.008c9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.008c9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.008c9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.008c9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x8cf900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.008c93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.008c93b0
mov rcx, rdi
mov rdx, rdi
call fcn.008c9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.008c9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.008ca810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x141e51058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141e511df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141e51089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e5106f
add dl, dl
jne 0x141e51096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e510f6
xor eax, eax
add dl, dl
jne 0x141e510a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e511ad
add dl, dl
jne 0x141e510b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e510c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e510d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e510dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141e510ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141e5107e
mov eax, 1
add dl, dl
jne 0x141e51106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e51113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e510fb
sub eax, ebx
mov ebx, 1
jne 0x141e5114c
mov ecx, 1
add dl, dl
jne 0x141e5112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e5113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e51123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e5107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141e51168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e51175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e5115d
cmp eax, 0x7d00
jae 0x141e5119b
cmp eax, 0x500
jb 0x141e51196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e5107e
cmp eax, 0x7f
ja 0x141e5119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e5107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141e511d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141e5107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001730
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 via systemfunction033
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x14000a7b0]
dec eax
movsxd rcx, eax
lea rax, [0x14000a780]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8]
lea rcx, str.advapi32
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction033
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [str.132abc]
lea rdx, [0x14000a7d0]
movups xmm0, xmmword [rsp + 0x20]
mov r8, rax
mov dword [rsp + 0x48], ecx
movzx ecx, word [0x140008708]
lea rax, [rsp + 0x48]
movq rbx, xmm0
mov word [rsp + 0x4c], cx
movzx ecx, byte [0x14000870a]
mov qword [0x14000a7d8], rax
psrldq xmm0, 8
movd edi, xmm0
mov byte [rsp + 0x4e], cl
lea rcx, [0x14000a7c0]
mov dword [0x14000a7d0], 7
mov eax, edi
mov qword [0x14000a7c8], rbx
shr eax, 2
mov dword [0x14000a7c0], eax
call r8
xor eax, eax
cmp dword [0x14000a7bc], eax
sete al
mov dword [0x14000a7bc], eax
cmp eax, 1
jne 0x140001821
mov edx, edi
lea r9, [rsp + 0x40]
lea r8d, [rax + 3]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_RW._n
call fcn.140001330
mov eax, dword [0x14000a7bc]
test eax, eax
jne 0x140001857
mov edx, edi
lea r9, [rsp + 0x40]
lea r8d, [rax + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea rcx, str.____Flipped_back_to_RX_RWX._n
mov dword [0x14000a7b4], eax
call fcn.140001330
mov eax, dword [0x14000a7bc]
test eax, eax
lea rcx, str.____Encoding...
lea rdx, str.____Decoding...
cmovne rdx, rcx
lea rcx, str._s_n_n
call fcn.140001330
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140001e80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1400020a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x140001f87
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x140001ee4
mov rax, qword [0x14000a008]
cmp qword [rsp + 0x20], rax
ja 0x140001ee4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140001ea6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140001f13
jmp 0x140001f87
cmp dword [rsp + 0x50], 0x10000
jne 0x140001f6a
cmp qword [rsp + 0x48], 0x10000
jb 0x140001f6a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001f58
mov rax, qword [rsp + 0x28]
jmp 0x140001f89
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140001f82
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1400020a0
mov qword [rsp + 0x20], rax
jmp 0x140001ea6
xor eax, eax
add rsp, 0x68
ret
Function at 0x140001f90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1400020e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x140002093
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x140001feb
mov rax, qword [0x14000a008]
cmp qword [rsp + 0x20], rax
ja 0x140001feb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140001fad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x14000201a
jmp 0x140002093
cmp dword [rsp + 0x50], 0x10000
jne 0x140002071
cmp qword [rsp + 0x48], 0x10000
jb 0x140002071
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000205f
mov rax, qword [rsp + 0x28]
jmp 0x140002095
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14000208e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400020e0
mov qword [rsp + 0x20], rax
jmp 0x140001fad
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400047e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x140004828
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x140004848
jmp 0x1400048e5
cmp dword [rsp + 0x68], 0x1000
jne 0x14000486d
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x14000486d
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x14000486f
jmp 0x140004813
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1400048a5
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x1400048a5
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x1400048aa
jmp 0x140004813
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x140004813
mov rax, qword [rsp + 0x20]
jmp 0x1400048e7
xor eax, eax
add rsp, 0x88
ret

Function at 0x140006890
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400068da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400068da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400068da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400068da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400068da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400068dc
xor al, al
add rsp, 0x28
ret
Function at 0x7a7c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.007d7180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x007df5e0]
xor eax, eax
movdqa xmm12, xmmword [0x007df5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x007df610]
movdqa xmm6, xmmword [0x007df630]
movdqa xmm13, xmmword [0x007df670]
movdqa xmm14, xmmword [0x007df680]
movdqa xmm15, xmmword [0x007df690]
movdqa xmm7, xmmword [0x007df6a0]
movdqa xmm10, xmmword [0x007df6b0]
movdqa xmm11, xmmword [0x007df6c0]
nop dword [rax + rax]
Function at 0x7b0140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x15b985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x7b020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x7b02b4
jne 0x7b02b4
jmp 0x1e9eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x7b0385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x7b014e
cmp edx, 0x8664
je 0x7b02d1
cmp edx, 0x14c
jne 0x7b018b
je 0x7b026b
jne 0x7b026b
jmp 0x7b8bbe
jne 0x7b02c6
add byte [rax], al
add byte [rax], al
jmp 0x7b0193
jne 0x7b0342
je 0x10c48d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x7b0303
jne 0x7b0303
jmp 0x7b02f4
je 0x7b0285
jne 0x7b0285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x7b018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x7b028c
jne 0x7b028c
je 0x28b4706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x7b0342
jmp 0x7b01e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x7b02c6
jmp 0x7b01d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x7b024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x7b023c
jne 0x7b023c
jmp 0x7a2972
jmp 0x7b01b0
jne 0x7b02f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x7b02dd
je 0x8cc8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x7b0228
jne 0x7b0317
jmp 0x58b4790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x7b02e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x7b0339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x7b0212
jne 0x7b0212
jmp 0x7b02b2
jmp 0x7b01a0
je 0x7b0317
jmp 0x7b02c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x7b0383
jne 0x7b0383
jmp 0x7b0317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x7b035d
lea rdx, [r9 + 1]
jmp 0x7b02f9
mov qword [rcx + 0x10], rdx
je 0x7b036d
jne 0x7b036d
jmp 0x8cc8e8e
mov rdx, qword [rcx + 8]
je 0x7b025f
jne 0x7b025f
je 0x7a1641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x7b01e1
jne 0x7b01e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x7b01ed
jne 0x7b01ed
jmp 0xffffffffc6beae72
jmp 0x7b032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x7b02f4
jmp 0x7b028a
invalid
Function at 0x7ba860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x7baab8
mov edi, edx
jmp 0x7bab91
je 0x7baabe
jne 0x7baabe
je 0x53d10218
push rsi
push rdi
push rbp
push rbx
jmp 0x7babba
sub rsp, 0xa8
jmp 0x7ba9b8

Function at 0x7c8c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x007dfbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0x7c8d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0x7ced00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x7ced8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0x7cf7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.007cf520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.007cc170
mov rcx, rdi
mov rdx, rbx
call fcn.007cc0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x7cf810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x7cf830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.007c9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.007c9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.007c9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.007cb4a0
mov rcx, rbx
mov rdx, rbx
call fcn.007c9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.007c9fa0
lea rcx, [rsp + 0x80]
call fcn.007c9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.007c91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.007c9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.007c9200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.007c93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.007c93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.007cb4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.007cb4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.007c9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.007c9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.007c9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.007c9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.007c9a90
mov rcx, rbx
mov rdx, rsi
call fcn.007c9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.007c9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.007cb4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.007c9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.007cb4a0
mov rcx, rdi
mov rdx, rdi
call fcn.007c9a90
mov rcx, r14
mov rdx, rbx
call fcn.007caae0
mov rcx, r12
mov rdx, r12
call fcn.007c9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.007c9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.007c9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.007c9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x7cf900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.007c93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.007c93b0
mov rcx, rdi
mov rdx, rdi
call fcn.007c9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.007c9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.007ca810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret