joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e4f0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov edx, 0x80010
mov r8d, 0x72647268
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor edi, edi
mov qword [0x0004c468], rax
cmp rax, rdi
je 0x1e6db
xor edx, edx
mov r8d, 0x80000
mov rcx, rax
call fcn.0003bc80
mov rcx, qword [0x0004c470]
lea rax, [0x0004ef00]
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 0x1e591
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 0x1e620
mov rcx, qword [0x0004c468]
cmp rcx, rdi
je 0x1e614
mov edx, 0x72647268
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [0x0004c468], rdi
jmp 0x1e6db
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 0x1e5fd
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 [0x0004c468]
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov dword [0x0004c464], r11d
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, edi
jl 0x1e5fd
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 0x1e6f4
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.0001e364
mov rcx, rbx
mov rsi, rax
call fcn.0001b930
mov rcx, rbx
call fcn.0001c680
test rsi, rsi
je 0x1e98a
mov rcx, rbx
call fcn.0001d8f8
test eax, eax
js 0x1e98a
cmp byte [0x0004c2fe], 0
je 0x1e752
mov ecx, 1
call fcn.0001c734
mov rcx, rax
call fcn.0001dc78
call fcn.000212e8
mov edx, 0xf0
xor ecx, ecx
mov r8d, 0x72647268
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x1e892
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rax
call fcn.0003bc80
lea rax, [0x000202b8]
mov dword [rdi], pe_nt_image_headers64
mov qword [rdi + 8], rax
lea rax, [0x00020388]
mov qword [rdi + 0x10], rax
lea rax, [0x00020458]
mov qword [rdi + 0x18], rax
lea rax, [0x00020528]
mov qword [rdi + 0x20], rax
lea rax, [0x000205d8]
mov qword [rdi + 0x28], rax
lea rax, [0x00020688]
mov qword [rdi + 0x30], rax
lea rax, [0x00020770]
mov qword [rdi + 0x38], rax
lea rax, [0x00020834]
mov qword [rdi + 0x40], rax
lea rax, [0x000208d0]
mov qword [rdi + 0x48], rax
lea rax, [0x00020980]
mov qword [rdi + 0x50], rax
lea rax, [0x00020aa4]
mov qword [rdi + 0x68], rax
lea rax, [0x00020adc]
mov qword [rdi + 0x70], rax
lea rax, [0x00020b8c]
mov qword [rdi + 0x80], rax
lea rax, [0x00020c58]
mov qword [rdi + 0x88], rax
lea rax, [0x00020ce4]
mov qword [rdi + 0x90], rax
lea rax, [0x00020db0]
mov qword [rdi + 0x98], rax
lea rax, [0x00020e4c]
mov qword [rdi + 0xa0], rax
lea rax, [0x00020f54]
mov qword [rdi + 0xa8], rax
lea rax, [0x0002105c]
mov qword [rdi + 0xb0], rax
lea rax, [0x000210e8]
mov qword [rdi + 0xb8], rax
lea rax, [0x00021184]
mov qword [rdi + 0xc0], rax
mov qword [rbx + 0x50], rdi
mov r9d, dword [rsi + 0x48]
xor r8d, r8d
lea rax, [0x0004c470]
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 0x1e98a
mov rax, qword [0x0004c470]
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 [0x0004c470]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStackSafe]
test eax, eax
jns 0x1e90b
mov rcx, qword [0x0004c470]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
and qword [0x0004c470], 0
jmp 0x1e98a
mov rax, qword [0x0004c470]
btr dword [rax + 0x30], 7
mov rcx, qword [0x0004c470]
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rdi + 0x13], rax
test rax, rax
je 0x1e985
call fcn.0001e4f0
cmp byte [0x0004c2fe], 0
je 0x1e97b
cmp qword [0x0004c470], 0
je 0x1e95a
lea rdx, [0x0004f120]
lea rcx, [0x0004ef00]
call fcn.0001d0a4
jmp 0x1e95f
mov eax, 0xc000000e
test eax, eax
js 0x1e96a
call fcn.0001c378
jmp 0x1e97b
mov ecx, 4
call fcn.0001c734
mov byte [0x0004c2fe], 0
call fcn.0001f92c
call fcn.0001ff64
call fcn.000212e8
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1e9a0
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.0003bc80
mov rbx, qword [0x0004c470]
test rbx, rbx
je 0x1eb24
mov rbx, qword [rbx + 0x40]
and qword [rsp + 0xe8], 0
lea r9, [0x0004ef20]
lea rdx, [rsp + 0xe8]
mov r8d, 0x200
mov rcx, rdi
call fcn.0001ed58
mov rcx, qword [0x0004c470]
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 0x1ea61
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 0x1eb14
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 0x1eb29
mov eax, 0xc000000e
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x1eb40
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xf0
and qword [r11 + 8], 0
mov rax, rcx
mov rcx, qword [0x0004c470]
mov rbx, qword [rcx + 0x40]
and qword [r11 - 0x38], 0
and qword [r11 - 0x20], 0
and qword [r11 - 0x18], 0
mov dword [r11 - 0x40], 0x30
mov dword [r11 - 0x28], 0x240
mov qword [r11 - 0x30], rax
mov rdi, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rbx + 0x13], rax
test rax, rax
jne 0x1ebad
mov rax, qword [rbx + 0xa]
mov qword [rbx + 0x13], rax
mov rax, qword [rbx + 0x13]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xb8]
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], 0x60
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x100]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 6
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
mov ebx, eax
test eax, eax
js 0x1ed35
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rsp + 0x100]
xor r8d, r8d
mov dl, 1
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwFlushBuffersFile]
mov rcx, qword [rsp + 0x100]
mov edi, 4
lea esi, [rdi + 0x24]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp dword [rsp + 0x80], 0
jl 0x1ed27
mov ecx, 0x1c95a06
mov eax, 0xfa2b0929
lea r8, [rsp + 0x90]
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0x94], ecx
mov dword [rsp + 0xac], ecx
mov dword [rsp + 0x9c], ecx
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x90], eax
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1ed58
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xf0
and qword [r11 + 8], 0
mov rax, rcx
mov rcx, qword [0x0004c470]
mov rbx, qword [rcx + 0x40]
and qword [r11 - 0x38], 0
and qword [r11 - 0x20], 0
and qword [r11 - 0x18], 0
mov dword [r11 - 0x40], 0x30
mov dword [r11 - 0x28], 0x240
mov qword [r11 - 0x30], rax
mov rdi, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov qword [rbx + 0x13], rax
test rax, rax
jne 0x1edc5
mov rax, qword [rbx + 0xa]
mov qword [rbx + 0x13], rax
mov rax, qword [rbx + 0x13]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xb8]
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], 5
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x100]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
mov ebx, eax
test eax, eax
js 0x1ef4d
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rsp + 0x100]
xor r8d, r8d
mov dl, 1
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwFlushBuffersFile]
mov rcx, qword [rsp + 0x100]
mov edi, 4
lea esi, [rdi + 0x24]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp dword [rsp + 0x80], 0
jl 0x1ef3f
mov ecx, 0x1c95a06
mov eax, 0xfa2b0929
lea r8, [rsp + 0x90]
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0x94], ecx
mov dword [rsp + 0xac], ecx
mov dword [rsp + 0x9c], ecx
mov rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
mov r9d, esi
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x90], eax
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x212e8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x00047100]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
and qword [rsp + 0x30], 0
mov ebx, 0x114
lea rcx, [rsp + 0x90]
mov r8, rbx
xor edx, edx
call fcn.0003bc80
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x90], ebx
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x94], 6
lea rcx, [rsp + 0x68]
lea rdx, [0x0003ca10]
jae 0x21356
lea rdx, [0x0003ca60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x40], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
cmp byte [0x0004c2fe], 0
lea rsi, [0x0004f170]
mov qword [rsp + 0x48], rsi
lea rbx, [0x0004eef0]
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x50], 0x40
jne 0x2139f
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x60
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x213da
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x213f3
cmp byte [0x0004c2fe], 0
lea rcx, [rsp + 0x68]
mov rdx, rsi
jne 0x213ee
mov rdx, rbx
call fcn.0001d544
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.0003a660
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rsi
ret

Function at 0x21664
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x70
and qword [rax + 0x20], 0
mov edi, r8d
mov ebx, edx
call fcn.00021778
and qword [0x0004c898], 0
lea rcx, [0x0004ee40]
mov edx, 1
mov dword [0x00049a54], ebx
mov dword [0x0004a034], edi
mov byte [0x0004c8a0], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeTimerEx]
lea rcx, [0x0004ee40]
xor r9d, r9d
mov rdx, 0xffffffffca5b1700
mov r8d, 0x15f90
call qword [sym.imp.ntoskrnl.exe_KeSetTimerEx]
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [0x0002141c]
mov ebx, 0x1fffff
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x98]
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x21764
mov rcx, qword [rsp + 0x98]
and qword [rsp + 0x28], 0
lea rax, [0x0004c898]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x98]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x217f0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
xor edi, edi
mov qword [r11 + 0x10], rdi
cmp byte [0x0004c2fe], dil
jne 0x219ac
mov dword [rsp + 0x50], 0x30
lea rax, [0x0004f9c0]
mov qword [r11 - 0x30], rdi
mov dword [rsp + 0x68], 0x200
mov qword [r11 - 0x28], rax
lea rax, [r11 + 8]
mov qword [r11 - 0x58], rax
lea r8, [r11 - 0x38]
lea rcx, [r11 + 0x10]
xor r9d, r9d
mov edx, 0xf003f
mov dword [rsp + 0x28], edi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x68], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp qword [rsp + 0x98], rdi
je 0x219ac
lea rdx, [0x0003c8c0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x98]
mov edi, 4
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rdx, [0x0003c8b0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rdx, [0x0003c8e0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rdx, [0x0003c8f0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x90], 1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
or rcx, 0xffffffffffffffff
lea rdx, [0x0003c900]
xor eax, eax
mov r9d, 1
mov rdi, rdx
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
add rsp, 0x80
pop rdi
ret
Function at 0x2204c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
and qword [rax + 8], 0
and qword [0x0004ee08], 0
and dword [0x0004ee10], 0
mov ebx, 1
lea rcx, [0x0004ee18]
xor r8d, r8d
mov edx, ebx
mov dword [0x0004ee00], ebx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rcx, [0x0004ee80]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [0x00021cf4]
mov ebx, 0x1fffff
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x22132
mov rcx, qword [rsp + 0x80]
and qword [rsp + 0x28], 0
lea rax, [0x0004ee98]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x70
pop rbx
ret

Function at 0x22264
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
and qword [rax + 8], 0
lea rcx, [0x0004eea0]
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeTimerEx]
lea rcx, [0x0004eea0]
movabs rdx, 0xfffffffde78ee600
xor r9d, r9d
mov r8d, 0xdbba0
call qword [sym.imp.ntoskrnl.exe_KeSetTimerEx]
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [0x00022140]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x1fffff
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov ebx, eax
test eax, eax
js 0x22312
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x70
pop rbx
ret
Function at 0x2314c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
and qword [rax + 8], 0
and qword [0x0004c8d8], 0
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x0004c900]
mov byte [0x0004c8a3], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rax, [0x000230f8]
mov ebx, 0x1fffff
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x40], 0x30
mov dword [rsp + 0x58], 0x200
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x23232
mov rcx, qword [rsp + 0x80]
and qword [rsp + 0x28], 0
lea rax, [0x0004c8d8]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
and qword [rsp + 0x80], 0
lea rcx, [0x0004c900]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov eax, ebx
add rsp, 0x70
pop rbx
ret

Function at 0x23240
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, 0x4c8
mov rbx, rcx
call fcn.0003bc80
mov rcx, rbx
call fcn.00024718
test eax, eax
jne 0x2326c
mov eax, 0x65
jmp 0x23311
and qword [rbx + 0x138], 0
and qword [rbx + 0x140], 0
mov dword [rbx + 0x18], 0x6a09e667
mov eax, 0x5be0cd19
mov r11d, 0xbb67ae85
mov r10d, 0x3c6ef372
mov dword [rbx + 0x34], eax
mov dword [rbx + 0x1c], r11d
mov dword [rbx + 0x20], r10d
mov r9d, 0xa54ff53a
mov r8d, 0x510e527f
mov edx, 0x9b05688c
mov dword [rbx + 0x24], r9d
mov dword [rbx + 0x28], r8d
mov dword [rbx + 0x2c], edx
mov ecx, 0x1f83d9ab
mov dword [rbx + 0x30], ecx
and qword [rbx + 0x280], 0
and qword [rbx + 0x288], 0
mov dword [rbx + 0x17c], eax
mov dword [rbx + 0x160], 0x6a09e667
mov dword [rbx + 0x164], r11d
mov dword [rbx + 0x168], r10d
mov dword [rbx + 0x16c], r9d
mov dword [rbx + 0x170], r8d
mov dword [rbx + 0x174], edx
mov dword [rbx + 0x178], ecx
and dword [rbx + 8], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x235e8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rdx, [rcx + 0x48c]
mov rbp, rcx
mov r8d, 0x20
add rcx, 0x18
call fcn.0002489c
lea rdx, [rbp + 0x48c]
lea rcx, [rbp + 0x18]
call fcn.0002493c
lea rdx, [rbp + 0x48c]
lea rcx, [rbp + 0x2a8]
mov r8d, 0x20
call fcn.00024be8
lea rdx, [rbp + 0x4ac]
xor eax, eax
mov qword [rdx], rax
lea rcx, [rbp + 0x2a8]
mov r8, rdx
mov qword [rdx + 8], rax
call fcn.00024e94
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
xor eax, eax
mov dword [rbp + 0x18], 0x6a09e667
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x1c], 0xbb67ae85
mov dword [rbp + 0x20], 0x3c6ef372
mov dword [rbp + 0x24], 0xa54ff53a
mov dword [rbp + 0x28], 0x510e527f
mov dword [rbp + 0x2c], 0x9b05688c
mov dword [rbp + 0x30], 0x1f83d9ab
mov dword [rbp + 0x34], 0x5be0cd19
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
mov dword [rbp + 8], 1
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x236dc
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, rcx
xor edx, edx
add rcx, 0x18
call fcn.0002493c
mov r13d, 0x20
lea rdx, [r12 + 0x48c]
lea rcx, [r12 + 0x160]
mov r8, r13
call fcn.0002489c
lea rdx, [r12 + 0x18]
lea rcx, [r12 + 0x160]
mov r8, r13
call fcn.0002489c
lea rdx, [r12 + 0x48c]
lea rcx, [r12 + 0x160]
call fcn.0002493c
lea rdx, [r12 + 0x48c]
lea rcx, [r12 + 0x2a8]
mov r8, r13
call fcn.00024be8
lea rdx, [r12 + 0x4ac]
xor eax, eax
mov qword [rdx], rax
lea rcx, [r12 + 0x2a8]
mov r8, rdx
mov qword [rdx + 8], rax
call fcn.00024e94
xor edi, edi
mov qword [r12 + 0x138], rdi
mov qword [r12 + 0x140], rdi
mov ecx, 0x1f83d9ab
mov dword [r12 + 0x30], ecx
mov eax, 0x5be0cd19
mov ebx, 0x6a09e667
mov dword [r12 + 0x34], eax
mov dword [r12 + 0x18], ebx
mov r11d, 0xbb67ae85
mov dword [r12 + 0x1c], r11d
mov r10d, 0x3c6ef372
mov r9d, 0xa54ff53a
mov dword [r12 + 0x20], r10d
mov dword [r12 + 0x24], r9d
mov r8d, 0x510e527f
mov dword [r12 + 0x28], r8d
mov edx, 0x9b05688c
mov dword [r12 + 0x2c], edx
mov dword [r12 + 0x178], ecx
mov dword [r12 + 0x17c], eax
lea rax, [r12 + 0x290]
lea ecx, [rdi + 3]
mov dword [r12 + 0x160], ebx
mov dword [r12 + 0x164], r11d
mov dword [r12 + 0x168], r10d
mov dword [r12 + 0x16c], r9d
mov dword [r12 + 0x170], r8d
mov dword [r12 + 0x174], edx
mov qword [r12 + 0x280], rdi
mov qword [r12 + 0x288], rdi
mov qword [rax - 0x148], rdi
mov qword [rax], rdi
add rax, 8
sub rcx, 1
jne 0x23844
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov dword [r12 + 8], 1
add rsp, 0x20
pop r13
pop r12
pop rdi
ret