joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8840
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x4a887f
jb 0x4a8894
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x4a8900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4a89d4
jb 0x4a8a33
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 1
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 2
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 2
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 4
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 4
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 8
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 8
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a87e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a8800
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a87e0
jmp 0x4a8aa1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 2
call fcn.004a87a0
aeskeygenassist xmm1, xmm2, 4
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 8
call fcn.004a87a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a87a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a8740
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004a87a0
jmp 0x4a8aa1
aeskeygenassist xmm1, xmm0, 1
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 2
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 4
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 8
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004a8700
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004a8700
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4a8aae
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret

Function at 0x4abf40
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x4abf80
cmp ecx, 0x10
jle 0x4abf76
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x4ae160
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ae177
inc rax
cmp rax, 4
jge 0x4ae18f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ae174
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ae1a0
inc rax
cmp rax, 4
jge 0x4ae1ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ae1d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ae1bb
jmp 0x4ae19d
Function at 0x4b84c0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4b8759
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004d4da0]
call fcn.0040c6a0
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004e07ca]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004d4da0]
call fcn.0040c6a0
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004e055a]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004d4ce0]
call fcn.0040c6a0
cmp dword [0x00657010], 0
jne 0x4b8557
mov rcx, qword [rsp + 0x70]
jmp 0x4b8564
call fcn.00461300
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004e15cc]
mov qword [rax], rcx
nop
lea rax, [0x004d4ce0]
call fcn.0040c6a0
cmp dword [0x00657010], 0
jne 0x4b85a0
mov rcx, qword [rsp + 0x68]
jmp 0x4b85ad
call fcn.00461300
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004e114c]
mov qword [rax], rcx
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rcx
lea rax, [0x004c56a0]
call fcn.0040c6a0
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004b15a0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4b874e
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004c5640]
call fcn.0040c6a0
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004b15a0
movzx ecx, word [0x00656da4]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x78], rdx
lea rax, [0x004c5700]
nop dword [rax]
call fcn.0040c6a0
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004abf40
xorps xmm15, xmm15
mov r14, qword [0x00656fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x40]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.0045dd40
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00461680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f400
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004b84c0
Function at 0x140006580
Capabilities:
Access peb ldr_data

Disassembly:
push rcx
push r11
push r13
sub rcx, rcx
add rcx, 0x60
mov r11, qword gs:[rcx]
push r10
mov rcx, r11
add rcx, 0x10
mov r10, qword [rcx]
add r11, 0x18
mov r13, qword [r11]
mov rcx, r13
add rcx, 0x10
mov r11, qword [rcx]
push r12
mov r13, r11
add r13, 0x30
mov rcx, qword [r13]
cmp rcx, 0
je 0x1400065f3
mov r13, qword [r11 + 0x60]
mov r12, qword [r13]
and r12d, 0xdf00df
mov r13, qword [r13 + 0xc]
mov ebp, dword [rbp + 0xc]
shl r13d, 8
add r13d, r12d
shl r13d, 2
sub r13d, 0xc914cd2c
cmp r13, 0
je 0x1400065fb
mov r13, qword [r11]
mov r11, r13
jmp 0x1400065af
mov r11d, dword [rcx + 0x3c]
add r11, rcx
add r11, 0x10
mov r13d, dword [r11 + 0x78]
add r13, rcx
push rbx
mov r12d, dword [r13 + 0x20]
add r12, rcx
mov ebx, dword [r12]
add rbx, rcx
mov r11d, dword [rbx + 0xb]
sub r11d, 0x746365
test r11d, r11d
jne 0x140006631
jmp 0x14000663f
inc r12
inc r12
inc r12
inc esp
inc r12
jmp 0x140006615
mov r11d, dword [r13 + 0x20]
sub r12, r11
sub r12, rcx
shr r12d, 1
mov r11d, dword [r13 + 0x24]
add r11, r12
add r11, rcx
mov r12d, dword [r11]
mov r11d, dword [r13 + 0x1c]
and r12d, 0xffff
shl r12d, 2
add r11, rcx
add r11, r12
mov r12d, dword [r11]
mov r11d, 0x8e000
add r12, rcx
push rcx
add r11, r10
push r10
push r11
push rbx
push rbx
push r12
mov rcx, r11
mov r9, rsp
sub r8, r8
add r8, 0x40
Function at 0x16e2c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
xor esi, esi
add dword [rcx + 0xc], 0xffffffff
mov r14, rcx
mov eax, esi
mov dword [rsp + 0x140], eax
jne 0x17645
cmp dword [r14 + 8], esi
mov rcx, rsi
mov rbx, rsi
mov rdx, rsi
mov r15, rsi
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x78], rbx
mov ebp, esi
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x138], esi
mov rdi, rsi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x148], esi
jle 0x17645

Function at 0x25f54
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov rax, qword [0x0001c170]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r13, qword [rsp + 0xb8]
xor eax, eax
movsxd rbx, r8d
mov r12, r9
mov rsi, rdx
mov rbp, rcx
lea r15d, [rax + 0x10]
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
mov rdi, rbx
cmp ebx, r15d
jbe 0x25fee
movdqu xmm0, xmmword [rsi]
xor ecx, ecx
mov rdx, r15
movdqu xmmword [rsp + 0x20], xmm0
mov al, byte [rsp + rcx + 0x30]
inc rcx
xor byte [rsp + rcx + 0x1f], al
sub rdx, 1
jne 0x25fb9
lea r9d, [rdx + 1]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.00091cd0
add rsi, r15
add ebx, 0xfffffff0
sub rdi, r15
jmp 0x260aa
jne 0x26033
movdqu xmm0, xmmword [rsi]
xor ecx, ecx
mov rdx, r15
movdqu xmmword [rsp + 0x20], xmm0
mov al, byte [rsp + rcx + 0x30]
inc rcx
xor byte [rsp + rcx + 0x1f], al
sub rdx, 1
jne 0x25fff
lea rax, [rsp + 0x20]
mov rdx, r12
lea rcx, [rsp + 0x20]
sub rdx, rax
mov r8, r15
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x26023
jmp 0x26090
xor eax, eax
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
call fcn.00011270
mov byte [rsp + rdi + 0x20], pe_nt_image_headers64
xor ecx, ecx
mov rdx, r15
mov al, byte [rsp + rcx + 0x30]
inc rcx
xor byte [rsp + rcx + 0x1f], al
sub rdx, 1
jne 0x26059
mov rdx, qword [rsp + 0xb0]
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x20]
sub rdx, rax
mov r8, r15
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x26082
lea rdx, [rsp + 0x20]
mov r9d, 1
mov r8, rbp
mov rcx, r13
call fcn.00091cd0
xor ebx, ebx
xor edi, edi
test ebx, ebx
jne 0x25fa5
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.000110ac
add rsp, 0x50
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x28290
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
lea rdx, [0x0008ea50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x48], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x98]
mov edx, 0x20019
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov ebx, eax
test eax, eax
js 0x28340
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8d, 2
mov rdx, rsi
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov rcx, qword [rsp + 0x98]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x2a0bc
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xc0
and qword [r11 + 0x20], 0
xor eax, eax
mov r13, rdx
mov rdx, rcx
lea ebx, [rax + 0x18]
lea rdi, [r11 - 0x68]
mov rcx, rbx
mov r12, r8
rep stosb byte [rdi], al
lea rcx, [r11 - 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x90], 0
and qword [rsp + 0xa8], 0
and qword [rsp + 0xb0], 0
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0xf8]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x60
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x88], 0x30
mov dword [rsp + 0xa0], 0x240
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov edi, eax
test eax, eax
js 0x2a1cc
mov rcx, qword [rsp + 0xf8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, ebx
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov edi, eax
test eax, eax
js 0x2a1cc
mov esi, dword [rsp + 0x78]
mov r8d, 0x44424352
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x2a1fe
mov edi, 0xc0000017
test rbx, rbx
je 0x2a1cc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x2a1df
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xc0]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0xf8]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov edi, eax
test eax, eax
js 0x2a1bc
cmp qword [rsp + 0x58], rsi
je 0x2a24a
mov edi, 0xc0000102
jmp 0x2a1bc
mov qword [r13], rbx
mov dword [r12], esi
jmp 0x2a1cc
Function at 0x85014
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, r8
mov r10d, edx
movzx eax, dl
mov r8, rcx
test dl, dl
je 0x8507f
mov r11, rax
mov r9d, dword [rbx]
mov ecx, r10d
mov eax, r10d
shl eax, 3
xor r9d, r10d
shr ecx, 3
mov r10d, ecx
movzx edx, r9b
add rbx, 4
xor r10d, eax
mov eax, r9d
shr eax, 8
add r10d, r9d
movzx ecx, al
mov rax, qword [r8 + rdx*8]
mov qword [r8 + rcx*8], rax
mov eax, r9d
shr r9d, 0x18
shr eax, 0x10
sub r11, 1
movzx ecx, r9b
movzx eax, al
mov rax, qword [r8 + rax*8]
mov qword [r8 + rcx*8], rax
jne 0x8502c
mov rbx, qword [rsp + 8]
ret

Function at 0x8e084
Capabilities:
Query or enumerate registry value

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 r12
push r13
push r14
sub rsp, 0x90
xor r14d, r14d
mov rbx, rdx
mov rdx, rcx
lea rcx, [rax - 0x68]
mov r13, r9
mov r12, r8
mov qword [rax - 0x70], r14
mov rdi, r14
mov dword [rax - 0x78], r14d
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov edx, 0x20019
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x78], 0x240
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r14
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, r14d
mov ebx, eax
jl 0x8e1e2
mov ebx, 0x218
lea ecx, [r14 + 1]
mov r8d, 0x47524c4b
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
cmp rax, r14
jne 0x8e14f
mov ebx, 0xc0000017
jmp 0x8e1e2
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov r8d, 2
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r14d
mov ebx, eax
jl 0x8e1e2
cmp dword [rdi + 4], 1
jne 0x8e1dd
mov esi, dword [rdi + 8]
mov eax, esi
and eax, 1
cmp al, r14b
jne 0x8e1dd
cmp esi, r14d
je 0x8e1dd
cmp esi, 0x2710
ja 0x8e1dd
mov r8d, 0x47524c4b
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [r12], rax
cmp rax, r14
je 0x8e145
lea rdx, [rdi + 0xc]
mov r8, rsi
mov rcx, rax
call fcn.00011270
shr esi, 1
mov dword [r13], esi
mov rax, qword [r12]
lea ecx, [rsi - 1]
mov word [rax + rcx*2], r14w
jmp 0x8e1e2
mov ebx, 0xc0000034
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x8e1f2
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp rdi, r14
je 0x8e202
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x8e228
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
sub rsp, 0xc0
mov rax, qword [0x0001c170]
xor rax, rsp
mov qword [rsp + 0xb0], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r8d, r8d
lea r9d, [r8 + 0x76]
mov r12, rcx
xor edx, edx
lea r13, [0x00010000]
mov rax, r8
inc rdx
inc r8
and eax, 3
mov al, byte [rax + r13 + 0x99988]
xor al, byte [rdx + r13 + 0x959df]
sub r9, 1
mov byte [rsp + rdx + 0x2f], al
jne 0x8e26e
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [0x000a5a70]
lea rcx, [rsp + 0x30]
call fcn.0008e084
mov edi, eax
test eax, eax
js 0x8e32b
mov ebx, dword [rsp + 0x20]
mov ecx, 1
mov r8d, 0x47524c4b
lea edx, [rbx + rbx + 0x1e]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbp, rax
mov qword [r12], rax
test rax, rax
jne 0x8e2e1
mov edi, 0xc0000017
jmp 0x8e32b
mov rdx, qword [rsp + 0x28]
movabs rax, 0x5c003f003f005c
lea rcx, [rbp + 8]
mov qword [rbp], rax
lea eax, [rbx - 1]
lea rbx, [rax + rax]
mov r8, rbx
call fcn.00011270
mov rax, qword [r13 + 0x95a58]
mov qword [rbx + rbp + 8], rax
mov rax, qword [r13 + 0x95a60]
mov qword [rbx + rbp + 0x10], rax
mov rax, qword [r13 + 0x95a68]
mov qword [rbx + rbp + 0x18], rax
cmp qword [rsp + 0x28], 0
je 0x8e340
mov rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.000110ac
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x8e36c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
sub rsp, 0x68
test r9, r9
jne 0x8e385
or dword [rax + 0x24], 0xffffffff
mov dword [rax + 0x20], 0xfffffffe
jmp 0x8e397
mov eax, dword [r9]
and dword [rsp + 0x8c], 0
mov dword [rsp + 0x88], eax
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
add rsp, 0x68
ret
Function at 0x8f000
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov rax, qword [0x0001c170]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r12d, [r8 - 6]
mov rbx, rdx
mov rdx, rcx
lea eax, [r12*4]
mov ebp, r8d
lea rcx, [rsp + 0x20]
movsxd r8, eax
call fcn.00011270
xor edi, edi
xor r10d, r10d
xor r8d, r8d
xor edx, edx
movsxd r9, r12d
test r12d, r12d
jle 0x8f095
lea esi, [rbp + 1]
xor r11d, r11d
cmp edi, esi
jge 0x8f095
cmp r8, r9
jge 0x8f07f
nop dword [rax]
cmp rdx, 4
jge 0x8f083
mov eax, dword [rsp + r8*4 + 0x20]
lea rcx, [r11 + rdx]
inc r8
inc r10d
inc rdx
cmp r8, r9
mov dword [rbx + rcx*4], eax
jl 0x8f05f
cmp rdx, 4
jne 0x8f090
inc edi
add r11, 4
xor r10d, r10d
xor edx, edx
cmp r8, r9
jl 0x8f053
inc ebp
movsxd r11, edi
movsxd r8, r10d
cmp edi, ebp
jge 0x8f1de
lea r10, [0x000ad200]
lea rsi, section.PAGER32R
nop word [rax + rax]
movzx ecx, byte [rsp + r9*4 + 0x1d]
movzx eax, byte [rsp + 0x20]
add r10, 4
xor al, byte [rcx + rsi]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + r9*4 + 0x1e]
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + r9*4 + 0x1f]
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + r9*4 + 0x1c]
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x23], al
movzx eax, byte [r10 - 4]
xor byte [rsp + 0x20], al
cmp r12d, 8
je 0x8f12a
mov ecx, 1
cmp rcx, r9
jge 0x8f197
nop dword [rax]
mov eax, dword [rsp + rcx*4 + 0x1c]
inc rcx
xor dword [rsp + rcx*4 + 0x1c], eax
cmp rcx, r9
jl 0x8f118
jmp 0x8f197
lea rcx, [rsp + 0x24]
mov edx, 3
nop dword [rax]
mov eax, dword [rcx - 4]
add rcx, 4
xor dword [rcx - 4], eax
sub rdx, 1
jne 0x8f137
movzx eax, byte [rsp + 0x2c]
mov ecx, 5
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x2d]
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x2e]
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x2f]
movzx eax, byte [rax + rsi]
xor byte [rsp + 0x33], al
cmp rcx, r9
jge 0x8f197
nop
mov eax, dword [rsp + rcx*4 + 0x1c]
inc rcx
xor dword [rsp + rcx*4 + 0x1c], eax
cmp rcx, r9
jl 0x8f187
xor edx, edx
test r12d, r12d
jle 0x8f1d6
cmp edi, ebp
jge 0x8f1de
cmp rdx, r9
jge 0x8f1c3
cmp r8, 4
jge 0x8f1c7
mov eax, dword [rsp + rdx*4 + 0x20]
lea rcx, [r8 + r11*4]
inc rdx
inc r8
cmp rdx, r9
mov dword [rbx + rcx*4], eax
jl 0x8f1a7
cmp r8, 4
jne 0x8f1d1
inc edi
inc r11
xor r8d, r8d
cmp rdx, r9
jl 0x8f19e
cmp edi, ebp
jl 0x8f0b8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.000110ac
add rsp, 0x50
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x91d48
Capabilities:
Encode data using xor

Disassembly:
movsxd rax, edx
cmp rax, 1
jle 0x8f305
lea r8, [rcx + 0x16]
lea r9, [rax - 1]
lea r10, [0x00010000]
nop dword [rax]
movzx ecx, byte [r8 - 3]
movzx eax, byte [r8 - 4]
add r8, 0x10
mov edx, dword [r10 + rcx*4 + 0x9ce00]
xor edx, dword [r10 + rax*4 + 0x9ca00]
movzx eax, byte [r8 - 0x15]
xor edx, dword [r10 + rax*4 + 0x9c600]
movzx eax, byte [r8 - 0x16]
xor edx, dword [r10 + rax*4 + 0x9c200]
mov dword [r8 - 0x16], edx
movzx ecx, byte [r8 - 0xf]
movzx eax, byte [r8 - 0x11]
mov edx, dword [r10 + rcx*4 + 0x9ce00]
xor edx, dword [r10 + rax*4 + 0x9c600]
movzx eax, byte [r8 - 0x12]
xor edx, dword [r10 + rax*4 + 0x9c200]
movzx eax, byte [r8 - 0x10]
xor edx, dword [r10 + rax*4 + 0x9ca00]
mov dword [r8 - 0x12], edx
movzx ecx, byte [r8 - 0xb]
movzx eax, byte [r8 - 0xc]
mov edx, dword [r10 + rcx*4 + 0x9ce00]
xor edx, dword [r10 + rax*4 + 0x9ca00]
movzx eax, byte [r8 - 0xd]
xor edx, dword [r10 + rax*4 + 0x9c600]
movzx eax, byte [r8 - 0xe]
xor edx, dword [r10 + rax*4 + 0x9c200]
mov dword [r8 - 0xe], edx
movzx eax, byte [r8 - 8]
movzx ecx, byte [r8 - 7]
mov edx, dword [r10 + rcx*4 + 0x9ce00]
xor edx, dword [r10 + rax*4 + 0x9ca00]
movzx eax, byte [r8 - 9]
xor edx, dword [r10 + rax*4 + 0x9c600]
movzx eax, byte [r8 - 0xa]
xor edx, dword [r10 + rax*4 + 0x9c200]
sub r9, 1
mov dword [r8 - 0xa], edx
jne 0x8f217
repz ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, rdx
lea rdx, [rcx + 4]
mov rbx, rcx
mov dword [rcx], r8d
mov rcx, rax
mov edi, r8d
call section.PAGER32C
lea rdx, [rbx + 4]
cmp edi, 0xa
jne 0x91d95
lea rcx, [rbx + 0xb4]
mov r8d, 0xb0
call fcn.00011270
mov edx, edi
lea rcx, [rbx + 0xb4]
jmp 0x91ddc
cmp edi, 0xc
jne 0x91db7
lea rcx, [rbx + 0xd4]
mov r8d, 0xd0
call fcn.00011270
mov edx, edi
lea rcx, [rbx + 0xd4]
jmp 0x91ddc
lea rcx, [rbx + 0xf4]
mov r8d, 0xf0
call fcn.00011270
lea rcx, [rbx + 0xf4]
mov edx, 0xe
cmp edi, 0xe
je 0x91ddc
mov edx, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x8f1f8