joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000aa30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400e40b4]
mov rbx, rcx
test esi, esi
jle 0x14000ab60
mov rax, qword [0x1400e40b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000aa7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000ab05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000aa60
mov rcx, rbx
call fcn.14000b480
mov rdi, rax
test rax, rax
je 0x14000ab82
mov rax, qword [0x1400e40b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000b5c0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400e40b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000ab67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000aafe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000ab10
add dword [0x1400e40b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400e40b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000aafe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000a9c0
nop dword [rax]
xor esi, esi
jmp 0x14000aa88
mov rax, qword [0x1400e40b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000a9c0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000a9c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000b0f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400e4120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400e4100]
test rbx, rbx
je 0x14000b14c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000b143
test rsi, rsi
je 0x14000b143
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000b128
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000b480
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400be260]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000b4a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000b4a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000b4a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000b4fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000b4f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000b4a0
add rax, 0x28
cmp rax, r9
jne 0x14000b4e0
xor eax, eax
ret

Function at 0x14000b500
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400be260]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000b51f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000b528
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000b51f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000b5c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400be260]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000b5df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000b5e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140078240
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140078288
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007825a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b2b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b7da0]
jmp 0x14000c2d0

Function at 0x1400b2b20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b7da0]
jmp 0x14000c2d0
Function at 0x140001350
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x20]
and qword [r11 - 0x40], 0
xor r9d, r9d
mov edx, 0x10000
mov qword [r11 - 0x48], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jns 0x14000139f
lea rcx, [0x140002780]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400014a7
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ntoskrnl.exe_IoGetRelatedDeviceObject]
mov dl, 1
mov rdi, rax
mov cl, byte [rax + 0x4c]
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov rbx, rax
test rax, rax
jne 0x1400013d2
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x1400027e0]
jmp 0x140001393
xor r8d, r8d
lea rcx, [rbp - 0x20]
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov byte [rbp + 0x18], 1
lea rax, [rbp + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rbp - 0x20]
mov qword [rbx + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rbx + 0x48], rax
mov rax, qword [rbp + 0x20]
mov qword [rbx + 0xc0], rax
mov rax, qword gs:[0x188]
mov rcx, qword [rbx + 0xb8]
mov qword [rbx + 0x98], rax
mov byte [rbx + 0x40], 0
mov byte [rcx - 0x48], 6
mov qword [rcx - 0x20], rdi
mov rax, qword [rbp + 0x20]
mov qword [rcx - 0x18], rax
mov dword [rcx - 0x40], 1
mov dword [rcx - 0x38], 0xd
mov rax, qword [rbp + 0x20]
mov qword [rcx - 0x30], rax
lea rcx, [0x140001580]
mov rax, qword [rbx + 0xb8]
and qword [rax - 8], 0
mov qword [rax - 0x10], rcx
mov byte [rax - 0x45], 0xe0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rcx + 0x28]
mov rcx, rdi
and qword [rdx + 0x10], 0
and qword [rdx], 0
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
and qword [rsp + 0x20], 0
lea rcx, [rbp - 0x20]
mov r9b, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400014bc
Capabilities:
Print debug messages

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, cr8
test al, al
jne 0x140001574
mov rdx, rcx
lea rcx, [rbp + 7]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rbp + 0xf]
lea rcx, [0x140002770]
call sub.ntoskrnl.exe_DbgPrint
and qword [rbp + 0x2f], 0
lea rax, [rbp + 7]
mov dword [rsp + 0x68], 0x100
lea r9, [rbp + 0x17]
and qword [rsp + 0x60], 0
lea r8, [rbp + 0x27]
and dword [rsp + 0x58], 0
lea rcx, [rbp + 0x6f]
and dword [rsp + 0x50], 0
mov edx, 0x80
and qword [rsp + 0x48], 0
xorps xmm0, xmm0
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], edx
and qword [rsp + 0x20], 0
mov dword [rbp + 0x27], 0x30
mov dword [rbp + 0x3f], 0x240
mov qword [rbp + 0x37], rax
movdqu xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
test eax, eax
js 0x140001574
mov rax, qword [rbp + 0x6f]
jmp 0x140001576
xor eax, eax
add rsp, 0xc0
pop rbp
ret
Function at 0x1400015c4
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140007320]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp - 9]
and qword [r11 - 0x70], 0
xor r9d, r9d
mov edx, 0x10000
mov qword [r11 - 0x78], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jns 0x140001625
lea rcx, [0x140002780]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x140001730
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_IoGetRelatedDeviceObject]
mov dl, 1
mov rdi, rax
mov cl, byte [rax + 0x4c]
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov rbx, rax
test rax, rax
jne 0x140001658
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x1400027b0]
jmp 0x140001619
xor r8d, r8d
lea rcx, [rbp - 1]
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor eax, eax
lea rdx, [0x140001580]
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x47], 0x80
lea rax, [rbp + 0x27]
movups xmmword [rbp + 0x37], xmm0
mov qword [rbx + 0x18], rax
lea rax, [rbp - 1]
mov qword [rbx + 0x50], rax
lea rax, [rbp + 0x17]
mov qword [rbx + 0x48], rax
mov rax, qword [rbp - 9]
mov qword [rbx + 0xc0], rax
mov rax, qword gs:[0x188]
mov rcx, qword [rbx + 0xb8]
mov qword [rbx + 0x98], rax
mov byte [rbx + 0x40], 0
mov byte [rcx - 0x48], 6
mov qword [rcx - 0x20], rdi
mov rax, qword [rbp - 9]
mov qword [rcx - 0x18], rax
mov dword [rcx - 0x40], 0x28
mov dword [rcx - 0x38], 4
mov rax, qword [rbp - 9]
mov qword [rcx - 0x30], rax
mov rcx, qword [rbx + 0xb8]
and qword [rcx - 8], 0
mov qword [rcx - 0x10], rdx
mov rdx, rbx
mov byte [rcx - 0x45], 0xe0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
and qword [rsp + 0x20], 0
lea rcx, [rbp - 1]
mov r9b, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400021b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140001754
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.1400014bc
mov rdi, rax
test rax, rax
jne 0x14000177b
lea rcx, [0x140002810]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400017c3
mov rcx, rdi
call fcn.1400015c4
mov rcx, rdi
test al, al
jne 0x1400017a0
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [0x140002830]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400017c3
call fcn.140001350
mov bl, al
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, bl
jmp 0x1400017c3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400017d0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140007320]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x114
call fcn.140002680
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov ebx, dword [rsp + 0x2c]
lea rcx, [0x140002860]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400021b0
add rsp, 0x150
pop rbx
ret

Function at 0x140001a10
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
lea rdx, [0x1400028d0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x78]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x140001ab7
lea rdx, [0x140002920]
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 0x140001a94
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, edi
jmp 0x140001ab7
lea rax, [0x140001b60]
mov ecx, 0x1b
lea rdi, [rbx + 0x70]
rep stosq qword [rdi], rax
lea rax, [0x1400018b0]
mov qword [rbx + 0xe0], rax
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140006880
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x14000c7f0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x14000c8e8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140006901
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x14000c8e8]
jmp 0x14000691d
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x14000c8e8], r11
mov qword [0x14000c888], rax
mov rax, qword [0x14000bb88]
mov qword [0x14000c760], r11
mov qword [0x14000c870], rdi
mov dword [0x14000c750], 0xc0000409
mov dword [0x14000c754], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x14000bb80]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140009818]
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]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x14000bb88]
jne 0x140006ff9
rol rcx, 0x10
test cx, 0xffff
jne 0x140006ff5
ret
ror rcx, 0x10
jmp 0x140006880
Function at 0x140006a10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
mov edi, esi
xor eax, eax
lock cmpxchg qword [0x14000ced0], rbx
je 0x140006a56
cmp rax, rbx
jne 0x140006a49
mov edi, 1
jmp 0x140006a56
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006a30
mov eax, dword [0x14000cec8]
cmp eax, 1
jne 0x140006a6b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x140006aaa
mov eax, dword [0x14000cec8]
test eax, eax
jne 0x140006aa0
mov dword [0x14000cec8], 1
lea rdx, [0x140008258]
lea rcx, [0x140008240]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x140006aaa
mov eax, 0xff
jmp 0x140006b8b
mov dword [0x14000cce4], 1
mov eax, dword [0x14000cec8]
cmp eax, 1
jne 0x140006ad2
lea rdx, [0x140008238]
lea rcx, [0x140008220]
call sub.MSVCR80.dll__initterm
mov dword [0x14000cec8], 2
test edi, edi
jne 0x140006add
xchg qword [0x14000ced0], rsi
cmp qword [0x14000cee8], 0
je 0x140006b06
lea rcx, [0x14000cee8]
call fcn.140006f40
test eax, eax
je 0x140006b06
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000cee8]
mov rcx, qword [sym.imp.MSVCR80.dll___initenv]
mov rax, qword [0x14000ccc8]
mov qword [rcx], rax
mov r8, qword [0x14000ccc8]
mov rdx, qword [0x14000ccd0]
mov ecx, dword [0x14000ccc0]
call fcn.1400027c8
mov dword [0x14000cce0], eax
cmp dword [0x14000ccc4], 0
jne 0x140006b47
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x14000cce4], 0
jne 0x140006b5c
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x14000cce0]
jmp 0x140006b8b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
sub rsp, 0x28
call fcn.140185000
add rsp, 0x28
jmp 0x140006a10
Function at 0x140001260
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x140001276
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001278
xor eax, eax
test eax, eax
je 0x140001288
mov ecx, eax
call fcn.140002e90
or eax, 0xffffffff
jmp 0x14000128a
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400017bc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000162c

Function at 0x140001b63
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140010050]
jne 0x14000102a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001026
repz ret
ror rcx, 0x10
jmp 0x140001abc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002dc40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002dd38]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001b41
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14002dc40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001b63
mov rax, qword [rsp + 0x88]
mov qword [0x14002dd38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002dcd8], rax
mov rax, qword [0x14002dd38]
mov qword [0x14002dbb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002dcc0], rax
mov dword [0x14002dba0], 0xc0000409
mov dword [0x14002dba4], 1
mov rax, qword [0x140010050]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140010058]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002dc38], eax
mov ecx, 1
call fcn.14000594c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b410]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002dc38], 0
jne 0x140001bea
mov ecx, 1
call fcn.14000594c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400076a8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140010050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400027cc
xor ebx, ebx
cmp qword [0x14002eb28], rbx
mov rdi, rax
jne 0x1400077bb
lea rcx, [0x14000ce00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140007892
lea rdx, [0x14000cdf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007892
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002eb28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002eb30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x14000cda8]
mov rcx, rsi
mov qword [0x14002eb38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14002eb48], rax
test rax, rax
je 0x1400077b2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14002eb40], rax
jmp 0x1400077c2
mov rax, qword [0x14002eb40]
jmp 0x1400077c9
mov rax, qword [0x14002eb40]
mov r11, qword [0x14002eb48]
cmp rax, rdi
je 0x140007830
cmp r11, rdi
je 0x140007830
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14002eb48]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140007830
test rax, rax
je 0x140007830
call rsi
test rax, rax
je 0x14000782a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000782a
test byte [rsp + 0x40], 1
jne 0x140007830
bts ebp, 0x15
jmp 0x140007870
mov rcx, qword [0x14002eb30]
cmp rcx, rdi
je 0x140007870
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140007870
call rax
mov rbx, rax
test rax, rax
je 0x140007870
mov rcx, qword [0x14002eb38]
cmp rcx, rdi
je 0x140007870
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140007870
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002eb28]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140007892
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140007894
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001010
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400096d0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140010050]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140009764
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140001010
add rsp, 0x80
pop rbx
ret