joyce8/EMBER2024-capa huggingface dataset:
Function at 0x16940
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov r8d, 0x400
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.000139e0
cmp qword [rsp + 0x478], 0
jne 0x169c4
lea rax, [0x000112a8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.00016280
jmp 0x16add
cmp dword [rsp + 0x480], 0
ja 0x169fc
lea rax, [0x000112d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.00016280
jmp 0x16add
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x60], cx
mov eax, 2
imul rax, rax, 1
xor ecx, ecx
mov word [rsp + rax + 0x60], cx
mov eax, 2
imul rax, rax, 2
xor ecx, ecx
mov word [rsp + rax + 0x60], cx
mov eax, 2
imul rax, rax, 3
xor ecx, ecx
mov word [rsp + rax + 0x60], cx
mov dword [rsp + 0x40], 0
jmp 0x16a50
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x480]
cmp dword [rsp + 0x40], eax
jae 0x16ac4
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x478]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x30], eax
lea rax, [0x000112f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
lea rcx, [rsp + 0x48]
call fcn.00016280
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x48]
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.00016af0
jmp 0x16a46
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x470]
lea rcx, [0x000112fc]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x460
pop rdi
ret
Function at 0x173b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x24], 0
mov byte [rsp + 0x23], 1
mov dword [rsp + 0x2c], 9
mov rcx, qword [rsp + 0x60]
call fcn.000203a0
cmp dword [rsp + 0x2c], 0
jle 0x174ed
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 4
jge 0x174b9
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x21], al
mov dl, 1
movzx ecx, byte [rsp + 0x21]
call fcn.0001f830
mov byte [rsp + 0x21], al
movsxd rax, dword [rsp + 0x28]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + rax]
call fcn.000203c0
movzx eax, byte [rsp + 0x23]
mov ecx, dword [rsp + 0x28]
lea eax, [rax + rcx + 1]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
and eax, 3
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x20]
add eax, ecx
movzx ecx, byte [rsp + 0x21]
add eax, ecx
mov byte [rsp + 0x22], al
mov dl, 1
movzx ecx, byte [rsp + 0x22]
call fcn.0001f830
add dword [rax], 0
mov byte [rsp + 0x22], al
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rsp + 0x22]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x17401
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.0001f970
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
movzx ecx, byte [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
jmp 0x173ee
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
mov eax, dword [rax]
xor eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x24]
add rsp, 0x48
ret
Function at 0x17ac0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x68]
call fcn.00016110
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], 0
jne 0x17b2e
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov rcx, qword [rsp + 0x68]
call fcn.00017880
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_PoCallDriver]
jmp 0x17bf4
mov rcx, qword [rsp + 0x60]
call fcn.000188f0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
cmp eax, 2
jne 0x17bb9
xor eax, eax
test eax, eax
jne 0x17b5d
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x14]
and eax, 0x2000
test eax, eax
je 0x17bb9
cmp dword [rsp + 0x24], 0
jne 0x17b74
mov ecx, dword [rsp + 0x20]
call fcn.00018050
mov qword [rsp + 0x38], rax
jmp 0x17b82
mov ecx, dword [rsp + 0x20]
call fcn.00017fc0
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x24], 0
jne 0x17b97
lea rax, [0x00011ca8]
mov qword [rsp + 0x40], rax
jmp 0x17ba3
lea rax, [0x00011cb0]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x00011cb8]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov rcx, qword [rsp + 0x68]
call fcn.00017880
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_PoCallDriver]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x60]
call fcn.000187e0
mov eax, dword [rsp + 0x28]
add rsp, 0x58
ret
Function at 0x17c00
Capabilities:
Complete processing asynchronous io request
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x68]
call fcn.00016110
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 1]
mov byte [rsp + 0x2c], al
cmp byte [rsp + 0x2c], 2
je 0x17c59
cmp byte [rsp + 0x2c], 3
je 0x17d31
jmp 0x17d3b
xor eax, eax
test eax, eax
jne 0x17c70
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x14]
and eax, 0x2000
test eax, eax
je 0x17ccc
cmp dword [rsp + 0x28], 0
jne 0x17c87
mov ecx, dword [rsp + 0x24]
call fcn.00018050
mov qword [rsp + 0x40], rax
jmp 0x17c95
mov ecx, dword [rsp + 0x24]
call fcn.00017fc0
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x28], 0
jne 0x17caa
lea rax, [0x00011ca8]
mov qword [rsp + 0x48], rax
jmp 0x17cb6
lea rax, [0x00011cb0]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [0x00011cd8]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x17d11
cmp dword [rsp + 0x30], 1
je 0x17ce4
jmp 0x17d27
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PoSetPowerState]
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x1c], ecx
mov dword [rsp + 0x20], 0
jmp 0x17d2f
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x18], ecx
mov dword [rsp + 0x20], 0
jmp 0x17d2f
mov dword [rsp + 0x20], 0xc00000bb
jmp 0x17d43
mov dword [rsp + 0x20], 0
jmp 0x17d43
mov dword [rsp + 0x20], 0xc00000bb
cmp dword [rsp + 0x20], 0xc00000bb
je 0x17d59
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret

Function at 0x18600
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xc0000034
jl 0x1868f
xor al, 0x34
add byte [rax], al
invalid
je 0x18679
cmp dword [rsp + 0x30], 0
jne 0x18683
mov eax, dword [rsp + 0x30]
mov r8d, 0x4d525356
mov edx, eax
Function at 0x18750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov dword [rsp], 7
jmp 0x1876e
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jl 0x187d6
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
shl eax, 1
movzx ecx, byte [rsp + 0x20]
mov dword [rsp + 4], ecx
mov edx, dword [rsp]
movzx ecx, dl
mov edx, dword [rsp + 4]
sar edx, cl
mov ecx, edx
and ecx, 1
or eax, ecx
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
and eax, 0x10
test eax, eax
je 0x187c2
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
xor eax, 0xd
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
and eax, 0xf
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
jmp 0x18766
add rsp, 0x18
ret

Function at 0x1e000
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1e051
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x4d6
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov r8d, 0x40
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.000139e0
mov eax, 0x40
mov rcx, qword [rsp + 0xa8]
mov word [rcx], ax
mov eax, 1
mov rcx, qword [rsp + 0xa8]
mov word [rcx + 2], ax
mov rax, qword [rsp + 0xa8]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0xc], 0xffffffff
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_IoGetAttachedDeviceReference]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov ecx, 0x1b
call qword [sym.imp.ntoskrnl.exe_IoBuildSynchronousFsdRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1e115
mov dword [rsp + 0x40], 0xc000009a
jmp 0x1e1a6
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 0xc00000bb
mov rcx, qword [rsp + 0x50]
call fcn.00016190
mov qword [rsp + 0x48], rax
mov r8d, 0x48
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.000139e0
mov rax, qword [rsp + 0x48]
mov byte [rax], 0x1b
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 9
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x103
jne 0x1e1a6
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]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x40]
add rsp, 0x98
ret
Function at 0x1e690
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1e6e0
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x42c
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov r8d, 0x4d525356
mov edx, 0x18
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1e70a
mov eax, 0xc000009a
jmp 0x1e748
lea rax, [0x00011328]
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0xf
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x38], rcx
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1ee50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1ee9e
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x3df
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rcx, qword [rsp + 0x58]
call fcn.00016110
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
je 0x1eec5
jmp 0x1efa8
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1ef2f
cmp qword [rsp + 0x30], 0
je 0x1eeed
mov dword [rsp + 0x24], 1
jmp 0x1eef5
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
je 0x1ef27
lea r9, [0x00011260]
mov r8d, 0x3ed
lea rdx, [0x000110b8]
lea rcx, [0x00011290]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x2c], 0
jmp 0x1ef2f
mov dword [rsp + 0x2c], 1
mov r8d, 0x4d525356
mov edx, 0x10
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1ef5c
mov dword [rsp + 0x20], 0xc000009a
jmp 0x1efb4
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov qword [rcx + rax + 8], rdx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObfReferenceObject]
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x38], rcx
jmp 0x1efb4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x1efc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1f00e
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x309
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rcx, qword [rsp + 0x78]
call fcn.00016110
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1f040
cmp dword [rsp + 0x48], 1
je 0x1f12d
jmp 0x1f14e
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x38], 0
jne 0x1f123
mov eax, 0x4c
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
mov r8d, 0x4d525356
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1f098
mov dword [rsp + 0x44], 0xc000009a
jmp 0x1f12b
movzx eax, word [rsp + 0x40]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.000139e0
movzx eax, word [rsp + 0x40]
lea rcx, [0x000111e0]
mov qword [rsp + 0x38], rcx
lea rcx, [0x000111f0]
mov qword [rsp + 0x30], rcx
lea rcx, [0x00011200]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x800
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.00016280
xor eax, eax
test eax, eax
jne 0x1f104
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x14]
and eax, 0x20
test eax, eax
je 0x1f115
mov rdx, qword [rsp + 0x50]
lea rcx, [0x00011210]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x38], rcx
mov dword [rsp + 0x44], 0
jmp 0x1f15a
xor eax, eax
test eax, eax
jne 0x1f142
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x14]
and eax, 0x20
test eax, eax
je 0x1f14e
lea rcx, [0x00011230]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add rsp, 0x68
ret
Function at 0x1f170
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1f1c6
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x468
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rcx, qword [rsp + 0x58]
call fcn.00016110
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov r8d, 0x10
lea rdx, [0x00011318]
mov rcx, qword [rsp + 0x38]
call fcn.00013ae0
test eax, eax
jne 0x1f26a
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x10]
cmp rax, 0x38
jae 0x1f222
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x12]
cmp eax, 1
je 0x1f222
mov eax, 0xc000000d
jmp 0x1f27a
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
lea rcx, [fcn.000160f0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x30]
lea rcx, [0x000160d0]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x50]
call fcn.000160f0
jmp 0x1f276
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x1f280
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1f2ce
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x3ad
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x30]
add rsp, 0x28
ret

Function at 0x1f2e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1f32e
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x361
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x30]
add rsp, 0x28
ret
Function at 0x20940
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x2098e
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x403
lea rdx, [0x000113c8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x28], 0
je 0x209b8
xor edx, edx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x28], 0
xor eax, eax
test eax, eax
jne 0x209cd
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
je 0x209de
mov rdx, qword [rsp + 0x30]
lea rcx, [0x00011568]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
xor eax, eax
add rsp, 0x28
ret
Function at 0x216a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x216ee
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x426
lea rdx, [0x000113c8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x20], rax
xor eax, eax
test eax, eax
jne 0x21711
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
and eax, 1
test eax, eax
je 0x21733
lea rcx, [0x000113f0]
call sub.ntoskrnl.exe_DbgPrint
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x00011580]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x20]
mov byte [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov ecx, dword [0x000191d0]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x48], 1
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x49], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x1c], 4
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x30]
bts eax, 0xd
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x30], eax
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rax, qword [rsp + 0x48]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0x20]
add rax, 0x38
mov rcx, qword [rsp + 0x48]
add rcx, 0x30
mov rdx, rax
call fcn.00017690
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x30]
btr eax, 7
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x30], eax
add rsp, 0x38
ret