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

Disassembly:
sub rsp, 0x38
mov qword [0x14006b048], 0x28
mov qword [0x14006b058], 0x180
mov qword [0x14006b060], 8
mov qword [0x14006b070], 0x20
mov rax, qword [sym.imp.ntoskrnl.exe_PsInitialSystemProcess]
mov rax, qword [rax]
mov qword [0x14006b038], rax
mov rdx, qword [0x14006b038]
lea rcx, [0x14000eec0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov qword [rsp + 0x28], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x48
jne 0x140007692
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x8b
jne 0x140007692
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x81
jne 0x140007692
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0xc3
je 0x1400076a5
lea rcx, [0x14000eee0]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400077eb
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 3]
mov qword [0x14006b050], rax
mov rdx, qword [0x14006b050]
lea rcx, [0x14000ef20]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadProcess]
mov qword [rsp + 0x20], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x65
jne 0x140007799
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x48
jne 0x140007799
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x8b
jne 0x140007799
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 4
jne 0x140007799
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x25
jne 0x140007799
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x48
jne 0x140007799
mov eax, 1
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x8b
jne 0x140007799
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x80
je 0x1400077a9
lea rcx, [0x14000ef60]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400077eb
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov qword [0x14006b070], rax
mov rax, qword [0x14006b048]
mov rcx, qword [0x14006b038]
add rcx, rax
mov rax, rcx
mov rax, qword [rax]
mov qword [0x14006b040], rax
mov rdx, qword [0x14006b040]
lea rcx, [0x14000ef90]
call sub.ntoskrnl.exe_DbgPrint
mov al, 1
add rsp, 0x38
ret
Function at 0x14000b7a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140014200]
xor rax, rsp
mov qword [rsp + 0x98], rax
cli
mov rax, qword [rsp + 0x60]
and rax, 0xffffffffffffff00
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
and rax, 0xff
or rax, 0x253700
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
mov qword [rsp + 0x40], 0xffffffffffffffff
mov qword [rsp + 0x38], 0xffffffffffffffff
mov dword [rsp + 0x20], 0
jmp 0x14000b80f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xa
jge 0x14000b8cf
lfence
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x28], rax
lfence
lfence
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
lfence
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lfence
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x28], rax
lfence
lea rcx, [rsp + 0x60]
call fcn.14000153c
lfence
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
lfence
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rax
jae 0x14000b8b4
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x50], rax
jae 0x14000b8ca
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x14000b805
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
sti
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0xa8
ret

Function at 0x14000bff0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x590b0]
shr eax, 5
and eax, 1
test eax, eax
jne 0x14000c021
lea rcx, [0x14000f1d0]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000c105
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x59090]
and rax, 1
test rax, rax
je 0x14000c04f
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x59090]
shr rax, 2
and rax, 1
test rax, rax
jne 0x14000c062
lea rcx, [0x14000f200]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000c105
cli
mov rax, cr0
mov qword [rsp + 0x28], rax
mov rax, cr4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
bts rax, 0xd
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x59068]
mov rcx, qword [rsp + 0x28]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x59070]
mov rcx, qword [rsp + 0x28]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x59078]
mov rcx, qword [rsp + 0x20]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x59080]
mov rcx, qword [rsp + 0x20]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
mov cr0, rax
mov rax, qword [rsp + 0x20]
mov cr4, rax
sti
mov al, 1
add rsp, 0x38
ret
Function at 0x14000c110
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x140014200]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0x480
rdmsr
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 0x7fffffff
btr eax, 0x1f
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx]
and ecx, 0x80000000
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
mov dword [rcx], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
btr eax, 0x1f
mov rcx, qword [rsp + 0x70]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cqo
and rdx, 0xfff
add rax, rdx
and rax, 0xfff
sub rax, rdx
test rax, rax
je 0x14000c1ba
int 0x2c
mov dword [rsp + 0x20], 0
jmp 0x14000c1c2
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x28]
call fcn.14000cb90
movzx eax, al
test eax, eax
jne 0x14000c1e3
lea rcx, [0x14000f230]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000c205
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov ecx, 2
call fcn.140001530
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0x60
pop rdi
ret

Function at 0x14000c6a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov ecx, 0x480
rdmsr
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 0x7fffffff
btr eax, 0x1f
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
and ecx, 0x80000000
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
btr eax, 0x1f
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cqo
and rdx, 0xfff
add rax, rdx
and rax, 0xfff
sub rax, rdx
test rax, rax
je 0x14000c73a
int 0x2c
mov dword [rsp + 0x20], 0
jmp 0x14000c742
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x28]
call fcn.14000cb00
movzx eax, al
test eax, eax
jne 0x14000c763
lea rcx, [0x14000f250]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000c786
mov rcx, qword [rsp + 0x28]
call fcn.14000cb40
movzx eax, al
test eax, eax
jne 0x14000c784
lea rcx, [0x14000f270]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000c786
mov al, 1
add rsp, 0x48
ret
Function at 0x14000c840
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x140014200]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov ecx, 0x5a000
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x70]
add rax, 0x59060
mov rcx, rax
call fcn.14000b910
lea rcx, [0x14000f360]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
call fcn.14000bff0
movzx eax, al
test eax, eax
jne 0x14000c8aa
lea rcx, [0x14000f380]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000caed
lea rcx, [0x14000f3b0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.14000c110
movzx eax, al
test eax, eax
jne 0x14000c8dd
lea rcx, [0x14000f3d0]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000caed
lea rcx, [0x14000f400]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov rcx, rax
call fcn.14000c6a0
movzx eax, al
test eax, eax
jne 0x14000c91b
lea rcx, [0x14000f420]
call sub.ntoskrnl.exe_DbgPrint
call fcn.14000cb80
xor al, al
jmp 0x14000caed
lea rcx, [0x14000f450]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
call fcn.14000c790
lea rcx, [0x14000f470]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
call fcn.14000cd80
mov rcx, qword [rsp + 0x70]
call fcn.14000d800
call fcn.14000d230
lea rcx, [0x14000f4a0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x590b8], 0
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x590c0], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x590c8], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x590d0], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x590d8], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x590e0], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x590e8], 0
call fcn.14000cbd0
inc eax
mov edx, eax
lea rcx, [0x14000f4c0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140001500
movzx eax, al
test eax, eax
jne 0x14000ca17
mov ecx, 0x4400
call fcn.140007210
mov rdx, rax
lea rcx, [0x14000f4e0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.14000cb80
xor al, al
jmp 0x14000caed
call fcn.14000cbd0
inc eax
mov edx, eax
lea rcx, [0x14000f520]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x20]
and rax, 0xffffffffffffff00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 0xff
or rax, 0x253700
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14000153c
cmp rax, 0x66723067
jne 0x14000ca70
lea rcx, [0x14000f540]
call sub.ntoskrnl.exe_DbgPrint
call fcn.14000b7a0
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x590d8], rax
call fcn.14000b390
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x590e0], rax
call fcn.14000b510
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x590e8], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x590d8]
lea rcx, [0x14000f570]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x590e0]
lea rcx, [0x14000f5a0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x590e8]
lea rcx, [0x14000f5d0]
call sub.ntoskrnl.exe_DbgPrint
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0x60
pop rdi
ret
Function at 0x14000dd20
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140014200]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.1400077f0
movzx eax, al
test eax, eax
jne 0x14000dd52
lea rcx, [0x14000f620]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0350071
jmp 0x14000dda6
mov rax, qword [rsp + 0x20]
and rax, 0xffffffffffffff00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 0xff
or rax, 0x253700
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14000153c
cmp rax, 0x66723067
jne 0x14000dd98
lea rcx, [0x14000f640]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000dda4
lea rcx, [0x14000f670]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0x68
ret

Function at 0x14000df40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jl 0x14000df7f
mov rax, qword [0x14006c108]
mov rax, qword [rax + 0x440]
mov qword [0x14006c110], rax
mov rax, qword [0x14006c108]
mov qword [rax + 0x440], 4
mov rdx, qword [0x14006c110]
lea rcx, [0x14000f6a0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14000dfa0
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
lea rcx, [fcn.14000db00]
mov qword [rax + 0x68], rcx
mov rcx, qword [rsp + 0x80]
call fcn.14000ddc0
mov rcx, qword [rsp + 0x80]
call fcn.14000de40
mov rax, qword [rsp + 0x80]
mov qword [0x14006c100], rax
call fcn.14000dd20
test eax, eax
jl 0x14000e0cd
lea rdx, [0x14000f730]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x14000f6c0]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
mov r9d, 0x22
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
lea rdx, [0x14000db90]
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
lea rdx, [0x14000db90]
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x80]
lea rdx, [0x14000dbd0]
mov qword [rcx + rax + 0x70], rdx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
or eax, 4
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x10], eax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
xor eax, eax
add rsp, 0x78
ret
Function at 0x14000e320
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x80]
call fcn.14000e530
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 3
lea rax, [0x14000e2d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
lea rdx, [0x14000f750]
lea rcx, [rsp + 0x50]
call fcn.14000e1d0
mov qword [rsp + 0x60], 0
mov eax, 0x100
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov eax, 1
mov word [rsp + 0x4a], ax
lea rdx, [0x14006c0f0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14000e3dc
lea rcx, [0x14000f760]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000e3ec
mov edx, dword [rsp + 0x20]
lea rcx, [0x14000f780]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
add rsp, 0x70
pop rdi
ret

Function at 0x14000e400
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x80]
call fcn.14000e530
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rax, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 3
lea rax, [0x14000e4e0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
lea rdx, [0x14000f7a0]
lea rcx, [rsp + 0x50]
call fcn.14000e1d0
mov qword [rsp + 0x60], 0
mov eax, 0x100
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov eax, 1
mov word [rsp + 0x4a], ax
lea rdx, [0x14006c0f8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14000e4bc
lea rcx, [0x14000f760]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000e4cc
mov edx, dword [rsp + 0x20]
lea rcx, [0x14000f780]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
add rsp, 0x70
pop rdi
ret
Function at 0x14000e560
Capabilities:
Attach user process memory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
mov rax, qword [0x140014200]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xa0], rsp
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xf0], 0
lea rax, [rsp + 0xf8]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x84], 0xc0000001
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x90], 0
call fcn.1400079b0
movzx eax, al
test eax, eax
jle 0x14000e5f5
xor al, al
jmp 0x14000e870
mov rax, qword [rsp + 0x140]
cmp qword [rax + 8], 0
je 0x14000e613
mov rax, qword [rsp + 0x140]
movzx eax, word [rax]
test eax, eax
jg 0x14000e61a
xor al, al
jmp 0x14000e870
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0xb0], 0x30
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc8], 0x240
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x800
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0xb0]
mov edx, 0x100181
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x14000e738
mov byte [rsp + 0x80], 0
lea rdx, [0x14000e854]
mov rcx, qword [rsp + 0xa0]
call sub.ntoskrnl.exe__local_unwind
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x14000e791
mov byte [rsp + 0x81], 0
lea rdx, [0x14000e85e]
mov rcx, qword [rsp + 0xa0]
call sub.ntoskrnl.exe__local_unwind
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x4c], 1
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jge 0x14000e7ed
mov byte [rsp + 0x82], 0
lea rdx, [0x14000e868]
mov rcx, qword [rsp + 0xa0]
call sub.ntoskrnl.exe__local_unwind
nop
cmp qword [rsp + 0x90], 0
je 0x14000e812
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp qword [rsp + 0x88], 0
jne 0x14000e836
cmp qword [rsp + 0x88], 0xffffffffffffffff
je 0x14000e850
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov qword [rsp + 0x88], 0xffffffffffffffff
mov al, 1
jmp 0x14000e870
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14000e8a0
add rsp, 0x130
pop rdi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140005e30]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140005e40]
mov dword [rax], 1
mov rax, qword [0x140005e50]
mov dword [rax], 1
mov rax, qword [0x140005dd0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140005e20]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140005f00]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140005ee0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140005d80]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140003080
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x140003090
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x1400030a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400030b8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400030c0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400030d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14000311d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x140003114
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000311f
add rax, 0x28
cmp rax, r9
jne 0x140003100
xor eax, eax
ret

Function at 0x140003120
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400031b0
mov rdx, qword [0x140005dd0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000319e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000319e
cmp word [rax + 0x18], 0x20b
jne 0x14000319e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400031b0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140003189
add rbx, 0x28
cmp rbx, rdi
je 0x1400031b0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140003180
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400031c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400031e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400031e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400031e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000323d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140003234
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400031e0
add rax, 0x28
cmp rax, r9
jne 0x140003220
xor eax, eax
ret

Function at 0x140003240
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005dd0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000325f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003268
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000325f
movzx ecx, word [rax + 6]
mov eax, ecx
ret