joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000c93c
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 0x18000c96c
xor eax, eax
jmp 0x18000ca2f
mov rbp, rbx
cmp word [rax], si
je 0x18000c991
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000c978
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000c974
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.18000c88c
movsxd r14, eax
test eax, eax
jne 0x18000c9cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000c965
mov rcx, r14
call fcn.18000acec
mov rdi, rax
test rax, rax
jne 0x18000c9e8
xor ecx, ecx
call fcn.18000ad4c
jmp 0x18000c9c4
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.18000c88c
test eax, eax
jne 0x18000ca19
mov rcx, rdi
call fcn.18000ad4c
jmp 0x18000ca23
xor ecx, ecx
call fcn.18000ad4c
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 0x14045fb9c
Capabilities:
Set console window title

Disassembly:
mov edx, 2
jmp 0x14045fb9c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140463022], 0
mov edi, edx
mov rbx, rcx
jne 0x14045fbba
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff6
mov dword [0x140463368], edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [0x140467b60], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [0x140467b80], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [0x140467b80]
lea rdx, [0x140467ba0]
mov qword [0x140467bc0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov edi, 1
lea rcx, [0x14045fb78]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test rbx, rbx
je 0x14045fc2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x140467b20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140467be0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x14045fc9c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
je 0x14045fd13
mov rcx, qword [0x140467a70]
add esi, 2
xor edx, edx
lea eax, [rsi + 1]
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14045fd13
mov rcx, rax
test rbx, rbx
je 0x14045fd04
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
lea rdx, [0x140461104]
mov rcx, rdi
call sub.msvcrt.dll_wcscat
jmp 0x14045fd10
lea rdx, [0x140461104]
call sub.msvcrt.dll_wcscpy
mov rbx, rdi
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x14045fd9d
mov eax, dword [0x140463368]
cmp eax, 2
je 0x14045fd68
cmp eax, 0x18
je 0x14045fd5e
and qword [rsp + 0x20], 0
lea r8d, [rsi + rsi]
lea r9, [rsp + 0x58]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14045fd9d
mov rcx, rbx
call fcn.14045ffe0
jmp 0x14045fd70
mov rcx, rbx
call fcn.1404600c0
mov rcx, rax
mov rbx, rax
call sub.msvcrt.dll_strlen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.14045ffd0
test rdi, rdi
je 0x14045fdb4
mov rcx, qword [0x140467a70]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180625b0c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rsi, rdx
mov r12, rcx
test r8d, r8d
je 0x180625cf5
mov r8d, dword [rdx + 0xc]
test r8d, r8d
je 0x180625cf5
xor edi, edi
mov r9, rdx
mov qword [rbp + 0xa8], rdi
mov eax, dword [r9 + 0x10]
mov r13d, dword [r9]
add rax, r12
mov ebx, r8d
add r13, r12
add rbx, r12
mov qword [rsp + 0x30], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
test rax, rax
jne 0x180625b8a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.18061d8ec
test r15, r15
je 0x180625c98
mov rax, qword [r13]
xor r14d, r14d
xor ebx, ebx
test rax, rax
je 0x180625c77
mov rsi, qword [rsp + 0x30]
mov rdi, r13
jns 0x180625bc7
movzx r13d, ax
jmp 0x180625bcf
lea r13, [r12 + 2]
add r13, rax
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movsxd rcx, r14d
mov qword [rsi + rcx*8], rax
test rax, rax
jne 0x180625c56
cmp dword [0x18062f4f0], 1
jne 0x180625c56
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.18061d8ec
lea rcx, [rsp + 0x40]
call fcn.180625e5c
lea rdx, [0x18061c898]
lea rcx, [rsp + 0x40]
call fcn.18061d910
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.18061d910
lea rcx, [rsp + 0x40]
call fcn.18061d938
mov rcx, qword [0x18062f490]
lea r9, [rbp + 0xa0]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc rbx
inc r14d
mov rax, qword [rdi + rbx*8]
test rax, rax
jne 0x180625bbf
mov rdi, qword [rbp + 0xa8]
mov rsi, qword [rbp + 0x98]
inc rdi
mov qword [rbp + 0xa8], rdi
lea rax, [rdi + rdi*4]
lea r9, [rsi + rax*4]
mov r8d, dword [r9 + 0xc]
test r8d, r8d
jne 0x180625b55
jmp 0x180625cf5
lea rcx, [rsp + 0x40]
call fcn.180625e5c
lea rdx, [0x18061c878]
lea rcx, [rsp + 0x40]
call fcn.18061d910
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.18061d910
cmp dword [0x18062f4f0], 1
jne 0x180625cf5
lea rcx, [rsp + 0x40]
call fcn.18061d938
mov rcx, qword [0x18062f490]
lea r9, [rbp + 0xa0]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x190]
xor eax, eax
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180625d58
Capabilities:
Read file via mapping

Disassembly:
sub rsp, 0x458
call fcn.180625e14
mov r8d, 0x208
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x18062f238], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [0x18062f238]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x18062f240], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [0x18062f240]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rcx, dword [0x18062f4f8]
add rax, rcx
add rsp, 0x458
ret
Function at 0x1806264e8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rbx, qword [rcx]
xor r14d, r14d
mov esi, r14d
mov rdi, rdx
mov r12, rcx
call fcn.180626460
mov rcx, rbx
call fcn.180626724
mov rcx, rdi
mov rbx, rax
call fcn.180626724
xor edx, edx
mov qword [rbp - 0x41], rax
lea r8d, [r14 + 0x58]
mov r13, rax
lea rcx, [rbp - 0x39]
call fcn.18061d8ec
lea r8, [rbp - 0x39]
mov rcx, rbx
lea edx, [r14 + 5]
call fcn.180626258
mov r15d, eax
cmp eax, 5
jb 0x1806266f1
mov r8, qword [rbp - 0x31]
mov rcx, rbx
mov rdx, qword [rbp - 0x39]
call fcn.18062677c
mov rsi, rax
test rax, rax
je 0x1806266f1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [r14 + 0x40]
mov dword [rbp + 0x7f], r14d
mov rdi, rax
mov dword [rbp + 0x77], r14d
lea rax, [rbp + 0x7f]
mov rcx, rdi
mov r8d, r15d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1806266d2
lea rax, [rbp + 0x77]
mov rdx, rsi
lea r9d, [r14 + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1806266a7
lea r12, [rsi + 0x38]
mov rdx, rbx
sub rdx, r12
mov r8, rsi
sub r8, r12
mov rcx, r12
mov r9d, r15d
mov al, byte [rdx + rcx]
mov byte [rcx], al
mov byte [r8 + rcx + 0x58], al
inc rcx
sub r9, 1
jne 0x1806265ee
lea rdx, [r15 + rbx]
lea rcx, [r15 + r12]
call fcn.18062641c
lea r8, [rbp - 0x39]
mov rdx, rbx
mov rcx, r12
call fcn.1806264ac
mov rcx, rbx
mov rax, r13
sub rcx, r13
sub rax, rbx
cmp r13, rbx
cmovb rax, rcx
cmp rax, 0x7fff0000
jbe 0x18062665b
mov rdx, qword [rbp - 0x41]
lea r13, [rsi + 0x18]
mov rcx, r13
call fcn.18062641c
sub rax, rsi
mov rdx, r13
mov rcx, rdi
lea r8, [rax - 0x18]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rdx, r13
mov rcx, rbx
call fcn.18062641c
mov rax, qword [rbp - 0x41]
mov r8, r15
mov rdx, r12
mov qword [rsi + 0x10], rax
mov rcx, rdi
mov dword [rsi + 8], r15d
mov qword [rsi], rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rbp + 0x77]
lea rax, [rbp + 0x77]
mov r8d, 0x78
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r12, qword [rbp + 0x67]
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rbp + 0x7f]
lea rax, [rbp + 0x7f]
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp qword [rsi], r14
je 0x1806266e1
lea rax, [rsi + 0x38]
mov qword [r12], rax
jmp 0x1806266f1
mov edx, 1
mov rcx, rsi
call fcn.1806268cc
mov rsi, r14
lea rcx, [0x18062f258]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0xe8]
test rsi, rsi
setne r14b
mov eax, r14d
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18062677c
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
xor edi, edi
cmp dword [0x18062f254], 0x40
jae 0x1806268aa
xorps xmm0, xmm0
lea rbx, [rcx + rdx]
add rcx, r8
mov rbp, 0xfffffffffff80000
cmp rcx, 0xffffffff80000000
movups xmmword [rsp + 0x20], xmm0
lea rax, [rcx + 0x7ff80000]
lea rcx, [r11 - 0x68]
cmovb rbp, rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 0x80000000
lea rsi, [rbx - 0x7fff0000]
cmp rbx, rax
lea r14d, [rdi + 1]
cmovb rsi, r14
cmp rsi, rbp
jae 0x1806268aa
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18062687a
cmp dword [rsp + 0x70], 0x10000
jne 0x180626868
mov rax, qword [rsp + 0x68]
cmp rax, 0x78
jb 0x18062686d
mov edx, dword [rsp + 0x48]
mov ecx, edx
cmp rax, rdx
jb 0x18062686d
lea eax, [rdx - 1]
mov r8d, 0x3000
xor edx, edx
add rax, rsi
div rcx
mov edx, 0x78
imul rcx, rax
lea r9d, [rdx - 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x18062687f
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
add rsi, rax
cmp rsi, rbp
jb 0x180626803
test rdi, rdi
je 0x1806268aa
lea rdx, [0x18062f280]
xor eax, eax
mov rcx, rdx
cmp qword [rcx], 0
je 0x18062689f
add eax, r14d
add rcx, 8
cmp eax, 0x40
jb 0x18062688b
jmp 0x1806268aa
add dword [0x18062f254], r14d
mov qword [rdx + rax*8], rdi
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18062d9e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x18062dadb
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x18062dae3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x18062db1a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x18062daf0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x18062db45
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x18062db6b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x18062db50
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret
Function at 0x9c7c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.009f7180
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 [0x009ff5e0]
xor eax, eax
movdqa xmm12, xmmword [0x009ff5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x009ff610]
movdqa xmm6, xmmword [0x009ff630]
movdqa xmm13, xmmword [0x009ff670]
movdqa xmm14, xmmword [0x009ff680]
movdqa xmm15, xmmword [0x009ff690]
movdqa xmm7, xmmword [0x009ff6a0]
movdqa xmm10, xmmword [0x009ff6b0]
movdqa xmm11, xmmword [0x009ff6c0]
nop dword [rax + rax]
Function at 0x9d0140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x17d985c
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 0x9d020a
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 0x9d02b4
jne 0x9d02b4
jmp 0x20beb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x9d0385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x9d014e
cmp edx, 0x8664
je 0x9d02d1
cmp edx, 0x14c
jne 0x9d018b
je 0x9d026b
jne 0x9d026b
jmp 0x9d8bbe
jne 0x9d02c6
add byte [rax], al
add byte [rax], al
jmp 0x9d0193
jne 0x9d0342
je 0x10e68d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x9d0303
jne 0x9d0303
jmp 0x9d02f4
je 0x9d0285
jne 0x9d0285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x9d018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x9d028c
jne 0x9d028c
je 0x2ad4706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x9d0342
jmp 0x9d01e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x9d02c6
jmp 0x9d01d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x9d024b
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 0x9d023c
jne 0x9d023c
jmp 0x9c2972
jmp 0x9d01b0
jne 0x9d02f4
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 0x9d02dd
je 0x8ee8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x9d0228
jne 0x9d0317
jmp 0x5ad4790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x9d02e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x9d0339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x9d0212
jne 0x9d0212
jmp 0x9d02b2
jmp 0x9d01a0
je 0x9d0317
jmp 0x9d02c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x9d0383
jne 0x9d0383
jmp 0x9d0317
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 0x9d035d
lea rdx, [r9 + 1]
jmp 0x9d02f9
mov qword [rcx + 0x10], rdx
je 0x9d036d
jne 0x9d036d
jmp 0x8ee8e8e
mov rdx, qword [rcx + 8]
je 0x9d025f
jne 0x9d025f
je 0x9c1641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x9d01e1
jne 0x9d01e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x9d01ed
jne 0x9d01ed
jmp 0xffffffffc6e0ae72
jmp 0x9d032f
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 0x9d02f4
jmp 0x9d028a
invalid
Function at 0x9da860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x9daab8
mov edi, edx
jmp 0x9dab91
je 0x9daabe
jne 0x9daabe
je 0x53f30218
push rsi
push rdi
push rbp
push rbx
jmp 0x9dabba
sub rsp, 0xa8
jmp 0x9da9b8

Function at 0x9e8c50
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, [0x009ffbe0]
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 0x9e8d90
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 0x9eed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x9eed8b
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 0x9ef7b0
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.009ef520
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.009ec170
mov rcx, rdi
mov rdx, rbx
call fcn.009ec0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret