joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402559d8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
call fcn.14000f130
cmp eax, 1
jae 0x140255a05
xor al, al
jmp 0x140255ad3
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
lea rdx, str.MENU
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140255a59
mov rdx, qword [sym.imp.accore.dll_struct_prefstuff_prefs]
add rdx, 0x876
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::assign_wchar_t_const____ptr64____ptr64]
lea rdx, [0x1403d4c88]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
jmp 0x140255a7b
call qword [sym.imp.acdb24.dll_class_AcDbHostApplicationServices____ptr64___cdecl_acdbHostApplicationServices_void_]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.acdb24.dll_public:_enum_Acad::ErrorStatus___cdecl_AcDbHostApplicationServices::findFile_class_AcString____ptr64__wchar_t_const____ptr64__class_AcDbDatabase____ptr64__enum_AcDbHostApplicationServices::FindFileHint____ptr64]
test eax, eax
jne 0x140255ac6
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jg 0x140255ac4
mov qword [rsp + 0x20], rbx
mov r9, qword [rsp + 0x30]
lea rdx, str.notepad.exe
mov r8, rdx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_process_l1_1_0.dll__wspawnlp]
mov bl, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov al, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14025e970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ebp, r8d
mov rdi, rcx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14025ea29
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8d, edi
mov edx, ebp
mov rcx, rax
mov rsi, rax
call fcn.14025ea64
mov rbx, rax
test rax, rax
jne 0x14025ea5f
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14025ea29
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edi, 1
lea r8, [rsp + 0x20]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x14025ea45
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x20]
mov edx, edi
call fcn.14025ec80
mov rcx, qword [rsp + 0x20]
mov rbx, rax
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, rbx
jmp 0x14025ea2b

Function at 0x140262958
Capabilities:
Read file on windows

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 r14
sub rsp, 0x30
xor ebp, ebp
mov esi, r8d
mov ebx, edx
test edx, edx
js 0x140262a16
lea edx, [r8 + 1]
mov ecx, CDaoRecordset::IsFieldNullable
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
je 0x140262a16
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov ecx, ebx
test rax, rax
jne 0x1402629b2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
jmp 0x1402629ff
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, dword [rdi + 0xa]
lea rsi, [rdi + 0xe]
xor ecx, ecx
add rbx, rdi
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x28], ebp
mov r9, rbx
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8d, 4
mov rdx, rsi
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateDIBitmap]
mov rdx, rdi
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, rbp
jmp 0x140262a18
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14028c628
Capabilities:
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, rcx
call fcn.140041314
mov rbx, rax
mov rcx, qword [rax + 0x108]
call qword [sym.imp.accore.dll_public:_static_class_AcApViewImp____ptr64___cdecl_AcApViewImp::getImp_class_AcApView____ptr64_]
mov rcx, rax
call qword [sym.imp.accore.dll_public:_bool___cdecl_AcApViewImp::LinkedObjectExists_void____ptr64]
test al, al
je 0x14028c6db
lea rdx, [0x14032f730]
lea rcx, [rsp + 0x260]
call fcn.14002a14c
lea rdx, [rsp + 0x260]
mov ecx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140292024
nop
lea rcx, [rsp + 0x30]
call fcn.140292748
nop
lea rcx, [rsp + 0x30]
call fcn.1402923dc
nop
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret
Function at 0x1402ad1d8
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rdx, [0x1404b62f0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CRibbonCategoryScroll::CRibbonCategoryScroll]
nop
or edx, 0xffffffff
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDockSite::IsDragMode]
cmp qword [0x1404bb778], 0
jne 0x1402ad251
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
xor r8d, r8d
lea rdx, [0x1402ab8f8]
lea ecx, [r8 + 2]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1404bb778], rax
mov r8, qword [rbx + 0x40]
mov rdx, qword [0x1404b6338]
lea rcx, [0x1404b6328]
call qword [sym.imp.mfc140u.dll_CWinApp::RunEmbedded]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CUserTool::SetToolIcon]
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140088c50
add rsp, 0x40
pop rbx
ret

Function at 0x1402b6d10
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [rcx + 0x30], 0
mov rbx, rcx
je 0x1402b6d84
cmp dword [rcx + 0x28], 0
je 0x1402b6d99
mov rax, qword [rcx + 0x88]
sub rax, qword [rcx + 0x80]
sar rax, 5
cmp rax, 1
jbe 0x1402b6d99
lea rax, [rsp + 0x60]
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1402b7f40]
xor edx, edx
mov dword [rsp + 0x20], 4
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x1402b6d84
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140088c50
add rsp, 0x70
pop rbx
ret
mov rcx, qword [rcx + 0x60]
test rcx, rcx
je 0x1402b6d84
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x30]
mov rcx, qword [rbx + 0x60]
lea rdx, [rsp + 0x64]
mov rax, qword [rcx]
call qword [rax + 0x38]
and qword [rsp + 0x50], 0
xor r9d, r9d
mov edx, dword [rsp + 0x64]
xor r8d, r8d
mov rcx, qword [rbx + 0x60]
mov rax, qword [rcx]
mov r10, qword [rax + 0x40]
mov eax, edx
neg eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x38], edx
and dword [rsp + 0x30], 0
mov rdx, qword [rbx + 0x38]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x20], eax
call r10
test eax, eax
jne 0x1402b6d84
mov rcx, qword [rbx + 8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
jmp 0x1402b6d86
Function at 0x1402c4798
Capabilities:
Create process on windows
Get common file path

Disassembly:
test rcx, rcx
je 0x1402c4949
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
call fcn.14000f130
test eax, eax
je 0x1402c4923
test rdx, rdx
je 0x1402c491b
mov rcx, rdx
call fcn.14000f130
test eax, eax
je 0x1402c491b
mov edx, reloc.mfc140u.dll_SerializeElements_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_FindExecutableW]
cmp rax, 0x20
jle 0x1402c48e3
mov qword [rsp + 0x30], rsi
lea r14d, [rsi + 1]
mov byte [rsp + 0x28], r14b
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.dwffile_shellopencommand
mov rcx, 0xffffffff80000000
call qword [sym.imp.AcPal.dll_acRegOpenKeyEx]
test eax, eax
jne 0x1402c48dc
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9, rdi
mov r8, rbx
lea rdx, str._s_page__s_
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov r9, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x40]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
movzx ebx, sil
cmp rax, 0x20
cmovle ebx, r14d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1402c48df
mov bl, r14b
test bl, bl
je 0x1402c4923
mov edx, 0x90d
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1402c4923
mov rcx, rbx
call sym.ACAD.exe_void___cdecl_ShowEplotViewer_wchar_t_const____ptr64_
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1402c4968
Capabilities:
Create process on windows

Disassembly:
test rcx, rcx
je 0x1402c4b1d
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
and dword [rbp - 0x50], 0
call fcn.14000f130
test eax, eax
je 0x1402c4af9
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jg 0x1402c4af9
mov edx, 1
lea rcx, [rbp - 0x38]
call qword [sym.imp.adui24.dll_public:_void___cdecl_CAdUiRmId::constructor_unsigned_int____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.adui24.dll_public:_static_struct_HICON______ptr64___cdecl_CAdUiRm::Icon_class_CAdUiRmId_const____ptr64_]
mov rsi, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.adui24.dll_public:_void___cdecl_CAdUiRmId::destructor_void____ptr64]
mov rdx, rbx
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
mov edi, 3
mov r8d, edi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
lea rdx, [0x1403a7d88]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
sete bl
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test bl, bl
je 0x1402c4a54
lea rcx, str.AutoCAD.MissingPDFViewer
jmp 0x1402c4ae3
mov r8d, edi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
nop
mov ebx, 1
mov dword [rbp - 0x50], ebx
lea rdx, [0x1403e1a18]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x1402c4ab2
lea r8d, [rbx + 3]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
mov ebx, edi
mov dword [rbp - 0x50], ebx
lea rdx, str.dwfx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x1402c4ab2
xor dil, dil
jmp 0x1402c4ab5
mov dil, 1
test bl, 2
je 0x1402c4ac8
and ebx, 0xfffffffd
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
test bl, 1
je 0x1402c4ad7
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test dil, dil
je 0x1402c4aef
lea rcx, str.AutoCAD.MissingDWFViewer
xor r8d, r8d
mov rdx, rsi
call fcn.1402bbf24
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1402e7d58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rsi, rcx
cmp qword [0x1404b7330], rbp
je 0x1402e7e6a
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
lea edx, [rbp + 0xe]
mov rdi, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
lea edx, [rbp + 0xc]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
imul ebx, eax
mov rdx, rdi
lea eax, [rbp + 0x1f]
cmp ebx, eax
cmova ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, ebx
lea edi, [rbp + 2]
lea ebx, [rbp + 1]
mov eax, ebx
shl eax, cl
cmp eax, 0x100
jb 0x1402e7dea
mov rcx, qword [0x1404b7330]
mov r8d, edi
mov edx, SysAllocStringByteLen
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1402e7dea
mov ebp, ebx
jmp 0x1402e7e04
mov rcx, qword [0x1404b7330]
mov r8, rdi
mov edx, SysAllocStringByteLen
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1402e7e6a
mov rcx, qword [0x1404b7330]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsi + 8], rax
test rax, rax
je 0x1402e7e6a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsi + 0x10], rax
mov r8, rax
test rax, rax
je 0x1402e7e6a
mov rcx, rax
mov qword [rsi + 0x18], rax
call fcn.1402e83fc
shl eax, 2
movsxd rdx, eax
add rdx, 0x28
add rdx, rcx
mov qword [rsi + 0x20], rdx
test ebp, ebp
je 0x1402e7e62
mov rdx, rcx
mov rcx, rsi
call fcn.1402e7e84
mov qword [rsi + 0x28], rax
and dword [rsi + 0x40], 0
mov eax, ebx
jmp 0x1402e7e6c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1402e8c24
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rdi, rdx
mov rsi, rcx
jne 0x1402e8cb9
mov rbx, qword [rdx + 0x10]
cmp rbx, 0xd
je 0x1402e8c9e
cmp rbx, 0x1b
je 0x1402e8c9e
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1402e8cb9
cmp rbx, 0x43
jne 0x1402e8cb9
mov rcx, qword [rsi + 0x288]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.mfc140u.dll_CD2DSolidColorBrush::CD2DSolidColorBrush
call qword [sym.imp.USER32.dll_SendMessageW]
test al, 5
je 0x1402e8cb9
mov rcx, qword [rsi + 0x288]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x301
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402e8cb2
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x1402e8cc5
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.adui24.dll_public_virtual:_int___cdecl_CAdUiBaseDialog::PreTranslateMessage_struct_tagMSG____ptr64____ptr64]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402ed1e4
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0x14], 0x500
lea rax, [rbp - 0x20]
mov dword [rbp - 0x18], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x18]
mov dword [rsp + 0x48], ebx
mov r9d, reloc.mfc140u.dll_CInternetFile::CInternetFile
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
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1402ed258
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
or ebx, 0x80000000
jmp 0x1402ed293
mov rdx, qword [rbp - 0x20]
lea r8, [rbp - 0x10]
xor ecx, ecx
mov dword [rbp - 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1402ed283
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
and ebx, 0x3fffffff
bts ebx, 0x1e
jmp 0x1402ed289
cmp dword [rbp - 0x10], ebx
setne bl
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x1402f536c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax]
mov rbx, rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r14d, [rdi + 8]
test rax, rax
je 0x1402f53e5
cmp qword [rax + 0x40], rbx
cmove edi, r14d
mov rax, qword [rsi + 8]
mov edx, dword [rax]
lea rcx, [rbp - 0x7e]
test edx, edx
jns 0x1402f5408
neg edx
call fcn.1400b8ba4
sub rax, 2
mov ecx, 0x2d
mov word [rax], cx
jmp 0x1402f540d
call fcn.1400b8ba4
lea r8, [rbp - 0x7e]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400b8b5c
nop
lea rdx, [0x1403300cc]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], r14
cmovae rdx, qword [rsp + 0x38]
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.14003cd84
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140037a38
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsi + 0x10]
mov rbx, qword [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov r8, qword [rsi + 0x18]
movsxd r8, dword [r8]
mov r9, rax
mov edx, edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_AppendMenuW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call fcn.140017d30
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140306e90
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rdx, [0x1404b6ee8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CRibbonCategoryScroll::CRibbonCategoryScroll]
nop
or edx, 0xffffffff
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDockSite::IsDragMode]
cmp qword [0x1404b6fa0], 0
je 0x14030703b
mov rax, qword [0x1404b6f98]
mov rdi, qword [rax + 0x10]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
call fcn.140300658
nop
lea rcx, [0x1404b6f88]
cmp rdi, rbx
jne 0x140306f82
call qword [sym.imp.mfc140u.dll_CArchive::ReadString]
mov rax, qword [0x1404b5fc0]
mov dl, 1
lea rcx, [0x1404b5fc0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edx, 2
mov rcx, rdi
call fcn.1403016c8
cmp qword [0x1404b6fa0], 0
je 0x140306fe4
mov rax, qword [0x1404b6f98]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x140306fda
lea rcx, [0x1404b5fc0]
mov rax, qword [0x1404b5fc0]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 1
mov rcx, rbx
call fcn.1403016c8
jmp 0x140306fda
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.mfc140u.dll_COleConnPtContainer::EnumConnectionPoints]
mov rbx, rax
test rax, rax
je 0x140306fda
mov rcx, qword [rax + 0x10]
movzx ecx, word [rcx + 8]
mov edx, 1
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp eax, 0x10
jne 0x140306fca
cmp qword [0x1404b6fa0], 0
jle 0x140306fca
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CUserTool::SetToolIcon]
call fcn.140306d4c
jmp 0x140307030
mov rdx, rbx
lea rcx, [0x1404b6f88]
call qword [sym.imp.mfc140u.dll_CDHtmlElementEventSink::QueryInterface]
cmp qword [0x1404b6fa0], 0
jne 0x140307000
mov ecx, 0x4656
call qword [sym.imp.accore.dll_class_AcGiImageBGRA32_const____ptr64___cdecl_AcSymbolLibrary::cursorBadge_enum_AcSymbolLibrary::CursorBadge_]
mov rcx, rax
call qword [sym.imp.accore.dll_bool___cdecl_acedRemoveSupplementalCursorImage_class_AcGiImageBGRA32_const____ptr64_]
and qword [0x1404bba08], 0
neg dword [0x1404b404c]
lea rcx, [0x1404c2c90]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140307030
mov ecx, dword [0x1404b404c]
add ecx, dword [0x1404c2c90]
mov edx, dword [0x1404c2c94]
call qword [sym.imp.USER32.dll_SetCursorPos]
nop
lea rcx, [rsp + 0x38]
call fcn.1403008b8
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CUserTool::SetToolIcon]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret