joyce8/EMBER2024-capa huggingface dataset:
Function at 0x216c8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r12
push r13
push r14
sub rsp, 0x110
mov rax, qword [0x00016100]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
xor r13b, r13b
xor esi, esi
mov qword [rsp + 0x38], rsi
and qword [rsp + 0x48], rsi
and dword [rsp + 0x30], esi
and dword [rsp + 0x34], esi
mov byte [rsp + 0x68], sil
xor eax, eax
mov qword [rsp + 0x69], rax
mov dword [rsp + 0x71], eax
mov word [rsp + 0x75], ax
mov byte [rsp + 0x77], al
mov byte [rsp + 0x80], al
xor edx, edx
lea r8d, [rsi + 0x7f]
lea rcx, [rsp + 0x81]
call fcn.00013190
and dword [rsp + 0x50], esi
xor edx, edx
lea r8d, [rsi + 0x14]
lea rcx, [rsp + 0x54]
call fcn.00013190
lea rcx, [rsp + 0x40]
call fcn.0001f4cc
test eax, eax
js 0x218f0
lea r14d, [rsi + 1]
mov r8b, r14b
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlPrefixUnicodeString]
test al, al
je 0x218f0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.0001f670
test eax, eax
js 0x218eb
mov r12d, dword [rsp + 0x30]
cmp r12d, 0x40
jb 0x218eb
mov eax, 0x5a4d
mov rsi, qword [rsp + 0x38]
cmp word [rsi], ax
jne 0x218f0
movsxd rdx, dword [rsi + 0x3c]
lea rcx, [rdx + 0x48]
mov rax, r12
cmp r12, rcx
jb 0x218f0
cmp dword [rdx + rsi], 0x4550
jne 0x218f0
mov ebx, dword [rsi + 0x28]
test ebx, ebx
je 0x218f0
lea eax, [r12 - 0x80]
cmp ebx, eax
ja 0x218f0
mov dword [rsp + 0x34], 0x18
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x000181c0]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
lea rcx, [rsi + rbx]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x80]
lea edx, [r14 + 0x7f]
call fcn.00012534
mov ebx, eax
xor r8d, r8d
mov edx, r14d
lea rcx, [0x000181c0]
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
test ebx, ebx
je 0x218f0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov r8, qword [rsp + 0x80]
shr r8, 0x20
test r8d, r8d
je 0x218f0
cmp r8d, r12d
ja 0x218f0
mov ecx, dword [rsp + 0x80]
lea eax, [r8 + rcx]
cmp eax, r12d
ja 0x218f0
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x80]
call fcn.00011af0
lea rcx, [rsp + 0x80]
call fcn.00011b1c
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.00011bfc
lea r8d, [r14 + 0xf]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
movzx r13d, r13b
cmp rax, 0x10
cmove r13d, r14d
jmp 0x218f0
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x21903
mov edx, 0x64534649
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [rsp + 0x48], 0
je 0x2191a
mov edx, 0x73535349
lea rcx, [rsp + 0x40]
call fcn.0001ed44
mov al, r13b
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.000130a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x21950
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
and dword [rsp + 0x60], 0
mov rdi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
je 0x21979
and qword [r8], 0
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
cmp eax, 0xc0000023
je 0x219d8
cmp eax, 0xc0000034
je 0x21a41
test eax, eax
jns 0x21a41
xor edx, edx
mov dword [rsp + 0x28], eax
lea r9, [0x000222f0]
lea r8, [0x00022b80]
lea ecx, [rdx + 0x65]
mov dword [rsp + 0x20], 0x16e
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x21a41
test rdi, rdi
je 0x21a41
mov edx, dword [rsp + 0x60]
mov ecx, 1
mov r8d, 0x73525349
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
jne 0x21a01
mov ebx, 0xc000009a
jmp 0x21a41
lea rax, [rsp + 0x60]
mov r9, rsi
mov r8d, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov rdx, rbp
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
test eax, eax
js 0x21a33
mov qword [rdi], rsi
jmp 0x21a41
mov edx, 0x73525349
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x21a5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rsi, r9
mov r13, rdx
mov r14, rcx
mov rdi, qword [rsp + 0x70]
mov r12d, dword [rdi]
add r12d, 0x410
mov edx, r12d
mov ecx, 1
mov r8d, 0x73525349
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x21ab0
mov eax, 0xc000009a
jmp 0x21b15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
mov r8d, 2
mov rdx, r13
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov r12d, eax
test eax, eax
jne 0x21b04
test rsi, rsi
je 0x21aff
cmp dword [rdi], eax
jbe 0x21aff
mov ecx, dword [rbx + 8]
cmp dword [rdi], ecx
cmovb ecx, dword [rdi]
mov dword [rdi], ecx
mov r8d, ecx
lea rdx, [rbx + 0xc]
mov rcx, rsi
call fcn.00013290
jmp 0x21b04
mov eax, dword [rbx + 8]
mov dword [rdi], eax
mov edx, 0x73525349
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r13
pop r12
ret
Function at 0x21be8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x60
and qword [rax + 8], 0
and qword [rax - 0x30], 0
and qword [rax - 0x18], 0
and qword [rax - 0x10], 0
mov qword [rax - 0x28], rcx
mov rdi, rdx
lea rcx, [rax + 8]
lea r8, [rax - 0x38]
mov edx, 0xf003f
mov rbx, r9
mov dword [rax - 0x38], 0x30
mov dword [rax - 0x20], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x21c67
mov rcx, qword [rsp + 0x70]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x21fd8
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbx
sub rsp, 0x80
and qword [rax + 0x20], 0
mov rdx, rcx
lea rcx, [rax - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00022da0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.00021b38
test eax, eax
js 0x22172
mov rbx, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x98]
cmp dword [rbx + 0xc], eax
je 0x22066
lea r9, [rsp + 0x98]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov r8d, 4
mov dword [rsp + 0x20], 4
call fcn.00021be8
mov edx, 0x73525349
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rdx, [0x00022db0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.00021b38
test eax, eax
js 0x22172
mov rbx, qword [rsp + 0xa8]
mov eax, dword [rsp + 0xa0]
cmp dword [rbx + 0xc], eax
je 0x220de
lea r9, [rsp + 0xa0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov r8d, 4
mov dword [rsp + 0x20], 4
call fcn.00021be8
mov edx, 0x73525349
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rdx, [0x00022dc0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0xa8], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0xa8]
mov edx, 0xf003f
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x50], 0x30
mov dword [rsp + 0x68], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x22170
mov rcx, qword [rsp + 0xa8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
add rsp, 0x80
pop rbx
ret
Function at 0x24008
Capabilities:
Create device object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
and qword [rax + 0x18], 0
mov rax, qword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov rbx, rcx
movzx edx, word [rax]
cmp edx, 0xa28
je 0x24080
cmp edx, 0xece
je 0x24080
cmp edx, 0x1770
jb 0x24046
cmp edx, 0x1772
jbe 0x24080
cmp edx, 0x1db0
jb 0x24056
cmp edx, 0x1db1
jbe 0x24080
cmp edx, 0x20d0
jb 0x24066
cmp edx, 0x23f0
jbe 0x24080
cmp edx, 0x24d7
jb 0x24076
cmp edx, 0x2580
jbe 0x24080
mov eax, 0xc00000bb
jmp 0x2428e
lea rdx, [0x00024880]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x80]
mov r9d, 8
mov qword [rsp + 0x30], rdx
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x68]
mov rcx, rbx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x2428e
mov rax, qword [rsp + 0x80]
test rax, rax
jne 0x240e3
mov eax, 0xc00000e9
jmp 0x2428e
mov qword [0x00018240], rax
mov rax, qword [rax + 0x40]
lea rcx, [fcn.0001cee8]
mov qword [rax + 0x10], rcx
lea rcx, [fcn.0001d180]
lea rdx, [0x000248b0]
mov qword [rax + 0x18], rcx
lea rcx, [0x0001d338]
mov dword [rax + 8], 1
mov qword [rax + 0x20], rcx
lea rcx, [fcn.0001d3c8]
mov qword [rax + 0x28], rcx
lea rcx, [0x0001d454]
mov qword [rax + 0x30], rcx
lea rcx, [fcn.0001d504]
mov qword [rax + 0x38], rcx
lea rcx, [0x0001d5f8]
mov qword [rax + 0x40], rcx
lea rcx, [fcn.0001d6d8]
mov qword [rax + 0x48], rcx
lea rcx, [0x0001d804]
mov qword [rax + 0x50], rcx
lea rcx, [fcn.0001d8ec]
mov qword [rax + 0x58], rcx
lea rcx, [fcn.0001da38]
mov qword [rax + 0x60], rcx
lea rcx, [fcn.0001db7c]
mov qword [rax + 0x68], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test eax, eax
jns 0x241b6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
jmp 0x2428e
lea rax, [0x0001ecb4]
lea rdi, [rbx + 0x70]
mov ecx, 0x1c
rep stosq qword [rdi], rax
lea rax, [0x0001e888]
mov qword [rbx + 0x70], rax
lea rax, [0x0001e8e4]
mov qword [rbx + 0xe0], rax
lea rax, [0x0001eb78]
mov qword [rbx + 0xf0], rax
lea rax, [0x0001e828]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x80]
or dword [rax + 0x30], 0x10
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x98], 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
mov edi, eax
test eax, eax
jns 0x2423d
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
jmp 0x241a1
mov rcx, rbx
call fcn.000242a0
lea rdx, str.___
lea rcx, [0x000198b0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x000173b0]
lea rcx, [0x000198c0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
call fcn.00020f38
call fcn.00021328
lea rcx, [0x000181c0]
mov r8b, 1
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.000247fc
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp 0x24008
Function at 0x242a0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x30
call fcn.00024394
lea rdx, [0x000248f0]
lea rcx, [rsp + 0x20]
mov dword [0x00018680], 0x11c
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
xor ebx, ebx
cmp rax, rbx
je 0x242e4
lea rcx, [0x00018680]
call rax
jmp 0x24317
call qword [sym.imp.ntoskrnl.exe_MmIsThisAnNtAsSystem]
lea r8, [0x0001868c]
lea rdx, [0x00018688]
neg al
sbb cl, cl
xor r9d, r9d
and cl, 2
inc cl
mov byte [0x0001879a], cl
lea rcx, [0x00018684]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [0x00018684], 6
jne 0x24386
mov eax, dword [0x00018688]
cmp eax, ebx
je 0x2433e
cmp eax, 1
jne 0x24346
cmp dword [0x0001868c], 0x1db1
sete bl
inc ebx
mov dword [0x000175cc], ebx
jmp 0x24386
cmp eax, 2
jne 0x24363
cmp dword [0x0001868c], 0x23f0
jne 0x24386
mov dword [0x000175cc], 3
jmp 0x24386
cmp eax, 3
jne 0x24386
mov eax, dword [0x000175cc]
cmp dword [0x0001868c], 0x2580
mov ecx, 4
cmove eax, ecx
mov dword [0x000175cc], eax
add rsp, 0x30
pop rbx
ret
Function at 0x24858
Capabilities:
Create device object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
and qword [rax + 0x18], 0
mov rax, qword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov rbx, rcx
movzx edx, word [rax]
cmp edx, 0xa28
je 0x24080
cmp edx, 0xece
je 0x24080
cmp edx, 0x1770
jb 0x24046
cmp edx, 0x1772
jbe 0x24080
cmp edx, 0x1db0
jb 0x24056
cmp edx, 0x1db1
jbe 0x24080
cmp edx, 0x20d0
jb 0x24066
cmp edx, 0x23f0
jbe 0x24080
cmp edx, 0x24d7
jb 0x24076
cmp edx, 0x2580
jbe 0x24080
mov eax, 0xc00000bb
jmp 0x2428e
lea rdx, [0x00024880]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x80]
mov r9d, 8
mov qword [rsp + 0x30], rdx
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x68]
mov rcx, rbx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x2428e
mov rax, qword [rsp + 0x80]
test rax, rax
jne 0x240e3
mov eax, 0xc00000e9
jmp 0x2428e
mov qword [0x00018240], rax
mov rax, qword [rax + 0x40]
lea rcx, [fcn.0001cee8]
mov qword [rax + 0x10], rcx
lea rcx, [fcn.0001d180]
lea rdx, [0x000248b0]
mov qword [rax + 0x18], rcx
lea rcx, [0x0001d338]
mov dword [rax + 8], 1
mov qword [rax + 0x20], rcx
lea rcx, [fcn.0001d3c8]
mov qword [rax + 0x28], rcx
lea rcx, [0x0001d454]
mov qword [rax + 0x30], rcx
lea rcx, [fcn.0001d504]
mov qword [rax + 0x38], rcx
lea rcx, [0x0001d5f8]
mov qword [rax + 0x40], rcx
lea rcx, [fcn.0001d6d8]
mov qword [rax + 0x48], rcx
lea rcx, [0x0001d804]
mov qword [rax + 0x50], rcx
lea rcx, [fcn.0001d8ec]
mov qword [rax + 0x58], rcx
lea rcx, [fcn.0001da38]
mov qword [rax + 0x60], rcx
lea rcx, [fcn.0001db7c]
mov qword [rax + 0x68], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test eax, eax
jns 0x241b6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
jmp 0x2428e
lea rax, [0x0001ecb4]
lea rdi, [rbx + 0x70]
mov ecx, 0x1c
rep stosq qword [rdi], rax
lea rax, [0x0001e888]
mov qword [rbx + 0x70], rax
lea rax, [0x0001e8e4]
mov qword [rbx + 0xe0], rax
lea rax, [0x0001eb78]
mov qword [rbx + 0xf0], rax
lea rax, [0x0001e828]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x80]
or dword [rax + 0x30], 0x10
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x98], 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
mov edi, eax
test eax, eax
jns 0x2423d
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
jmp 0x241a1
mov rcx, rbx
call fcn.000242a0
lea rdx, str.___
lea rcx, [0x000198b0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x000173b0]
lea rcx, [0x000198c0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
call fcn.00020f38
call fcn.00021328
lea rcx, [0x000181c0]
mov r8b, 1
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.000247fc
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp 0x24008
Function at 0x1400110fa
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001be00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400340f3]
call fcn.140011906
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001be57
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001bf63
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001befc
cmp qword [rbp + 0x28], 0
jle 0x14001befc
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001be9c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011884
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001bf52
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001bf52
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011532
Capabilities:
Terminate process

Disassembly:
jmp 0x14001eea0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011663
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001f9d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001f9f0
xor al, al
jmp 0x14001fa71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001fa03
xor al, al
jmp 0x14001fa71
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001fa2d
xor al, al
jmp 0x14001fa71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001fa41
xor al, al
jmp 0x14001fa71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001fa53
xor al, al
jmp 0x14001fa71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001fa6f
xor al, al
jmp 0x14001fa71
mov al, 1
add rsp, 0x38
ret
Function at 0x1400118e8
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400185f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400340f3]
call fcn.140011906
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140018656
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001865d
mov al, 1
jmp 0x1400187ad
call fcn.14001129e
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.14001129e
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011730
movzx eax, al
test eax, eax
je 0x1400186ae
xor al, al
jmp 0x1400187ad
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140018713
cmp dword [rbp + 0x154], 1
je 0x14001871e
cmp dword [rbp + 0x154], 3
je 0x14001879c
jmp 0x1400187ab
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001876e
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001876e
xor al, al
jmp 0x1400187ad
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140018789
mov dword [rbp + 0x154], 1
jmp 0x140018793
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400187ad
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400187ad
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140027950]
call fcn.140011780
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001146a
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140005010
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400de7c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
xor sil, sil
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400050d2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400050c9
nop
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140005080
cmp qword [rbx + 0x18], 7
mov r8, rbx
mov rdx, qword [rbx + 0x10]
jbe 0x14000509b
mov r8, qword [rbx]
cmp rdx, rax
jne 0x1400050fb
lea rax, [rsp + 0x4c]
test rdx, rdx
je 0x1400050c6
lea rcx, [rsp + 0x4c]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1400050fb
add rax, 2
sub rdx, 1
jne 0x1400050b2
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140079350
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005070
jmp 0x1400050c9