joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001914
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140007300]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001999
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001fd0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x1400019bc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140007300]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rcx
lea rdi, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
xor ebx, ebx
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rdi]
lea rcx, [rsp + 0x20]
mov r9, rax
mov edx, 0x104
call fcn.140001df0
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140001a3c
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x1400019ec
xor eax, eax
jmp 0x140001a41
mov eax, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001fd0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140001a68
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov rdi, rcx
xor r9d, r9d
movups xmm1, xmmword [0x140004750]
xor r8d, r8d
lea rdx, [0x140004768]
movups xmmword [rax - 0x38], xmm0
lea rcx, [rsp + 0x70]
movups xmmword [rax - 0x28], xmm1
mov eax, dword [0x140004760]
mov dword [rsp + 0x40], eax
mov al, byte [0x140004764]
mov byte [rsp + 0x44], al
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x140001b4c
xor esi, esi
xor ebx, ebx
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x68]
xor r9d, r9d
lea r8d, [r9 + 1]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140001b40
movzx eax, byte [rsp + 0x68]
cmp al, 0xfc
jae 0x140001ac8
mov ecx, eax
movabs rax, 0xe38e38e38e38e38f
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
shl rax, 2
sub rcx, rax
mov al, byte [rsp + rcx + 0x20]
mov byte [rbx + rdi], al
lea eax, [rsi + 1]
inc rbx
mov esi, eax
and eax, 0x80000003
jge 0x140001b26
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x140001b37
cmp rbx, 0x27
jge 0x140001b37
mov byte [rbx + rdi], 0x2d
inc rbx
cmp esi, 0x21
jl 0x140001ac8
mov byte [rdi + 0x27], 0
mov rcx, qword [rsp + 0x70]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140001b5c
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
mov rax, qword [0x140007300]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rbx, r8
mov r12, r9
mov r9, rcx
mov qword [rsp + 0x30], rbx
mov r13, rdx
lea r8, str._s
mov rsi, rcx
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140001df0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140001d0c
test byte [rsp + 0x40], 0x10
lea rcx, [rsp + 0x6c]
je 0x140001c5d
lea rdx, [0x140004ee0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001cd6
lea rdx, [0x140004ee4]
lea rcx, [rsp + 0x6c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001cd6
lea rax, [rsp + 0x6c]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.140001df0
lea rcx, [rbp + 0x80]
call fcn.1400019bc
test eax, eax
jne 0x140001cd6
mov r9, r12
lea rcx, [rbp + 0x80]
mov r8, rbx
mov rdx, r13
call fcn.140001b5c
jmp 0x140001cd6
mov edx, 0x2e
call sub.VCRUNTIME140.dll_strrchr
mov r14, rax
test rax, rax
je 0x140001cd6
xor ebx, ebx
lea rdi, section..data
mov rdx, qword [rdi]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001c9a
inc ebx
add rdi, 8
cmp ebx, 0x57
jb 0x140001c78
mov rbx, qword [rsp + 0x30]
jmp 0x140001cd6
lea rax, [rsp + 0x6c]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.140001df0
mov rbx, qword [rsp + 0x30]
lea rcx, [rbp + 0x80]
mov r8, rbx
mov rdx, r13
call fcn.1400011a4
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001bd4
mov rcx, rsi
call fcn.1400019bc
test eax, eax
jne 0x140001d03
mov rdx, r12
mov rcx, rsi
call fcn.140001104
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140001fd0
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140001d30
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x140007300]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
call fcn.140001914
test eax, eax
jne 0x140001dc1
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001dc1
xor edx, edx
mov dword [rsp + 0x20], 0x70
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call sub.VCRUNTIME140.dll_memset
and qword [rsp + 0x28], 0
lea rax, str.runas
and dword [rsp + 0x50], 0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140001dc1
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140001fd0
add rsp, 0x1b8
ret
Function at 0x140002df4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x140006163
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x140006172
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x1400067d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400220d0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14000691c
test rcx, rcx
je 0x140006845
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x14000691c
xor edi, edi
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400068f1
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400067d0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14000691c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400068a0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140006906
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.140006a00
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x140006927
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000ce70
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x140006a00
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x140024c08], 0
mov rdi, rdx
mov rbx, rcx
jne 0x140006a5b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006a4b
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x140024c08], 1
mov qword [0x140024c10], rax
jmp 0x140006a62
mov rax, qword [0x140024c10]
mov byte [0x140024c08], 1
jmp 0x140006a62
mov rax, qword [0x140024c10]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140006a81
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x1400077a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1400220d0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140007818
call fcn.1400059c0
mov ebx, eax
jmp 0x14000795a
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000783b
call fcn.1400059c0
mov ebx, eax
jmp 0x140007950
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140007860
call fcn.1400059c0
mov ebx, eax
jmp 0x140007950
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140007899
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14000788f
lea rcx, [rsp + 0x70]
call fcn.1400061d0
nop
mov eax, 0x8007000e
jmp 0x140007973
mov ecx, eax
test eax, eax
je 0x1400078d6
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400078cc
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400078d6
lea rcx, [rsp + 0x70]
call fcn.140006100
mov rax, qword [rsp + 0x70]
jmp 0x1400078e0
mov ecx, 0x80070057
call fcn.140007f90
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400078f8
test rax, rax
jne 0x140007904
mov ebx, 0x8007000e
jmp 0x140007950
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14000792b
call fcn.1400059c0
mov ebx, eax
jmp 0x140007950
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140007590
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140007971
lea rcx, [rsp + 0x70]
call fcn.1400061d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000ce70
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret

Function at 0x1400086a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400220d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
mov rbx, rdx
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1400086dd
mov eax, 0x80004005
jmp 0x1400086ed
lea rcx, [rsp + 0x20]
call qword [0x14001a338]
mov qword [rbx], rax
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000ce70
add rsp, 0x240
pop rbx
ret
Function at 0x140008710
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400220d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
mov rbx, rdx
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0x2b]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14000874d
mov eax, 0x80004005
jmp 0x14000875d
lea rcx, [rsp + 0x20]
call qword [0x14001a338]
mov qword [rbx], rax
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000ce70
add rsp, 0x240
pop rbx
ret

Function at 0x140008780
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400220d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rdx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400087c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400087d6
movzx eax, ax
or eax, 0x80070000
jmp 0x1400087d6
lea rcx, [rsp + 0x20]
call qword [0x14001a338]
mov qword [rbx], rax
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000ce70
add rsp, 0x240
pop rbx
ret

Function at 0x1400087f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400220d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rdx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x140008836
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140008846
movzx eax, ax
or eax, 0x80070000
jmp 0x140008846
lea rcx, [rsp + 0x20]
call qword [0x14001a338]
mov qword [rbx], rax
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000ce70
add rsp, 0x240
pop rbx
ret
Function at 0x140009250
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x14000933e
lea rdx, str.LookupAccountNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IsValidSid
mov rcx, rbx
mov qword [rdi + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ConvertStringSidToSidW
mov rcx, rbx
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetNamedSecurityInfoW
mov rcx, rbx
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetEntriesInAclW
mov rcx, rbx
mov qword [rdi + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetNamedSecurityInfoW
mov rcx, rbx
mov qword [rdi + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.AllocateAndInitializeSid
mov rcx, rbx
mov qword [rdi + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateWellKnownSid
mov rcx, rbx
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CopySid
mov rcx, rbx
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.FreeSid
mov rcx, rbx
mov qword [rdi + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ed0b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400220d0]
jne 0x14000ce8a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000ce86
repz ret
ror rcx, 0x10
jmp 0x14000ec64
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140023d10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140023e08]
mov qword [rsp + 0x58], r11
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 0x14000ece9
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, [0x140023d10]
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 0x14000ed0b
mov rax, qword [rsp + 0x88]
mov qword [0x140023e08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140023da8], rax
mov rax, qword [0x140023e08]
mov qword [0x140023c80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140023d90], rax
mov dword [0x140023c70], 0xc0000409
mov dword [0x140023c74], 1
mov rax, qword [0x1400220d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400220d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140023d08], eax
mov ecx, 1
call fcn.140010fb8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001a778]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140023d08], 0
jne 0x14000ed92
mov ecx, 1
call fcn.140010fb8
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 0x14000f90c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140014d54
nop
cmp dword [0x140024260], 1
je 0x14000f8b8
mov dword [0x14002425c], 1
mov byte [0x140024258], r12b
test ebx, ebx
jne 0x14000f8a4
mov rcx, qword [0x140025f10]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000f891
mov rcx, qword [0x140025f08]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000f830
call fcn.14000f0b0
cmp qword [rdi], rax
jne 0x14000f830
jmp 0x14000f816
cmp rdi, rsi
jb 0x14000f891
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000f0b0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140025f10]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140025f08]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000f86f
cmp r13, rax
je 0x14000f88f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000f816
lea rdx, [0x14001a478]
lea rcx, [0x14001a460]
call fcn.14000f660
lea rdx, [0x14001a488]
lea rcx, [0x14001a480]
call fcn.14000f660
nop
test r12d, r12d
je 0x14000f8c7
mov ecx, 8
call fcn.140014c54
test r12d, r12d
jne 0x14000f8f2
mov dword [0x140024260], 1
lea ecx, [r12 + 8]
call fcn.140014c54
mov ecx, r15d
call fcn.14000f5f4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000f780

Function at 0x14000f918
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000f780
Function at 0x140015160
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000f0b0
xor ebx, ebx
mov rdi, rax
cmp qword [0x140024ac8], rbx
jne 0x140015266
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14001533b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001533b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140024ac8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140024ad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140024ad8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140024ae8], rax
test rax, rax
je 0x14001525d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140024ae0], rax
jmp 0x14001526d
mov rax, qword [0x140024ae0]
jmp 0x140015274
mov rax, qword [0x140024ae0]
mov r11, qword [0x140024ae8]
cmp rax, rdi
je 0x1400152dc
cmp r11, rdi
je 0x1400152dc
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140024ae8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400152dc
test rax, rax
je 0x1400152dc
call rsi
test rax, rax
je 0x1400152d6
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400152d6
test byte [rsp + 0x38], 1
jne 0x1400152dc
bts ebp, 0x15
jmp 0x14001531a
mov rcx, qword [0x140024ad0]
cmp rcx, rdi
je 0x14001531a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001531a
call rax
mov rbx, rax
test rax, rax
je 0x14001531a
mov rcx, qword [0x140024ad8]
cmp rcx, rdi
je 0x14001531a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001531a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140024ac8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001533b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14001533d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret