joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rdi, rcx
mov qword [rbp + 0x37], rcx
xor esi, esi
mov dword [rbp + 0xf], esi
add rcx, 8
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1400176f1]
call fcn.140007810
nop
lea rax, [rbp + 0x17]
mov qword [rbp + 0x3f], rax
mov dword [rbp - 0x29], 0x704d7067
mov dword [rbp - 0x25], 0x70457056
mov dword [rbp - 0x21], 0x705a7048
mov dword [rbp - 0x1d], 0x707e704d
mov dword [rbp - 0x19], 0x70477044
mov dword [rbp - 0x15], 0x70407048
mov dword [rbp - 0x11], 0x7051707f
mov edx, 0x704b
mov dword [rbp - 0xd], 0x7051704b
mov dword [rbp - 9], 0x70447043
mov dword [rbp - 5], 0x7046705c
mov dword [rbp - 1], 0x70057058
mov dword [rbp + 3], 0x70557049
mov word [rbp + 7], dx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 7
mov word [rbp + 0x17], si
mov dword [rbp + 0xf], 2
lea edx, [rsi + 0x19]
lea rcx, [rbp + 0x17]
call fcn.140007a40
mov r8d, esi
mov qword [rbp + 0x27], rsi
mov ebx, esi
movabs r14, 0x4ec4ec4ec4ec4ec5
mov r15d, 0x7023
nop word [rax + rax]
mov rax, r14
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx eax, bx
sub ax, cx
add ax, r15w
xor ax, word [rbp + rbx*2 - 0x29]
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp + 0x2f]
cmp r8, rcx
jae 0x14000185e
lea rax, [r8 + 1]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
cmp rcx, 7
cmova rax, qword [rbp + 0x17]
mov word [rax + r8*2], r9w
mov word [rax + r8*2 + 2], si
jmp 0x140001867
lea rcx, [rbp + 0x17]
call fcn.140007bc0
inc rbx
cmp rbx, 0x19
jae 0x140001876
mov r8, qword [rbp + 0x27]
jmp 0x140001800
lea rdx, [rbp + 0x17]
call fcn.140011580
test eax, eax
je 0x14000188a
mov byte [0x14001ec90], 1
mov rax, rdi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400054a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400054c8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400054ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400054f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005549
test ecx, ecx
jle 0x140005529
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140005549
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005549
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140005570
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005592
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400055a8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400055c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400055c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005602
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000569e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000563d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000567e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000569e
cmp rbx, rax
ja 0x140005650
test rbx, rbx
je 0x14000569e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140005b00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005b2d
xor eax, eax
jmp 0x140005c99
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005b67
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005b67
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140005c99
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140005c8c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005baa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005bd5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005c91
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005c44
sub eax, 1
je 0x140005c44
cmp eax, 2
jne 0x140005c8c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005c91
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005c72
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140005c8c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005c91
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140014330
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1400060d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140006104
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400060f0
ret
Function at 0x140006850
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006923
cmp byte [rcx + 0x71], 0
je 0x140006923
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000691f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400068e4
sub eax, 1
je 0x1400068e8
cmp eax, 2
jne 0x14000691f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014330
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006916
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000691f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400068cc
xor al, al
jmp 0x1400068cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014330
add rsp, 0x60
pop rbx
ret
Function at 0x14000f460
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000f52c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000f52c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000f545
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000f51c
cmp byte [rax], 0x5c
jne 0x14000f516
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000f516
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000f502
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000f513
test r8b, 0x10
jne 0x14000f516
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000f516
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000b530
test edi, edi
jne 0x14000f480
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000b520
int3

Function at 0x140011860
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [0x14001ec92], 0
jne 0x14001192f
xor ecx, ecx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x50], rax
mov r9d, 0x220
mov dword [rsp + 0x48], ecx
mov dl, 2
mov dword [rsp + 0x40], ecx
lea r8d, [rcx + 0x20]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1400118de
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140011905
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1400118fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x70], 0
mov byte [0x14001ec92], 1
setne al
mov byte [0x14001ec91], al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140014330
add rsp, 0x88
ret
movzx eax, byte [0x14001ec91]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140014330
add rsp, 0x88
ret
Function at 0x140014fc4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001500e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001500e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001500e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001500e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001500e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140015010
xor al, al
add rsp, 0x28
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.1400114f0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x140001508
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 0x140001573
movzx esi, word [rdi]
mov r8d, 0x67666e43
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x140001562
mov eax, 0xc0000017
jmp 0x14000169c
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rax
call fcn.140011740
jmp 0x140001577
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 0x1400015c1
cmp eax, 0xc0000023
jne 0x14000168d
cmp dword [rsp + 0x90], 0x10
jb 0x14000168d
mov edx, dword [rsp + 0x90]
mov r13d, 0x67666e43
mov r8d, r13d
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x14000168d
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 0x140001681
cmp dword [rdi + 4], r15d
jne 0x140001681
mov eax, dword [rdi + 8]
dec eax
cmp eax, 0xfffe
ja 0x140001681
test rbx, rbx
je 0x140001646
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov esi, dword [rdi + 8]
mov r8d, r13d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
lfence
test rax, rax
jne 0x140001672
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001558
lea rdx, [rdi + 0xc]
mov r8, rsi
mov rcx, rax
call fcn.140011740
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 0x140001bbc
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, [0x1400122e0]
mov dword [rbp - 0x10], 0x2e002c
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [0x140012310]
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 0x140001c6b
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, [0x140012340]
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 0x140001d2f
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
lfence
test eax, eax
jns 0x140001cad
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, [0x1400123b0]
jmp 0x140001c49
lea rax, [0x140001d50]
mov qword [rbx + 0x70], rax
lea rax, [0x140001d50]
mov qword [rbx + 0x80], rax
lea rax, [0x140001d50]
mov qword [rbx + 0x100], rax
lea rax, [0x140001d70]
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, [0x140012430]
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 0x14000ae08
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.140010dc0
mov esi, eax
test eax, eax
jns 0x14000ae72
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, [0x140012bb0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000b018
xor r8d, r8d
lea rdx, [0x14000b050]
xor ecx, ecx
call section..text
mov edi, 1
lea rcx, [0x14006e260]
mov edx, edi
call fcn.140010dc0
mov esi, eax
test eax, eax
jns 0x14000aee7
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, [0x140012bb0]
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 0x14000b013
xor r8d, r8d
lea rdx, [0x14000b030]
mov ecx, edi
call section..text
lea r8, [0x14006dbc0]
mov rcx, rbx
lea rdx, [0x14006b260]
call sub.FLTMGR.SYS_FltRegisterFilter
mov esi, eax
test eax, eax
js 0x14000afbe
mov rcx, qword [0x14006dbc0]
call sub.FLTMGR.SYS_FltStartFiltering
mov esi, eax
lfence
test eax, eax
jns 0x14000af7a
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, [0x140012c30]
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 0x14000affd
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, [0x140012d10]
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000b018
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, [0x140012ca0]
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.140010cf8
mov rcx, qword [0x14006e260]
call fcn.140010cf8
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000b370
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.140011a00
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov esi, eax
test eax, eax
jns 0x14000b3f9
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, [0x140013480]
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 0x14000b410
jne 0x14000b40c
cmp dword [rsp + 0x48], 2
setae al
jmp 0x14000b412
mov al, 1
jmp 0x14000b412
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400114f0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000b830
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 0x14000b8f0
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x14000b890
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x68]
mov edx, eax
xor ecx, ecx
mov r8d, 0x72706c48
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x14000b8eb
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 0x14000b86d
lfence
test eax, eax
jns 0x14000b8df
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x14000b8f0
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x14000b8db
mov eax, 0xc0000022
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret