joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4528a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x452a17
movzx edx, byte [rax]
test edx, edx
jne 0x4528d4
nop dword [rax]
test r8b, r8b
jne 0x4528d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4528e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4529d7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x4529c5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x4529b7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45293d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x452980
mov eax, 1
cmp rax, rbx
ja 0x45296b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.004662a0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x4529af
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x452973
mov rcx, r11
mov eax, r12d
jmp 0x452942
mov rcx, rbx
call fcn.004661e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004661e0
mov eax, r8d
mov rcx, rbx
call fcn.004662a0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x452a0d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x4529d0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4528ed
mov eax, edx
mov rcx, rbx
call fcn.004661e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004661e0
nop
int3

Function at 0x4585e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458695
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00456260
nop
test bl, bl
je 0x45868f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x004586e0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004585e0
Function at 0x45b5e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b68f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045b6e0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00463de0
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045b5e0
Function at 0x465d00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4044e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a4a0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4044c0
cmp byte [0x007486ed], 0
je 0x465d15
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x462f40
jmp 0x4044c0

Function at 0x465d20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00748a40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x007486ed], 0
je 0x465d55
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00748d60]
aesenc xmm0, xmmword [0x00748d70]
aesenc xmm0, xmmword [0x00748d80]
movq rax, xmm0
ret
jmp 0x40a6c0

Function at 0x465d60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00748a40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x007486ed], 0
je 0x465d96
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00748d60]
aesenc xmm0, xmmword [0x00748d70]
aesenc xmm0, xmmword [0x00748d80]
movq rax, xmm0
ret
jmp 0x40a720

Function at 0x467b20
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x467b54
mov rcx, 0x28
jmp 0x467b5f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00748920], rcx
pop rbp
ret
Function at 0x482be0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x482e1b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x482c7a
mov qword [rsp + 0x88], rax
lea rbx, [0x0058d480]
mov rcx, rax
lea rax, [0x006c3a60]
call fcn.0046d4e0
test cl, cl
jne 0x482c63
mov rax, qword [rsp + 0x88]
call fcn.00481da0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x005ce3b0]
call fcn.0044f180
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.00484040
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x482c97
lea rdx, [0x00589ca0]
cmp rax, rdx
jne 0x482c85
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.00461aa0
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00564fe0]
call fcn.0040b1c0
inc rdx
cmp rbx, rdx
jle 0x482ce1
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x482c94
lea rax, [0x006c3a60]
lea rbx, [0x0058d480]
lea rdi, [0x00589ca0]
nop dword [rax + rax]
call fcn.0046d6a0
lea rdx, [0x00589ca0]
cmp rax, rdx
jne 0x482e0b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x00559460]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x0056d000]
call fcn.0040e4c0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x00748970], 0
nop
je 0x482d3b
mov rbx, rax
lea rax, [0x0056d000]
call fcn.00414380
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.004014a0
call fcn.00461b60
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x482da2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x482d94
mov dword [rsi + 0x10], edx
cmp dword [0x00748970], 0
je 0x482dc3
call fcn.00465e40
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x006c3a60]
lea rbx, [0x0058d480]
lea rdi, [0x00589ca0]
nop dword [rax]
call fcn.0046d6a0
lea rdx, [0x00589ca0]
cmp rax, rdx
jne 0x482dfc
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00564fe0]
call fcn.0040b1c0
mov rbx, rdx
lea rcx, [0x00564fe0]
call fcn.0040b1c0
nop
mov qword [rsp + 8], rax
call fcn.00463f00
mov rax, qword [rsp + 8]
jmp fcn.00482be0
Function at 0x499600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4996ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403a40
xorps xmm15, xmm15
mov r14, qword [0x00748920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4996af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0055e680]
xor ebx, ebx
mov rcx, rdx
call fcn.0044b3c0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00499fe0
inc rbx
cmp rcx, rbx
jae 0x49969e
mov edi, 1
lea rsi, [0x0055e680]
call fcn.0044b4a0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x005d0740]
lea rsi, [0x005cf628]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00499600
Function at 0x5c7c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.005f7180
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 [0x005ff5e0]
xor eax, eax
movdqa xmm12, xmmword [0x005ff5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x005ff610]
movdqa xmm6, xmmword [0x005ff630]
movdqa xmm13, xmmword [0x005ff670]
movdqa xmm14, xmmword [0x005ff680]
movdqa xmm15, xmmword [0x005ff690]
movdqa xmm7, xmmword [0x005ff6a0]
movdqa xmm10, xmmword [0x005ff6b0]
movdqa xmm11, xmmword [0x005ff6c0]
nop dword [rax + rax]
Function at 0x5d0140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x13d985c
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 0x5d020a
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 0x5d02b4
jne 0x5d02b4
jmp 0x1cbeb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x5d0385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x5d014e
cmp edx, 0x8664
je 0x5d02d1
cmp edx, 0x14c
jne 0x5d018b
je 0x5d026b
jne 0x5d026b
jmp 0x5d8bbe
jne 0x5d02c6
add byte [rax], al
add byte [rax], al
jmp 0x5d0193
jne 0x5d0342
je 0x10a68d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x5d0303
jne 0x5d0303
jmp 0x5d02f4
je 0x5d0285
jne 0x5d0285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x5d018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x5d028c
jne 0x5d028c
je 0x26d4706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x5d0342
jmp 0x5d01e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x5d02c6
jmp 0x5d01d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x5d024b
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 0x5d023c
jne 0x5d023c
jmp 0x5c2972
jmp 0x5d01b0
jne 0x5d02f4
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 0x5d02dd
je 0x8ae8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x5d0228
jne 0x5d0317
jmp 0x56d4790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x5d02e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x5d0339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x5d0212
jne 0x5d0212
jmp 0x5d02b2
jmp 0x5d01a0
je 0x5d0317
jmp 0x5d02c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x5d0383
jne 0x5d0383
jmp 0x5d0317
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 0x5d035d
lea rdx, [r9 + 1]
jmp 0x5d02f9
mov qword [rcx + 0x10], rdx
je 0x5d036d
jne 0x5d036d
jmp 0x8ae8e8e
mov rdx, qword [rcx + 8]
je 0x5d025f
jne 0x5d025f
je 0x5c1641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x5d01e1
jne 0x5d01e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x5d01ed
jne 0x5d01ed
jmp 0xffffffffc6a0ae72
jmp 0x5d032f
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 0x5d02f4
jmp 0x5d028a
invalid
Function at 0x5da860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x5daab8
mov edi, edx
jmp 0x5dab91
je 0x5daabe
jne 0x5daabe
je 0x53b30218
push rsi
push rdi
push rbp
push rbx
jmp 0x5dabba
sub rsp, 0xa8
jmp 0x5da9b8

Function at 0x5e8c50
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, [0x005ffbe0]
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 0x5e8d90
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 0x5eed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x5eed8b
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 0x5ef7b0
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.005ef520
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.005ec170
mov rcx, rdi
mov rdx, rbx
call fcn.005ec0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x5ef810
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 0x5ef830
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.005e9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.005e9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.005e9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.005eb4a0
mov rcx, rbx
mov rdx, rbx
call fcn.005e9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.005e9fa0
lea rcx, [rsp + 0x80]
call fcn.005e9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.005e91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.005e9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.005e9200
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.005e93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.005e93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.005eb4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.005eb4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.005e9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.005e9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.005e9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.005e9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.005e9a90
mov rcx, rbx
mov rdx, rsi
call fcn.005e9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.005e9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.005eb4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.005e9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.005eb4a0
mov rcx, rdi
mov rdx, rdi
call fcn.005e9a90
mov rcx, r14
mov rdx, rbx
call fcn.005eaae0
mov rcx, r12
mov rdx, r12
call fcn.005e9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.005e9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.005e9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.005e9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x5ef900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.005e93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.005e93b0
mov rcx, rdi
mov rdx, rdi
call fcn.005e9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.005e9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.005ea810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1407e2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407e21df
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 0x1407e2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e206f
add dl, dl
jne 0x1407e2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e20f6
xor eax, eax
add dl, dl
jne 0x1407e20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e21ad
add dl, dl
jne 0x1407e20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407e20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407e207e
mov eax, 1
add dl, dl
jne 0x1407e2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e20fb
sub eax, ebx
mov ebx, 1
jne 0x1407e214c
mov ecx, 1
add dl, dl
jne 0x1407e212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407e2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e215d
cmp eax, 0x7d00
jae 0x1407e219b
cmp eax, 0x500
jb 0x1407e2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e207e
cmp eax, 0x7f
ja 0x1407e219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407e21d2
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 0x1407e207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20