joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cf40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44d0b7
movzx edx, byte [rax]
test edx, edx
jne 0x44cf74
nop dword [rax]
test r8b, r8b
jne 0x44cf74
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44cf87
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44d077
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44d065
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44d057
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44cfdd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44d020
mov eax, 1
cmp rax, rbx
ja 0x44d00b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44d04f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44d013
mov rcx, r11
mov eax, r12d
jmp 0x44cfe2
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44d0ad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44d070
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44cf8d
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3
Function at 0x454620
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4546cf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a1ac0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

Function at 0x45e240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005a188b], 0
je 0x45e24e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x45e260
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005a188b], 0
je 0x45e275
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x45e280
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005a188b], 0
je 0x45e2b5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005a1e20]
aesenc xmm0, xmmword [0x005a1e30]
aesenc xmm0, xmmword [0x005a1e40]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x45e2c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005a188b], 0
je 0x45e2f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a1e20]
aesenc xmm0, xmmword [0x005a1e30]
aesenc xmm0, xmmword [0x005a1e40]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x45fbc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rdx, 2
jmp sym.sigtramp

Function at 0x45ffc0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45fff4
mov rcx, 0x28
jmp 0x45ffff
shl rcx, 3
add rcx, 0x1480
mov qword [0x005a1ac0], rcx
pop rbp
ret
Function at 0x473ae0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x473d1b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x473b7a
mov qword [rsp + 0x88], rax
lea rbx, [0x004ad500]
mov rcx, rax
lea rax, [0x0054eae0]
call sym.sync._Map_.Load
test cl, cl
jne 0x473b63
mov rax, qword [rsp + 0x88]
call sym.reflect._rtype_.String
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x004d1c68]
call sym.runtime.concatstring2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
call sym.reflect.typesByString
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x473b97
lea rdx, [0x004ab720]
cmp rax, rdx
jne 0x473b85
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call sym.reflect.resolveTypeOff
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x0049dba0]
call sym.runtime.panicdottypeE
inc rdx
cmp rbx, rdx
jle 0x473be1
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x473b94
lea rax, [0x0054eae0]
lea rbx, [0x004ad500]
lea rdi, [0x004ab720]
nop dword [rax + rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x004ab720]
cmp rax, rdx
jne 0x473d0b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x004984c0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x004a0da0]
call sym.runtime.newobject
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x005a1af0], 0
nop
je 0x473c3b
mov rbx, rax
lea rax, [0x004a0da0]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call sym.internal_abi.NewName
call sym.reflect.addReflectOff
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x473ca2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x473c94
mov dword [rsi + 0x10], edx
cmp dword [0x005a1af0], 0
je 0x473cc3
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x0054eae0]
lea rbx, [0x004ad500]
lea rdi, [0x004ab720]
nop dword [rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x004ab720]
cmp rax, rdx
jne 0x473cfc
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x0049dba0]
call sym.runtime.panicdottypeE
mov rbx, rdx
lea rcx, [0x0049dba0]
call sym.runtime.panicdottypeE
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.reflect._rtype_.ptrTo
Function at 0x47ac60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47ad2a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005a1ac0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47ad0f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0049b080]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x47acfe
mov edi, 1
lea rsi, [0x0049b080]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004d3028]
lea rsi, [0x004d2968]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x140238dbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140238e06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140238e06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140238e06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140238e06
cmp dword [rcx + 0x84], 0xe
jbe 0x140238e06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140238e08
xor al, al
add rsp, 0x28
ret

Function at 0x14023f120
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14023ef1c
Function at 0x140243b98
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140243bc8
xor eax, eax
jmp 0x140243c8b
mov rbp, rbx
cmp word [rax], si
je 0x140243bed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140243bd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140243bd0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140243ab8
movsxd r14, eax
test eax, eax
jne 0x140243c2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140243bc1
mov rcx, r14
call fcn.14023f9ec
mov rdi, rax
test rax, rax
jne 0x140243c44
xor ecx, ecx
call fcn.140240880
jmp 0x140243c20
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140243ab8
test eax, eax
jne 0x140243c75
mov rcx, rdi
call fcn.140240880
jmp 0x140243c7f
xor ecx, ecx
call fcn.140240880
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000c340]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000c350]
mov dword [rax], 1
mov rax, qword [0x14000c360]
mov dword [rax], 1
mov rax, qword [0x14000c2e0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000c330]
mov dword [0x14000f020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000c410]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000c3f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000c290]
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
lea rcx, [dbg._matherr]
call dbg.__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 0x140001a0a
Capabilities:
Register network filter via wfp api

Disassembly:
push rbp
push rdi
sub rsp, 0x368
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x300], rcx
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0xffffffff
mov ecx, 0
call sym.FwpmEngineOpen0
mov dword [rbp + 0x2dc], 0x104
lea rax, [rbp + 0xc0]
mov r8d, 0x104
mov rdx, rax
mov rcx, qword [rbp + 0x300]
call sym.CharArrayToWCharArray
lea rdx, [rbp - 0x40]
mov eax, 0
mov ecx, 0x19
mov rdi, rdx
rep stosq qword [rdi], rax
lea rdx, [rbp - 0x48]
lea rax, [rbp + 0xc0]
mov rcx, rax
call sym.FwpmGetAppIdFromFileName0
test eax, eax
je 0x140001aab
lea rcx, str.____FwpmGetAppIdFromFileName0_failed_to_get_app_ID._Please_check_if_the_process_path_is_valid._n
call sym.printf
jmp 0x140001c3e
mov rax, qword [str.Custom_Outbound_Filter]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x20], 1
mov dword [rbp], 0xc38d57d1
mov word [rbp + 4], 0x5a7
mov word [rbp + 6], 0x4c33
movabs rax, 0x820ee6eebc7f4f90
mov qword [rbp + 8], rax
mov dword [rbp + 0x40], 0x1001
mov dword [rbp + 0x90], 0xd78e1e87
mov word [rbp + 0x94], 0x8644
mov word [rbp + 0x96], 0x4ea5
movabs rax, 0x71c9efec09d83794
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], 0
mov dword [rbp + 0xa8], 0xc
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x2d0]
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x40]
mov r9, rcx
mov r8d, 0
mov rcx, rax
call sym.FwpmFilterAdd0
mov dword [rbp + 0x2d8], eax
cmp dword [rbp + 0x2d8], 0
jne 0x140001b8e
mov rax, qword [rbp - 0x50]
mov r8, rax
mov rdx, qword [rbp + 0x300]
lea rcx, str.Added_WFP_filter_for___s___Filter_id:__d__IPv4_layer_._n
call sym.printf
jmp 0x140001ba2
mov eax, dword [rbp + 0x2d8]
mov edx, eax
lea rcx, str.____Failed_to_add_filter_in_IPv4_layer_with_error_code:_0x_x_n
call sym.printf
mov dword [rbp], 0x4a72393b
mov word [rbp + 4], 0x319f
mov word [rbp + 6], 0x44bc
movabs rax, 0xb4b6b3dc54bac384
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x2d0]
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x40]
mov r9, rcx
mov r8d, 0
mov rcx, rax
call sym.FwpmFilterAdd0
mov dword [rbp + 0x2d8], eax
cmp dword [rbp + 0x2d8], 0
jne 0x140001c0e
mov rax, qword [rbp - 0x50]
mov r8, rax
mov rdx, qword [rbp + 0x300]
lea rcx, str.Added_WFP_filter_for___s___Filter_id:__d__IPv6_layer_._n
call sym.printf
jmp 0x140001c22
mov eax, dword [rbp + 0x2d8]
mov edx, eax
lea rcx, str.____Failed_to_add_filter_in_IPv6_layer_with_error_code:_0x_x_n
call sym.printf
lea rax, [rbp - 0x48]
mov rcx, rax
call sym.FwpmFreeMemory0
mov rax, qword [rbp + 0x2d0]
mov rcx, rax
call sym.FwpmEngineClose0
nop
add rsp, 0x368
pop rdi
pop rbp
ret
Function at 0x140001c48
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp - 0x3c], 0
mov dword [rbp - 4], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0xffffffff
mov ecx, 0
call sym.FwpmEngineOpen0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x140001ca1
mov eax, dword [rbp - 8]
mov edx, eax
lea rcx, str.____FwpmEngineOpen0_failed_with_error_code:_0x_x_n
call sym.printf
jmp 0x140001e11
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.FwpmFilterCreateEnumHandle0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x140001cd8
mov eax, dword [rbp - 8]
mov edx, eax
lea rcx, str.____FwpmFilterCreateEnumHandle0_failed_with_error_code:_0x_x_n
call sym.printf
jmp 0x140001e11
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x3c]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 1
mov rcx, rax
call sym.FwpmFilterEnum0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x140001d39
mov eax, dword [rbp - 8]
mov edx, eax
lea rcx, str.____FwpmFilterEnum0_failed_with_error_code:_0x_x_n
call sym.printf
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmFilterDestroyEnumHandle0
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmEngineClose0
jmp 0x140001e11
mov eax, dword [rbp - 0x3c]
test eax, eax
je 0x140001de1
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
add rax, 0x10
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
mov rdx, qword [str.Custom_Outbound_Filter]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.wcscmp
test eax, eax
jne 0x140001cd8
mov dword [rbp - 4], 1
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0xb0]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rcx, rax
call sym.FwpmFilterDeleteById0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x140001dc3
mov rax, qword [rbp - 0x20]
mov rdx, rax
lea rcx, str.Deleted_filter_id:__llu._n
call sym.printf
jmp 0x140001cd8
mov edx, dword [rbp - 8]
mov rax, qword [rbp - 0x20]
mov r8d, edx
mov rdx, rax
lea rcx, str.____Failed_to_delete_filter_id:__llu_with_error_code:_0x_x._n
call sym.printf
jmp 0x140001cd8
nop
cmp dword [rbp - 4], 0
jne 0x140001df4
lea rcx, str.____Unable_to_find_any_WFP_filter_created_by_this_tool._n
call sym.printf
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmFilterDestroyEnumHandle0
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmEngineClose0
nop
add rsp, 0x70
pop rbp
ret
Function at 0x140001e17
Capabilities:
Delete network filter via wfp api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0xffffffff
mov ecx, 0
call sym.FwpmEngineOpen0
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x140001e63
mov eax, dword [rbp - 4]
mov edx, eax
lea rcx, str.____FwpmEngineOpen0_failed_with_error_code:_0x_x_n
call sym.printf
jmp 0x140001ec8
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call sym.FwpmFilterDeleteById0
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140001e8e
mov rdx, qword [rbp + 0x10]
lea rcx, str.Deleted_filter_id:__llu._n
call sym.printf
jmp 0x140001ebb
cmp dword [rbp - 4], 0x80320003
jne 0x140001ea5
lea rcx, str.____The_filter_does_not_exist._n
call sym.printf
jmp 0x140001ebb
mov eax, dword [rbp - 4]
mov r8d, eax
mov rdx, qword [rbp + 0x10]
lea rcx, str.____Failed_to_delete_filter_id:__llu_with_error_code:_0x_x._n
call sym.printf
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.FwpmEngineClose0
nop
add rsp, 0x40
pop rbp
ret
Function at 0x140002489
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 8], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
lea rdx, [rbp - 8]
mov r9, rdx
mov r8d, 1
mov edx, 0x28
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
call rax
test eax, eax
jne 0x14000254b
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0x3f0
je 0x140002505
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.____OpenThreadToken_failed_with_error_code:0x_x_n
call sym.printf_1
mov eax, 0
jmp 0x14000265c
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
lea rdx, [rbp - 8]
mov r8, rdx
mov edx, 0x28
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call rax
test eax, eax
jne 0x14000254b
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.____OpenProcessToken_failed_with_error_code:0x_x_n
call sym.printf_1
mov eax, 0
jmp 0x14000265c
lea rax, [rbp - 0x20]
add rax, 4
mov r8, rax
lea rdx, str.SeDebugPrivilege
mov ecx, 0
mov rax, qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
call rax
test eax, eax
jne 0x1400025a0
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.____LookupPrivilegeValueA_failed_with_error_code:0x_x_n
call sym.printf_1
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x14000265c
mov dword [rbp - 0x20], 1
mov dword [rbp - 0x14], 2
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call rax
test eax, eax
jne 0x140002614
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.____AdjustTokenPrivileges_failed_with_error_code:0x_x_n
call sym.printf_1
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x14000265c
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0x514
jne 0x140002647
lea rcx, str.____Failed_to_get_SeDebugPrivilege._You_might_not_be_able_to_get_the_process_handle_of_the_EDR_process._n
call sym.printf_1
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x14000265c
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
add rsp, 0x50
pop rbp
ret

Function at 0x1400029a0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]