joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11e00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0
add byte [rax], al
add byte [rax], al
mov dword [rsp + 0x30], 0x30
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0x240
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x30]
mov edx, 0xf003f
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x11e77
jmp 0x11ee1
cmp qword [rsp + 0x60], 0
ja 0x11e81
jmp 0x11ee1
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
lea rax, [rcx + rcx + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp qword [rsp + 0x60], 0
je 0x11ee1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
add rsp, 0x70
pop rdi
ret

Function at 0x11ef0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x30], 0x30
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0x240
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x30]
mov edx, 0xf003f
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x11f66
jmp 0x11fb4
cmp qword [rsp + 0x60], 0
ja 0x11f70
jmp 0x11fb4
mov dword [rsp + 0x28], 8
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp qword [rsp + 0x60], 0
je 0x11fb4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
add rsp, 0x78
ret
Function at 0x154a0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov edx, dword [rsp + 0xc8]
mov dword [rsp + 0x68], edx
mov ecx, dword [rsp + 0x68]
mov rdi, qword [0x0002d378]
mov rsi, qword [rsp + 0xc0]
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x0002c360]
mov ecx, 3
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x15547
lea rcx, [0x00025860]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000009a
jmp 0x156ac
xor eax, eax
test eax, eax
je 0x1556b
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.00011110
jmp 0x15587
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.00011110
mov rcx, qword [rsp + 0x50]
call fcn.000110f0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov byte [rax], 0xf
mov rax, qword [rsp + 0x90]
mov byte [rax + 1], 7
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x0002c360]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x0002c358]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov dword [rax + 4], 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [0x0002d380]
mov qword [rcx + 8], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8, [rsp + 0x70]
lea rdx, [0x00014190]
mov rcx, qword [rsp + 0x50]
call fcn.00011110
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x0002c360]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x103
jne 0x15682
lea rcx, [0x000258b0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp dword [rsp + 0x6c], 0
je 0x156aa
cmp dword [rsp + 0x6c], 0x103
je 0x156aa
mov edx, dword [rsp + 0x6c]
lea rcx, [0x000258f0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x156ac
xor eax, eax
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x156c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0xe8
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea r11, [rsp + 0xb8]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x0002c360]
mov ecx, 3
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1573f
lea rcx, [0x00025930]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000009a
jmp 0x158cf
xor eax, eax
test eax, eax
je 0x15765
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.00011110
jmp 0x15781
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.00011110
mov rcx, qword [rsp + 0x68]
call fcn.000110f0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov byte [rax], 0xf
mov rax, qword [rsp + 0xd8]
mov byte [rax + 1], 6
mov rcx, qword [rsp + 0xd8]
mov rax, qword [0x0002c360]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0xd8]
mov rax, qword [0x0002c358]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xd8]
add rax, 8
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rax], 2
mov rcx, qword [rsp + 0xd0]
lea rax, [rsp + 0x88]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0xd0]
lea rax, [rsp + 0x88]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x18], 0
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [0x00014190]
mov rcx, qword [rsp + 0x68]
call fcn.00011110
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x0002c360]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0x103
jne 0x1589c
lea rcx, [0x00025980]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp dword [rsp + 0xc8], 0
je 0x158cd
cmp dword [rsp + 0xc8], 0x103
je 0x158cd
mov edx, dword [rsp + 0xc8]
lea rcx, [0x000259c0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x158cf
xor eax, eax
add rsp, 0xe8
ret
Function at 0x158e0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea r11, [rsp + 0x58]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x0002c360]
mov ecx, 3
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x15965
lea rcx, [0x00025a00]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000009a
jmp 0x15acd
xor eax, eax
test eax, eax
je 0x15989
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.00011110
jmp 0x159a5
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.00011110
mov rcx, qword [rsp + 0x50]
call fcn.000110f0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov byte [rax], 0xf
mov rax, qword [rsp + 0x90]
mov byte [rax + 1], 8
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x0002c360]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x0002c358]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov dword [rax + 4], 0x20
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0xb8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [0x0002d390]
mov qword [rcx + 8], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8, [rsp + 0x70]
lea rdx, [0x00014190]
mov rcx, qword [rsp + 0x50]
call fcn.00011110
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x0002c360]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x103
jne 0x15aa3
lea rcx, [0x00025a50]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp dword [rsp + 0x6c], 0
je 0x15acb
cmp dword [rsp + 0x6c], 0x103
je 0x15acb
mov edx, dword [rsp + 0x6c]
lea rcx, [0x00025a90]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x15acd
xor eax, eax
add rsp, 0xa8
ret
Function at 0x16240
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rax, [0x0002d080]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
mov r9d, 0x22
lea r8, [0x0002cc00]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x16290
mov eax, dword [rsp + 0x40]
jmp 0x16327
mov rax, qword [0x0002d080]
mov ecx, dword [rax + 0x30]
and ecx, 0xffffff7f
mov rax, qword [0x0002d080]
mov dword [rax + 0x30], ecx
lea rdx, [0x0002cc00]
lea rcx, [0x0002ce10]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x162e7
mov rcx, qword [0x0002d080]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov qword [0x0002d080], 0
mov eax, dword [rsp + 0x40]
jmp 0x16327
mov rax, qword [0x0002d080]
mov ecx, dword [rax + 0x30]
and ecx, 0xffffff7f
mov rax, qword [0x0002d080]
mov dword [rax + 0x30], ecx
mov rax, qword [0x0002d080]
mov ecx, dword [rax + 0x30]
or ecx, 0x10
mov rax, qword [0x0002d080]
mov dword [rax + 0x30], ecx
mov rcx, qword [0x0002d080]
call qword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
xor eax, eax
add rsp, 0x58
ret

Function at 0x16380
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.000161d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x16
ja case.0x163ca.1
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x00010000]
mov eax, dword [rcx + rax*4 + 0x6474]
add rax, rcx
jmp rax
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.0001f960
jmp 0x1646e
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.0001f9b0
jmp 0x1646e
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.0001f9b0
jmp 0x1646e
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.0001f9b0
jmp 0x1646e
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00023270
jmp 0x1646e
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00023480
jmp 0x1646e
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00016340
jmp 0x1646e
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x38], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
add rsp, 0x38
ret
Function at 0x1af30
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
call fcn.0001fa00
movzx eax, al
test eax, eax
jne 0x1af7f
mov rcx, qword [rsp + 0x50]
call fcn.000164e0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x1b127
lea rcx, [0x0002d0a0]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov byte [rsp + 0x20], al
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x30]
mov rcx, qword [0x0002d0b8]
call fcn.00015c10
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1b0eb
mov rax, qword [rsp + 0x28]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
and eax, 2
test eax, eax
je 0x1b0eb
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xe9]
test eax, eax
jne 0x1b0eb
call fcn.0001fa00
movzx eax, al
test eax, eax
je 0x1b0ac
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x18d]
test eax, eax
jne 0x1b0ac
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xe7]
test eax, eax
je 0x1b0ac
mov rcx, qword [rsp + 0x30]
add rcx, 0x190
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov byte [rsp + 0x38], al
mov rdx, qword [rsp + 0x50]
add rdx, 0xa8
mov rcx, qword [rsp + 0x30]
add rcx, 0x110
call fcn.00015d90
mov rcx, qword [rsp + 0x30]
add rcx, 0x190
movzx edx, byte [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov rcx, qword [rsp + 0x50]
call fcn.00016ac0
mov rax, qword [rsp + 0x50]
add rax, 0x68
lea rcx, [0x00019940]
xchg qword [rax], rcx
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 0x103
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.0001acd0
mov dword [rsp + 0x3c], 0x103
jmp 0x1b0eb
movzx edx, byte [rsp + 0x20]
lea rcx, [0x0002d0a0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov r11, qword [rsp + 0x50]
mov qword [r11 + 0x38], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 0xc0000184
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000184
jmp 0x1b127
movzx edx, byte [rsp + 0x20]
lea rcx, [0x0002d0a0]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
cmp dword [rsp + 0x3c], 0x103
jne 0x1b10d
mov eax, dword [rsp + 0x3c]
jmp 0x1b127
mov rcx, qword [rsp + 0x50]
call fcn.000164e0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
add rsp, 0x48
ret
Function at 0x1d8a0
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov edx, 0x1f01ff
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x1d901
mov eax, dword [rsp + 0x44]
jmp 0x1dace
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x1d941
mov byte [rsp + 0x40], 1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov ecx, dword [rax + 0x30]
and ecx, 0xffffff7f
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov dword [rax + 0x30], ecx
jmp 0x1d946
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov eax, dword [rdx + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rcx + 0x48]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x1d9d1
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov r11, qword [rsp + 0x98]
mov qword [r11], 0
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov eax, dword [rsp + 0x44]
jmp 0x1dace
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
mov r11, rax
mov rax, qword [rsp + 0x90]
mov qword [rax], r11
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x1da50
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov r11, qword [rsp + 0x98]
mov qword [r11], 0
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov eax, 0xc0000001
jmp 0x1dace
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov eax, dword [rax + 0x30]
and eax, 0x14
mov ecx, dword [rcx + 0x30]
or ecx, eax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov ecx, dword [rax + 0x30]
and ecx, 0xffffff7f
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov dword [rax + 0x30], ecx
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1dacc
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov ecx, dword [rax + 0x30]
or ecx, 0x80
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov dword [rax + 0x30], ecx
xor eax, eax
add rsp, 0x68
ret
Function at 0x1f620
Capabilities:
Complete processing asynchronous io request

Disassembly:
sub rsp, 0x78
lea rcx, [0x0002d110]
call fcn.00011020
movzx eax, al
test eax, eax
jne PoStartNextPowerIrp
lea rcx, [0x0002d110]
call fcn.00015d40
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je _strupr
lea rax, [0x0002d110]
cmp qword [rsp + 0x40], rax
je PoCallDriver
mov rax, qword [rsp + 0x40]
sub rax, 0xa8
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xa8
call fcn.00015d10
mov rax, qword [rsp + 0x50]
add rax, 0x68
xor ecx, ecx
xchg qword [rax], rcx
mov rcx, qword [rsp + 0x50]
call fcn.000161d0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
movsx eax, word [rax + 0xa]
and eax, 5
test eax, eax
je 0x1f6d0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x1f6ff
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1f731
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 0xc000009a
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc000009a
jmp 0x1f777
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.0001e690
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x50]
mov dword [rax + strncmpx30], 0
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
add rsp, 0x78
ret

Function at 0x1f960
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x38], 0
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov r11, qword [rsp + 0x30]
mov eax, dword [r11 + 0x30]
add rsp, 0x28
ret

Function at 0x1f9b0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x38], 0
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
add rsp, 0x28
ret
Function at 0x22490
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov dword [rsp + 0x40], 0x28000
mov byte [0x0002d3c9], 0
mov byte [0x0002d3c8], 0
lea rdi, [0x0002c3a0]
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x40]
add eax, 0x64
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x0002c378], rax
mov qword [rsp + 0x30], 0
lea rax, [0x00022340]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x22516
mov eax, dword [rsp + 0x44]
jmp 0x22550
mov qword [rsp + 0x28], 0
lea rax, [0x0002d3e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x44]
add rsp, 0x50
pop rdi
ret

Function at 0x22fd0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x38
lea rcx, [0x0002c374]
call fcn.00022f20
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jge 0x22ff4
mov eax, dword [rsp + 0x2c]
jmp 0x23169
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [0x0002c398], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x24]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [rsp + 0x24], 5
jne 0x23052
cmp dword [rsp + 0x20], 0
jne 0x23052
mov dword [0x0002c384], 0x9c
mov dword [0x0002c380], 0xa0
mov dword [0x0002c388], 0x13c
mov dword [0x0002c38c], 0x128
jmp 0x23167
cmp dword [rsp + 0x24], 5
jne 0x2308d
cmp dword [rsp + 0x20], 1
jne 0x2308d
mov dword [0x0002c384], 0xd8
mov dword [0x0002c380], 0xe0
mov dword [0x0002c388], 0x13c
mov dword [0x0002c38c], 0xc4
jmp 0x23167
cmp dword [rsp + 0x24], 5
jne 0x230c8
cmp dword [rsp + 0x20], 2
jne 0x230c8
mov dword [0x0002c384], 0xd8
mov dword [0x0002c380], 0xe0
mov dword [0x0002c388], 0x13c
mov dword [0x0002c38c], 0xc4
jmp 0x23167
cmp dword [rsp + 0x24], 6
jne 0x23100
cmp dword [rsp + 0x20], 0
jne 0x23100
mov dword [0x0002c384], 0xe0
mov dword [0x0002c380], 0xe8
mov dword [0x0002c388], 0x13c
mov dword [0x0002c38c], 0xc4
jmp 0x23167
cmp dword [rsp + 0x24], 6
jne 0x23138
cmp dword [rsp + 0x20], 1
jne 0x23138
mov dword [0x0002c384], 0x180
mov dword [0x0002c380], 0x188
mov dword [0x0002c388], 0x13c
mov dword [0x0002c38c], 0xc4
jmp 0x23167
mov dword [0x0002c384], 0
mov dword [0x0002c380], 0
mov dword [0x0002c388], 0
mov dword [0x0002c38c], 0
mov eax, 0xc0000001
jmp 0x23169
xor eax, eax
add rsp, 0x38
ret