joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020f8
Capabilities:
Persist via run registry key
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14000f068]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx eax, word [rcx]
xor esi, esi
mov edi, esi
mov rbx, rcx
jmp 0x140002208
movzx ecx, ax
cmp ax, 0x2d
je 0x140002143
cmp ax, 0x2f
je 0x140002143
add rbx, 2
movzx eax, word [rbx]
movzx ecx, ax
test ax, ax
jne 0x140002125
test cx, cx
je 0x140002211
add rbx, 2
lea rdx, str.RunOnce6432
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x140002339
lea rdx, str.RunOnceEx6432
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14000231d
lea rdx, str.Run6432
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x140002301
lea rdx, str.AlternateShellStartup
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14000227e
lea rdx, str.Explorer
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x140002231
movzx ecx, word [rbx]
sub ecx, 0x62
je 0x1400021fe
sub ecx, 0x10
je 0x1400021f9
cmp ecx, 1
jne 0x140002201
or edi, 4
jmp 0x140002201
or edi, 1
jmp 0x140002201
or edi, 2
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x140002125
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140009590
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
test byte [0x14000f901], 0x40
je 0x140002256
lea rax, [rsp + 0x30]
mov r9d, 1
lea rdx, [0x14000ae20]
mov qword [rsp + 0x20], rax
call fcn.1400026b0
call fcn.140005f54
call fcn.1400061cc
test byte [0x14000f901], 0x40
je 0x140002379
lea rdx, [0x14000adc0]
call fcn.140002714
jmp 0x140002379
call fcn.140007a40
test eax, eax
jne 0x140002291
call fcn.140005f54
call fcn.1400061cc
mov ebx, 0x43
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x1400022c8
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x1400022c8
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Ordinal_885]
nop dword [rax + rax]
call fcn.140007a40
test eax, eax
jne 0x1400022ed
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x1400022ed
call fcn.14000657c
call fcn.1400073c4
call fcn.1400073f8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x1e
call qword [sym.imp.SHLWAPI.dll_IsOS]
nop dword [rax + rax]
test eax, eax
je 0x140002379
call fcn.140006d6c
jmp 0x140002379
mov ecx, 0x1e
call qword [sym.imp.SHLWAPI.dll_IsOS]
nop dword [rax + rax]
test eax, eax
je 0x140002379
call fcn.140002098
jmp 0x140002379
mov ecx, 0x1e
call qword [sym.imp.SHLWAPI.dll_IsOS]
nop dword [rax + rax]
test eax, eax
je 0x140002379
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea rax, [fcn.140005070]
mov rcx, 0xffffffff80000002
lea rdx, [0x14000b110]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call fcn.140004974
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000477c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14000f068]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.14000200c
lea r8, [0x14000b460]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002758
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000482b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000493a
mov rcx, qword [rbp + 0x168]
lea edx, [rdi - 0x3b]
call fcn.14000356c
mov esi, eax
jmp 0x140004917
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.140003774
mov esi, eax
test eax, eax
jns 0x140004870
mov rcx, qword [rbp + 0x168]
lea r8, [0x14000b3c8]
mov r9d, eax
mov edx, 0xcf
call fcn.140003534
mov rcx, rbx
call fcn.140003600
jmp 0x140004917
lea r8, [0x14000b468]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002758
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400048b9
mov rcx, qword [rbp + 0x168]
mov edx, SHUnicodeToAnsi
call fcn.14000356c
mov esi, eax
jmp 0x140004863
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003774
mov esi, eax
test eax, eax
jns 0x1400048f4
mov rcx, qword [rbp + 0x168]
lea r8, [0x14000b3c8]
mov r9d, eax
mov edx, QISearch
call fcn.140003534
mov rcx, rdi
call fcn.140003600
jmp 0x140004863
mov rcx, rdi
call fcn.140003600
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140003600
xor esi, esi
test esi, esi
jns 0x14000493a
mov rcx, qword [rbp + 0x168]
lea r8, [0x14000b3c8]
mov r9d, esi
mov edx, SHRestricted
call fcn.140003534
mov eax, esi
jmp 0x14000493f
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140009590
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140007b1c
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x60
lea rax, [rsp + 0x78]
xor ebx, ebx
neg r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
mov rcx, 0xffffffff80000002
sbb r9d, r9d
xor r8d, r8d
and r9d, 0xfffffe00
add r9d, 0x209
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140007bcf
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140007bbe
cmp dword [rsp + 0x80], ebx
setne bl
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x14000898c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x40
mov dword [rsp + 0x50], 4
mov ebx, r9d
mov rax, rdx
test rdx, rdx
je 0x1400089dd
lea rcx, [r11 + 8]
xor edx, edx
mov qword [r11 - 0x18], rcx
lea rcx, [r11 + 0x10]
mov qword [r11 - 0x20], rcx
mov rcx, rax
and qword [r11 - 0x28], 0
lea r9d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400089dd
mov ebx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x70]
cmp ebx, eax
cmovb eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x140009030
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x500
mov rax, qword [0x14000f068]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rsi, qword [rsp + 0x550]
mov r14, rdx
xor edx, edx
mov r15, r8
mov rbp, rcx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call sub.msvcrt.dll_memset
test rsi, rsi
mov dword [rsp + 0x70], 0x68
lea rdi, [rsp + 0x50]
xorps xmm0, xmm0
cmovne rdi, rsi
lea rcx, [rsp + 0xe0]
xor eax, eax
mov r8, rbp
mov edx, 0x102
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
call fcn.14000200c
mov ebx, eax
test eax, eax
js 0x140009170
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
nop dword [rax + rax]
lea r8, [0x14000bee8]
mov edx, 0x208
lea rcx, [rsp + 0xe0]
call fcn.140002758
mov ebx, eax
test eax, eax
js 0x140009170
mov r8, r14
lea rcx, [rsp + 0xe0]
mov edx, 0x208
call fcn.140002758
mov ebx, eax
test eax, eax
js 0x140009170
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x38], r15
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
and dword [rsp + 0x28], 0
mov rcx, rbp
and dword [rsp + 0x20], 0
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
jne 0x14000915a
call sub.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140009170
test rsi, rsi
jne 0x140009170
mov rcx, qword [rdi + 8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rdi]
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140009590
mov rbx, qword [rsp + 0x538]
add rsp, 0x500
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009560
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
cmp esp, 0
je 0x1400095ba
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x1400095c2
mov r14, qword [r14]
jmp 0x14000958b
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x1400095f7
jmp 0x140009605
inc rax
inc rax
inc rax
inc rax
jmp 0x1400095de
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0x76000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0xb8000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x43eb
push rax
movabs r15, 0x3ae00
mov eax, 4
imul r12, rax
movabs rax, 0x1865
add rax, r11
add r12, rax
call fcn.1400096bc
mov r12d, 0x4e611
movabs r14, 0xb6000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.1400096bc
pop rax
jmp 0x1400096e2
nop
ret
mov r12d, 0x8000000
mov r15d, 0x2b1
movabs r14, 0x76000
mov eax, 5
imul r15d, eax
add r15d, 0x28b
add r14, r11
sub r14, r15
mov r15, r14
sub r15, r12
mov r12d, 0x53211
add r12, r11
mov eax, dword [r12]
xor eax, 0x7243b3ce
dec eax
cmp eax, 0
je 0x14000973f
add rax, r14
mov r10, qword [rax]
add r10, r15
mov qword [rax], r10
add r12, 4
jmp 0x14000971d
sub rsp, 0x28
movabs r14, 0x4106
mov r12d, 0x5663
add r12, 0x90623
add r12, r14
add r12, r11
push r12
dec r10
lea r15d, [eax]
jmp 0x1400096e0

Function at 0x1400097dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140009828
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140009820
cmp dword [rcx + 0x3c], edx
jl 0x140009820
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140009820
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140009828
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400011c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14006db40]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov edi, r9d
lea rcx, [rsp + 0x38]
mov rsi, r8
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
mov r8d, 2
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x20], 0x14
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x140001233
cmp dword [rsp + 0x30], 0x14
ja 0x140001233
cmp dword [rsp + 0x4c], 4
jne 0x140001233
cmp dword [rsp + 0x50], 4
jne 0x140001233
mov edi, dword [rsp + 0x54]
mov dword [rsi], edi
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140011510
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000150c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rsp + 0x90]
mov r14, r9
mov r15d, r8d
mov r13, rdx
mov r12, rcx
test rdi, rdi
je 0x14000157a
movzx esi, word [rdi]
mov r8d, 0x67666e43
mov edx, esi
mov ecx, 0x40
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov rbx, rax
test rax, rax
jne 0x140001569
mov eax, 0xc0000017
jmp 0x1400016a9
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rax
call fcn.140011780
jmp 0x14000157e
xor esi, esi
xor ebx, ebx
mov rdx, r13
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor r9d, r9d
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
and dword [rsp + 0x20], 0
mov rcx, r12
lea ebp, [r9 + 2]
mov r8d, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0x80000005
je 0x1400015c8
cmp eax, 0xc0000023
jne 0x14000169a
cmp dword [rsp + 0x90], 0x10
jb 0x14000169a
mov edx, dword [rsp + 0x90]
mov r13d, 0x67666e43
mov r8d, r13d
mov ecx, 0x40
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov rdi, rax
test rax, rax
je 0x14000169a
mov ecx, dword [rsp + 0x90]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov rcx, r12
mov r8d, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x14000168e
cmp dword [rdi + 4], r15d
jne 0x14000168e
mov eax, dword [rdi + 8]
dec eax
cmp eax, 0xfffe
ja 0x14000168e
test rbx, rbx
je 0x140001650
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov esi, dword [rdi + 8]
mov r8d, r13d
mov edx, esi
mov ecx, 0x40
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov rbx, rax
lfence
test rax, rax
jne 0x14000167f
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000155f
lea rdx, [rdi + 0xc]
mov r8, rsi
mov rcx, rax
call fcn.140011780
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [r14 + 8], rbx
xor eax, eax
mov word [r14], si
mov word [r14 + 2], si
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001bc8
Capabilities:
Create device object

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
xor edi, edi
mov dword [rbp - 0x20], 0x260024
lea rax, [0x140012320]
mov dword [rbp - 0x10], 0x2e002c
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [0x140012350]
mov qword [rbp + 0x18], rdi
mov qword [rbp - 8], rax
lea r9d, [rdi + 0x22]
lea rax, [rbp + 0x18]
xor edx, edx
mov qword [r11 - 0x38], rax
mov rbx, rcx
mov byte [rsp + 0x28], dil
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov esi, eax
test eax, eax
jns 0x140001c77
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
lea r8, [0x140012380]
xor edx, edx
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rdi
movzx r9d, al
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140001d3b
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
lfence
test eax, eax
jns 0x140001cb9
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
lea r8, [0x1400123f0]
jmp 0x140001c55
lea rax, [0x140001d60]
mov qword [rbx + 0x70], rax
lea rax, [0x140001d60]
mov qword [rbx + 0x80], rax
lea rax, [0x140001d60]
mov qword [rbx + 0x100], rax
lea rax, [0x140001d80]
mov qword [rbx + 0xe0], rax
mov rax, qword [rbp + 0x18]
mov qword [0x14006dbb0], rax
mov byte [0x14006dba8], 1
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov edx, 2
mov qword [rsp + 0x28], rdi
movzx r9d, al
lea r8, [0x140012470]
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000ae28
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edx, edx
lea rcx, [0x14006e268]
call fcn.140010de0
mov esi, eax
test eax, eax
jns 0x14000ae92
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, al
lea r8, [0x140012bf0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000b038
xor r8d, r8d
lea rdx, [0x14000b070]
xor ecx, ecx
call section..text
mov edi, 1
lea rcx, [0x14006e260]
mov edx, edi
call fcn.140010de0
mov esi, eax
test eax, eax
jns 0x14000af07
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, al
lea r8, [0x140012bf0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14006e268]
jmp 0x14000b033
xor r8d, r8d
lea rdx, [0x14000b050]
mov ecx, edi
call section..text
lea r8, [0x14006dbc0]
mov rcx, rbx
lea rdx, [0x14006b210]
call sub.FLTMGR.SYS_FltRegisterFilter
mov esi, eax
test eax, eax
js 0x14000afde
mov rcx, qword [0x14006dbc0]
call sub.FLTMGR.SYS_FltStartFiltering
mov esi, eax
lfence
test eax, eax
jns 0x14000af9a
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, al
lea r8, [0x140012c70]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14006dbc0]
call sub.FLTMGR.SYS_FltUnregisterFilter
jmp 0x14000b01d
mov byte [0x14006dbb8], dil
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov edx, 2
mov qword [rsp + 0x28], rdi
movzx r9d, al
lea r8, [0x140012d50]
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000b038
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, al
lea r8, [0x140012ce0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lfence
mov rcx, qword [0x14006e268]
call fcn.140010d18
mov rcx, qword [0x14006e260]
call fcn.140010d18
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000b390
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14006db40]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x114
call fcn.140011a40
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov esi, eax
test eax, eax
jns 0x14000b419
lfence
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov edx, 1
mov dword [rsp + 0x30], esi
movzx r9d, al
lea r8, [0x1400134c0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4c]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp dword [rsp + 0x44], 6
jb 0x14000b430
jne 0x14000b42c
cmp dword [rsp + 0x48], 2
setae al
jmp 0x14000b432
mov al, 1
jmp 0x14000b432
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140011510
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000b850
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, r8
lea r9, [rax + 0x20]
mov r14, rdx
xor ebx, ebx
and dword [rax + 0x20], ebx
xor r8d, r8d
and dword [rax - 0x28], ebx
xor edx, edx
mov ebp, ecx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000b913
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x14000b8b0
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x68]
mov edx, eax
mov ecx, 0x40
mov r8d, 0x72706c48
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov rbx, rax
test rax, rax
je 0x14000b90e
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
je 0x14000b88d
lfence
test eax, eax
jns 0x14000b902
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x14000b913
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x14000b8fe
mov eax, 0xc0000022
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d434
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
lea rdx, [rsp + 0x58]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x14000d49a
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov edx, 1
mov qword [rsp + 0x28], rdi
movzx r9d, al
lea r8, [0x140013cc0]
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4c]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000d54c
mov rcx, qword [rsi + 0x20]
call fcn.14000bc34
mov rcx, qword [rsp + 0x58]
mov rbx, rax
call fcn.14000bc34
mov rdi, rax
test rbx, rbx
je 0x14000d4f3
test rax, rax
je 0x14000d4f3
lea rcx, [0x14006e140]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rdx, qword [rbx]
cmp qword [rbx + 8], rdx
jne 0x14000d4e4
mov rax, qword [rdi]
mov qword [rbx + 8], rdi
mov qword [rbx], rax
mov qword [rdi], rbx
mov qword [rax + 8], rbx
lea rcx, [0x14006e140]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
jmp 0x14000d541
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov rcx, qword [rsp + 0x58]
lea r8, [0x140013d40]
mov qword [rsp + 0x38], rcx
mov edx, 1
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
lea ecx, [rdx + 0x4c]
movzx r9d, al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret