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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
call fcn.00012440
movsxd rcx, eax
imul rcx, rcx, 0x40
lea rax, [0x00029268]
mov edx, dword [rax + rcx + 0x38]
lea rcx, [0x00024ee0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.00018f30
mov rcx, rax
call fcn.00018f10
add rsp, 0x28
ret

Function at 0x190e0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, [0x00024f10]
call sub.ntoskrnl.exe_DbgPrint
xor r8d, r8d
mov edx, 1
lea rcx, [0x000304c0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov r8b, 1
mov edx, 1
lea rcx, [0x000304e0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor r8d, r8d
mov edx, 1
lea rcx, [0x00030500]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rdx, [0x0002d270]
lea rcx, [0x00024f30]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x28
ret

Function at 0x191a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 1
call fcn.00012440
mov edx, eax
lea rcx, [0x00024f50]
call sub.ntoskrnl.exe_DbgPrint
call fcn.00022990
movzx edx, ax
and edx, 0xfff8
lea r9, [0x000304b0]
lea r8, [0x00022a10]
mov cl, 1
call fcn.00018ae0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x19207
movzx edx, word [0x000304b8]
mov r8, qword [0x000304b0]
lea rcx, [0x00024f70]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [0x00029230]
test eax, eax
je 0x1922e
call fcn.00012440
mov edx, eax
lea rcx, [0x00024fa0]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, 1
call fcn.00018ed0
mov eax, dword [0x00029254]
test eax, eax
je 0x19292
mov ecx, 0x1d9
rdmsr
shl rdx, 0x20
or rax, rdx
mov rdx, rax
lea rcx, [0x00024fc0]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, 0x1d9
rdmsr
shl rdx, 0x20
or rax, rdx
or rax, 1
mov rdx, rax
shr rdx, 0x20
mov ecx, 0x1d9
wrmsr
mov ecx, 0x1d9
rdmsr
shl rdx, 0x20
or rax, rdx
mov rdx, rax
lea rcx, [0x00024ff0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x192b0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
cmp dword [rsp + 0x40], 0
je 0x192cd
lea rcx, [0x00025020]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x192d9
lea rcx, [0x00025040]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x40]
mov dword [0x00029254], eax
mov dword [0x00029258], 0
mov eax, dword [0x000322b8]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
sub eax, 0xf
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1f
ja case.0x19327.16
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x00010000]
movzx eax, byte [rcx + rax + 0x937c]
mov eax, dword [rcx + rax*4 + 0x936c]
add rax, rcx
jmp rax
mov dword [0x00029258], 0x10
jmp case.0x19327.16
mov dword [0x00029258], 4
jmp case.0x19327.16
mov dword [0x00029258], 8
mov r8d, dword [0x00029258]
mov edx, dword [0x000322b8]
lea rcx, [0x00025060]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x38
ret
Function at 0x193b0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov edx, dword [rsp + 0x40]
lea rcx, [0x000250a0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x40], 0
je 0x193d9
mov eax, dword [rsp + 0x40]
mov dword [0x00029230], eax
mov cl, 1
call fcn.00018900
test eax, eax
je 0x194b4
call fcn.00012440
movsxd rcx, eax
imul rcx, rcx, 0x40
lea rax, [0x00029268]
mov eax, dword [rax + rcx + 0x38]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x40], 0
je 0x19418
lea rax, [0x00024ed0]
mov qword [rsp + 0x28], rax
jmp 0x19424
lea rax, [0x000250d0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x000250e0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [rsp + 0x20]
lea rcx, [0x00025100]
call sub.ntoskrnl.exe_DbgPrint
call fcn.00012440
movsxd rcx, eax
imul rcx, rcx, 0x40
lea rax, [0x00029268]
mov dword [rax + rcx + 0x38], 1
mov eax, dword [rsp + 0x40]
mov dword [0x00029230], eax
mov ecx, dword [rsp + 0x40]
call fcn.00018ed0
call fcn.00012440
movsxd rdx, eax
imul rdx, rdx, 0x40
lea rcx, [0x00029268]
mov eax, dword [rsp + 0x20]
mov dword [rcx + rdx + 0x38], eax
call fcn.00012440
movsxd rcx, eax
imul rcx, rcx, 0x40
lea rax, [0x00029268]
mov qword [rax + rcx + 0x28], 0x400
mov ecx, 0x400
call fcn.00019020
mov eax, 1
add rsp, 0x38
ret

Function at 0x194d0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov edx, dword [rsp + 0x30]
lea rcx, [0x00025120]
call sub.ntoskrnl.exe_DbgPrint
mov cl, 1
call fcn.000188e0
mov qword [0x000304b0], rax
mov cl, 1
call fcn.000188c0
mov word [0x000304b8], ax
movzx edx, word [0x000304b8]
mov r8, qword [0x000304b0]
lea rcx, [0x00025150]
call sub.ntoskrnl.exe_DbgPrint
mov dword [0x000291c0], 1
mov eax, dword [rsp + 0x30]
mov dword [0x000291c8], eax
mov eax, 1
add rsp, 0x28
ret

Function at 0x19550
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
lea rcx, [0x00025170]
call sub.ntoskrnl.exe_DbgPrint
mov dword [0x000291c4], 1
mov eax, dword [0x00029230]
test eax, eax
je 0x1958e
lea rcx, [0x000251a0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
lea rcx, [fcn.00019090]
call fcn.00012000
mov dword [0x00029230], 0
mov dword [0x000291c0], 0
mov dword [rsp + 0x20], 0
jmp 0x195b7
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x195d7
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
lea rax, [0x000291d0]
mov dword [rax + rcx], 0
jmp 0x195ac
xor edx, edx
lea rcx, [0x00019180]
call fcn.00012000
mov eax, 1
add rsp, 0x38
ret
Function at 0x19650
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
lea rcx, [0x000251c0]
call sub.ntoskrnl.exe_DbgPrint
movsxd rcx, dword [rsp + 0x40]
imul rcx, rcx, 0x18
lea rax, [0x000291d0]
mov dword [rax + rcx], 1
movsxd rdx, dword [rsp + 0x40]
imul rdx, rdx, 0x18
lea rcx, [0x000291d0]
mov rax, qword [rsp + 0x48]
mov qword [rcx + rdx + 8], rax
movsxd rdx, dword [rsp + 0x40]
imul rdx, rdx, 0x18
lea rcx, [0x000291d0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + rdx + 0x10], eax
movsxd rdx, dword [rsp + 0x40]
imul rdx, rdx, 0x18
lea rcx, [0x000291d0]
mov eax, dword [rsp + 0x58]
mov dword [rcx + rdx + 0x14], eax
mov eax, 1
add rsp, 0x38
ret

Function at 0x19790
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
lea rcx, [0x000251f0]
call sub.ntoskrnl.exe_DbgPrint
mov r11d, dword [rsp + 0x30]
mov dword [0x00029250], r11d
xor r8d, r8d
xor edx, edx
lea rcx, [0x000304c0]
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
xor eax, eax
add rsp, 0x28
ret
Function at 0x1d4b0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
lea rcx, [0x000260d0]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, 0x1b
call fcn.000124b0
and rax, 0xfffffffffffff000
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [0x000260f0]
call sub.ntoskrnl.exe_DbgPrint
xor r8d, r8d
mov edx, 0x400
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmMapIoSpace]
mov qword [0x0002d4d0], rax
mov rdx, qword [0x0002d4d0]
lea rcx, [0x00026110]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x38
ret

Function at 0x1d590
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
lea rcx, [0x00026160]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
lea rcx, [0x0001d550]
call fcn.00012000
lea rcx, [0x00026180]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x38
ret

Function at 0x1d5d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, [0x000261b0]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x28]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
xor edx, edx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [0x00030410], 0
je 0x1d641
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x10]
imul rcx, rcx, 0x30
mov rax, qword [0x00030410]
mov dword [rax + rcx], 1
xor r9d, r9d
mov r8d, 1
mov edx, 1
lea rcx, [0x00030420]
call qword [sym.imp.ntoskrnl.exe_KeReleaseSemaphore]
lea rcx, [0x000261d0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x28
ret
Function at 0x1e960
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 0x20], 0xc0000001
cmp dword [rsp + 0x40], 0
jl 0x1e983
mov eax, dword [0x0002d798]
cmp dword [rsp + 0x40], eax
jl 0x1e99d
mov edx, dword [rsp + 0x40]
lea rcx, [0x000266f0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x1ea3b
cmp qword [0x0002d7a8], 0
je 0x1ea37
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [0x0002d7a8]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0xb8], 0
je 0x1ea04
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx + 0x28]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0xb8]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov r11, qword [rsp + 0x28]
mov qword [r11 + 0xb8], 0
mov dword [rsp + 0x20], 0
jmp 0x1ea10
lea rcx, [0x00026710]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [rsp + 0x40]
lea rcx, [0x00026730]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x28]
add rcx, 0x88
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1ea50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov dword [rsp + 0x40], 0xc0000001
movzx eax, byte [0x0002d4dc]
movzx eax, al
test eax, eax
je 0x1ec8d
mov dword [rsp + 0x50], 0xc0000001
movsxd rdx, dword [0x0002d798]
imul rdx, rdx, 0x30
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x80]
imul rax, rax, 0xffffffffffffd8f0
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x80], 0xffffffff
jne 0x1eaf6
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9d, 6
mov r8d, 1
mov rdx, qword [0x0002d5c0]
mov ecx, dword [0x0002d798]
call qword [sym.imp.ntoskrnl.exe_KeWaitForMultipleObjects]
mov dword [rsp + 0x50], eax
jmp 0x1eb37
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9d, 6
mov r8d, 1
mov rdx, qword [0x0002d5c0]
mov ecx, dword [0x0002d798]
call qword [sym.imp.ntoskrnl.exe_KeWaitForMultipleObjects]
mov dword [rsp + 0x50], eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x50]
lea rcx, [0x00026750]
call sub.ntoskrnl.exe_DbgPrint
mov r11d, dword [rsp + 0x50]
mov dword [rsp + 0x60], r11d
mov eax, dword [0x0002d798]
cmp dword [rsp + 0x60], eax
jge 0x1ec8d
cmp dword [rsp + 0x60], 0
jl 0x1ec8d
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [0x0002d7a8]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xc0], 0
je 0x1ec81
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x28], 0
je 0x1ec73
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov dl, 1
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r11, rax
mov rax, qword [rsp + 0x88]
mov qword [rax], r11
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx]
lea rcx, [0x00026780]
call sub.ntoskrnl.exe_DbgPrint
mov r11, qword [rsp + 0x88]
cmp qword [r11], 0
je 0x1ec56
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xc0]
mov qword [rcx + 8], rax
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rcx + 0xb8], rax
mov dword [rsp + 0x40], 0
jmp 0x1ec71
jmp 0x1ec7f
lea rcx, [0x00026810]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1ec8d
lea rcx, [0x00026840]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [rsp + 0x40]
lea rcx, [0x00026870]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x1ecb0
Capabilities:
Delete file
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x268
mov rax, qword [0x00029100]
xor rax, rsp
mov qword [rsp + 0x258], rax
movsxd rcx, dword [rsp + 0x270]
mov rax, qword [0x0002d7a8]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x60], rax
lea rdx, [0x0002d5e0]
lea rcx, [0x000268a0]
call sub.ntoskrnl.exe_DbgPrint
mov r11d, dword [rsp + 0x270]
mov dword [rsp + 0x20], r11d
lea r9, [0x0002d5e0]
lea r8, [0x000268b0]
mov edx, 0xc8
lea rcx, [rsp + 0x80]
call sub.ntoskrnl.exe_swprintf_s
lea rdx, [rsp + 0x80]
lea rcx, [0x000268d0]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x210]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x228], 0x30
mov qword [rsp + 0x230], 0
mov dword [rsp + 0x240], 0x240
lea rax, [rsp + 0x210]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x248], 0
mov qword [rsp + 0x250], 0
mov rdx, qword [rsp + 0x218]
lea rcx, [0x000265f0]
call sub.ntoskrnl.exe_DbgPrint
mov r11, qword [rsp + 0x60]
mov qword [r11 + 0x110], 0
lea rcx, [rsp + 0x228]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov rcx, qword [rsp + 0x60]
add rcx, 0x110
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x24
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x228]
mov edx, 0x10100005
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x220], eax
mov r8d, dword [rsp + 0x220]
mov edx, dword [rsp + 0x270]
lea rcx, [0x000268e0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.00022fb0
add rsp, 0x268
ret

Function at 0x1fa50
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x0002d4dc]
movzx eax, al
test eax, eax
jne 0x1fa6c
mov eax, 0xc0000001
jmp 0x1fb68
lea rcx, [0x00026af0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x0002d540]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
movzx r11d, byte [0x0002d4dd]
movzx eax, r11b
test eax, eax
jne 0x1faba
mov rcx, qword [0x0002d5d0]
call qword [0x0002d7b0]
mov byte [0x0002d4dd], 1
xor edx, edx
lea rcx, [0x0002d540]
call qword [sym.imp.ntoskrnl.exe_KeReleaseMutex]
mov byte [0x0002d4de], 1
lea rcx, [0x00026b10]
call sub.ntoskrnl.exe_DbgPrint
xor ecx, ecx
call fcn.0001f760
lea rcx, [0x00026b20]
call sub.ntoskrnl.exe_DbgPrint
xor ecx, ecx
call fcn.0001f760
mov byte [0x0002d4de], 0
lea rcx, [0x00026b30]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x0002d540]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
movzx r11d, byte [0x0002d4dd]
movzx eax, r11b
test eax, eax
je 0x1fb4b
mov rcx, qword [0x0002d5d0]
call qword [0x0002d7a0]
mov byte [0x0002d4dd], 0
xor edx, edx
lea rcx, [0x0002d540]
call qword [sym.imp.ntoskrnl.exe_KeReleaseMutex]
lea rcx, [0x00026b40]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x38
ret
Function at 0x21cf0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov dword [rsp + 0x78], 0xc0000001
mov dword [rsp + 0x98], 0x30
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xa0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
mov edx, 0x120000
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x21ef5
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x6c], 0
jne 0x21ee7
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
mov edx, dword [rsp + 0x68]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r11, rax
mov rax, qword [rsp + 0xe8]
mov qword [rax], r11
mov rax, qword [rsp + 0xe8]
cmp qword [rax], 0
je 0x21ee7
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x103
jne 0x21ebb
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x21ecd
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x21ee7
xor edx, edx
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x78]
add rsp, 0xd8
ret
Function at 0x22290
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov rax, qword [0x00029100]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov dword [rsp + 0x34], 0xc0000001
mov qword [rsp + 0x450], 0
mov qword [rsp + 0x458], 0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x460], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
mov eax, 0x208
mov word [rsp + 0x22], ax
mov rdx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x460]
call fcn.00021900
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x2232f
mov edx, dword [rsp + 0x34]
lea rcx, [0x000274d0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x34]
jmp 0x2241d
lea r8, [rsp + 0x468]
lea rdx, [rsp + 0x450]
mov rcx, qword [rsp + 0x460]
call fcn.00021cf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x22401
lea rdx, [0x000274f0]
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x223ef
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x458]
mov rcx, qword [rsp + 0x460]
call fcn.00021cf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x223d7
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x458]
mov edx, dword [rsp + 0x468]
mov rcx, qword [rsp + 0x450]
call fcn.00021f10
mov dword [rsp + 0x34], eax
xor edx, edx
mov rcx, qword [rsp + 0x458]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x223ef
mov rdx, qword [rsp + 0x460]
mov rdx, qword [rdx + 8]
lea rcx, [0x00027500]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [rsp + 0x450]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x22419
mov rdx, qword [rsp + 0x460]
mov rdx, qword [rdx + 8]
lea rcx, [0x00027500]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.00022fb0
add rsp, 0x488
ret

Function at 0x35064
Capabilities:
Create device object
Print debug messages
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.00035008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.000110e0
Function at 0x4150c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41526b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430100
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41512e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415141
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415165
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415179
cmp rbx, 0x1000
jae 0x415138
nop
jmp 0x4151e9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41518d
xor edx, edx
jmp 0x4151e0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430100
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41516f
jmp 0x415155
call fcn.0045d580
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00434460
lea rax, [0x004a8cd4]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00434d60
mov rax, qword [rsp + 0x38]
call fcn.00434a60
lea rax, [0x004a8d7c]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00434d60
mov rax, qword [rsp + 0x30]
call fcn.00434a60
call fcn.004346c0
call fcn.004344e0
lea rax, [0x004aae73]
mov ebx, 0x21
call fcn.00432cc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004150c0
Function at 0x4152a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4154ca
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430180
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41531b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41532e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415350
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415364
cmp rbx, 0x1000
jae 0x415325
jmp 0x4153ee
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415376
xor esi, esi
jmp 0x4153e0
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430180
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x41535a
jmp 0x415342
call fcn.0045d580
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415469
call fcn.00434460
lea rax, [0x004a9119]
mov ebx, 0x19
call fcn.00434d60
mov rax, qword [rsp + 0x68]
call fcn.00434a60
lea rax, [0x004a8d7c]
mov ebx, 0x19
nop
call fcn.00434d60
mov eax, dword [rsp + 0x34]
call fcn.00434a60
call fcn.004346c0
call fcn.004344e0
lea rax, [0x004a5dd8]
mov ebx, 0xd
call fcn.00432cc0
cmp eax, 0x5af
je 0x415413
call fcn.00434460
lea rax, [0x004a9119]
mov ebx, 0x19
call fcn.00434d60
mov rax, qword [rsp + 0x38]
call fcn.00434a60
lea rax, [0x004a8d7c]
mov ebx, 0x19
nop dword [rax]
call fcn.00434d60
mov eax, dword [rsp + 0x34]
call fcn.00434a60
call fcn.004346c0
call fcn.004344e0
lea rax, [0x004aa7c5]
mov ebx, 0x1f
call fcn.00432cc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004152a0