joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400275dc
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 0x1400273cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400273cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400273cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400273cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400273cb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400273cb
cmp dword [rcx + 0xf8], 0
je 0x1400273cb
mov ecx, ebx
call fcn.1400274fc
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.140027150
cmp dword [rbp + 0x20], 0
je 0x140027418
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140027420
int3
xor r8d, r8d
xor edx, edx
jmp 0x140027364
Function at 0x14000117c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140065b38]
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 0x1400011ef
cmp dword [rsp + 0x30], 0x14
ja 0x1400011ef
cmp dword [rsp + 0x4c], 4
jne 0x1400011ef
cmp dword [rsp + 0x50], 4
jne 0x1400011ef
mov edi, dword [rsp + 0x54]
mov dword [rsi], edi
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000d8a0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001418
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 r12, rdx
mov r13, rcx
test rdi, rdi
je 0x140001483
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 0x140001472
mov eax, 0xc0000017
jmp 0x1400015b1
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rax
call fcn.14000da40
jmp 0x140001487
xor esi, esi
xor ebx, ebx
mov rdx, r12
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, r13
lea ebp, [r9 + 2]
mov r8d, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0x80000005
je 0x1400014d1
cmp eax, 0xc0000023
jne 0x1400015a2
cmp dword [rsp + 0x90], 0x10
jb 0x1400015a2
mov edx, dword [rsp + 0x90]
mov r12d, 0x67666e43
mov r8d, r12d
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x1400015a2
lea rax, [rsp + 0x90]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x90]
mov r8d, ebp
mov rcx, r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x140001596
cmp dword [rdi + 4], r15d
jne 0x140001596
mov ecx, dword [rdi + 8]
lea eax, [rcx - 1]
cmp eax, 0xfffe
ja 0x140001596
mov esi, ecx
test rbx, rbx
je 0x14000155c
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov esi, dword [rdi + 8]
mov r8d, r12d
mov edx, esi
xor ecx, ecx
mov ebp, esi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
lfence
test rax, rax
jne 0x140001587
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001468
lea rdx, [rdi + 0xc]
mov r8, rbp
mov rcx, rax
call fcn.14000da40
mov edx, r12d
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 0x14000191c
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x18], 0
lea rax, [0x14000df40]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [0x14000df60]
mov dword [rbp - 0x20], 0x20001e
mov qword [rbp - 8], rax
mov r9d, 0x22
lea rax, [rbp + 0x18]
mov dword [rbp - 0x10], 0x280026
mov qword [rsp + 0x30], rax
xor edx, edx
mov byte [rsp + 0x28], 0
mov rbx, rcx
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x140001988
lfence
jmp 0x1400019f4
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
lfence
test eax, eax
jns 0x1400019ab
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x1400019f2
lea rax, [0x140001a10]
mov qword [rbx + 0x70], rax
lea rax, [0x140001a10]
mov qword [rbx + 0x80], rax
lea rax, [0x140001a10]
mov qword [rbx + 0x100], rax
lea rax, [0x140001a30]
mov qword [rbx + 0xe0], rax
mov rax, qword [rbp + 0x18]
mov qword [0x140065b70], rax
mov byte [0x140065b68], 1
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140009d5c
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor edx, edx
lea rcx, [0x140066228]
call fcn.14000d4e8
test eax, eax
jns 0x140009d83
lfence
jmp 0x140009e21
xor r8d, r8d
lea rdx, [0x140009e60]
xor ecx, ecx
call section..text
mov edx, 1
lea rcx, [0x140066220]
call fcn.14000d4e8
mov ebx, eax
test eax, eax
jns 0x140009db7
lfence
mov rcx, qword [0x140066228]
jmp 0x140009e1a
xor r8d, r8d
lea rdx, [0x140009e40]
lea ecx, [r8 + 1]
call section..text
lea r8, [0x140065b80]
mov rcx, rdi
lea rdx, [0x1400631d0]
call sub.FLTMGR.SYS_FltRegisterFilter
mov ebx, eax
test eax, eax
js 0x140009e04
mov rcx, qword [0x140065b80]
call sub.FLTMGR.SYS_FltStartFiltering
mov ebx, eax
test eax, eax
jns 0x140009e2c
mov rcx, qword [0x140065b80]
call sub.FLTMGR.SYS_FltUnregisterFilter
lfence
mov rcx, qword [0x140066228]
call fcn.14000d420
mov rcx, qword [0x140066220]
call fcn.14000d420
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lfence
mov byte [0x140065b78], 1
jmp 0x140009e21
Function at 0x14000a2ac
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 0x14000a36c
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x14000a30c
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 0x14000a367
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 0x14000a2e9
lfence
test eax, eax
jns 0x14000a35b
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x14000a36c
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x14000a357
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 0x14000b2f4
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x38]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000b377
mov rcx, qword [rbx + 0x20]
call fcn.14000a588
mov rcx, qword [rsp + 0x38]
mov rbx, rax
call fcn.14000a588
mov rdi, rax
test rbx, rbx
je 0x14000b36c
test rax, rax
je 0x14000b36c
lea rcx, [0x140066100]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rdx, qword [rbx]
cmp qword [rbx + 8], rdx
jne 0x14000b35f
mov rax, qword [rdi]
mov qword [rbx + 8], rdi
mov qword [rbx], rax
mov qword [rdi], rbx
mov qword [rax + 8], rbx
lea rcx, [0x140066100]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c018
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
and qword [rbp + 0x6f], 0
lea r9, [0x14000bfd0]
and qword [rbp - 0x59], 0
lea r8, [0x14000bef0]
and qword [rsp + 0x20], 0
lea rdx, [0x14000bf70]
mov rsi, rcx
lea rcx, [0x140065e60]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTableAvl]
lea r8, [rbp - 0x59]
mov ecx, 5
lea rdx, [rbp + 0x6f]
call fcn.14000a2ac
mov ebx, eax
test eax, eax
jns 0x14000c081
lfence
jmp 0x14000c19a
mov rax, qword [rbp + 0x6f]
xor ecx, ecx
mov rdi, rax
and qword [rbp + 0x77], 0
add rax, rcx
mov qword [rbp + 0x6f], rax
cmp qword [rax + 0x50], 0
je 0x14000c185
and qword [rbp - 0x31], 0
lea r9, [rbp - 0x49]
and qword [rbp - 0x29], 0
lea r8, [rbp - 0x39]
xorps xmm0, xmm0
mov dword [rbp - 0x39], 0x30
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 0x21], 0x200
lea rcx, [rbp - 0x51]
mov rax, qword [rax + 0x50]
mov edx, 0x1000
and qword [rbp - 0x41], 0
mov qword [rbp - 0x49], rax
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov ebx, eax
test eax, eax
js 0x14000c181
mov rdx, qword [rbp - 0x51]
lea r9, [rbp - 0x59]
lea r8, [rbp + 0x7f]
mov ecx, 0x1b
call fcn.14000a1b4
mov rcx, qword [rbp - 0x51]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
js 0x14000c181
xor edx, edx
lea rcx, [rbp - 9]
lea r8d, [rdx + 0x48]
call fcn.14000dd00
mov rcx, qword [rbp + 0x6f]
lea rdx, [rbp + 0x77]
mov rax, qword [rcx + 0x50]
mov qword [rbp - 9], rax
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x14000c178
mov rax, qword [rbp + 0x77]
lea rcx, [rbp - 9]
mov r8, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0x7f]
mov qword [rbp + 0x17], rax
mov rax, rsi
mov r8, qword [r8 + 0x58]
call qword [0x14000f218]
lea rcx, [rbp - 9]
call fcn.14000be98
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x7f]
call fcn.140009eac
mov rax, qword [rbp + 0x6f]
mov ecx, dword [rax]
test rcx, rcx
jne 0x14000c08a
mov rcx, rdi
call fcn.140009eac
mov eax, ebx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c874
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbx, rdx
cmp dword [rdx + 8], 0
jl 0x14000ca4a
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, rax
call fcn.14000b2a8
test al, al
jne 0x14000ca4a
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rbx]
lea rcx, [0x140065e28]
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectID]
test eax, eax
js 0x14000ca4a
mov rdi, qword [rbx + 0x10]
lea r8, [rsp + 0x60]
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 0xc]
call fcn.14000c6ec
test al, al
je 0x14000ca4a
and dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140065e58]
call fcn.14000d354
cmp dword [rsp + 0xa0], 0
jbe 0x14000ca4a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_CmKeyObjectType]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
test eax, eax
js 0x14000ca4a
mov edx, dword [rdi + 0x18]
mov ecx, 1
mov r8d, 0x46526c46
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000ca38
mov edx, dword [rdi + 8]
add edx, dword [rsp + 0xa0]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov ecx, dword [rdi + 0x18]
mov dword [rsp + 0x20], ecx
mov r9, rsi
mov r8d, dword [rdi + 0xc]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x14000ca28
lfence
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, dword [rdi + 0xc]
call fcn.14000c6ec
test al, al
je 0x14000ca28
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140065e58]
call fcn.14000d354
test al, al
jne 0x14000c97c
mov rdx, qword [rdi + 0x20]
mov eax, dword [rsp + 0xa8]
mov dword [rdx], eax
lfence
mov r8d, dword [rsp + 0xa8]
mov rdx, rsi
mov rcx, qword [rdi + 0x10]
call fcn.14000da40
jmp 0x14000ca28
mov edx, 0x46526c46
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000ca3b
xor r14d, r14d
mov dword [rbx + 0x18], r14d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x14000ca60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbx, rdx
cmp dword [rdx + 8], 0
jl 0x14000cc36
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, rax
call fcn.14000b2a8
test al, al
jne 0x14000cc36
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rbx]
lea rcx, [0x140065e28]
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectID]
test eax, eax
js 0x14000cc36
mov rdi, qword [rbx + 0x10]
lea r8, [rsp + 0x60]
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 0xc]
call fcn.14000c720
test al, al
je 0x14000cc36
and dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140065e50]
call fcn.14000d354
cmp dword [rsp + 0xa0], 0
jbe 0x14000cc36
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_CmKeyObjectType]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
test eax, eax
js 0x14000cc36
mov edx, dword [rdi + 0x18]
mov ecx, 1
mov r8d, 0x46526c46
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000cc24
mov edx, dword [rdi + 8]
add edx, dword [rsp + 0xa0]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov ecx, dword [rdi + 0x18]
mov dword [rsp + 0x20], ecx
mov r9, rsi
mov r8d, dword [rdi + 0xc]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x14000cc14
lfence
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, dword [rdi + 0xc]
call fcn.14000c720
test al, al
je 0x14000cc14
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140065e50]
call fcn.14000d354
test al, al
jne 0x14000cb68
mov rdx, qword [rdi + 0x20]
mov eax, dword [rsp + 0xa8]
mov dword [rdx], eax
lfence
mov r8d, dword [rsp + 0xa8]
mov rdx, rsi
mov rcx, qword [rdi + 0x10]
call fcn.14000da40
jmp 0x14000cc14
mov edx, 0x46526c46
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000cc27
xor r14d, r14d
mov dword [rbx + 0x18], r14d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x1400047d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
call fcn.1400034e0
movzx eax, word [0x140006374]
mov word [rsp + 0x70], ax
cmp byte [0x140006375], 0
je 0x140004802
mov byte [rsp + 0x70], 0xa
xor byte [rsp + 0x71], 0x32
lea rcx, [rsp + 0x70]
call fcn.140001060
call fcn.1400012a0
call fcn.1400020d0
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140002ae0
movsd xmm0, qword [0x140006540]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x140006548]
mov dword [rsp + 0x30], eax
cmp byte [0x14000654b], 0
je 0x14000499c
xor ecx, ecx
cmp dword [0x140008018], 2
jl 0x140004963
movdqa xmm4, xmmword [0x140006a10]
mov eax, 4
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400069b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400069e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400069f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [0x140006540]
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm3, xmmword [0x1400069d0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400069e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400069f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [rsp + 0x2c]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x140004970
lea rdx, [rsp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a00
movzx ecx, word [0x140006374]
mov word [rsp + 0x70], cx
cmp byte [0x140006375], 0
je 0x1400049cc
mov byte [rsp + 0x70], 0xa
xor byte [rsp + 0x71], 0x32
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140004a00
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x1400049ed
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
ret

Function at 0x14000560c
Capabilities:
Parse pe header

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

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

Function at 0x1402eb374
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402eb170
Function at 0x1402ef73c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1402ef7c3
mov rsi, rbx
cmp word [rax], bp
je 0x1402ef782
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1402ef76c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1402ef768
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1402ebc4c
mov rdi, rax
test rax, rax
je 0x1402ef7b0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1402f6d70
mov rbp, rdi
xor ecx, ecx
call fcn.1402eca98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402f6490
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1402f64b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1402f64b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140006008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140006008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140006008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret