joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027540
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1400941b0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x60], 0
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
cmp qword [rsp + 0x28], 0
jne 0x14002759d
xor eax, eax
jmp 0x1400276ba
mov dword [rsp + 0x20], 0xc0000001
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call fcn.1400276e0
lea rcx, [rsp + 0x70]
call sub.ntoskrnl.exe_wcslen
test rax, rax
jbe 0x1400276a3
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14002da30
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14002af40
movzx eax, word [rsp + 0x40]
test eax, eax
jle 0x14002766e
cmp qword [rsp + 0x2a8], 0
je 0x14002766e
mov r8, qword [rsp + 0x48]
lea rdx, [0x14006ff30]
mov rcx, qword [rsp + 0x2a8]
call sub.ntoskrnl.exe_swprintf
mov dword [rsp + 0x20], 0
movzx eax, word [rsp + 0x50]
test eax, eax
jle 0x1400276a3
cmp qword [rsp + 0x2b0], 0
je 0x1400276a3
mov r8, qword [rsp + 0x58]
lea rdx, [0x14006ff30]
mov rcx, qword [rsp + 0x2b0]
call sub.ntoskrnl.exe_swprintf
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x1400276b6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14006f370
add rsp, 0x290
pop rdi
ret
Function at 0x140027c80
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400941b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x80], 0
je 0x140027cb6
mov rcx, qword [rsp + 0x80]
call sub.ntoskrnl.exe_strlen
test rax, rax
ja 0x140027cbd
xor eax, eax
jmp 0x140027d83
mov qword [rsp + 0x28], 0
xor edx, edx
lea rcx, [0x1400725b0]
call fcn.14002b240
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140027ce8
xor eax, eax
jmp 0x140027d83
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
cmp qword [0x140098c00], 0
jne 0x140027d29
xor edx, edx
lea rcx, [0x140072650]
call fcn.140025650
mov qword [0x140098c00], rax
cmp qword [0x140098c00], 0
jne 0x140027d48
xor edx, edx
lea rcx, [0x1400725e0]
call fcn.140025650
mov qword [0x140098c00], rax
cmp qword [0x140098c00], 0
je 0x140027d71
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [0x140098c00]
call fcn.140025f20
mov qword [rsp + 0x28], rax
jmp 0x140027d73
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006f370
add rsp, 0x70
pop rdi
ret

Function at 0x1400281b0
Capabilities:
Print debug messages

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x80], 0
jne 0x1400281e1
mov rax, qword [rsp + 0x48]
jmp 0x1400282cb
mov rcx, qword [rsp + 0x80]
call fcn.1400282d0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jge 0x140028220
call fcn.1400284a0
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
sub eax, 0x1000
mov eax, eax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jge 0x140028232
mov rax, qword [rsp + 0x48]
jmp 0x1400282cb
mov rcx, qword [rsp + 0x80]
call fcn.140027c80
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x50]
call fcn.140027da0
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x140028269
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14002827b
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, 0x4de
lea rdx, [0x140073a50]
lea rcx, [0x140073a70]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1400282c6
mov rax, qword [rsp + 0x48]
add rsp, 0x78
ret
Function at 0x1400282d0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x60], 0xffffffffffffffff
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [0x140073a20]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa8], 0x40
lea rax, [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
lea r8, [rsp + 0x90]
mov edx, 4
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
test eax, eax
jge 0x1400283a5
mov rax, qword [rsp + 0x60]
jmp 0x140028494
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jge 0x140028424
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rsp + 0x60]
jmp 0x140028494
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x58]
call fcn.140025f20
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140028460
mov rcx, qword [rsp + 0x68]
call fcn.140027dd0
cwde
sub eax, 0x1000
cdqe
mov qword [rsp + 0x60], rax
jmp 0x140028462
cmp qword [rsp + 0x50], 0
je 0x140028475
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp qword [rsp + 0x58], 0
je 0x14002848f
mov rdx, qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rax, qword [rsp + 0x60]
add rsp, 0xc0
pop rdi
ret

Function at 0x140028d70
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jl 0x140028dee
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0x1fffff
xor r8d, r8d
mov edx, 0x240
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
test eax, eax
jge 0x140028de3
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x140029000
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
cmp qword [rsp + 0x20], 0
je 0x140029035
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14002b320
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400941b0]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x90], 0
jge 0x14002b34e
xor eax, eax
jmp 0x14002b41a
cmp qword [0x140098c10], 0
jne 0x14002b364
call fcn.14002b430
mov qword [0x140098c10], rax
cmp qword [0x140098c10], 0
jne 0x14002b375
xor eax, eax
jmp 0x14002b41a
xor edx, edx
lea rcx, [0x1400725b0]
call fcn.14002b240
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, qword [0x140098c10]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140098c10]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x90], rax
jb 0x14002b3dc
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
jmp 0x14002b41a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
sar eax, 4
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006f370
add rsp, 0x80
pop rdi
ret
Function at 0x14002c420
Capabilities:
Access pe header

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400941b0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call fcn.14002bdc0
mov qword [rsp + 0x40], rax
cmp qword [0x1400987b0], 0
je 0x14002c45b
mov rax, qword [0x1400987b0]
jmp 0x14002c5bd
cmp qword [rsp + 0x40], 0
jne 0x14002c46a
xor eax, eax
jmp 0x14002c5bd
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x108
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
jmp 0x14002c4a4
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
jae 0x14002c5bb
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x8000000
test eax, eax
je 0x14002c5b6
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14002c5b6
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
jne 0x14002c5b6
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x54494e49
je 0x14002c5b6
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x45474150
je 0x14002c5b6
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x60]
lea rcx, [0x1400736e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8d, 0xf
mov dl, 0xcc
lea rcx, [rsp + 0x60]
call fcn.14002d900
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x14002c5b6
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 3]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 7]
mov qword [0x1400987b0], rax
mov rax, qword [0x1400987b0]
jmp 0x14002c5bd
jmp 0x14002c496
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006f370
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x14002d7a0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0xa0], 0
jne 0x14002d7cd
mov eax, 0xc000000d
jmp 0x14002d8f0
xor ecx, ecx
call fcn.14002bdc0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14002d7eb
mov eax, 0xc0000225
jmp 0x14002d8f0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14002d80d
mov eax, 0xc000007b
jmp 0x14002d8f0
mov rax, qword [rsp + 0x38]
add rax, 0x108
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x14002d837
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
jae 0x14002d8eb
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
jne 0x14002d8e6
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.14002d900
jmp 0x14002d8f0
jmp 0x14002d829
mov eax, 0xc0000225
add rsp, 0x78
ret
Function at 0x14002db50
Capabilities:
Print debug messages

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0xc0000001
cmp dword [rsp + 0x60], 0
je 0x14002db87
cmp qword [rsp + 0x50], 0
je 0x14002db87
cmp qword [rsp + 0x58], 0
jne 0x14002db90
mov eax, dword [rsp + 0x20]
jmp 0x14002dd05
movzx eax, byte [rsp + 0x68]
test eax, eax
jne 0x14002dbd1
mov rcx, qword [rsp + 0x50]
call fcn.140028ac0
movzx eax, al
test eax, eax
jne 0x14002dbd1
mov r9, qword [rsp + 0x50]
mov r8d, 0x798
lea rdx, [0x140073b90]
lea rcx, [0x140073bb0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
jmp 0x14002dd05
movzx eax, byte [rsp + 0x68]
test eax, eax
je 0x14002dc1b
mov rcx, qword [rsp + 0x50]
call fcn.140028b40
movzx eax, al
test eax, eax
jne 0x14002dc1b
movzx eax, byte [rsp + 0x70]
test eax, eax
jne 0x14002dc1b
mov r9, qword [rsp + 0x50]
mov r8d, 0x7a1
lea rdx, [0x140073b90]
lea rcx, [0x140073be0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
jmp 0x14002dd05
jmp 0x14002dc42
movsxd rax, dword [rsp + 0x60]
xor r9d, r9d
movzx r8d, byte [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140024fe0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14002dc73
mov eax, dword [rsp + 0x20]
jmp 0x14002dd05
mov rax, qword [rsp + 0x30]
cmp qword [rax + 8], 0
je 0x14002dcc8
movzx eax, byte [rsp + 0x68]
test eax, eax
je 0x14002dca5
movsxd rax, dword [rsp + 0x60]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14006fb00
jmp 0x14002dcc0
movsxd rax, dword [rsp + 0x60]
mov r8, rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x58]
call fcn.14006fb00
mov dword [rsp + 0x20], 0
jmp 0x14002dcef
cmp qword [rsp + 0x30], 0
je 0x14002dd01
mov rcx, qword [rsp + 0x30]
call fcn.140025400
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14002f3f0
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400941b0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xc0], 0
jne 0x14002f426
xor eax, eax
jmp 0x14002f512
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xc0]
call fcn.140028d00
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x14002f4c1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x38]
call fcn.140028eb0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
jmp 0x14002f4f0
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp qword [rsp + 0x38], 0
je 0x14002f50e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14006f370
add rsp, 0xb0
pop rdi
ret

Function at 0x1400317f0
Capabilities:
Attach user process memory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400941b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], 0xc0000001
cmp qword [rsp + 0x80], 0
je 0x14003184b
cmp dword [rsp + 0x98], 0
je 0x14003184b
cmp qword [rsp + 0x88], 0
je 0x14003184b
cmp qword [rsp + 0x90], 0
jne 0x140031854
mov eax, dword [rsp + 0x30]
jmp 0x1400318f9
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
cmp dword [rsp + 0xb0], 0
je 0x140031883
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
movzx eax, byte [rsp + 0xa8]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0xa0]
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.14002db50
mov dword [rsp + 0x30], eax
jmp 0x1400318e0
cmp dword [rsp + 0xb0], 0
je 0x1400318f5
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006f370
add rsp, 0x70
pop rdi
ret
Function at 0x140048b60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x24], 0xc0000001
mov byte [rsp + 0x20], 0
cmp qword [0x140099f60], 1
jne 0x140048b82
xor eax, eax
jmp 0x140048c8b
xor ecx, ecx
call fcn.14002ae30
mov dword [rsp + 0x2c], eax
jmp 0x140048bb4
mov ecx, dword [rsp + 0x2c]
call fcn.14002ae30
mov r8d, 0x1b
lea rdx, [0x140076b70]
lea rcx, [0x140076b80]
call sub.ntoskrnl.exe_DbgPrint
nop
call fcn.14004fa50
movzx eax, al
test eax, eax
jne 0x140048c05
mov r8d, 0x20
lea rdx, [0x140076b70]
lea rcx, [0x140076bb0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x24]
jmp 0x140048c8b
call fcn.140055990
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140048c21
call fcn.14004d7c0
call fcn.140054f40
jmp 0x140048c23
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140048c46
mov qword [0x140099f60], 1
mov dword [rsp + 0x24], 0
xor ecx, ecx
call fcn.14004d560
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140048c5d
lea rax, [0x140071500]
mov qword [rsp + 0x30], rax
jmp 0x140048c69
lea rax, [0x140071510]
mov qword [rsp + 0x30], rax
mov r9, qword [rsp + 0x30]
mov r8d, 0x36
lea rdx, [0x140076b70]
lea rcx, [0x140076bf0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x24]
add rsp, 0x48
ret
Function at 0x14004aa40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
movabs rax, 0xff8000000000
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
shr rax, 0x27
mov qword [rsp + 0x20], rax
movabs rax, 0x7fc0000000
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
shr rax, 0x1e
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
and rax, 0x3fe00000
shr rax, 0x15
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x20], 0
jbe 0x14004aabe
mov r8d, 0x143
lea rdx, [0x140077040]
lea rcx, [0x140077060]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x14004aaea
mov rax, qword [0x1400992d0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x980]
imul rcx, qword [rsp + 0x28], 0x1000
lea rax, [rax + rcx + 0x2000]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx*8]
add rsp, 0x48
ret

Function at 0x14004c260
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x48]
and rax, 0x7ffffff
shl rax, 0x15
mov rcx, qword [rsp + 0x40]
movabs rdx, 0xffff0000001fffff
mov rcx, qword [rcx]
and rcx, rdx
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x48]
call fcn.14004c170
movzx eax, al
cmp eax, 1
jne 0x14004c2ef
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.14004a7a0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
and rax, 7
shl rax, 3
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
and rcx, 0xffffffffffffffc7
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov al, 1
jmp 0x14004c341
mov r8d, 0x2000
mov dl, 1
mov ecx, 3
call fcn.1400506d0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004c32b
mov r8d, 0xdb
lea rdx, [0x140076f80]
lea rcx, [0x140076fa0]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14004c341
imul rax, qword [rsp + 0x48], 0x200000
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.14004c350
add rsp, 0x38
ret
Function at 0x14004fe80
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x14004fea6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jae 0x14004ff8e
mov ecx, 0x30
call fcn.14004fe20
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004feeb
mov r8d, 0x13
lea rdx, [0x14007a4e0]
lea rcx, [0x14007a500]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14004ff90
mov edx, 0x30
mov rcx, qword [rsp + 0x28]
call fcn.140024a10
mov rcx, qword [rsp + 0x40]
call fcn.14004fe20
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x14004ff34
mov r8d, 0x1b
lea rdx, [0x14007a4e0]
lea rcx, [0x14007a500]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14004ff90
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
call fcn.140024a10
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x28], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov rcx, qword [0x1400992d0]
mov rcx, qword [rcx + 8]
mov rdx, rax
mov rcx, qword [rcx + 8]
call fcn.14000b3a0
jmp 0x14004fe9c
mov al, 1
add rsp, 0x38
ret