joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494460
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 0x494534
jb 0x494593
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.00494340
aeskeygenassist xmm1, xmm0, 1
call fcn.00494360
aeskeygenassist xmm1, xmm2, 2
call fcn.00494340
aeskeygenassist xmm1, xmm0, 2
call fcn.00494360
aeskeygenassist xmm1, xmm2, 4
call fcn.00494340
aeskeygenassist xmm1, xmm0, 4
call fcn.00494360
aeskeygenassist xmm1, xmm2, 8
call fcn.00494340
aeskeygenassist xmm1, xmm0, 8
call fcn.00494360
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00494340
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00494360
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00494340
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00494360
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00494340
jmp 0x494601
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004942a0
aeskeygenassist xmm1, xmm2, 2
call fcn.00494300
aeskeygenassist xmm1, xmm2, 4
call fcn.004942a0
aeskeygenassist xmm1, xmm2, 8
call fcn.00494300
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004942a0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00494300
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004942a0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.00494300
jmp 0x494601
aeskeygenassist xmm1, xmm0, 1
call fcn.00494260
aeskeygenassist xmm1, xmm0, 2
call fcn.00494260
aeskeygenassist xmm1, xmm0, 4
call fcn.00494260
aeskeygenassist xmm1, xmm0, 8
call fcn.00494260
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00494260
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00494260
aeskeygenassist xmm1, xmm0, 0x40
call fcn.00494260
aeskeygenassist xmm1, xmm0, 0x80
call fcn.00494260
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.00494260
aeskeygenassist xmm1, xmm0, 0x36
call fcn.00494260
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 0x49460e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x494740
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x0050c790]
movdqu xmm14, xmmword [0x0050c7a0]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x49482b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x49482b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x494890
ret
Function at 0x4b2280
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 0x4b2297
inc rax
cmp rax, 4
jge 0x4b22af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4b2294
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4b22c0
inc rax
cmp rax, 4
jge 0x4b22ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4b22f7
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 0x4b22db
jmp 0x4b22bd
Function at 0x140009684
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140045110]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x1400096c8
movzx eax, r14w
jmp 0x1400097fe
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140009704
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x140009704
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x1400097fe
cmp qword [rcx + 0x80], r14
je 0x1400097fb
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140009742
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000976b
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.140015ff8
cmp ax, di
je 0x1400097fb
movzx edi, si
jmp 0x1400097fb
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x14002f310]
test eax, eax
js 0x1400097fb
cmp eax, 1
jle 0x1400097c0
cmp eax, 3
jne 0x1400097fb
movzx ecx, word [rbp + 7]
jmp 0x14000974e
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x1400097ea
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.140015594
cmp r14, rax
jne 0x1400097fb
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x1400097fe
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000b110
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14001a940
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a76c
Function at 0x140021c68
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14002198e
call fcn.140014398
mov dword [rax], 0x16
call fcn.140013ab0
jmp 0x140021ad9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140021ad9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140021ad9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400219bd
lock or dword [rcx + 0x14], 0x10
jmp 0x140021ad9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400219d1
call fcn.140023258
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400219e1
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400219e4
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14001e194
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140022b48
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140021ac7
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140021a75
mov rcx, rbx
call fcn.14001e194
cmp eax, 0xffffffff
je 0x140021a60
mov rcx, rbx
call fcn.14001e194
cmp eax, 0xfffffffe
je 0x140021a60
mov rcx, rbx
call fcn.14001e194
movsxd rdi, eax
lea r14, [0x1400475b0]
mov rcx, rbx
sar rdi, 6
call fcn.14001e194
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140021a67
lea rdx, [0x1400454b0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140021a75
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140021a99
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140021a99
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140021a99
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140021ab7
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x140021ac2
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x140021ade
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140021958
Function at 0x140001000
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x68], rax
test rcx, rcx
jne 0x140001020
and dword [0x14001a560], ecx
jmp 0x140001097
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140001097
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, qword [0x140a1a570]
lea rdx, [0x14001a570]
mov r9b, 1
mov dword [0x14001a560], 1
lea rcx, [0x14001a550]
mov byte [rsp + 0x20], 1
call fcn.140001a4c
lea rcx, [0x14001a550]
call fcn.14000172c
mov r8, qword [0x140a1a570]
lea rcx, [0x14001a570]
xor edx, edx
call fcn.14000eb00
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000e340
add rsp, 0x78
ret

Function at 0x1400027dc
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
lea r9, [rax + 0x10]
mov rdi, rcx
mov dword [rax + 0x10], ebx
xor r8d, r8d
xor edx, edx
lea ecx, [rbx + 5]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edx, dword [rsp + 0x58]
xor ecx, ecx
mov r8d, 0x6d646572
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
je 0x14000288c
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002ce0
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
mov rdx, rsi
mov rdi, rsi
movups xmm0, xmmword [rax]
lea ecx, [r9 + 5]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x14000287b
cmp dword [rsi], ebx
je 0x14000287b
lea rdx, [rdi + 0x38]
mov r8b, 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
je 0x140002877
mov eax, dword [rdi]
add rdi, rax
cmp dword [rdi], ebx
jne 0x140002856
jmp 0x14000287b
mov rbx, qword [rdi + 0x50]
mov edx, 0x6d646572
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140002a64
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rbp, rdx
lea rdx, [rax - 0x18]
mov rdi, r9
mov rsi, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
test eax, eax
js 0x140002ab5
test rcx, rcx
je 0x140002ab5
mov r9, rsi
mov r8, rbp
mov rdx, rdi
call fcn.140002ad4
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140002fe0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x58], rax
and qword [rsp + 0x20], 0
lea rcx, [0x14000f010]
call fcn.1400027dc
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140003096
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea r9, [0x14000f020]
lea r8, [0x14000f030]
lea rdx, [0x14000f040]
lea rcx, [0x14000f050]
call fcn.140002e2c
mov rdx, rax
test rax, rax
jne 0x140003069
mov eax, 0xc0000141
jmp 0x14000309b
mov eax, dword [rax + 1]
add eax, 5
movsxd rcx, eax
add rcx, rdx
mov qword [0x140a1a578], rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x14000309b
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e340
add rsp, 0x68
ret

Function at 0x1400032cc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor ebx, ebx
mov qword [rbp + 0x37], rcx
mov dword [rax - 0x58], ebx
lea r9, [rbp + 0x17]
mov qword [rax - 0x60], rbx
lea r8, [rbp + 0x27]
mov dword [rax - 0x68], 0x20
lea rcx, [rbp + 0x67]
mov dword [rax - 0x70], ebx
xorps xmm0, xmm0
mov dword [rax - 0x78], 2
mov edx, 0x40000000
mov dword [rax - 0x80], 0x80
mov qword [rsp + 0x20], rbx
mov qword [rbp + 0x27], 0x30
mov qword [rbp + 0x3f], 0x240
mov qword [rbp + 0x2f], rbx
movdqu xmmword [rbp + 0x47], xmm0
mov qword [rbp + 0x67], rbx
movups xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov rcx, qword [rbp + 0x67]
test eax, eax
jns 0x140003357
call qword [sym.imp.ntoskrnl.exe_ZwClose]
or eax, 0xffffffff
jmp 0x1400033a7
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [0x140010440]
mov dword [rsp + 0x30], 0x41c8
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x17]
mov qword [rbp + 0x6f], rbx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
test eax, eax
jns 0x14000339b
or ebx, 0xffffffff
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rbp
ret
Function at 0x140003534
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, [0x14000f100]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, 0x70
call fcn.140003e98
xor edx, edx
test rax, rax
je 0x140003589
lea ecx, [rdx + 0xf]
mov qword [rax], rdx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x40], rcx
mov qword [rax + 0x60], rcx
mov qword [rax + 0x10], rdx
mov byte [rax + 0x20], dl
mov qword [rax + 0x28], rdx
mov qword [rax + 0x38], rdx
mov qword [rax + 0x48], rdx
mov qword [rax + 0x58], rdx
jmp 0x14000358c
mov rax, rdx
lea rcx, [0x14000f120]
mov qword [0x140a1a5f0], rax
call fcn.140001c1c
lea rdx, [0x140001fa0]
lea rcx, [rsp + 0x40]
call fcn.140003b4c
lea rcx, [0x140a1a580]
call fcn.1400030b0
lea rax, [0x1400027b0]
mov qword [rdi + 0x68], rax
mov rax, qword [rdi + 0x28]
or dword [rax + 0x68], 0x20
lea rbx, [rax + 0x48]
mov rcx, rbx
call fcn.140003610
movups xmm0, xmmword [rbx]
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call fcn.1400032cc
call fcn.140002fe0
mov rcx, rdi
call fcn.140003f78
mov rcx, rdi
call fcn.1400040e0
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140003610
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
xor esi, esi
mov qword [rbp + 0x27], rcx
mov qword [rax - 0x68], rsi
lea r9, [rbp + 7]
mov dword [rax - 0x70], 0x100
lea r8, [rbp + 0x17]
mov qword [rax - 0x78], rsi
lea rcx, [rbp + 0x67]
mov dword [rax - 0x80], esi
xorps xmm0, xmm0
mov dword [rsp + 0x50], esi
mov ebx, 0x110000
mov qword [rsp + 0x48], rsi
mov edx, ebx
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x67], rsi
mov qword [rbp + 0x17], 0x30
mov qword [rbp + 0x2f], 0x240
mov qword [rbp + 0x1f], rsi
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
test eax, eax
js 0x140003733
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rax
mov r8, qword [r8]
mov dword [rsp + 0x20], 0x656c6946
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
xor edx, edx
mov edi, eax
test eax, eax
jns 0x1400036f3
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
jmp 0x140003731
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax + 0x28]
mov qword [rcx + 0x10], rsi
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rcx, qword [rbp + 0x6f]
mov bl, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x67]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
test bl, bl
je 0x140003731
lea rcx, [rbp + 0x17]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov edi, eax
test eax, eax
jns 0x140003733
mov eax, edi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400044b4
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400044df
xor al, al
jmp 0x14000456b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessExitStatus]
cmp eax, 0x103
je 0x1400044fe
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400044d8
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140004aa0
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400049ac
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140004728
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140004874
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140005790
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140005268
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140004ffc
mov rcx, rbx
call fcn.140004ccc
mov rcx, rbx
call fcn.140004ae4
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140004614
Capabilities:
Check os version

Disassembly:
sub rsp, 0x168
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x11c
call fcn.14000eb00
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x34], 0xa
jne 0x14000468d
cmp dword [rsp + 0x3c], 0x2800
je 0x14000468d
xorps xmm0, xmm0
lea rdx, [0x14000f390]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov ecx, dword [rax + 3]
test ecx, ecx
lea eax, [rcx - 8]
cmove eax, ecx
jmp 0x14000468f
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000e340
add rsp, 0x168
ret
Function at 0x140004874
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
call fcn.14000eb00
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x24], 0xa
jb 0x140004989
call fcn.140004614
mov eax, eax
mov rdi, qword [rax + rdi]
mov rbx, qword [rax + rbx]
movzx eax, word [rdi + 0x58]
movzx esi, word [rdi + 0x5a]
cmp word [rbx + 0x58], ax
jb 0x140004906
mov rcx, qword [rbx + 0x60]
mov r8d, esi
xor edx, edx
call fcn.14000eb00
movzx r8d, word [rdi + 0x58]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rbx + 0x60]
call fcn.14000ec00
mov rbp, qword [rbx + 0x60]
jmp 0x140004936
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8, rsi
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.14000eb00
movzx r8d, word [rdi + 0x58]
mov rcx, rbp
mov rdx, qword [rdi + 0x60]
call fcn.14000ec00
mov qword [rbx + 0x60], rbp
movzx ecx, word [rdi + 0x5a]
mov word [rbx + 0x5a], cx
movzx eax, word [rdi + 0x58]
mov word [rbx + 0x58], ax
mov rsi, qword [rbx + 0x20]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140004979
cmp word [rsi + 0x10], 0
je 0x140004979
cmp word [rsi + 0x12], 0
je 0x140004979
mov qword [rsi + 0x18], rbp
movzx eax, word [rbx + 0x58]
mov word [rsi + 0x10], ax
movzx eax, word [rbx + 0x5a]
mov word [rsi + 0x12], ax
mov rax, qword [rdi + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005c78
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov ebx, 0x100000
mov r8d, 0x656e6f42
mov edx, ebx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov rdi, rax
test r14, r14
jne 0x140005cc9
mov eax, 0xc000000d
jmp 0x140005dac
test rsi, rsi
jne 0x140005cd8
mov eax, 0xc0000017
jmp 0x140005dac
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
lea ecx, [r9 + 5]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebx, eax
test eax, eax
jns 0x140005d03
mov edx, 0x656e6f42
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140005daa
mov ebx, 0xc0000225
cmp qword [rsi + 0x50], rbp
je 0x140005d1d
mov eax, dword [rdi]
test eax, eax
je 0x140005d1f
add rdi, rax
cmp qword [rdi + 0x50], rbp
jne 0x140005d0e
xor ebx, ebx
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
setne r15b
test ebx, ebx
js 0x140005d91
xor esi, esi
mov ebx, 0xc0000225
cmp dword [rdi + 4], esi
jbe 0x140005d9f
lea rcx, [rsi + rsi*4]
add rcx, rcx
mov rbp, qword [rdi + rcx*8 + 0x130]
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
cmp rbp, rax
je 0x140005d88
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_PsLookupThreadByThreadId]
mov rcx, qword [r14]
mov ebx, eax
test rcx, rcx
je 0x140005da5
mov dl, r15b
call fcn.140005b88
test al, al
je 0x140005d9f
mov rcx, qword [r14]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
and qword [r14], 0
inc esi
cmp esi, dword [rdi + 4]
jb 0x140005d3f
jmp 0x140005d9f
mov edx, 0x656e6f42
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [r14], 0
jne 0x140005daa
mov ebx, 0xc0000225
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret