joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov dword [rsp + 0xb8], 0
lea rdx, [0x00023950]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x78], 0x40
lea rax, [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov edx, 0x40000000
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0xb8], eax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0xd0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], ecx
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
add rsp, 0xc0
pop rdi
ret
Function at 0x11dc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x11de6
xor eax, eax
jmp 0x11e51
mov rax, qword [rsp + 0x10]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp]
cmp dword [rax], 0x4550
je 0x11e0b
xor eax, eax
jmp 0x11e51
mov rax, qword [rsp]
movzx eax, word [rax + 4]
mov dword [rsp + 0x18], eax
cmp dword [rsp + 0x18], 0x14c
je 0x11e37
cmp dword [rsp + 0x18], 0x200
je 0x11e46
cmp dword [rsp + 0x18], 0x8664
je 0x11e3d
jmp 0x11e4f
xor eax, eax
jmp 0x11e51
mov eax, 1
jmp 0x11e51
mov eax, 1
jmp 0x11e51
xor eax, eax
add rsp, 0x28
ret

Function at 0x11e60
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0xc0000001
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x11eb9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x11f60
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x00027100]
xor rax, rsp
mov qword [rsp + 0x168], rax
xor eax, eax
mov word [rsp + 0x20], ax
lea rdi, [rsp + 0x22]
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x11c
lea rdi, [rsp + 0x44]
xor eax, eax
mov ecx, 0x118
rep stosb byte [rdi], al
mov qword [rsp + 0x160], 0
lea rdx, [0x000239d0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x11ff0
lea rcx, [rsp + 0x40]
call qword [rsp + 0x160]
jmp 0x12008
xor r9d, r9d
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x44]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [rsp + 0x44], 5
jne 0x1201f
cmp dword [rsp + 0x48], 0
jne 0x1201f
mov eax, 1
jmp 0x12090
cmp dword [rsp + 0x44], 5
jne 0x12036
cmp dword [rsp + 0x48], 1
jne 0x12036
mov eax, 2
jmp 0x12090
cmp dword [rsp + 0x44], 5
jne 0x12062
cmp dword [rsp + 0x48], 2
jne 0x12062
movzx eax, word [rsp + 0x154]
test eax, eax
jne 0x12059
mov eax, 3
jmp 0x12090
mov eax, 4
jmp 0x12090
cmp dword [rsp + 0x44], 6
jne 0x12079
cmp dword [rsp + 0x48], 0
jne 0x12079
mov eax, 5
jmp 0x12090
cmp dword [rsp + 0x44], 6
jne 0x1208e
cmp dword [rsp + 0x48], 1
jne 0x1208e
mov eax, 6
jmp 0x12090
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.00021b70
add rsp, 0x170
pop rdi
ret
Function at 0x14800
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rdi
sub rsp, 0x740
mov rax, qword [0x00027100]
xor rax, rsp
mov qword [rsp + 0x738], rax
cmp dword [0x0002776c], 0
jne 0x14aaf
xor eax, eax
mov word [rsp + 0xc0], ax
lea rdi, [rsp + 0xc2]
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x510], ax
lea rdi, [rsp + 0x512]
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x2d0], ax
lea rdi, [rsp + 0x2d2]
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
mov dword [rsp + 0x730], 1
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x724], 2
call fcn.00011020
movzx eax, al
cmp eax, 1
jle 0x148bd
call fcn.00011020
movzx edx, al
lea rcx, [0x00023c60]
call sub.ntoskrnl.exe_DbgPrint
call fcn.00011010
mov r8b, 1
xor edx, edx
lea rcx, [0x0002af80]
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
cmp qword [0x00027bf0], 0
je 0x148f7
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x00027bf0]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov byte [0x00027ba5], 1
cmp qword [0x00027bf8], 0
je 0x14926
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x00027bf8]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp qword [0x000276e8], 0
je 0x14aaf
cmp qword [0x000276f0], 0
je 0x14aaf
mov rdx, qword [0x000276f0]
add rdx, 0xc
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [0x000276f0]
add rdx, 0xc
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0x40
lea rax, [rsp + 0x98]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x710]
lea r8, [rsp + 0x68]
mov edx, 0x40000000
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x720], eax
cmp dword [rsp + 0x720], 0
jl 0x14aaf
mov qword [rsp + 0x728], 0
cmp qword [0x00027be8], 0
je 0x14a46
mov rcx, qword [0x00027be8]
call fcn.000194a0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x728]
mov qword [rsp + 0x38], rax
mov eax, dword [0x000276e0]
mov dword [rsp + 0x30], eax
mov rax, qword [0x000276e8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x710]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [0x000276f8]
call fcn.00017710
mov al, 1
mov rcx, qword [rsp + 0x738]
xor rcx, rsp
call fcn.00021b70
add rsp, 0x740
pop rdi
ret
Function at 0x162a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0xa8]
mov byte [rax], 0
call fcn.00011020
movzx eax, al
cmp eax, 1
jle 0x162f3
call fcn.00011020
movzx edx, al
lea rcx, [0x00023c60]
call sub.ntoskrnl.exe_DbgPrint
call fcn.00011010
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0x200
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x40]
mov edx, 0x1fffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x16367
jmp 0x163b6
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x70]
mov edx, 0x1a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x16399
jmp 0x163b6
cmp qword [rsp + 0x70], 0
je 0x163ac
mov rax, qword [rsp + 0xa8]
mov byte [rax], 1
xor eax, eax
test eax, eax
jne 0x162f3
cmp qword [rsp + 0x30], 0
je 0x163c9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x38]
add rsp, 0x98
ret
Function at 0x17710
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
mov rax, qword [0x00027100]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
mov dword [rsp + 0x78], 0
xor eax, eax
mov word [rsp + 0xc0], ax
lea rdi, [rsp + 0xc2]
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
lea rdx, [0x00023980]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rsp + 0x310]
mov rdx, qword [rdx + 8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x2c0], 0x30
mov qword [rsp + 0x2c8], 0
mov dword [rsp + 0x2d8], 0x40
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2e0], 0
mov qword [rsp + 0x2e8], 0
lea r8, [rsp + 0x2c0]
mov edx, 0xf003f
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x2f0], eax
cmp dword [rsp + 0x2f0], 0
jl 0x178ef
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x2f0], eax
cmp dword [rsp + 0x2f0], 0xc0000023
jne 0x178e4
mov edx, dword [rsp + 0x78]
mov ecx, 1
call sub.ntoskrnl.exe_ExAllocatePool
mov qword [0x00027b70], rax
cmp qword [0x00027b70], 0
je 0x178e4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov r9, qword [0x00027b70]
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x2f0], eax
cmp dword [rsp + 0x2f0], 0
jge 0x178c0
xor edx, edx
mov rcx, qword [0x00027b70]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [0x00027b70], 0
jmp 0x178e4
mov rdx, qword [0x00027b70]
add rdx, 0xc
lea rcx, [0x0002af70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [0x0002af78]
call fcn.0001ccd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.00021b70
add rsp, 0x300
pop rdi
ret
Function at 0x183f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
jne 0x1842d
xor r9d, r9d
mov r8d, 0x3f
lea rdx, [0x000241c0]
lea rcx, [0x00024210]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x30], 0
jmp 0x18435
mov dword [rsp + 0x30], 1
cmp qword [rsp + 0x58], 0
jne 0x18464
xor r9d, r9d
mov r8d, 0x40
lea rdx, [0x000241c0]
lea rcx, [0x00024200]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x34], 0
jmp 0x1846c
mov dword [rsp + 0x34], 1
xor edx, edx
mov cl, 1
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax], r11
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x1849f
lea rcx, [0x00024220]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000009a
jmp 0x184da
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
mov r8, qword [rsp + 0x58]
lea rdx, [0x00018380]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call fcn.00018250
xor eax, eax
add rsp, 0x48
ret

Function at 0x184f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x50], 0
jne 0x18539
xor r9d, r9d
mov r8d, 0x57
lea rdx, [0x000241c0]
lea rcx, [0x00024250]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x34], 0
jmp 0x18541
mov dword [rsp + 0x34], 1
cmp dword [rsp + 0x58], 0
jne 0x1856f
xor r9d, r9d
mov r8d, 0x58
lea rdx, [0x000241c0]
lea rcx, [0x00024260]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x38], 0
jmp 0x18577
mov dword [rsp + 0x38], 1
cmp qword [rsp + 0x60], 0
jne 0x185a6
xor r9d, r9d
mov r8d, 0x59
lea rdx, [0x000241c0]
lea rcx, [0x00024270]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x3c], 0
jmp 0x185ae
mov dword [rsp + 0x3c], 1
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov r11, rax
mov rax, qword [rsp + 0x60]
mov qword [rax], r11
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x1860e
lea rcx, [0x00024280]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000009a
jmp 0x18651
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x1864d
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x186d0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
lea rdi, [rsp + 0x30]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0xc0000001
mov edx, 2
lea rcx, [0x00027ba0]
xor eax, eax
lock cmpxchg dword [rcx], edx
test eax, eax
je 0x18715
mov eax, 0xc0000718
jmp 0x187c4
mov qword [rsp + 0x28], 0
lea rax, [0x000271c0]
mov qword [rsp + 0x30], rax
lea rdx, [0x000273f0]
lea rcx, [rsp + 0x28]
call sub.NETIO.SYS_WskRegister
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18767
mov edx, dword [rsp + 0x20]
lea rcx, [0x000242f0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
lea rax, [0x00027ba0]
xchg dword [rax], edx
mov eax, dword [rsp + 0x20]
jmp 0x187c4
lea r8, [0x000273e0]
xor edx, edx
lea rcx, [0x000273f0]
call sub.NETIO.SYS_WskCaptureProviderNPI
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x187b4
mov edx, dword [rsp + 0x20]
lea rcx, [0x00024320]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x000273f0]
call sub.NETIO.SYS_WskDeregister
xor edx, edx
lea rax, [0x00027ba0]
xchg dword [rax], edx
mov eax, dword [rsp + 0x20]
jmp 0x187c4
mov ecx, 3
lea rax, [0x00027ba0]
xchg dword [rax], ecx
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x18820
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov word [rsp + 0x10], dx
mov word [rsp + 8], cx
push rdi
sub rsp, 0xa0
mov byte [rsp + 0x78], 0
lea rdi, [rsp + 0x79]
xor eax, eax
mov ecx, 0x17
rep stosb byte [rdi], al
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0xc0000001
cmp dword [0x00027ba0], 3
je 0x18879
xor eax, eax
jmp 0x1898f
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.000183f0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x188aa
mov edx, dword [rsp + 0x68]
lea rcx, [0x00024360]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x1898f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xc0]
movzx r8d, word [rsp + 0xb8]
movzx edx, word [rsp + 0xb0]
mov rcx, qword [0x000273e0]
mov rax, qword [0x000273e8]
call qword [rax + 8]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x103
jne 0x1894c
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rdx, qword [rsp + 0x60]
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jl 0x18966
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x90], rax
jmp 0x18972
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov rax, qword [rsp + 0x70]
add rsp, 0xa0
pop rdi
ret
Function at 0x189a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x17
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0xc0000001
cmp dword [0x00027ba0], 3
jne 0x189df
cmp qword [rsp + 0x70], 0
jne 0x189e9
mov eax, 0xc000000d
jmp 0x18a73
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.000183f0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x18a19
mov edx, dword [rsp + 0x38]
lea rcx, [0x000243a0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x38]
jmp 0x18a73
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [rax + 8]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x103
jne 0x18a64
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov eax, dword [rsp + 0x38]
add rsp, 0x60
pop rdi
ret

Function at 0x18a80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x17
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0xc0000001
cmp dword [0x00027ba0], 3
jne 0x18acc
cmp qword [rsp + 0x70], 0
je 0x18acc
cmp qword [rsp + 0x78], 0
jne 0x18ad6
mov eax, 0xc000000d
jmp 0x18b68
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.000183f0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x18b06
mov edx, dword [rsp + 0x38]
lea rcx, [0x000243e0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x38]
jmp 0x18b68
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x103
jne 0x18b59
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov eax, dword [rsp + 0x38]
add rsp, 0x60
pop rdi
ret
Function at 0x18b80
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov byte [rsp + 0x58], 0
lea rdi, [rsp + 0x59]
xor eax, eax
mov ecx, 0x17
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x54], 0xc0000001
cmp dword [0x00027ba0], 3
jne 0x18c08
cmp qword [rsp + 0x90], 0
je 0x18c08
cmp qword [rsp + 0x98], 0
je 0x18c08
cmp dword [rsp + 0xa0], 0
jne 0x18c12
mov eax, 0xffffffff
jmp 0x18d2a
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call fcn.000184f0
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x18c50
mov edx, dword [rsp + 0x54]
lea rcx, [0x00024420]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xffffffff
jmp 0x18d2a
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.000183f0
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x18c8e
mov edx, dword [rsp + 0x54]
lea rcx, [0x00024420]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [rsp + 0x38]
call fcn.00018660
mov eax, 0xffffffff
jmp 0x18d2a
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0xa8]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x30]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x103
jne 0x18cec
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jl 0x18d01
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x70], eax
jmp 0x18d09
mov dword [rsp + 0x70], 0xffffffff
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
lea rcx, [rsp + 0x38]
call fcn.00018660
mov eax, dword [rsp + 0x50]
add rsp, 0x80
pop rdi
ret
Function at 0x18d40
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov byte [rsp + 0x60], 0
lea rdi, [rsp + 0x61]
xor eax, eax
mov ecx, 0x17
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rdi, [rsp + 0x48]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x58], 0xc0000001
cmp dword [0x00027ba0], 3
jne 0x18dc8
cmp qword [rsp + 0x90], 0
je 0x18dc8
cmp qword [rsp + 0x98], 0
je 0x18dc8
cmp dword [rsp + 0xa0], 0
jne 0x18dd2
mov eax, 0xffffffff
jmp 0x18eea
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call fcn.000184f0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jge 0x18e10
mov edx, dword [rsp + 0x58]
lea rcx, [0x00024460]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xffffffff
jmp 0x18eea
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.000183f0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jge 0x18e4e
mov edx, dword [rsp + 0x58]
lea rcx, [0x00024460]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [rsp + 0x40]
call fcn.00018660
mov eax, 0xffffffff
jmp 0x18eea
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0xa8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x38]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x103
jne 0x18eac
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rdx, qword [rsp + 0x38]
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x18ec1
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x78], eax
jmp 0x18ec9
mov dword [rsp + 0x78], 0xffffffff
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
lea rcx, [rsp + 0x40]
call fcn.00018660
mov eax, dword [rsp + 0x30]
add rsp, 0x80
pop rdi
ret