joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141de2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141de21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141de2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141de206f
add dl, dl
jne 0x141de2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141de20f6
xor eax, eax
add dl, dl
jne 0x141de20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141de21ad
add dl, dl
jne 0x141de20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141de20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141de20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141de20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141de20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141de207e
mov eax, 1
add dl, dl
jne 0x141de2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141de2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141de20fb
sub eax, ebx
mov ebx, 1
jne 0x141de214c
mov ecx, 1
add dl, dl
jne 0x141de212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141de213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141de2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141de207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141de2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141de2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141de215d
cmp eax, 0x7d00
jae 0x141de219b
cmp eax, 0x500
jb 0x141de2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141de207e
cmp eax, 0x7f
ja 0x141de219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141de207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141de21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141de207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400012c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edi, edi
xor edx, edx
mov ecx, 2
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001302
xor eax, eax
jmp 0x140001361
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001356
nop dword [rax]
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140001344
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140001344
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001320
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002770
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x128b8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x80
and dword [r11 + 8], 0
mov dword [rsp + 0x48], 0x30
and qword [r11 - 0x38], 0
mov dword [rsp + 0x60], 0x240
and qword [r11 - 0x20], 0
and qword [r11 - 0x18], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x30], rcx
mov edi, r8d
mov qword [r11 - 0x58], rax
and dword [rsp + 0x28], 0
and qword [r11 - 0x68], 0
mov rbx, r9
mov rsi, rdx
lea rcx, [r11 - 0x48]
lea r8, [r11 - 0x40]
xor r9d, r9d
mov edx, 0x20006
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
js 0x12966
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
mov r9d, edi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x12984
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
and qword [rax - 0x58], 0
and qword [rax - 0x40], 0
and qword [rax - 0x38], 0
mov rbp, r8
mov qword [rax - 0x50], rcx
mov r14, rdx
lea r8, [rax - 0x60]
lea rcx, [rax - 0x68]
mov edx, 0x20019
mov r13, r9
mov dword [rax - 0x60], 0x30
mov dword [rax - 0x48], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x12a9f
mov rsi, qword [rsp + 0xc0]
xor ecx, ecx
mov ebx, dword [rsi]
add ebx, 0x10
mov edx, ebx
mov r12d, ebx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
jne 0x12a0c
mov ebx, 0xc000009a
jmp 0x12a92
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.000231f0
mov rcx, qword [rsp + 0x30]
lea r11, [rsp + 0xa0]
mov qword [rsp + 0x28], r11
mov r9, rdi
mov r8d, 2
mov rdx, r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
cmp eax, 0xc0000023
je 0x12a7b
cmp eax, 0x80000005
je 0x12a7b
test eax, eax
js 0x12a87
test rbp, rbp
je 0x12a60
mov ecx, dword [rdi + 4]
mov dword [rbp], ecx
mov eax, dword [rdi + 8]
lea rdx, [rdi + 0xc]
mov rcx, r13
cmp dword [rsi], eax
cmovb eax, dword [rsi]
mov r8d, eax
mov dword [rsi], eax
call fcn.00021c60
jmp 0x12a87
mov eax, dword [rsp + 0xa0]
add eax, 0xfffffff4
mov dword [rsi], eax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x13858
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov ebp, 0x80000
mov dword [rax + 0x10], 3
mov dword [rax + 8], ebp
call fcn.00012ac0
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor ebx, ebx
mov rdi, rax
cmp rax, rbx
je 0x13a6d
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.000231f0
lea rdx, [0x00027050]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x000270d0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00027150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r11d, dword [0x0002a8b0]
cmp r11d, ebx
je 0x138eb
cmp r11d, 0x20
jb 0x139d3
movabs rsi, 0xfffff78000000014
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xa0]
mov rax, qword [rsi]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsi]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
add edx, dword [rsp + 0xa8]
mov ecx, edx
call qword [sym.imp.ntoskrnl.exe_srand]
call qword [sym.imp.ntoskrnl.exe_rand]
cdq
and edx, 0x1f
add eax, edx
and eax, 0x1f
sub eax, edx
mov dword [0x0002a8b0], eax
jne 0x139af
mov rax, qword [rsi]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
mov ecx, dword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_srand]
call qword [sym.imp.ntoskrnl.exe_rand]
mov r11d, eax
mov eax, 0x84210843
imul r11d
add edx, r11d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x1f
sub r11d, edx
inc r11d
mov dword [0x0002a8b0], r11d
lea r9, [0x0002a8b0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov r8d, 4
mov dword [rsp + 0x20], 4
call fcn.000128b8
lea rax, [rsp + 0x90]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x20], rax
call fcn.00012984
mov esi, dword [rsp + 0x90]
mov r12d, eax
cmp esi, ebp
jbe 0x13a33
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
cmp rax, rbx
je 0x13aa0
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.000231f0
cmp r12d, ebx
jl 0x13a62
mov r8d, dword [0x0002a8b0]
mov edx, esi
mov rcx, rdi
mov byte [0x0002762e], 1
call fcn.00017e08
movzx ecx, byte [0x0002762e]
cmp eax, ebx
cmove ecx, ebx
mov byte [0x0002762e], cl
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x0002d2e0]
mov eax, ebx
mov edx, 8
test al, 1
je 0x13a88
shr eax, 1
xor eax, 0xedb88320
jmp 0x13a8a
shr eax, 1
sub rdx, 1
jne 0x13a7b
inc ebx
mov dword [rcx], eax
add rcx, 4
cmp ebx, 0x100
jb 0x13a74
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x13d24
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
movabs rbx, 0xfffff78000000320
movabs rax, 0xfffff78000000014
lea rdx, [rsp + 0x40]
mov rbx, qword [rbx]
mov rax, qword [rax]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rcx, [rsp + 0x38]
call fcn.00013ab4
lea rcx, [rsp + 0x30]
call sub.ntoskrnl.exe_RtlRandomEx
xor edx, edx
lea rcx, [0x0002db40]
lea r11d, [rax + 3]
mov eax, ebx
mov ebx, 0x114
div r11d
movzx eax, byte [rsp + 0x39]
mov r8, rbx
add edx, eax
movzx eax, byte [rsp + 0x3d]
add edx, eax
movzx eax, byte [rsp + 0x3c]
add edx, eax
movzx eax, byte [rsp + 0x3b]
add edx, eax
movzx eax, byte [rsp + 0x3a]
add eax, dword [rsp + 0x40]
add eax, edx
xor edx, edx
mov dword [rsp + 0x40], eax
call fcn.000231f0
lea rcx, [0x0002db40]
mov dword [0x0002db40], ebx
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
jne 0x13deb
cmp dword [0x0002db44], 6
jb 0x13deb
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_srand]
call qword [sym.imp.ntoskrnl.exe_rand]
jmp 0x13e19
mov eax, dword [rsp + 0x40]
mov ecx, 0x3039
test eax, eax
jne 0x13e06
mov eax, dword [0x0002a8c8]
imul eax, eax, 0x41c64e6d
add eax, ecx
imul eax, eax, 0x3e39b193
sub ecx, eax
shr ecx, 0x10
and ecx, 0x7fff
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14444
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x0002a8e0]
mov rbx, rdx
cmp eax, 6
jne 0x1446c
cmp dword [0x0002a8e4], 3
ja 0x14472
cmp eax, eax
jbe 0x144f4
mov rdx, qword [rdx + 0xb8]
test rcx, rcx
je 0x144d0
cmp rcx, qword [0x0002a900]
jne 0x144d0
cmp byte [rdx], 0xe
mov r8, qword [rcx + 0x40]
jne 0x144b3
mov eax, dword [rdx + 0x18]
sub eax, 0x12017
je 0x144a9
cmp eax, 8
jne 0x144b3
mov rdx, rbx
call fcn.00015164
jmp 0x144ed
mov rdx, rbx
call fcn.000155ac
jmp 0x144ed
inc byte [rbx + 0x43]
lea rax, [rdx + 0x48]
mov rdx, rbx
mov qword [rbx + 0xb8], rax
mov rcx, qword [r8 + 0x13]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x144ed
movzx eax, byte [rdx]
lea rdx, [0x0002a920]
mov r8, qword [rdx + rax*8]
test r8, r8
je 0x14636
mov rdx, rbx
call r8
mov edi, eax
jmp 0x1464e
mov rdi, qword [rdx + 0xb8]
test rcx, rcx
je 0x1461b
cmp rcx, qword [0x0002a900]
jne 0x1461b
cmp byte [0x0002a8bc], 0
mov rsi, qword [rcx + 0x40]
je 0x1453b
inc byte [rdx + 0x43]
lea rax, [rdi + 0x48]
mov qword [rdx + 0xb8], rax
mov rcx, qword [rsi + 0x13]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x14650
cmp byte [rdi], 0
je 0x14611
cmp byte [rdi], 0xf
je 0x1455b
cmp byte [rdi], 0x12
jne 0x14577
mov r8, rdi
call fcn.00014878
jmp 0x14650
movzx edx, byte [rdi + 1]
sub edx, 1
je 0x14604
sub edx, 1
je 0x145a7
sub edx, 5
je 0x14597
cmp edx, 4
je 0x14587
inc byte [rbx + 0x43]
lea rax, [rdi + 0x48]
mov qword [rbx + 0xb8], rax
jmp 0x145fc
mov r8, rdi
mov rdx, rbx
call fcn.00014af4
jmp 0x14650
mov r8, rdi
mov rdx, rbx
call fcn.00014bb0
jmp 0x14650
lea rcx, [0x0002d7f0]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov r8, qword [rdi + 0x30]
mov rdx, qword [0x0002a8f0]
test r8, r8
je 0x145e2
test rdx, rdx
je 0x145e2
cmp qword [rdx + 8], r8
je 0x145d8
mov rdx, qword [rdx + 0x38]
test rdx, rdx
jne 0x145c9
test rdx, rdx
je 0x145e2
and qword [rdx + 0x18], 0
lea rcx, [0x0002d7f0]
mov dl, al
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
inc byte [rbx + 0x43]
add qword [rbx + 0xb8], 0x48
mov rdx, rbx
jmp 0x1452c
mov r8, rdi
mov rdx, rbx
call fcn.000149e8
jmp 0x14650
mov r8, rdi
call fcn.00014668
jmp 0x14650
movzx eax, byte [rdi]
lea rdx, [0x0002a920]
mov r8, qword [rdx + rax*8]
test r8, r8
je 0x14636
mov rdx, rbx
call r8
jmp 0x14650
and qword [rbx + 0x38], 0
mov edi, 0xc0000010
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], edi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x155ac
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
sub rsp, 0x30
mov rbx, rdx
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x50], rax
mov r13, qword [rdx + 0xb8]
mov rsi, qword [r13 + 0x30]
test rsi, rsi
jne 0x155e4
xor edi, edi
jmp 0x1561a
lea rcx, [0x0002d7e8]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rdi, qword [0x0002a8f8]
test rdi, rdi
je 0x1560b
cmp qword [rdi], rsi
je 0x1560b
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x155fd
mov dl, al
lea rcx, [0x0002d7e8]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov r12d, dword [r13 + 0x10]
test rdi, rdi
je 0x15745
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_IoIs32bitProcess]
test al, al
je 0x156ad
mov rsi, qword [r13 + 0x20]
mov rdx, r12
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
nop
movsxd rsi, dword [rsi]
movsxd rdx, dword [rsi]
movsxd rcx, dword [rsi + 4]
mov r8d, 1
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
nop
mov eax, dword [rsi]
cmp eax, dword [rdi + 0x10]
jb 0x1568b
mov r8, rax
movsxd rcx, dword [rsi + 4]
xor edx, edx
call fcn.000231f0
mov r8d, dword [rdi + 0x10]
movsxd rcx, dword [rsi + 4]
mov rdx, qword [rdi + 8]
call fcn.00021c60
xor esi, esi
jmp 0x15703
mov dword [rbx + 0x30], 0xc0000023
and qword [rbx + 0x38], 0
mov esi, 0xc0000023
jmp 0x1572a
mov rsi, qword [r13 + 0x20]
mov rdx, r12
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
nop
mov rsi, qword [rsi]
mov r8d, 1
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
nop
mov eax, dword [rsi]
cmp eax, dword [rdi + 0x10]
jb 0x15719
mov r8, rax
xor edx, edx
mov rcx, qword [rsi + 8]
call fcn.000231f0
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsi + 8]
call fcn.00021c60
xor esi, esi
and dword [rbx + 0x30], 0
mov eax, dword [rdi + 0x10]
mov qword [rbx + 0x38], rax
mov rcx, qword [r13 + 0x30]
call fcn.0001405c
jmp 0x1572a
mov dword [rbx + 0x30], 0xc0000023
and qword [rbx + 0x38], 0
mov esi, 0xc0000023
mov dl, 2
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x15762
inc byte [rbx + 0x43]
add qword [rbx + 0xb8], 0x48
mov rdx, rbx
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x13]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret

Function at 0x15948
Capabilities:
Encode data using xor

Disassembly:
or r8d, 0xffffffff
mov r9, rcx
test edx, edx
je 0x15980
mov r10d, edx
movzx edx, byte [r9]
mov eax, r8d
mov ecx, r8d
xor rdx, rax
shr ecx, 8
inc r9
movzx eax, dl
lea rdx, [0x0002d2e0]
mov r8d, dword [rdx + rax*4]
xor r8d, ecx
sub r10, 1
jne 0x15956
not r8d
mov eax, r8d
ret
Function at 0x1da6c
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov ebx, 0x40000
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor edi, edi
mov qword [0x0002aa20], rax
cmp rax, rdi
je 0x1dc4e
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.000231f0
mov rcx, qword [0x0002aa30]
lea rax, [0x0002cf40]
mov dword [rsp + 0xa8], 0x30
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0xc0], 0x40
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], rdi
mov rbx, qword [rcx + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rbx + 0x13], rax
cmp rax, rdi
jne 0x1db07
mov rax, qword [rbx + 0xa]
mov qword [rbx + 0x13], rax
mov rax, qword [rbx + 0x13]
mov ebx, 1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x800
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8, [rsp + 0xa8]
lea rcx, [rsp + 0xf0]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
cmp eax, edi
jge 0x1db93
mov rcx, qword [0x0002aa20]
cmp rcx, rdi
je 0x1db87
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [0x0002aa20], rdi
jmp 0x1dc4e
mov rcx, qword [rsp + 0xf0]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x80]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, edi
jl 0x1db73
mov rcx, qword [rsp + 0xf0]
xor r8d, r8d
mov dl, bl
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov r11, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0xf8]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov rax, qword [0x0002aa20]
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov dword [0x0002aa28], r11d
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, edi
jl 0x1db73
mov rcx, qword [rsp + 0xf0]
xor r8d, r8d
mov dl, bl
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret
Function at 0x1dc68
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
call fcn.0001d8ec
mov rcx, rbx
mov rsi, rax
call fcn.0001af6c
mov rcx, rbx
call fcn.0001bc9c
test rsi, rsi
je 0x1def8
mov rcx, rbx
call fcn.0001cecc
test eax, eax
js 0x1def8
cmp byte [0x0002a8be], 0
je 0x1dcc6
mov ecx, 1
call fcn.0001bd50
mov rcx, rax
call fcn.0001d228
call fcn.00020808
mov edx, 0xe0
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
je 0x1de00
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
call fcn.000231f0
lea rax, [0x0001f7d8]
mov dword [rdi], 0xe0
mov qword [rdi + 8], rax
lea rax, [0x0001f8a8]
mov qword [rdi + 0x10], rax
lea rax, [0x0001f978]
mov qword [rdi + 0x18], rax
lea rax, [0x0001fa48]
mov qword [rdi + 0x20], rax
lea rax, [0x0001faf8]
mov qword [rdi + 0x28], rax
lea rax, [0x0001fba8]
mov qword [rdi + 0x30], rax
lea rax, [0x0001fc90]
mov qword [rdi + 0x38], rax
lea rax, [0x0001fd54]
mov qword [rdi + 0x40], rax
lea rax, [0x0001fdf0]
mov qword [rdi + 0x48], rax
lea rax, [0x0001fea0]
mov qword [rdi + 0x50], rax
lea rax, [0x0001ffc4]
mov qword [rdi + 0x68], rax
lea rax, [0x0001fffc]
mov qword [rdi + 0x70], rax
lea rax, [0x000200ac]
mov qword [rdi + 0x80], rax
lea rax, [0x00020178]
mov qword [rdi + 0x88], rax
lea rax, [0x00020204]
mov qword [rdi + 0x90], rax
lea rax, [0x000202d0]
mov qword [rdi + 0x98], rax
lea rax, [0x0002036c]
mov qword [rdi + 0xa0], rax
lea rax, [0x00020474]
mov qword [rdi + 0xa8], rax
lea rax, [0x0002057c]
mov qword [rdi + 0xb0], rax
lea rax, [0x00020608]
mov qword [rdi + 0xb8], rax
lea rax, [0x000206a4]
mov qword [rdi + 0xc0], rax
mov qword [rbx + 0x50], rdi
mov r9d, dword [rsi + 0x48]
xor r8d, r8d
lea rax, [0x0002aa30]
mov qword [rsp + 0x30], rax
lea edx, [r8 + 0x1b]
mov rcx, rbx
mov byte [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x1def8
mov rax, qword [0x0002aa30]
mov rdx, rsi
mov rdi, qword [rax + 0x40]
and qword [rdi + 0x13], 0
lea r8, [rdi + 0xa]
mov qword [rdi + 1], rbx
and qword [r8], 0
mov rcx, qword [0x0002aa30]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStackSafe]
test eax, eax
jns 0x1de79
mov rcx, qword [0x0002aa30]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
and qword [0x0002aa30], 0
jmp 0x1def8
mov rax, qword [0x0002aa30]
btr dword [rax + 0x30], 7
mov rcx, qword [0x0002aa30]
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rdi + 0x13], rax
test rax, rax
je 0x1def3
call fcn.0001da6c
cmp byte [0x0002a8be], 0
je 0x1dee9
cmp qword [0x0002aa30], 0
je 0x1dec8
lea rdx, [0x0002d160]
lea rcx, [0x0002cf40]
call fcn.0001c6a4
jmp 0x1decd
mov eax, 0xc000000e
test eax, eax
js 0x1ded8
call fcn.0001b9a8
jmp 0x1dee9
mov ecx, 4
call fcn.0001bd50
mov byte [0x0002a8be], 0
call fcn.0001ee74
call fcn.0001f494
call fcn.00020808
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1df10
Capabilities:
Delete file
Set file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xc0
and qword [r11 + 0x18], 0
xor eax, eax
mov rdi, rcx
lea rcx, [r11 - 0x38]
lea r8d, [rax + 0x30]
xor edx, edx
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
call fcn.000231f0
mov rbx, qword [0x0002aa30]
test rbx, rbx
je 0x1e094
mov rbx, qword [rbx + 0x40]
and qword [rsp + 0xe8], 0
lea r9, [0x0002cf60]
lea rdx, [rsp + 0xe8]
mov r8d, 0x200
mov rcx, rdi
call fcn.0001e2c8
mov rcx, qword [0x0002aa30]
and qword [rsp + 0x98], 0
and qword [rsp + 0xb0], 0
and qword [rsp + 0xb8], 0
mov dword [rsp + 0x90], 0x30
mov dword [rsp + 0xa8], 0x240
mov qword [rsp + 0xa0], rdi
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rbx + 0x13], rax
test rax, rax
jne 0x1dfd1
mov rax, qword [rbx + 0xa]
mov qword [rbx + 0x13], rax
mov rax, qword [rbx + 0x13]
mov ebx, 1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x800
and qword [rsp + 0x60], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x62
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 7
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0xe0]
mov edx, 0xc0010000
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
test eax, eax
js 0x1e084
mov rcx, qword [rsp + 0xe0]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x80]
mov r9d, ebx
mov byte [rsp + 0xd8], bl
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
jmp 0x1e099
mov eax, 0xc000000e
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret