joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005a808
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x14005a870
call fcn.140056adc
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14005a870
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14005a8b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x14005a895
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x140136ae1.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x14005a8b4
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x140136ae1.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14005e154
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14005e1cf
xor r8d, r8d
call fcn.14005e424
mov rsi, rax
test rax, rax
je 0x14005e1cb
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14005e1cb
mov eax, dword [rsp + 0x30]
jmp 0x14005e1e5
mov eax, edi
jmp 0x14005e1e5
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14005ed7c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14005ede3
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005edf7
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005edf7
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x140136ae1.0]
jmp 0x14005edfc
cmp dword [rcx + 8], 0
je 0x14005edf7
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14005edfc
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400612d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x140061317
cmp dword [rcx + 0xe8], 0
jne 0x140061317
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.140056adc
mov r8d, 5
mov rdx, rsi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x140061678
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x1400616cd
call fcn.14005d3f8
mov rdx, rax
test rax, rax
je 0x1400616cb
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x140136ae1.0]
mov rbx, rax
jmp 0x1400616cd
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400613ec

Function at 0x140061364
Capabilities:
Extract resource via kernel32 functions

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, 0x20
mov rbp, r8
mov rbx, rdx
mov r14, rcx
xor edi, edi
call fcn.140056adc
lea r8d, [rdi + 5]
mov rdx, rbx
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400613be
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rsi
mov r8, rbp
mov rdx, rdi
mov rcx, r14
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400613ec

Function at 0x1400689e8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140068a0e
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14005ed7c
jmp 0x140068a7a
cmp byte [0x1402c3448], 0
jne 0x140068a52
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140068a42
lea rdx, [0x140221998]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c3440], rax
jmp 0x140068a49
mov rax, qword [0x1402c3440]
mov byte [0x1402c3448], 1
jmp 0x140068a59
mov rax, qword [0x1402c3440]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x140068a73
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x140136ae1.0]
jmp 0x140068a7a
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140068a88
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140068d80
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x140068dc2
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x1400691b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140069282
test rbx, rbx
je 0x140069282
test r9, r9
je 0x140069282
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006927e
cmp dword [rsp + 0x48], 3
jne 0x14006927e
cmp dword [rdi], eax
je 0x14006927e
mov ecx, dword [rdi]
call fcn.14002f5b0
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140069272
cmp dword [rsp + 0x48], 3
jne 0x140069272
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.140048494
and qword [rbx], 0
xor eax, eax
jmp 0x14006925d
call fcn.140052558
int3

Function at 0x14006969c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400696ad
xor eax, eax
jmp 0x1400696db
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400696e4
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400696f5
xor eax, eax
jmp 0x140069719
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14006fa84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x14006fafb
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14006facb
call fcn.140053df4
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14006fae5
call fcn.140053df4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14006fafb
call fcn.140053df4
call fcn.140056adc
cmp qword [rax + 0x68], 0
je 0x14006fb15
mov rdx, rbx
mov rcx, rbp
call fcn.14006ef44
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.14006fd70
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14006fb3c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14006fb4b
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140080be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x140080c0b
call fcn.140056adc
mov rbx, qword [rax + 0x18]
lea r8, [0x140223db0]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140080c64
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140080c64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140080c64
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.140080c7c
jmp 0x140080c66
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b5c04
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x1400b5c36
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b5c36
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.14013835c
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1401978b8
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401f9fbc
test eax, eax
jne 0x14019791c
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14005ea4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14019792e
jmp 0x1401978dc
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1401ed080
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401ecf13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ecf13
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ecf13
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ecf13
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ecf13
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ecf13
cmp dword [rcx + 0xf8], 0
je 0x1401ecf13
mov ecx, ebx
call fcn.1401ecfb4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401ecda4
cmp dword [rbp + 0x20], 0
je 0x1401ecf60
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401ecf68
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401eceac
Function at 0x140001f30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rdi
sub rsp, 0x280
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rcx, 0xffffffff80000002
mov rdi, rdx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140001f8f
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001fad
cmp eax, 2
jne 0x1400020cc
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400020f0
add rsp, 0x280
pop rdi
ret
mov qword [rsp + 0x290], rbx
mov rcx, rdi
mov qword [rsp + 0x2a0], rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
xor esi, esi
cmp word [rdi + rcx*2 - 2], 0x5c
lea rbx, [rdi + rcx*2]
je 0x140001fe6
mov eax, 0x5c
mov word [rbx], ax
add rbx, 2
mov word [rbx], si
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140002095
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x60]
mov word [rbx], si
mov edx, 0x208
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.140001f30
test eax, eax
je 0x140002095
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140002030
mov word [rbx - 2], si
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rsi, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x290]
test eax, eax
je 0x140001f8f
xor eax, eax
jmp 0x140001f94
Function at 0x140001070
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret
Function at 0x1400015a8
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140001e90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001eda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001eda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001eda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001eda
cmp dword [rcx + 0x84], 0xe
jbe 0x140001eda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001edc
xor al, al
add rsp, 0x28
ret
Function at 0x140006098
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, rdx
lea rcx, [0x1400082e8]
and qword [rbx + 8], 0
and dword [rbx + 0x10], 0
mov qword [rbx + 0x18], rdx
mov qword [rbx], rcx
lea rdi, [rbx + 0x20]
lea rdx, [0x1400084b0]
mov r8, rdi
mov rcx, rax
call sub.FLTMGR.SYS_FltRegisterFilter
mov dword [rbx + 0x10], eax
test eax, eax
js 0x140006102
mov qword [0x140009080], rbx
mov rcx, qword [rdi]
call sub.FLTMGR.SYS_FltStartFiltering
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x140006102
mov rcx, qword [rdi]
call sub.FLTMGR.SYS_FltUnregisterFilter
and qword [0x140009080], 0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000679c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
and qword [rdx], 0
and qword [rbp - 0x10], 0
and qword [rbp + 0x38], 0
mov rsi, rdx
lea rdx, [rbp - 0x10]
mov ebx, r8d
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x140006897
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x200
mov byte [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov edi, eax
test eax, eax
js 0x140006897
mov rcx, qword [rbp + 0x38]
xor r9d, r9d
lea rax, [rbp + 0x28]
lea edx, [r9 + 0x1b]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
mov edi, eax
cmp eax, 0xc0000004
jne 0x140006897
mov ecx, dword [rbp + 0x28]
mov r9b, 1
mov r8d, 0x6c6c695a
mov edx, ebx
call fcn.140005c50
mov rbx, rax
test rax, rax
jne 0x14000684e
mov edi, 0xc000009a
jmp 0x140006897
mov r9d, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x28]
mov r8, rbx
mov edx, 0x1b
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
mov edi, eax
test eax, eax
js 0x140006887
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlUpcaseUnicodeString]
mov qword [rsi], rbx
xor ebx, ebx
test rbx, rbx
je 0x140006897
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400068a6
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400068b5
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006ad4
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140009070]
xor rax, rsp
mov qword [rsp + 0x160], rax
and qword [rcx + 8], 0
lea rax, [0x1400082e8]
mov rbx, rcx
mov qword [rcx], rax
mov qword [rcx + 0x18], rdx
lea rcx, [0x140009040]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rcx, [0x140009050]
mov qword [0x1400090b0], rax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rcx, [0x140009060]
mov qword [0x1400090b8], rax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rcx, [rsp + 0x40]
mov qword [0x1400090c0], rax
xor edx, edx
mov r8d, 0x11c
mov dword [rbx + 0x10], 0xc0000001
call fcn.140001360
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x11c
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x44], 5
jne 0x140006b99
cmp dword [rsp + 0x48], 2
jb 0x140006b99
mov rax, qword [0x1400090b8]
test rax, rax
je 0x140006be5
lea r8, [rbx + 0x20]
lea rcx, [0x140007280]
mov rdx, rbx
call rax
jmp 0x140006be2
cmp dword [rsp + 0x44], 6
jb 0x140006be5
lea rdx, [0x140007a80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [0x1400090b0]
test rax, rax
je 0x140006be5
and qword [rsp + 0x28], 0
mov r8, qword [rbx + 0x18]
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x30]
lea rcx, [0x140007280]
mov r9, rbx
call rax
mov dword [rbx + 0x10], eax
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140007a10
add rsp, 0x170
pop rbx
ret

Function at 0x140006cd8
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140009070]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [0x1400082e8]
mov rbx, rcx
xor edx, edx
mov qword [rcx], rax
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
call fcn.140001360
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x24], 5
jne 0x140006d33
cmp dword [rsp + 0x28], 2
jae 0x140006d3a
cmp dword [rsp + 0x24], 6
jb 0x140006d4c
mov rax, qword [0x1400090c0]
test rax, rax
je 0x140006d4c
mov rcx, qword [rbx + 0x20]
call rax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140007a10
add rsp, 0x150
pop rbx
ret
Function at 0x14000c0dc
Capabilities:
Create device object

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x60
and qword [rax + 0x18], 0
mov rbx, rcx
lea rdx, [0x14000c170]
lea rcx, [rax - 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x80]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x22
mov edx, 0x1b0
mov rcx, rbx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x14000c0d4
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x14000c071
mov rdx, rbx
call fcn.140003d84
lea rax, section.PAGE
lea rdx, [0x14000c190]
lea rcx, [rsp + 0x50]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x80], rax
lea rax, [0x1400038f8]
mov qword [rbx + 0xe0], rax
lea rax, [0x14000b020]
mov qword [rbx + 0x68], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x14000c0d2
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, ebx
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14000c108
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp section.INIT

Function at 0x14099f9a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r8
pushfq
cmc
push rbx
btr ebx, 0x8b
setne bh
cmc
push rdi
movsx edi, bp
movzx rbx, r10w
rol edi, 0x85
push rbp
movsx edi, r13w
rcl di, 0x6e
bt bx, 0xf5
push r9
rol r9d, cl
push rsi
bts rbx, rbx
push r11
cmovne bx, r15w
bts r9d, r13d
movzx ebx, r15w
push rax
push r12
push r13
push r14
bts ebp, edx
push rdx
push r10
bt bx, r12w
cdqe
ror edi, 0x42
push rcx
ror dx, 0x82
setp dl
cmovs rax, rax
push r15
rcr rbp, 0x67
btc ax, 0x32
stc
movabs rcx, 0
setno bpl
push rcx
rol rbp, cl
mov r9, qword [rsp + 0x90]
clc
bswap r9d
ror bpl, cl
rdtsc
mov bl, 0x41
rol r9d, 1
sub r9d, 0x336a5ae2
ror r9d, 1
and r10b, 0x40
add r9, rcx
or eax, 0x3a4c2558
mov ebx, r11d
movabs rbp, 0x100000000
sal dil, cl
add r9, rbp
ror di, cl
test eax, edx
mov rbx, rsp
rdtsc
cqo
sub rsp, 0x180
clc
and rsp, 0xfffffffffffffff0
mov r10, r9
dec eax
shl al, cl
bt eax, r10d
movabs rax, 0
sub r10, rax
lea rdi, [0x14099fa96]
bsr edx, eax
sub r9, 4
sal dl, cl
cwd
cmovne dx, r13w
mov edx, dword [r9]
xor edx, r10d
inc edx
test r9w, di
neg edx
jmp 0x1409e1a97
bswap edx
cmc
neg edx
push r10
sets r10b
sub r10b, 0xdb
xor dword [rsp], edx
pop r10
test cx, r10w
movsxd rdx, edx
cmc
cmp r9w, 0x1c26
add rdi, rdx
jmp 0x140a0f9fb
jmp rdi