joyce8/EMBER2024-capa huggingface dataset:
Function at 0x84a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x84aab8
mov edi, edx
jmp 0x84ab91
je 0x84aabe
jne 0x84aabe
je 0x53da0218
push rsi
push rdi
push rbp
push rbx
jmp 0x84abba
sub rsp, 0xa8
jmp 0x84a9b8

Function at 0x858c50
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, [0x0086fbe0]
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 0x858d90
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 0x85ed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x85ed8b
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 0x85f7b0
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.0085f520
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.0085c170
mov rcx, rdi
mov rdx, rbx
call fcn.0085c0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x85f810
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 0x85f830
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.00859570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00859200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00859220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0085b4a0
mov rcx, rbx
mov rdx, rbx
call fcn.00859800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00859fa0
lea rcx, [rsp + 0x80]
call fcn.00859200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.008591e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00859550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00859200
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.008593b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.008593b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0085b4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0085b4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00859220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00859220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00859fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00859fa0
mov rcx, rbp
mov rdx, rbx
call fcn.00859a90
mov rcx, rbx
mov rdx, rsi
call fcn.00859a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00859220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0085b4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00859fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0085b4a0
mov rcx, rdi
mov rdx, rdi
call fcn.00859a90
mov rcx, r14
mov rdx, rbx
call fcn.0085aae0
mov rcx, r12
mov rdx, r12
call fcn.00859a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00859220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00859fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00859fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x85f900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.008593b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.008593b0
mov rcx, rdi
mov rdx, rdi
call fcn.00859800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00859fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0085a810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x2c29f1370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
jne 0x2c29f14c8
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
jne 0x2c29f14cb
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
sete al
test al, al
jne 0x2c29f14ce
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
sete al
test al, al
jne 0x2c29f14d1
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
sete al
test al, al
jne 0x2c29f14d4
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
jmp 0x2c29f14d5
nop
jmp 0x2c29f14d5
nop
jmp 0x2c29f14d5
nop
jmp 0x2c29f14d5
nop
jmp 0x2c29f14d5
nop
add rsp, 0x50
pop rbp
ret
Function at 0x2c29f14f5
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0xb0f0
call fcn.2c29f2470
sub rsp, rax
lea rbp, [rsp + 0x80]
mov r9d, 0
lea r8, str.Gemini_Security
lea rax, str.Welcome_
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
movabs rax, 0x2bf89b2d7277bb27
movabs rdx, 0xc681c8405186b339
mov qword [rbp + 0xb040], rax
mov qword [rbp + 0xb048], rdx
lea rax, [rbp - 0x40]
lea rdx, [0x2c29f4020]
mov ecx, 0xb080
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0xb06c], 0xb080
mov r9d, 4
mov r8d, 0x3000
mov edx, 0xb080
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0xb060], rax
cmp qword [rbp + 0xb060], 0
jne 0x2c29f15b1
mov eax, 0xffffffff
jmp 0x2c29f1677
lea rcx, [rbp + 0xb040]
mov edx, dword [rbp + 0xb06c]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.ObfuscatedFunction_char__unsigned_long__char__unsigned_long_
mov rax, qword [rbp + 0xb060]
mov rcx, rax
lea rax, [rbp - 0x40]
mov edx, 0xb080
mov r8, rdx
mov rdx, rax
call sym.memcpy
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0xb060]
mov r9, rdx
mov r8d, 0x20
mov edx, 0xb080
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x2c29f1626
mov eax, 0xfffffffe
jmp 0x2c29f1677
mov rax, qword [rbp + 0xb060]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0xb058], rax
cmp qword [rbp + 0xb058], 0
jne 0x2c29f1672
mov eax, 0xfffffffd
jmp 0x2c29f1677
mov eax, 1
add rsp, 0xb0f0
pop rbp
ret

Function at 0x2c29f18b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x2c29f1920
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2c2a02074]
mov rbx, rcx
test esi, esi
jle 0x2c29f1a50
mov rax, qword [0x2c2a02078]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2c29f196b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2c29f19f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2c29f1950
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x2c29f1a72
mov rax, qword [0x2c2a02078]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2c2a02078]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2c29f1a57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2c29f19ee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2c29f1a00
add dword [0x2c2a02074], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2c2a02078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2c29f19ee
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 esi, esi
jmp 0x2c29f1978
mov rax, qword [0x2c2a02078]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2c29f1df0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2c2a020a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2c2a02080]
test rbx, rbx
je 0x2c29f1e4c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x2c29f1e43
test rsi, rsi
je 0x2c29f1e43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2c29f1e28
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x2c29f2060
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x2c29f2078
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x2c29f2080
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x2c29f2090
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x2c29f20dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x2c29f20d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x2c29f20df
add rax, 0x28
cmp rax, r9
jne 0x2c29f20c0
xor eax, eax
ret

Function at 0x2c29f20e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x2c29f2170
mov rdx, qword [0x2c29ff2b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x2c29f215e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x2c29f215e
cmp word [rax + 0x18], 0x20b
jne 0x2c29f215e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x2c29f2170
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x2c29f2149
add rbx, 0x28
cmp rbx, rdi
je 0x2c29f2170
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x2c29f2140
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x2c29ff2b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2c29f21a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2c29f21a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c29f21a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2c29f21fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2c29f21f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2c29f21a0
add rax, 0x28
cmp rax, r9
jne 0x2c29f21e0
xor eax, eax
ret

Function at 0x2c29f2200
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c29ff2b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2c29f221f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2c29f2228
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2c29f221f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2c29f2240
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x2c29ff2b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x2c29f2260
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x2c29f2268
ret
cmp word [rdx + 0x18], 0x20b
jne 0x2c29f2260
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x2c29f22b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x2c29f22a7
test rcx, rcx
je 0x2c29f2260
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x2c29f2298
xor eax, eax
ret
Function at 0x2c29f22c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c29ff2b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2c29f22df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2c29f22e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x2c29ff2b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2c29f2320
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2c29f2328
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c29f2320
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x2c29f2320
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x2c29f2374
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x2c29f2380
add rdx, 0x28
cmp r9, rdx
jne 0x2c29f2360
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x2c29ff2b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x2c29f23b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x2c29f23c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c29f23b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x2c29f23b2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x2c29f23b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x2c29f2415
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2c29f2428
add rdx, 0x28
cmp rdx, r10
jne 0x2c29f2400
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2c29f2437
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2c29f2447
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2c29f241e
test ecx, ecx
jg 0x2c29f2430
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140026010
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x140026112
xchg rbx, r15
mov qword [rsp + 0x10], r15
xchg r15, rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov rbx, rdx
xchg rcx, r13
mov rdi, r13
xchg rcx, r13
mov esi, r8d
sub rdi, rdx
xchg rbp, rcx
mov rcx, rbp
xchg rbp, rcx
sub rdi, 0xffffffffffffff10
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
xchg rbx, r15
movups xmm0, xmmword [r15]
xchg r15, rbx
mov rdx, rbp
xchg rbx, rsi
mov rcx, rsi
xchg rsi, rbx
call fcn.1400267d0
mov ecx, 0x404c37ab
add ecx, 0x10836de7
xor ecx, 0x6b22ec05
add ecx, 0x1c82287d
sub ecx, 0x275e89dd
sub ecx, 0x2d106298
add ecx, 0x4c50b1bd
sub ecx, 0x1072e172
sub ecx, 0x3fde55da
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400260bf
sub rdi, 0x10
xchg r12, rbp
movups xmmword [r12 + 0xf0], xmm0
xchg r12, rbp
sub rsi, 1
jne 0x140026062
xchg r8, rdi
mov r8, qword [rsp + 0x30]
xchg r8, rdi
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
nop
add rsp, 8
mov rsi, qword [rsp - 8]
nop
add rsp, 8
jmp qword [rsp - 8]

Function at 0x140026120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xchg r12, rbp
mov qword [rsp + 0x10], r12
xchg r12, rbp
xchg rsi, rdi
mov qword [rsp + 0x18], rdi
xchg rsi, rdi
nop
sub rsp, 8
mov qword [rsp], rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
lea r9, [rcx + 0xf0]
xchg rsi, rcx
mov rcx, rsi
xchg rsi, rcx
test r8d, r8d
je 0x140026206
dec rdi
shr rdi, 1
shr rdi, 2
shr rdi, 1
inc rdi
nop dword [rax]
nop word [rax + rax]
mov rax, rbx
sub r9, rbx
mov edx, 0x3d2081dc
xor edx, 0x28ea601e
xor edx, 0x519fc54
add edx, 0x1ccd9dfe
sub edx, 0x2c0ac449
add edx, 0x453c0bbc
add edx, 0x9db81c9
sub edx, 0x50ad84c0
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400261be
xchg rbp, rdx
mov rbp, rsi
xchg rbp, rdx
xchg rbx, rdi
mov rcx, rdi
xchg rbx, rdi
call fcn.1400262b0
mov r9, rbx
nop
add rbx, 0x7a79473a
sub rbx, 0x7a79472a
sub rdi, 1
jne 0x140026184
xchg r11, r9
movups xmm0, xmmword [r11]
xchg r11, r9
xchg r14, rbx
mov r14, qword [rsp + 0x30]
xchg rbx, r14
mov rbp, qword [rsp + 0x38]
xchg rsi, rcx
movups xmmword [rcx + 0xf0], xmm0
xchg rsi, rcx
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
nop
mov rdi, qword [rsp]
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
Function at 0x140027980
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
xchg rdx, r15
mov rbx, r15
xchg r15, rdx
xchg rsi, r10
mov rsi, rcx
xchg r10, rsi
test r8b, 0xf
je 0x1400279ca
xor al, al
xchg rbx, rsi
mov rsi, qword [rsp + 0x20]
xchg rbx, rsi
add rsp, 0x10
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
jmp qword [rsp - 8]
xor edx, edx
test r8d, r8d
je 0x140027a70
movdqa xmm2, xmmword [rsp]
nop
movdqu xmm1, xmmword [rdx + rbx]
test edx, edx
jne 0x1400279f8
xchg r10, r12
movdqu xmm2, xmmword [r12 + 0x200]
xchg r10, r12
movdqa xmm0, xmm1
lea rax, [r10 + 0x1c0]
pxor xmm0, xmmword [r10 + 0x1d0]
mov ecx, 0x7921b8ad
sub ecx, 0x3e70eb87
xor ecx, 0x32bde3c2
add ecx, 0x1c197c1e
xor ecx, 0x31ead9e4
sub ecx, 0x15cc72d9
nop dword [rax + rax]
aesdec xmm0, xmmword [rax]
lea rax, [rax - 0x10]
sub rcx, 1
jne 0x140027a34
aesdeclast xmm0, xmmword [r10 + 0x1e0]
pxor xmm0, xmm2
movdqa xmm2, xmm1
xchg rsi, rdx
movups xmmword [rsi + r9], xmm0
xchg rdx, rsi
add edx, 0x10
cmp edx, r8d
jb 0x1400279db
mov rbx, qword [rsp + 0x20]
mov al, 0x69
xor al, 0x74
add al, 0x2f
xor al, 0x14
sub al, 0x16
xor al, 0x63
sub al, 0x20
add rsp, 0x10
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
jmp qword [rsp - 8]