joyce8/EMBER2024-capa huggingface dataset:
Function at 0x19658
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rdi, qword [rsp + 0x118]
xor r12d, r12d
mov r14, r9
mov r15, r8
mov esi, edx
mov r13, rcx
cmp rdi, r12
jne 0x1969c
mov eax, 0xc000000d
jmp 0x1989f
mov dword [rdi], r12d
mov rcx, qword [rcx + 0x50]
xor edx, edx
add rcx, 0x1c8
call fcn.0001b538
mov rbp, rax
cmp rax, r12
jne 0x196c3
mov eax, 0xc0000001
jmp 0x1989f
mov rbx, qword [rax + 0x18]
movzx eax, word [rbx + 2]
shl eax, 0x10
cmp esi, r12d
je 0x196d8
or eax, 9
jmp 0x196db
or eax, 8
xor edx, edx
mov dword [rbx], eax
lea rcx, [rsp + 0x80]
lea r8d, [rdx + 0x30]
mov dword [rsp + 0xb0], r12d
call fcn.00022550
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_IoGetRequestorProcess]
cmp rax, r12
je 0x19722
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov byte [rsp + 0x50], r12b
mov r12d, dword [rsp + 0x110]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, r15
mov r8d, r12d
call fcn.00017394
mov rax, qword [r13 + 0x50]
xor r15d, r15d
mov rcx, qword [rax + 0x1c0]
lea r8d, [r15 + 1]
xor r9d, r9d
mov qword [rbx + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov dl, r8b
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], r15d
mov qword [rbx + 0x28], r14
mov dword [rbx + 0x30], r12d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
lea edx, [r15 + 0x12]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x48], rax
mov qword [rbx + 0x34], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x78], r15b
call fcn.000172f0
mov rcx, qword [rsp + 0x68]
lea r8d, [r15 + 1]
xor r9d, r9d
mov dl, r8b
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rcx, qword [r13 + 0x50]
mov r8, rbx
add rcx, 0x1c8
mov r9, rax
mov rdx, rbp
mov qword [rsp + 0x70], rax
call fcn.000171d4
lea rcx, [rsp + 0x58]
mov ebx, eax
cmp eax, r15d
je 0x19839
call fcn.00017424
lea rcx, [rsp + 0x30]
call fcn.00017424
cmp dword [rsp + 0xb0], r15d
je 0x19835
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, ebx
jmp 0x1989f
mov rax, qword [rsp + 0x60]
cmp rax, r15
jne 0x19871
call fcn.00017424
lea rcx, [rsp + 0x30]
call fcn.00017424
cmp dword [rsp + 0xb0], r15d
je 0x1986a
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, 0xc000009a
jmp 0x1989f
mov eax, dword [rax + 4]
mov dword [rdi], eax
call fcn.00017424
lea rcx, [rsp + 0x30]
call fcn.00017424
cmp dword [rsp + 0xb0], r15d
je 0x1989d
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x19be4
Capabilities:
Create device object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x50
mov qword [rcx + 0x10], rdx
mov rbp, rcx
mov rsi, rdx
lea rcx, [rax - 0x18]
mov rdx, r8
mov edi, r9d
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x40]
neg rbx
lea r12, [rbp + 8]
mov r9d, edi
sbb r8, r8
mov qword [rsp + 0x30], r12
mov edx, 0x10
and r8, rax
mov eax, dword [rsp + 0x80]
mov rcx, rsi
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jne 0x19c92
mov rax, qword [r12]
xor edx, edx
mov rcx, qword [rax + 0x40]
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov rax, qword [r12]
mov r8, qword [rax + 0x40]
lea rdx, [0x000245b8]
mov rcx, rbp
or dword [r8 + 4], 0xffffffff
mov dword [r8], 0x5465616e
mov rax, qword [rbp]
add r8, 8
call qword [rax + 0x10]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret

Function at 0x1b498
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rdx
mov rsi, rcx
call qword [rax + 0x10]
test rax, rax
jne 0x1b4bf
mov ebx, 0xc0000001
jmp 0x1b4d1
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeReadStateEvent]
test eax, eax
jle 0x1b4d6
mov ebx, 0xc0000120
mov dword [rdi + 0x30], ebx
jmp 0x1b4f2
lea rcx, [rsi + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_IoCsqInsertIrpEx]
mov ebx, eax
test eax, eax
je 0x1b506
mov dword [rdi + 0x30], eax
and qword [rdi + 0x38], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x1b51f
xor r9d, r9d
lea rcx, [rsi + 8]
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.ntoskrnl.exe_KeReleaseSemaphore]
mov eax, 0x103
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1bb20
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x60
mov rdi, qword [rdx + 0xb8]
xor r13d, r13d
mov r12, rcx
mov rcx, qword [rdx + 8]
mov rbx, rdx
mov dword [rax - 0x58], r13d
mov qword [rax - 0x50], r13
mov qword [rax - 0x48], r13
mov qword [rax - 0x40], r13
mov byte [rax - 0x38], r13b
cmp rcx, r13
je 0x1bb70
mov dword [rax - 0x58], 0x10
mov al, byte [rdx + 0x40]
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x50], al
jmp 0x1bb8b
mov r9b, byte [rdx + 0x40]
mov r8d, dword [rdi + 8]
mov rdx, qword [rdx + 0x70]
lea rcx, [rsp + 0x30]
call fcn.00017394
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rdi]
sub edx, 3
je 0x1bcc2
sub edx, 1
je 0x1bc47
cmp edx, 0xa
je 0x1bbb8
mov edi, 0xc0000010
mov dword [rbx + 0x30], edi
mov qword [rbx + 0x38], r13
xor edx, edx
jmp 0x1bd4e
cmp dword [rdi + 0x10], 0x10
jae 0x1bbc5
mov edi, 0xc000000d
jmp 0x1bbaa
cmp byte [rbx + 0x40], 1
jne 0x1bbd1
mov rbp, qword [rbx + 0x18]
jmp 0x1bbd5
mov rbp, qword [rdi + 0x20]
cmp rcx, r13
jne 0x1bbdf
mov rax, r13
jmp 0x1bc07
test byte [rcx + 0xa], 5
je 0x1bbeb
mov rax, qword [rcx + 0x18]
jmp 0x1bc07
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r10, qword [r12]
mov r9d, dword [rdi + 8]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r8, rax
mov rdx, rbp
mov rcx, r12
call qword [r10 + 0xf0]
mov edi, eax
cmp eax, r13d
je 0x1bc3b
mov dword [rbx + 0x30], eax
jmp 0x1bbad
mov eax, dword [rsp + 0xa8]
jmp 0x1bd41
mov eax, dword [rdi + 8]
cmp eax, r13d
je 0x1bcca
mov dword [rsp + 0x98], eax
cmp rcx, r13
jne 0x1bc60
mov rax, r13
jmp 0x1bc88
test byte [rcx + 0xa], 5
je 0x1bc6c
mov rax, qword [rcx + 0x18]
jmp 0x1bc88
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r10, qword [r12]
mov r9d, dword [rdi + 8]
mov r8, qword [rdi + 0x18]
lea rcx, [rsp + 0x98]
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov rcx, r12
call qword [r10 + 0x130]
mov edi, eax
cmp eax, r13d
jne 0x1bc33
mov eax, dword [rsp + 0x98]
jmp 0x1bd41
mov eax, dword [rdi + 8]
cmp eax, r13d
jne 0x1bcd0
mov qword [rbx + 0x38], r13
jmp 0x1bd45
mov dword [rsp + 0xa0], eax
cmp rcx, r13
jne 0x1bce1
mov rax, r13
jmp 0x1bd09
test byte [rcx + 0xa], 5
je 0x1bced
mov rax, qword [rcx + 0x18]
jmp 0x1bd09
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r10, qword [r12]
mov r9d, dword [rdi + 8]
mov r8, qword [rdi + 0x18]
lea rcx, [rsp + 0xa0]
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov rcx, r12
call qword [r10 + 0x128]
mov edi, eax
cmp eax, r13d
jne 0x1bc33
mov eax, dword [rsp + 0xa0]
mov qword [rbx + 0x38], rax
mov edi, r13d
mov dword [rbx + 0x30], r13d
mov dl, 1
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsp + 0x30]
call fcn.00017424
mov eax, edi
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x1cd74
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rdx + 0xb8]
mov rdi, rdx
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1cdb6
mov eax, dword [rcx + 0x50]
shr eax, 0xe
test al, 1
je 0x1cdb6
and dword [rdx + 0x30], 0
and qword [rdx + 0x38], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1ce0d
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
call fcn.000115b4
mov rbx, qword [rsp + 0x38]
test rbx, rbx
jne 0x1cdd9
and dword [rdi + 0x30], ebx
and qword [rdi + 0x38], rbx
jmp 0x1cda9
mov rdx, qword [rsi + 0x30]
mov rcx, rbx
call fcn.0001e8e8
mov r11, qword [rsi + 0x30]
xor edx, edx
bts dword [r11 + 0x50], 0xe
and dword [rdi + 0x30], 0
and qword [rdi + 0x38], 0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1d36c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [rdx + 0xb8]
and qword [rax + 0x10], 0
mov rsi, rdx
mov rcx, qword [rcx + 0x30]
lea rdx, [rax + 0x10]
call fcn.000115b4
mov rbx, qword [rsp + 0x38]
test rbx, rbx
jne 0x1d3bb
and qword [rsi + 0x38], rbx
mov edi, 0xc000000d
xor edx, edx
mov rcx, rsi
mov dword [rsi + 0x30], edi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1d416
mov rcx, qword [rbx + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x20]
shr eax, 4
test al, 1
je 0x1d3e6
and qword [rsi + 0x38], 0
mov edi, 0xc000000d
xor edx, edx
mov rcx, rsi
mov dword [rsi + 0x30], edi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1d40d
mov rax, qword [rbx + 0x38]
cmp byte [rax + 0xd], 2
je 0x1d3f4
mov byte [rax + 0xd], 2
mov rcx, qword [rbx + 0x38]
xor r8d, r8d
mov rdx, rsi
add rcx, 0x140
call qword [sym.imp.ntoskrnl.exe_FsRtlProcessFileLock]
mov edi, eax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x1d430
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rdx + 0xb8]
and qword [rsp + 0x38], 0
mov rdi, rdx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsp + 0x38]
call fcn.000115b4
mov rbx, qword [rsp + 0x38]
test rbx, rbx
jne 0x1d476
and dword [rdi + 0x30], ebx
and qword [rdi + 0x38], rbx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1d4aa
mov rcx, qword [rbx + 0x38]
xor r9d, r9d
xor r8d, r8d
add rcx, 0x38
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_CcFlushCache]
and dword [rdi + 0x30], 0
and qword [rdi + 0x38], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 8]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1d4c0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x80
mov rsi, qword [rdx + 0xb8]
and qword [rax + 0x18], 0
mov rdi, rdx
mov rcx, qword [rsi + 0x30]
lea rdx, [rax + 0x18]
call fcn.000115b4
mov rcx, qword [rdi + 8]
and dword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
mov byte [rsp + 0x70], 0
test rcx, rcx
jne 0x1d533
mov r9b, byte [rdi + 0x40]
mov r8d, dword [rsi + 8]
mov rdx, qword [rdi + 0x70]
lea rcx, [rsp + 0x50]
call fcn.00017394
mov rcx, qword [rsp + 0x60]
mov ebx, eax
jmp 0x1d549
mov al, byte [rdi + 0x40]
mov dword [rsp + 0x50], 0x10
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x70], al
xor ebx, ebx
test ebx, ebx
je 0x1d571
lea rcx, [rsp + 0x50]
call fcn.00017424
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1d56a
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebx
jmp 0x1d64d
and dword [rsp + 0x98], 0
test rcx, rcx
jne 0x1d582
xor eax, eax
jmp 0x1d5aa
test byte [rcx + 0xa], 5
je 0x1d58e
mov rax, qword [rcx + 0x18]
jmp 0x1d5aa
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rbx, qword [rsp + 0xa0]
movzx r9d, byte [rsi + 2]
mov r8d, dword [rsi + 0x18]
mov rdx, qword [rsi + 0x30]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rsi + 8]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov eax, dword [rsi + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.0001f4cc
xor edx, edx
mov esi, eax
mov dword [rdi + 0x30], eax
mov rcx, rdi
test eax, eax
je 0x1d622
and qword [rdi + 0x38], rdx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsp + 0x50]
call fcn.00017424
test rbx, rbx
je 0x1d64b
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
jmp 0x1d64b
mov eax, dword [rsp + 0x98]
mov qword [rdi + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsp + 0x50]
call fcn.00017424
test rbx, rbx
je 0x1d64b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, esi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1d668
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r13, qword [rdx + 0xb8]
and qword [rax + 0x18], 0
mov r14, rcx
mov rcx, qword [r13 + 0x30]
mov r12, rdx
lea rdx, [rax + 0x18]
call fcn.000115b4
mov rbx, qword [rsp + 0x90]
test rbx, rbx
jne 0x1d6cd
and qword [r12 + 0x38], 0
mov ebx, 0xc0000010
xor edx, edx
mov rcx, r12
mov dword [r12 + 0x30], ebx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x1d7c7
and qword [rsp + 0x88], 0
mov rax, qword [rbx]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x20]
shr eax, 4
test al, 1
jne 0x1d733
and qword [r12 + 0x38], 0
mov edi, 0xc000000d
xor edx, edx
mov rcx, r12
mov dword [r12 + 0x30], edi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1d7b3
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1d7b3
mov rcx, qword [rsp + 0x88]
mov bpl, byte [r13 + 2]
mov esi, dword [r13 + 0x10]
mov rax, qword [rcx]
and bpl, 1
call qword [rax + 0x18]
mov rdx, qword [rax]
lea rdi, [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov r8, qword [r13 + 0x30]
mov rcx, qword [r14 + 0xe8]
mov qword [rsp + 0x38], r12
mov r8, qword [r8 + 0x20]
mov dword [rsp + 0x30], esi
lea rdx, [r14 + 0xf0]
mov r9, rdi
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], bpl
call qword [sym.imp.ntoskrnl.exe_FsRtlNotifyFullChangeDirectory]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1d7ae
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, 0x103
and qword [rsp + 0x88], 0
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1d7e8
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rdx + 0xb8]
and qword [rax + 0x10], 0
mov rdi, rdx
mov rcx, qword [rbp + 0x30]
lea rdx, [rax + 0x10]
call fcn.000115b4
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x1d83e
and qword [rdi + 0x38], 0
mov ebx, 0xc000000d
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], ebx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x1d8a9
mov r9, qword [rdi + 0x18]
mov r8d, dword [rbp + 0x10]
mov rdx, qword [rbp + 0x30]
lea rax, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x20], eax
call fcn.0001ec34
test eax, eax
je 0x1d884
mov esi, 0x80000005
cmp eax, esi
jne 0x1d878
mov eax, dword [rbp + 8]
mov dword [rdi + 0x30], esi
jmp 0x1d88e
and qword [rdi + 0x38], 0
mov dword [rdi + 0x30], eax
mov esi, eax
jmp 0x1d892
and dword [rdi + 0x30], 0
mov eax, dword [rsp + 0x48]
xor esi, esi
mov qword [rdi + 0x38], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 8]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1dcbc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rdx + 0xb8]
mov rdi, rdx
mov rsi, rcx
cmp byte [rbp + 1], 0
jne 0x1dcf7
mov eax, dword [rbp + 0x18]
sub eax, 0x90018
je 0x1dd3e
sub eax, 4
je 0x1dd0a
cmp eax, 4
je 0x1dd01
mov ebx, 0xc0000010
mov dword [rdx + 0x30], ebx
jmp 0x1dd27
or dword [rcx + 0xa8], 2
jmp 0x1dd21
test byte [rcx + 0xa8], 1
jne 0x1dd1a
mov ebx, 0xc000002a
jmp 0x1dcfc
and dword [rcx + 0xa8], 0xfffffffe
and dword [rdx + 0x30], 0
xor ebx, ebx
and qword [rdx + 0x38], 0
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x1de40
lea rbx, [rcx + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov dl, 1
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
xor r11d, r11d
cmp qword [rbp + 0x30], r11
setne r11b
cmp dword [rsi + 0xe0], r11d
jg 0x1de6a
test byte [rsi + 0xa8], 1
jne 0x1de6a
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov dl, 1
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceSharedLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov r11, qword [rsi + 0xc0]
lea rax, [rsi + 0xb0]
jmp 0x1ddf2
mov rcx, qword [r11 + 0x38]
cmp dword [rcx + 0x1a0], 0
jne 0x1de55
mov rcx, qword [r11 + 0x18]
mov rdx, r11
test rcx, rcx
je 0x1ddd0
mov r11, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1ddc2
jmp 0x1ddf2
mov rcx, qword [r11 + 8]
cmp r11, qword [rcx + 0x18]
jne 0x1dde7
mov rdx, rcx
mov rcx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x18]
je 0x1ddda
cmp qword [rdx + 0x18], rcx
mov r11, rdx
cmovne r11, rcx
cmp r11, rax
jne 0x1dda5
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
or dword [rsi + 0xa8], 1
and dword [rdi + 0x30], 0
xor esi, esi
and qword [rdi + 0x38], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov esi, 0xc0000022
mov dword [rdi + 0x30], esi
jmp 0x1de19
Function at 0x1fd0c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x70
and qword [rax + 0x20], 0
mov rdi, rcx
lea rdx, [0x000249c8]
lea rcx, [rax - 0x40]
mov r8d, 0xe
call fcn.00021498
lea rcx, [rsp + 0x98]
mov r9d, 0xf003f
mov r8, rax
xor edx, edx
call fcn.0002178c
lea rcx, [rsp + 0x38]
test eax, eax
sets bl
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x98]
test bl, bl
je 0x1fd76
call fcn.00021634
xor al, al
jmp 0x1fe70
mov r8d, 0xf003f
mov rdx, rdi
call fcn.0002180c
test eax, eax
jns 0x1fd92
lea rcx, [rsp + 0x98]
jmp 0x1fd6a
lea rdx, [0x00024a28]
lea rcx, [rsp + 0x48]
mov r8d, 0x1a
call fcn.00021498
lea rcx, [rsp + 0x98]
mov r8d, 0xf003f
mov rdx, rax
call fcn.0002180c
lea rcx, [rsp + 0x48]
test eax, eax
sets bl
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
test bl, bl
jne 0x1fd88
movabs rax, 0xfffff78000000014
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
mov rax, qword [rax]
and dword [rsp + 0x88], 0
mov qword [rsp + 0x30], rax
call qword [sym.imp.ntoskrnl.exe_RtlTimeToSecondsSince1970]
mov ebx, dword [rsp + 0x88]
lea rdx, [0x00024d90]
lea rcx, [rsp + 0x58]
mov r8d, 0xa
call fcn.00021498
lea rcx, [rsp + 0x90]
mov r9d, 4
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x98]
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x90], ebx
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rcx, [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x98]
call fcn.00021634
test ebx, ebx
setns al
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1fe84
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
xor edi, edi
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
lea rdx, [0x000249c8]
lea r8d, [rdi + 0xe]
lea rcx, [rax - 0x30]
mov qword [rax - 0x38], rdi
call fcn.00021498
lea rcx, [rsp + 0x30]
mov r9d, 0xf003f
mov r8, rax
xor edx, edx
call fcn.0002178c
lea rcx, [rsp + 0x38]
cmp eax, edi
setl bl
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x30]
cmp bl, dil
je 0x1fef5
call fcn.00021634
xor al, al
jmp 0x1ffd1
mov r8d, 0xf003f
mov rdx, rsi
call fcn.0002180c
cmp eax, edi
jge 0x1ff0e
lea rcx, [rsp + 0x30]
jmp 0x1fee9
lea rdx, [0x00024a28]
lea rcx, [rsp + 0x38]
mov r8d, 0x1a
call fcn.00021498
lea rcx, [rsp + 0x30]
mov r8d, 0xf003f
mov rdx, rax
call fcn.0002180c
lea rcx, [rsp + 0x38]
cmp eax, edi
setl bl
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
cmp bl, dil
jne 0x1ff07
lea rdx, [0x00024d80]
lea rcx, [rsp + 0x38]
mov r8d, 0xa
call fcn.00021498
lea rcx, [rsp + 0x30]
mov r8d, 0xf003f
mov rdx, rax
call fcn.000216f4
lea rcx, [rsp + 0x38]
cmp eax, edi
setl bl
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
cmp bl, dil
jne 0x1ffc4
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x88]
mov r9d, 4
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], ebp
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp eax, edi
setge al
mov dil, al
lea rcx, [rsp + 0x30]
call fcn.00021634
mov al, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret