joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180091a70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, r8
dec eax
mov r8, rdx
mov rdi, rcx
cmp eax, 0x20
ja case.0x180091b59.4
lea rsi, [0x180000000]
nop dword [rax]
cdqe
movzx eax, byte [rsi + rax + 0x91cd8]
mov ecx, dword [rsi + rax*4 + 0x91cac]
add rcx, rsi
jmp rcx
mov rax, qword [rbx + 0xd0]
movzx r8d, byte [r8 + 1]
add rax, 0xffffffffffffffc4
lea r8, [rax + r8*2]
movzx eax, byte [r8]
dec eax
cmp eax, 0x20
jbe 0x180091aa0
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xcc]
movzx edx, word [rsi + rax*2 + 0xa5d70]
mov rcx, rdi
call fcn.180090320
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x9c]
cmp al, 8
jae case.0x180091b59.4
lea edx, [rax + 0x6d]
mov rcx, rdi
call fcn.180090320
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r8 + 1]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x180091b59.4
cdqe
movzx eax, byte [rsi + rax + 0x91d08]
mov ecx, dword [rsi + rax*4 + 0x91cfc]
add rcx, rsi
jmp rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180092b10
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180091d30
movzx eax, byte [rbx + 0xa2]
mov r9, rbx
mov rcx, rdi
mov rdx, qword [rbx + rax*8 + 0xa8]
inc al
mov byte [rbx + 0xa2], al
call fcn.1800908a0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rbx + 0x34]
mov rcx, rdi
call fcn.1800902f0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180091bee
lea edx, [rax + 0x35]
jmp 0x180091c00
cmp eax, 1
jne 0x180091bfb
lea edx, [rax + 0x1f]
lea eax, [rdx + 0x19]
jmp 0x180091c05
mov edx, 0x39
mov eax, 0x20
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.180090320
movsxd rax, dword [rbx + 8]
mov rcx, rdi
movzx edx, byte [rax + rsi + 0xa5f30]
call fcn.180090320
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180091c47
lea edx, [rax + 0x31]
jmp 0x180091c59
cmp eax, 1
jne 0x180091c54
lea edx, [rax + 0x19]
lea eax, [rdx - 0xa]
jmp 0x180091c5e
mov edx, 0x10
mov eax, 0x1a
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.180090320
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xb8]
jmp 0x180091aee
movzx edx, byte [rbx + 0xa0]
and edx, 7
add edx, 0x85
jmp 0x180091af6
movsxd rax, dword [rbx + 0x98]
jmp 0x180091aee
Function at 0x1400026a0
Capabilities:
Parse pe header

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

Function at 0x140008658
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400084c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400084c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400084c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400084c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400084c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400084c3
cmp dword [rcx + 0xf8], 0
je 0x1400084c3
mov ecx, ebx
call fcn.140008574
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140008350
nop
cmp dword [rbp + 0x20], 0
je 0x140008511
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000851c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140008454
Function at 0x14000d8cc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d8fc
xor eax, eax
jmp 0x14000d9bf
mov rbp, rbx
cmp word [rax], si
je 0x14000d921
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d908
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d904
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d7ec
movsxd r14, eax
test eax, eax
jne 0x14000d95f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d8f5
mov rcx, r14
call fcn.14000bfc8
mov rdi, rax
test rax, rax
jne 0x14000d978
xor ecx, ecx
call fcn.14000aa04
jmp 0x14000d954
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d7ec
test eax, eax
jne 0x14000d9a9
mov rcx, rdi
call fcn.14000aa04
jmp 0x14000d9b3
xor ecx, ecx
call fcn.14000aa04
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140011018
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000b8b4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400110a2
cmp byte [rbp - 0x21], r15b
je 0x14001109d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400110d8
call fcn.14000bc54
test eax, eax
jne 0x1400110c4
cmp byte [rbp - 0x21], r15b
je 0x1400110bc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400110d8
cmp byte [rbp - 0x21], r15b
je 0x1400110d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b738
test eax, eax
jne 0x140011178
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b8b4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140011117
cmp byte [rbp - 0x21], r15b
je 0x14001114c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001114c
call fcn.14000bc54
test eax, eax
jne 0x140011138
cmp byte [rbp - 0x21], r15b
je 0x140011131
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001114c
cmp byte [rbp - 0x21], r15b
je 0x140011149
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b738
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140011178
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001117b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140011189
mov rcx, rdi
call fcn.14000aa04
cmp byte [rbp + 0x3f], r15b
je 0x140011198
mov rcx, qword [rbp + 0x27]
call fcn.14000aa04
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140013fa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140013fc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140013fc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x407c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00437180
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 [0x0043f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x0043f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x0043f610]
movdqa xmm6, xmmword [0x0043f630]
movdqa xmm13, xmmword [0x0043f670]
movdqa xmm14, xmmword [0x0043f680]
movdqa xmm15, xmmword [0x0043f690]
movdqa xmm7, xmmword [0x0043f6a0]
movdqa xmm10, xmmword [0x0043f6b0]
movdqa xmm11, xmmword [0x0043f6c0]
nop dword [rax + rax]
Function at 0x410140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x121985c
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 0x41020a
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 0x4102b4
jne 0x4102b4
jmp 0x1afeb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x410385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x41014e
cmp edx, 0x8664
je 0x4102d1
cmp edx, 0x14c
jne 0x41018b
je 0x41026b
jne 0x41026b
jmp 0x418bbe
jne 0x4102c6
add byte [rax], al
add byte [rax], al
jmp 0x410193
jne 0x410342
je 0x108a8d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x410303
jne 0x410303
jmp 0x4102f4
je 0x410285
jne 0x410285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x41018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x41028c
jne 0x41028c
je 0x2514706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x410342
jmp 0x4101e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x4102c6
jmp 0x4101d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x41024b
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 0x41023c
jne 0x41023c
jmp 0x402972
jmp 0x4101b0
jne 0x4102f4
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 0x4102dd
je 0x8928e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x410228
jne 0x410317
jmp 0x5514790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x4102e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x410339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x410212
jne 0x410212
jmp 0x4102b2
jmp 0x4101a0
je 0x410317
jmp 0x4102c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x410383
jne 0x410383
jmp 0x410317
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 0x41035d
lea rdx, [r9 + 1]
jmp 0x4102f9
mov qword [rcx + 0x10], rdx
je 0x41036d
jne 0x41036d
jmp 0x8928e8e
mov rdx, qword [rcx + 8]
je 0x41025f
jne 0x41025f
je 0x401641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x4101e1
jne 0x4101e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x4101ed
jne 0x4101ed
jmp 0xffffffffc684ae72
jmp 0x41032f
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 0x4102f4
jmp 0x41028a
invalid
Function at 0x41a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x41aab8
mov edi, edx
jmp 0x41ab91
je 0x41aabe
jne 0x41aabe
je 0x53970218
push rsi
push rdi
push rbp
push rbx
jmp 0x41abba
sub rsp, 0xa8
jmp 0x41a9b8

Function at 0x428c50
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, [0x0043fbe0]
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 0x428d90
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 0x42ed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x42ed8b
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 0x42f7b0
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.0042f520
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.0042c170
mov rcx, rdi
mov rdx, rbx
call fcn.0042c0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x42f810
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 0x42f830
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.00429570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00429200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00429220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0042b4a0
mov rcx, rbx
mov rdx, rbx
call fcn.00429800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00429fa0
lea rcx, [rsp + 0x80]
call fcn.00429200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.004291e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00429550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00429200
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.004293b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.004293b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0042b4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0042b4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00429220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00429220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00429fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00429fa0
mov rcx, rbp
mov rdx, rbx
call fcn.00429a90
mov rcx, rbx
mov rdx, rsi
call fcn.00429a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00429220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0042b4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00429fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0042b4a0
mov rcx, rdi
mov rdx, rdi
call fcn.00429a90
mov rcx, r14
mov rdx, rbx
call fcn.0042aae0
mov rcx, r12
mov rdx, r12
call fcn.00429a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00429220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00429fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00429fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x42f900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.004293b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.004293b0
mov rcx, rdi
mov rdx, rdi
call fcn.00429800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00429fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0042a810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1805eff80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x180901370]
xor r15d, r15d
mov ebp, ecx
mov r14d, r15d
mov rsi, qword [rdi + 0x3ed0]
test cl, 0x10
jne 0x1805f010f
mov ebx, dword [rdi + 0x476c]
test ebx, ebx
je 0x1805efff7
cmp dword [rdi + 0x3f30], ebx
jne 0x1805f0108
mov eax, dword [rdi + 0x3f5c]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xe04], r14b
je 0x1805f0108
cmp byte [rsi + 0xb3], r14b
jmp 0x1805f00b0
cmp byte [rdi + 0xe04], r14b
je 0x1805f0108
cmp byte [rsi + 0xb3], r14b
jne 0x1805f0108
test byte [rdi + 0x4774], 1
jne 0x1805f0034
cmp dword [rdi + 0x3f30], r14d
je 0x1805f0108
cmp qword [rdi + 0x3f50], rsi
jne 0x1805f0108
test bpl, 8
je 0x1805f0108
lea rdx, [rdi + 0x4778]
mov rcx, rsi
call fcn.1805f46a0
mov ebx, eax
mov dword [rdi + 0x476c], eax
mov rax, qword [0x180901370]
cmp dword [rax + 0x3f30], ebx
jne 0x1805f006a
mov dword [rax + 0x3f34], ebx
cmp dword [rax + 0x3f60], ebx
jne 0x1805f0079
mov byte [rax + 0x3f64], 1
mov edx, ebx
lea rcx, [rdi + 0x4778]
call fcn.1805f7de0
movzx r14d, al
test al, al
je 0x1805f00aa
cmp byte [rdi + 0x3738], r15b
je 0x1805f00aa
mov rdx, rsi
mov ecx, ebx
call fcn.180601420
mov rcx, rsi
call fcn.1805f4070
cmp dword [rdi + 0x3f30], ebx
jne 0x1805f0108
mov byte [rdi + 0x3f3d], r14b
movsxd rcx, dword [rsi + 0xe8]
mov rax, qword [rsi + 0xf0]
mov r14d, dword [rax + rcx*4 - 4]
mov rax, qword [0x180901370]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xe04], 0
jne 0x1805f00e5
xor sil, sil
jmp 0x1805f00fe
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x3790]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.180601500
test sil, sil
jne 0x1805f0162
xor al, al
jmp 0x1805f0202
mov r9d, 0xffffffff
lea rdx, [0x18073fdc9]
mov ebx, r9d
lea r10, [0x18073ed70]
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x1805f0143
cmp byte [rdx], r8b
jne 0x1805f0143
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1805f0130
not ebx
cmp byte [rdi + 0x4a5c], 0
jne 0x1805f01a0
call fcn.1805f17f0
mov dword [rdi + 0x4a7c], ebx
mov dword [rdi + 0x4a80], r14d
mov byte [rdi + 0x4a5c], 1
mov dword [rdi + 0x4a60], ebp
mov dword [rdi + 0x4a68], r15d
cmp ebx, dword [rdi + 0x3f30]
jne 0x1805f01a0
mov byte [rdi + 0x3f3e], 1
mov eax, dword [rdi + 0x3e50]
mov dword [rdi + 0x4a64], eax
mov byte [rdi + 0x4a5d], 1
test bpl, 1
jne 0x1805f01f3
xor edx, edx
xor ecx, ecx
call fcn.1805f0570
cmp dword [rdi + 0x4ad0], 0
je 0x1805f01f3
test dword [rdi + 0x4ac4], 0x1000
je 0x1805f01f3
mov rax, qword [rdi + 0x3ed0]
mov byte [rax + 0xb3], 1
mov byte [rax + 0xb5], 1
mov byte [rax + 0xd0], 1
test bpl, 0x12
jne 0x1805f0200
and dword [rdi + 0x4774], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret