joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4049e7
Capabilities:
Create pipe

Disassembly:
push rbp
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x88], edx
lea rax, [rbp + 0x40]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp + 0x40], 0x18
mov dword [rbp + 0x50], 1
call sub.msvcrt.dll_rand
mov ebx, eax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call rax
mov edx, eax
lea rax, [rbp - 0x40]
mov dword [rsp + 0x20], ebx
mov r9d, edx
lea r8, str..pipe_r2tcmd__lu__i
mov edx, 0x7f
mov rcx, rax
call fcn.00404960
lea rax, [rbp - 0x40]
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 0x1388
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0x2000
mov r9d, 2
mov r8d, 0
mov edx, 0x40000001
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
call rax
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0xffffffffffffffff
jne 0x404ab9
lea rcx, str.CreateNamedPipe
call fcn.00402b93
jmp 0x404ba4
mov rax, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x58]
mov qword [rax], rdx
lea rdx, [rbp + 0x40]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9, rdx
mov r8d, 0
mov edx, 0x40000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0xffffffffffffffff
jne 0x404b36
lea rcx, str.CreateFile
call fcn.00402b93
mov rax, qword [rbp + 0x80]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0xffffffff
jmp 0x404ba4
mov rax, qword [rbp + 0x80]
lea rdx, [rax + 8]
mov rax, qword [rbp + 0x58]
mov qword [rdx], rax
mov eax, dword [rbp + 0x88]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x80]
add rax, rdx
mov rax, qword [rax]
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
call rax
test eax, eax
jne 0x404b9f
lea rcx, str.SetHandleInformation
call fcn.00402b93
mov rcx, qword [rbp + 0x80]
call fcn.004049aa
mov eax, 0xffffffff
jmp 0x404ba4
mov eax, 0
add rsp, 0xe8
pop rbx
pop rbp
ret
Function at 0x404bae
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0xf0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov rax, qword [rbp + 0x38]
mov byte [rax], 1
lea rax, [rbp - 0x20]
mov edx, 1
mov rcx, rax
call fcn.004049e7
test eax, eax
je 0x404bf1
mov eax, 0xffffffff
jmp 0x404df4
lea rax, [rbp - 0x30]
mov edx, 0
mov rcx, rax
call fcn.004049e7
test eax, eax
je 0x404c1c
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.004049aa
mov eax, 0xffffffff
jmp 0x404df4
mov qword [rbp - 0x10], 0xffffffffffffffff
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rbx, qword [rbp - 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov r9, rdx
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
je 0x404dcb
mov rax, qword [rbp + 0x30]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, [rbp - 0xa0]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp - 0xa0], 0x68
mov dword [rbp - 0x64], 0x100
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, qword [rbp + 0x20]
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x404d93
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x28]
mov qword [rax], rdx
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 8]
mov rax, qword [rbp - 0x18]
mov qword [rdx], rax
mov eax, 0
jmp 0x404df4
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
sub eax, 2
cmp eax, 1
ja 0x404dad
mov rax, qword [rbp + 0x38]
mov byte [rax], 7
jmp 0x404db9
lea rcx, str.CreateProcess
call fcn.00402b93
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x404dd7
lea rcx, str.DuplicateHandle
call fcn.00402b93
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.004049aa
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.004049aa
mov eax, 0xffffffff
add rsp, 0xf0
pop rbx
pop rsi
pop rbp
ret
Function at 0x404dff
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, [rbp - 0x60]
mov r8d, 0x16
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp - 4], 1
lea rax, [rbp - 0x60]
lea r8, [rax + 2]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rax, qword [rbp + 0x18]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.00404bae
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x404f45
mov rax, qword [rbp + 0x10]
lea rdx, [rax + 0x78]
mov rax, qword [rbp + 0x10]
add rax, 0x40
mov rcx, rax
call fcn.00402bf3
test eax, eax
jne 0x404f45
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x22]
movzx r8d, al
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 0xa8]
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x70]
mov rax, qword [rbp - 0x40]
mov r9d, r8d
mov r8, rcx
mov rcx, rax
call fcn.004032ce
test eax, eax
jne 0x404f2d
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x30], rdx
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x38], rdx
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x28], rdx
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x22]
movzx eax, al
mov ecx, dword [rbp - 0x30]
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8, rdx
lea rdx, str.started_process__s_with_pid__u_for_tunnel_0x_02x
mov ecx, 0
call fcn.004019b6
mov byte [rbp - 0x5e], 0
mov byte [rbp - 0x5d], 0
mov eax, dword [rbp - 0x30]
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htonl]
call rax
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x5a], eax
mov dword [rbp - 4], 8
jmp 0x404f45
mov rax, qword [rbp + 0x10]
lea rdx, [rax + 0x78]
mov rax, qword [rbp + 0x10]
add rax, 0x40
mov rcx, rax
call fcn.00402ccf
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x22]
movzx eax, al
mov ecx, dword [rbp - 4]
lea rdx, [rbp - 0x60]
add rdx, 2
mov r9d, ecx
mov r8, rdx
mov edx, eax
mov ecx, 0
call fcn.004047fa
test eax, eax
js 0x404f88
movzx eax, byte [rbp - 0x5e]
test al, al
jne 0x404f88
mov rax, qword [rbp + 0x10]
mov byte [rax + 0x20], 1
mov eax, 0
jmp 0x405006
cmp dword [rbp - 8], 0
jne 0x404fe5
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x22]
movzx eax, al
mov ecx, eax
call fcn.004033b7
mov rax, qword [rbp - 0x40]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x22]
movzx edx, al
mov rax, qword [rbp + 0x18]
mov r8d, edx
mov rdx, rax
lea rcx, str.failed_to_start_process__s_for_tunnel_0x_02x
call fcn.00401a4b
add rsp, 0x90
pop rbp
ret
Function at 0x40500f
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x28]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x38]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x10]
lea rdx, [rax + 0x78]
mov rax, qword [rbp + 0x10]
add rax, 0x40
mov rcx, rax
call fcn.00402ccf
nop
add rsp, 0x20
pop rbp
ret

Function at 0x4059b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0040bb90
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.0040bb90
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x405a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x00411f14]
mov r12, rcx
test ebx, ebx
jle 0x405b50
mov rax, qword [0x00411f18]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x405a6c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x405af3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x405a50
mov rcx, r12
call fcn.004063d0
mov rsi, rax
test rax, rax
je 0x405b72
mov rax, qword [0x00411f18]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.00406500
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00411f18]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x405b57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x405aec
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x405b00
add dword [0x00411f14], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x00411f18]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x405aec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004059b0
nop dword [rax]
xor ebx, ebx
jmp 0x405a77
mov rax, qword [0x00411f18]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.004059b0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.004059b0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x406040
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00411f80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00411f60]
test rbx, rbx
je 0x406094
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 0x40608b
test r12, r12
je 0x40608b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x406070
lea rcx, [0x00411f80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4063d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x0040de20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x4063f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x4063f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x4063f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x406445
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x40643c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4063f0
add rax, 0x28
cmp rax, r9
jne 0x406428
xor eax, eax
ret

Function at 0x406450
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0040de20]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x406470
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x406478
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x406470
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x406500
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0040de20]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x406520
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x406528
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140001960
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14045f400]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.1400016f0
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x14000196d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14045f400]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.1400016f0
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x140001f10
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x140460040]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.140001c20
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x140001f1d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x140460040]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.140001c20
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x1400022dd
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
push rbx
push rbp
push r12
push r13
push r14
push r15
push rdx
call fcn.140002040
mov r8, qword [rsp]
cmp eax, 0
jne 0x1400024e1
mov r14d, dword [r8 + 0xf0]
xor rdi, rdi
lea rcx, [rdi + r14*4]
mov rsi, r8
lea rdi, [r8 + rcx*4]
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
lea rsi, [rsi + 0x10]
lea rdi, [rdi - 0x10]
cmp rdi, rsi
jne 0x14000231c
lea rax, [0x14045f800]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov rbp, qword [rax + 0x38]
mov r15, r8
sub r14d, 1
nop
lea r15, [r15 + 0x10]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov r9, rsi
mov r12, rsi
and r9, rax
and r12, rcx
mov rbx, r9
mov rdx, r12
shr r9, 7
lea r8, [rax + rax]
shr r12, 7
lea r11, [rcx + rcx]
sub rbx, r9
sub rdx, r12
and r8, rdi
and r11, rdi
and rbx, rbp
and rdx, rbp
xor r8, rbx
xor r11, rdx
mov r10, rsi
mov r13, rsi
and r10, r8
and r13, r11
mov rbx, r10
mov rdx, r13
shr r10, 7
lea r9, [r8 + r8]
shr r13, 7
lea r12, [r11 + r11]
sub rbx, r10
sub rdx, r13
and r9, rdi
and r12, rdi
and rbx, rbp
and rdx, rbp
xor r9, rbx
xor r12, rdx
mov r10, rsi
mov r13, rsi
and r10, r9
and r13, r12
mov rbx, r10
mov rdx, r13
shr r10, 7
xor r8, rax
shr r13, 7
xor r11, rcx
sub rbx, r10
sub rdx, r13
lea r10, [r9 + r9]
lea r13, [r12 + r12]
xor r9, rax
xor r12, rcx
and r10, rdi
and r13, rdi
and rbx, rbp
and rdx, rbp
xor r10, rbx
xor r13, rdx
xor rax, r10
xor rcx, r13
xor r8, r10
xor r11, r13
mov rbx, rax
mov rdx, rcx
xor r9, r10
shr rbx, 0x20
xor r12, r13
shr rdx, 0x20
xor r10, r8
rol eax, 8
xor r13, r11
rol ecx, 8
xor r10, r9
rol ebx, 8
xor r13, r12
rol edx, 8
xor eax, r10d
shr r10, 0x20
xor ecx, r13d
shr r13, 0x20
xor ebx, r10d
xor edx, r13d
mov r10, r8
rol r8d, 0x18
mov r13, r11
rol r11d, 0x18
shr r10, 0x20
xor eax, r8d
shr r13, 0x20
xor ecx, r11d
rol r10d, 0x18
mov r8, r9
rol r13d, 0x18
mov r11, r12
shr r8, 0x20
xor ebx, r10d
shr r11, 0x20
xor edx, r13d
rol r9d, 0x10
rol r12d, 0x10
rol r8d, 0x10
xor eax, r9d
rol r11d, 0x10
xor ecx, r12d
xor ebx, r8d
xor edx, r11d
mov dword [r15], eax
mov dword [r15 + 4], ebx
mov dword [r15 + 8], ecx
mov dword [r15 + 0xc], edx
sub r14d, 1
jne 0x140002360
xor rax, rax
mov r15, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x140004a80
Capabilities:
Encode data using xor

Disassembly:
lea r11, [0x140460b00]
movdqu xmm7, xmmword [rcx]
lea rcx, [rcx + 0x10]
movdqa xmm0, xmmword [r11]
movdqa xmm1, xmmword [r11 + 0x10]
movdqa xmm2, xmmword [r11 + 0x20]
movdqa xmm3, xmmword [r11 + 0x30]
movdqa xmm4, xmmword [r11 + 0x40]
pcmpeqd xmm5, xmm5
movdqu xmm6, xmmword [rcx]
movdqa xmmword [rax], xmm7
lea rax, [rax + 0x10]
dec r10d
jmp 0x140004ad0
pshufb xmm6, xmm4
movdqa xmm8, xmm0
movdqa xmm9, xmm1
pand xmm8, xmm6
pand xmm9, xmm6
movdqa xmm10, xmm2
pcmpeqb xmm8, xmm0
psllq xmm0, 4
movdqa xmm11, xmm3
pcmpeqb xmm9, xmm1
psllq xmm1, 4
pand xmm10, xmm6
pand xmm11, xmm6
movdqa xmm12, xmm0
pcmpeqb xmm10, xmm2
psllq xmm2, 4
movdqa xmm13, xmm1
pcmpeqb xmm11, xmm3
psllq xmm3, 4
movdqa xmm14, xmm2
movdqa xmm15, xmm3
pxor xmm8, xmm5
pxor xmm9, xmm5
pand xmm12, xmm6
pand xmm13, xmm6
movdqa xmmword [rax], xmm8
pcmpeqb xmm12, xmm0
psrlq xmm0, 4
movdqa xmmword [rax + 0x10], xmm9
pcmpeqb xmm13, xmm1
psrlq xmm1, 4
lea rcx, [rcx + 0x10]
pand xmm14, xmm6
pand xmm15, xmm6
movdqa xmmword [rax + 0x20], xmm10
pcmpeqb xmm14, xmm2
psrlq xmm2, 4
movdqa xmmword [rax + 0x30], xmm11
pcmpeqb xmm15, xmm3
psrlq xmm3, 4
movdqu xmm6, xmmword [rcx]
pxor xmm13, xmm5
pxor xmm14, xmm5
movdqa xmmword [rax + 0x40], xmm12
movdqa xmmword [rax + 0x50], xmm13
movdqa xmmword [rax + 0x60], xmm14
movdqa xmmword [rax + 0x70], xmm15
lea rax, [rax + 0x80]
dec r10d
jne 0x140004ad0
movdqa xmm7, xmmword [r11 + 0x50]
repz ret

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

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140006780
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret

Function at 0x1400067c0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400067e0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret