joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402070
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00408614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x402218
mov rax, qword [0x00408618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x4020bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x402147
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x4020a0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x402252
mov rax, qword [0x00408618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402261
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x402140
sub eax, 4
and eax, 0xfffffffb
jne 0x4021d0
add dword [0x00408614], 1
cmp ebx, 8
jae 0x402178
test bl, 4
jne 0x402220
test ebx, ebx
je 0x402169
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x402240
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x402169
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x4021aa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00408618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402140
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor edi, edi
jmp 0x4020c7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x402169
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x402169
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
mov rax, qword [0x00408618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
nop
nop dword [rax]
Function at 0x402a40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402a94
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x402a8b
test r12, r12
je 0x402a8b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402a70
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402cc0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x402cd0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x402ce0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402d25
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x402d1c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402d27
add rax, 0x28
cmp rax, r9
jne 0x402d08
xor eax, eax
ret

Function at 0x402dd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00405480]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402e49
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402e49
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402e46
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402e3d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402e49
add r8, 0x28
cmp r8, r9
jne 0x402e28
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x402f30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00405480]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x402f9f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402f9f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x402f9d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402f94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402fa8
add rax, 0x28
cmp rax, r9
jne 0x402f80
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402fc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00405480]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x403038
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403038
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x403038
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403038
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x40302c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x403040
add rdx, 0x28
cmp rdx, r10
jne 0x403018
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x403050
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x40305e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x403035
test r8d, r8d
jg 0x403048
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140001940
Capabilities:
Write file on windows

Disassembly:
enter 0x80, 0
sub rsp, 0x90
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x88], r14
mov qword [rbp - 0x90], r15
mov r13, rcx
mov r14, rdx
mov r15, r8
mov rcx, r13
movabs rdx, 0xc0000000
mov r8, 0
mov r9, 0
mov qword [rsp + 0x20], 2
mov qword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call qword [sym.imp.kernel32.dll_CreateFileA]
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp - 0x70]
mov rdx, r14
mov r8, r15
lea r9, [0x140003730]
mov qword [rsp + 0x20], 0
call qword [sym.imp.kernel32.dll_WriteFile]
mov rax, qword [0x140003730]
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, qword [rbp - 0x78]
mov r13, qword [rbp - 0x80]
mov r14, qword [rbp - 0x88]
mov r15, qword [rbp - 0x90]
leave
ret

Function at 0x14073e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14073e1df
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 0x14073e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14073e06f
add dl, dl
jne 0x14073e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14073e0f6
xor eax, eax
add dl, dl
jne 0x14073e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14073e1ad
add dl, dl
jne 0x14073e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14073e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14073e07e
mov eax, 1
add dl, dl
jne 0x14073e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14073e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14073e0fb
sub eax, ebx
mov ebx, 1
jne 0x14073e14c
mov ecx, 1
add dl, dl
jne 0x14073e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14073e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14073e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14073e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14073e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14073e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14073e15d
cmp eax, 0x7d00
jae 0x14073e19b
cmp eax, 0x500
jb 0x14073e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14073e07e
cmp eax, 0x7f
ja 0x14073e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14073e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14073e1d2
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 0x14073e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x142766058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1427661df
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 0x142766089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14276606f
add dl, dl
jne 0x142766096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427660f6
xor eax, eax
add dl, dl
jne 0x1427660a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427661ad
add dl, dl
jne 0x1427660b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427660c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427660d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427660dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1427660ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14276607e
mov eax, 1
add dl, dl
jne 0x142766106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142766113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427660fb
sub eax, ebx
mov ebx, 1
jne 0x14276614c
mov ecx, 1
add dl, dl
jne 0x14276612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14276613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142766123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14276607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142766168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142766175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14276615d
cmp eax, 0x7d00
jae 0x14276619b
cmp eax, 0x500
jb 0x142766196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14276607e
cmp eax, 0x7f
ja 0x14276619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14276607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1427661d2
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 0x14276607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2b7c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.002e7180
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 [0x002ef5e0]
xor eax, eax
movdqa xmm12, xmmword [0x002ef5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x002ef610]
movdqa xmm6, xmmword [0x002ef630]
movdqa xmm13, xmmword [0x002ef670]
movdqa xmm14, xmmword [0x002ef680]
movdqa xmm15, xmmword [0x002ef690]
movdqa xmm7, xmmword [0x002ef6a0]
movdqa xmm10, xmmword [0x002ef6b0]
movdqa xmm11, xmmword [0x002ef6c0]
nop dword [rax + rax]
Function at 0x2c0140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x10c985c
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 0x2c020a
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 0x2c02b4
jne 0x2c02b4
jmp 0x19aeb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x2c0385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x2c014e
cmp edx, 0x8664
je 0x2c02d1
cmp edx, 0x14c
jne 0x2c018b
je 0x2c026b
jne 0x2c026b
jmp 0x2c8bbe
jne 0x2c02c6
add byte [rax], al
add byte [rax], al
jmp 0x2c0193
jne 0x2c0342
je 0x10758d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x2c0303
jne 0x2c0303
jmp 0x2c02f4
je 0x2c0285
jne 0x2c0285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x2c018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x2c028c
jne 0x2c028c
je 0x23c4706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x2c0342
jmp 0x2c01e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x2c02c6
jmp 0x2c01d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x2c024b
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 0x2c023c
jne 0x2c023c
jmp 0x2b2972
jmp 0x2c01b0
jne 0x2c02f4
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 0x2c02dd
je 0x87d8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x2c0228
jne 0x2c0317
jmp 0x53c4790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x2c02e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x2c0339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x2c0212
jne 0x2c0212
jmp 0x2c02b2
jmp 0x2c01a0
je 0x2c0317
jmp 0x2c02c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x2c0383
jne 0x2c0383
jmp 0x2c0317
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 0x2c035d
lea rdx, [r9 + 1]
jmp 0x2c02f9
mov qword [rcx + 0x10], rdx
je 0x2c036d
jne 0x2c036d
jmp 0x87d8e8e
mov rdx, qword [rcx + 8]
je 0x2c025f
jne 0x2c025f
je 0x2b1641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x2c01e1
jne 0x2c01e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x2c01ed
jne 0x2c01ed
jmp 0xffffffffc66fae72
jmp 0x2c032f
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 0x2c02f4
jmp 0x2c028a
invalid
Function at 0x2ca860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x2caab8
mov edi, edx
jmp 0x2cab91
je 0x2caabe
jne 0x2caabe
je 0x53820218
push rsi
push rdi
push rbp
push rbx
jmp 0x2cabba
sub rsp, 0xa8
jmp 0x2ca9b8

Function at 0x2d8c50
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, [0x002efbe0]
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 0x2d8d90
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 0x2ded00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x2ded8b
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 0x2df7b0
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.002df520
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.002dc170
mov rcx, rdi
mov rdx, rbx
call fcn.002dc0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x2df810
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 0x2df830
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.002d9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.002d9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.002d9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.002db4a0
mov rcx, rbx
mov rdx, rbx
call fcn.002d9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.002d9fa0
lea rcx, [rsp + 0x80]
call fcn.002d9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.002d91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.002d9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.002d9200
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.002d93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.002d93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.002db4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.002db4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.002d9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.002d9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.002d9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.002d9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.002d9a90
mov rcx, rbx
mov rdx, rsi
call fcn.002d9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.002d9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.002db4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.002d9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.002db4a0
mov rcx, rdi
mov rdx, rdi
call fcn.002d9a90
mov rcx, r14
mov rdx, rbx
call fcn.002daae0
mov rcx, r12
mov rdx, r12
call fcn.002d9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.002d9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.002d9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.002d9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x2df900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.002d93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.002d93b0
mov rcx, rdi
mov rdx, rdi
call fcn.002d9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.002d9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.002da810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14012de19
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add r10, 2
mov qword [rsp], 0x152bcb03
and dx, di
not dx
mov word [r10], dx
lea rsp, [rsp + 8]
jmp 0x14015d520

Function at 0x140133610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + rdi - 0x6084860f], rdi
mov qword [rsp + rdi - 0x6084860f], rsi
jmp 0x1401452cc
jmp 0x1401496f4
movzx esi, dil
pushfq
mov rsi, r11
dec dil
mov rdi, rdx
push 0xffffffff9bba7e26
cld
push 0xffffffffb78b96b0
rep movsb byte [rdi], byte [rsi]
ror dword [rsp + 1], 0xe4
mov esi, 0x81030584
push qword [rsp + 0x10]
popfq
jmp 0x14013bb03
mov rsi, qword [rsp + 0x18]
lea rsp, [rsp + 0x20]
jmp 0x14015d520

Function at 0x1401420a1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x14015d520

Function at 0x14014c10a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x14015d520

Function at 0x14014caa9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add r10, 6
mov word [r10], ax
lea rsp, [rsp + 8]
jmp 0x14015d520