joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e840
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x57]
sub rsp, 0xa0
xor r14d, r14d
mov rdi, r9
mov qword [rbp + 0x5f], r14
mov ecx, r14d
mov qword [rbp + 0x67], rcx
mov esi, r14d
mov qword [rbp - 0x29], r14
mov ebx, 0xc0000001
test r9, r9
je 0x14000e9da
lea rcx, [rbp - 0x31]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov ebx, eax
test eax, eax
js 0x14000e9d6
lea rax, [rbp - 0x31]
mov dword [rbp - 1], 0x30
xorps xmm0, xmm0
mov qword [rbp + 0xf], rax
lea r8, [rbp - 1]
mov qword [rbp + 7], r14
mov edx, 0x2000000
mov dword [rbp + 0x17], 0x40
lea rcx, [rbp + 0x5f]
movdqu xmmword [rbp + 0x1f], xmm0
lea esi, [r14 + 1]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov ebx, eax
test eax, eax
js 0x14000e9d6
lea rdx, str.Environment
lea rcx, [rbp - 0x21]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x5f]
lea r8, [rbp - 1]
mov qword [rbp + 7], rax
lea rcx, [rbp + 0x67]
lea rax, [rbp - 0x21]
mov edx, 0x2000000
mov qword [rbp + 0xf], rax
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov ebx, eax
test eax, eax
js 0x14000e9d6
lea rdx, str.Path
lea rcx, [rbp - 0x11]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov r9, qword [rbp + 0x7f]
test r9, r9
je 0x14000e966
mov rax, qword [0x14002ea00]
lea r8d, [r14 + 2]
lea rdx, str.Path
mov dword [rbp + 0x6f], r14d
mov rcx, qword [rax + 0x18]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x67]
mov qword [rsp + 0x20], rax
call fcn.14000dbd4
mov rax, rdi
cmp word [rdi], r14w
je 0x14000e979
add rax, 2
cmp word [rax], r14w
jne 0x14000e96f
mov rcx, qword [rbp + 0x67]
lea rdx, [rbp - 0x11]
sub rax, rdi
mov r9d, 2
sar rax, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov ebx, eax
test eax, eax
js 0x14000e9d6
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x3e8
lea r9, str.Path
mov ecx, 0xffff
mov dword [rsp + 0x20], esi
lea edx, [r8 + 0x1a]
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x14000e9e5
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x5f]
test rcx, rcx
je 0x14000e9f4
call qword [sym.imp.ntdll.dll_NtClose]
test esi, esi
je 0x14000ea02
lea rcx, [rbp - 0x31]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
not ebx
shr ebx, 0x1f
mov eax, ebx
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000ec38
Capabilities:
Access pe header

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 r12
push r14
push r15
sub rsp, 0x30
mov r14d, r9d
mov r15, r8
mov r12d, edx
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rdi, rax
test rax, rax
je 0x14000ecd1
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
mov rcx, rbp
call fcn.140001770
mov rsi, rax
test rax, rax
je 0x14000ecd1
mov rdx, r15
mov rcx, rax
call fcn.140001908
test rax, rax
je 0x14000ecc0
sub eax, esi
mov dword [rdi + 0x28], eax
test r14d, r14d
je 0x14000ecad
mov eax, 0xdfff
and word [rdi + 0x16], ax
mov edx, r12d
mov rcx, rbp
call fcn.14000ddec
mov dword [rdi + 0x58], eax
mov ebx, 1
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x14000ef00
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14002ea00]
mov edi, 0x1000
and dword [rsp + 0x30], 0
mov r8d, edi
mov edx, 8
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x14000efbe
jmp 0x14000ef7d
mov rcx, qword [0x14002ea00]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x20000000
ja 0x14000efbe
mov rcx, qword [0x14002ea00]
mov r8d, edi
mov edx, 8
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000ef3f
test eax, eax
js 0x14000efa3
mov rax, rbx
jmp 0x14000efc0
test rbx, rbx
je 0x14000efbe
mov rcx, qword [0x14002ea00]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400100b8
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xe0
mov rsi, qword [rbp + 0x7f]
xor r12d, r12d
mov rbx, r8
mov r15, rdx
mov r14d, r12d
test rsi, rsi
je 0x1400100f6
mov qword [rsi], r12
xor eax, eax
lea rdi, [rbp - 0x71]
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x51]
lea ecx, [rax + 0x70]
rep stosb byte [rdi], al
test rbx, rbx
jne 0x140010118
mov r8, r12
jmp 0x140010124
add r8, 2
cmp word [r8], r12w
jne 0x140010114
sub r8, rbx
sar r8, 1
mov rcx, qword [0x14002ea00]
lea r8, [r8*2 + 2]
mov edx, 8
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x14001029a
mov rdx, rbx
mov rcx, rax
call fcn.140001af0
mov r8d, 0x30
mov dword [rbp - 0x51], 0x70
mov qword [rbp + 0x67], r8
lea ebx, [r8 - 0x28]
cmp r8, 0x400
ja 0x140010284
mov rcx, qword [0x14002ea00]
mov edx, ebx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140010270
xor r8d, r8d
lea r9, [rbp + 0x67]
mov rcx, rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x140010259
mov rcx, qword [rbp + 0x17]
lea r9, [rbp + 0x4f]
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov r8d, 0x20000
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x140010247
lea rax, [rbp - 0x71]
mov dword [rbp - 0x15], 1
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x51]
mov word [rbp - 0x11], r12w
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r12
mov rdx, rdi
mov qword [rsp + 0x30], r12
mov rcx, r15
mov dword [rsp + 0x28], 0xc080024
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140010247
mov r14, qword [rbp - 0x71]
test rsi, rsi
je 0x14001023d
mov rax, qword [rbp - 0x69]
mov qword [rsi], rax
jmp 0x140010247
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbp + 0x17]
test r8, r8
je 0x14001025d
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov r8, qword [rbp + 0x17]
mov rcx, qword [0x14002ea00]
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140010284
mov r8, qword [rbp + 0x67]
jmp 0x14001016e
mov rcx, qword [0x14002ea00]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea r11, [rsp + 0xe0]
mov rax, r14
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400104fc
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5a8]
sub rsp, 0x690
mov r15d, 0x104
mov r8, rcx
mov rdi, rcx
mov r14d, 1
mov r9d, r15d
lea rcx, [rbp + 0x380]
mov edx, r15d
mov ebx, r14d
call fcn.140001b30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140010568
mov r8d, r15d
lea rdx, [0x140027ba8]
lea rcx, [rbp + 0x380]
call fcn.140010400
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140010601
test r14d, r14d
je 0x140010601
mov r9, r15
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, r15
call fcn.140001b30
mov r8, r15
lea rdx, [rbp + 0x15c]
lea rcx, [rsp + 0x20]
call fcn.140010400
test byte [rbp + 0x130], 0x10
je 0x1400105e1
cmp word [rbp + 0x15c], 0x2e
je 0x1400105ec
lea rcx, [rsp + 0x20]
call fcn.1400104fc
neg eax
sbb ecx, ecx
and ebx, ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400105ec
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r14d, eax
jmp 0x140010585
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140010626
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb ecx, ecx
and ebx, ecx
lea r11, [rsp + 0x690]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140010648
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
xor esi, esi
lea r8, [rbp - 0x10]
lea rdx, [0x14001b980]
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x20], rsi
mov rbx, rcx
call qword [sym.imp.SHELL32.dll_SHAssocEnumHandlersForProtocolByApplication]
test eax, eax
js 0x140010814
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x28]
mov dword [rbp + 0x28], esi
lea r8, [rbp - 0x18]
mov qword [rbp - 0x18], rsi
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x140010801
cmp dword [rbp + 0x28], esi
je 0x14001080a
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, [0x14001b970]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x1400107f7
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x38]
mov qword [rbp + 0x38], rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x1400107ed
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x1400107ed
mov rax, rbx
test rbx, rbx
jne 0x140010700
mov rax, rsi
jmp 0x140010714
cmp word [rbx], si
je 0x14001070e
add rax, 2
cmp word [rax], si
jne 0x140010705
sub rax, rbx
sar rax, 1
mov rcx, rdx
cmp word [rdx], si
je 0x140010725
add rcx, 2
cmp word [rcx], si
jne 0x14001071c
sub rcx, rdx
mov edx, 8
sar rcx, 1
lea r8, [rcx + rax]
mov rcx, qword [0x14002ea00]
lea r8, [r8*2 + 8]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x1400107e3
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140010782
cmp rax, rcx
je 0x140010782
mov rdx, rax
jmp 0x140010777
mov word [rdx], ax
lea rcx, [rcx + 2]
add rdx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x14001076c
mov word [rdx], si
lea rdx, [0x140027bb0]
mov rcx, rdi
call fcn.140001ab4
mov rdx, rbx
mov rcx, rdi
call fcn.140001ab4
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rdi
mov dword [rbp + 0x30], esi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [0x14002ea00]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x28], esi
jne 0x140010681
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140010f50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010f78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010f78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4cb050
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cba52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cbaea
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cbace
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cbac2
cmp qword [rbp - 0x10], 0
je 0x2fc4cbac2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cba88
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cbaeb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cbbf0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cbc18
mov eax, 0
jmp 0x2fc4cbc66
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cbc41
mov eax, 0
jmp 0x2fc4cbc66
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cbc61
mov eax, 0
jmp 0x2fc4cbc66
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cbc6c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cbcea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbce1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cbce1
mov rax, qword [rbp - 8]
jmp 0x2fc4cbcff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cbcb4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400010b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp dword [0x14000ae5c], ebx
je 0x1400010e4
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x14000ae5c], ebx
jne 0x1400010ed
call fcn.1400011ac
test eax, eax
je 0x140001107
mov rcx, qword [0x14000a010]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov rdi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret

Function at 0x1400018d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r11d, dword [r8]
mov rbx, rdx
mov r9, rcx
and r11d, 0xfffffff8
test byte [r8], 4
mov r10, rcx
je 0x1400018fe
mov eax, dword [r8 + 8]
movsxd r10, dword [r8 + 4]
neg eax
add r10, rcx
movsxd rcx, eax
and r10, rcx
movsxd rax, r11d
mov rdx, qword [rax + r10]
mov rax, qword [rbx + 0x10]
mov ecx, dword [rax + 8]
add rcx, qword [rbx + 8]
test byte [rcx + 3], 0xf
je 0x140001922
movzx eax, byte [rcx + 3]
and eax, 0xfffffff0
cdqe
add r9, rax
xor r9, rdx
mov rcx, r9
add rsp, 0x20
pop rbx
jmp fcn.1400019f4

Function at 0x140001ed8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001d48

Function at 0x14000328b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000a020]
jne 0x140001a0e
rol rcx, 0x10
test cx, 0xffff
jne 0x140001a0a
repz ret
ror rcx, 0x10
jmp 0x1400031e4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000b680]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000b778]
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 0x140003269
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, [0x14000b680]
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 0x14000328b
mov rax, qword [rsp + 0x88]
mov qword [0x14000b778], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000b718], rax
mov rax, qword [0x14000b778]
mov qword [0x14000b5f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000b700], rax
mov dword [0x14000b5e0], 0xc0000409
mov dword [0x14000b5e4], 1
mov rax, qword [0x14000a020]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000a028]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000b678], eax
mov ecx, 1
call fcn.140005094
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007f00]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000b678], 0
jne 0x140003312
mov ecx, 1
call fcn.140005094
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 0x140003d4c
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 [0x14000a020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002c8c
xor ebx, ebx
cmp qword [0x14000bdd0], rbx
mov rdi, rax
jne 0x140003e5e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140003f35
lea rdx, [0x140007f70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003f35
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000bdd0], 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 [0x14000bdd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000bde0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000bdf0], rax
test rax, rax
je 0x140003e55
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 [0x14000bde8], rax
jmp 0x140003e65
mov rax, qword [0x14000bde8]
jmp 0x140003e6c
mov rax, qword [0x14000bde8]
mov r11, qword [0x14000bdf0]
cmp rax, rdi
je 0x140003ed3
cmp r11, rdi
je 0x140003ed3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000bdf0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140003ed3
test rax, rax
je 0x140003ed3
call rsi
test rax, rax
je 0x140003ecd
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 0x140003ecd
test byte [rsp + 0x40], 1
jne 0x140003ed3
bts ebp, 0x15
jmp 0x140003f13
mov rcx, qword [0x14000bdd8]
cmp rcx, rdi
je 0x140003f13
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003f13
call rax
mov rbx, rax
test rax, rax
je 0x140003f13
mov rcx, qword [0x14000bde0]
cmp rcx, rdi
je 0x140003f13
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003f13
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000bdd0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003f35
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140003f37
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400019f4
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c233e
Capabilities:
Encode data using xor

Disassembly:
movabs eax, dword [0x163ca0bea1bea3be]
mov dl, 0x76
xor byte [rbx + 0x65b63c76], dh
jb 0x1400c22d9
cmp eax, 0x16fc9012
fld xword [rdi - 1]
inc dword [rdi + 0x23]
xchg edx, eax
call 0x17d2e5c13
or byte [rsi], al
adc al, 0xd7
jrcxz 0x1400c22fc
invalid
lahf
invalid
sbb al, 0xbd
push rbp
jbe 0x1400c22d0
mov ebp, 0x93562047
std
invalid
pop rbp
pop rcx
lea eax, [rax]
fidivr word [rsi]
jge 0x1400c2320
neg dword [rax]
mov edx, 0x4b17dda0
xor al, 0xee
pop rsi
jb 0x1400c231e
sahf
push rdx
mov dl, 0x7a
cwde
cmp eax, 0x373e2f00
out dx, al
cld
xchg ebx, eax
fild word [rbx + 0x6b]
invalid