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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x14], 0
lea rax, [rbp - 0x20]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x14]
and dword [rsp + 0x48], 0
mov r9d, reloc.mfc140u.dll_CInternetFile::CInternetFile
and dword [rsp + 0x40], 0
mov r8d, GetActiveObject
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0x10], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x18], eax
test eax, eax
je 0x1400637d6
mov rdx, qword [rbp - 0x20]
lea r8, [rbp - 0x18]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x18], ecx
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x18]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088c50
add rsp, 0x80
pop rbp
ret

Function at 0x140063e60
Capabilities:
Query environment variable

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
mov r8d, 0x206
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, rbx
test eax, eax
je 0x140063eed
lea rdx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140088c50
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
mov rdx, rdi
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString_const____ptr64____ptr64]
jmp 0x140063ebc
Function at 0x140063fa8
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, 0x240
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, qword [0x1404b7388]
xor ebp, ebp
test rdi, rdi
je 0x14006400b
mov rax, rdi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rdx, [rsp + 0x20]
lea rcx, str.AcJab
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_GetProductSpecificFilePath_wchar_t_const____ptr64__wchar_t____ptr64__unsigned_long_int_]
xor r8d, r8d
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x1400a895a
mov edx, 0x37dd
mov r8d, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400a895a
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a8951
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1404b7388], rax
mov rbx, rax
test rax, rax
je 0x1400a8951
add rax, 0xa
lea rdi, [0x14049eea0]
cmove rbx, rbp
mov qword [0x1404b7388], rbx
test rbx, rbx
je 0x1400a8920
mov ecx, 2
mov rax, rdi
lea edx, [rcx + 0x7e]
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, rdx
movups xmm1, xmmword [rbx + 0x70]
add rbx, rdx
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400640c9
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1404b7388], rdi
jmp 0x140063fdf
xor edx, edx
mov r8d, reloc.mfc140u.dll_AFX_DDPDATA::AFX_DDPDATA
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
jne 0x140064131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], SafeArrayUnaccessData
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
nop
jmp 0x140064131
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140063fe2
Function at 0x1400687d0
Capabilities:
Get geographical location

Disassembly:
test r8b, r8b
je 0x1400687fe
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
je 0x1400687f9
movzx eax, word [rdx]
sub ax, 0x43
cmp ax, 9
ja 0x1400687f9
mov ecx, 0x211
bt ecx, eax
jb 0x1400687ff
add rsp, 0x20
pop rbx
ret
lea rdx, str.GEOMARKERVISIBILITY
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x1400a96cc
lea rdx, str.LATITUDE
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x1400a96cc
lea rdx, str.LONGITUDE
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x1400a96cc
lea rdx, str.GEOLATLONGFORMAT
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x1400a96cc
lea rdx, str.LUPREC
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x1400a96cc
lea rdx, str.CGEOCS
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x1400687f9
jmp 0x1400a96cc
mov rax, qword [0x1404b6b50]
mov rax, qword [rax]
test rax, rax
je 0x1400687f9
mov rcx, qword [rax + 0xa90]
test rcx, rcx
jne 0x1400a9708
mov rax, qword [rax + 0xa80]
lea rdx, [rax + 0x150]
neg rax
sbb rcx, rcx
and rcx, rdx
je 0x1400687f9
mov rax, qword [rcx]
call qword [rax + 0x48]
nop
jmp 0x1400687f9
Function at 0x14006e494
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1404b7c30], eax
jle 0x14006e4fe
lea rcx, [0x1404b7c30]
call fcn.14008907c
cmp dword [0x1404b7c30], 0xffffffff
jne 0x14006e4fe
call fcn.14006e3f0
lea rcx, [0x140091c20]
call fcn.140088edc
nop
lea rcx, [0x1404b7c30]
call fcn.14008901c
xor edi, edi
mov qword [rbp - 0x10], rdi
lea rdx, str.HELPPREFIX
lea rcx, [rbp - 0x10]
call qword [sym.imp.acdb24.dll_public:_static_class_AcString___cdecl_AcRxVariablesDictionary::getString_wchar_t_const____ptr64_]
nop
mov rdx, qword [rbp - 0x10]
cmp word [rdx], di
je 0x14006e5c0
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006e571
mov qword [rbp - 0x18], rdi
lea rcx, [rbp - 0x18]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x18]
lea rcx, str.HELPPREFIX
call qword [sym.imp.acdb24.dll_public:_static_enum_Acad::ErrorStatus___cdecl_AcRxVariablesDictionary::setString_wchar_t_const____ptr64__wchar_t_const____ptr64_]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, str.HELPPREFIX
lea rcx, [rbp - 0x20]
call qword [sym.imp.acdb24.dll_public:_static_class_AcString___cdecl_AcRxVariablesDictionary::getString_wchar_t_const____ptr64_]
mov rdx, qword [rax]
call fcn.14006e5f8
lea rcx, [rbp - 0x20]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088c50
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
lea rcx, str.HELPPREFIX
call qword [sym.imp.acdb24.dll_public:_static_enum_Acad::ErrorStatus___cdecl_AcRxVariablesDictionary::setString_wchar_t_const____ptr64__wchar_t_const____ptr64_]
jmp 0x14006e57b
Function at 0x14006fa44
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14006fa9c
test al, al
je 0x14006fa83
mov eax, dword [rsp + 0x24]
cmp dword [rbx + 4], eax
jb 0x1400ab1e0
je 0x1400ab1bc
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140088c50
add rsp, 0x160
pop rbx
ret
mov eax, dword [rsp + 0x28]
cmp dword [rbx + 8], eax
jb 0x1400ab1e0
jne 0x14006fa83
movzx eax, word [rsp + 0x134]
cmp word [rbx + 0x114], ax
jae 0x14006fa83
xor edx, edx
mov r8d, 0x130
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rcx, qword [rax + 8]
mov r8, qword [rcx + 0x40]
mov edx, 0x6b91
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDataRecoveryHandler::CDataRecoveryHandler]
lea rax, vtable.CCompatibilityModeWarnDlg.0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CD2DPathGeometry::Detach]
cmp rax, 2
jne 0x1400ab237
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CD2DResource::CD2DResource]
nop
jmp 0x14006fa83
Function at 0x14007b3dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
cmp byte [0x1404b51ca], 0
jne 0x1400af9fe
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp byte [0x1404b51ca], 0
je 0x14007b40a
cmp byte [0x1404b65a8], 0
jne 0x14007b40a
call qword [sym.imp.accore.dll_int___cdecl_IsAcadStartedByOLE_void_]
test eax, eax
jne 0x1400afb27
call qword [sym.imp.accore.dll_int___cdecl_IsAcadStartedByOLEA_void_]
test eax, eax
jne 0x1400afb27
call qword [sym.imp.accore.dll_public:_static_class_AcApAppImp____ptr64___cdecl_AcApAppImp::theApp_void_]
mov rcx, rax
call qword [sym.imp.accore.dll_public_virtual:_bool___cdecl_AcApAppImp::isStartedMinimized_void____ptr64]
test al, al
jne 0x1400afb27
and qword [rsp + 0x30], 0
call qword [sym.imp.accore.dll_class_AcRxResourceInstance_const____ptr64___cdecl_acedGetCoreResourceInstance_void_]
mov rdx, rax
mov r8d, 0x6355
lea rcx, [rsp + 0x30]
call fcn.140124280
nop
cmp dword [0x1404b65c0], 0x4e25
jne 0x1400afaab
call qword [sym.imp.accore.dll_class_AcRxResourceInstance_const____ptr64___cdecl_acedGetCoreResourceInstance_void_]
mov rdx, rax
mov r8d, 0xc9af
lea rcx, [rsp + 0x20]
call fcn.140124280
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::operator_class_AcString____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
test rsi, rsi
je 0x1400afabe
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_class_AcString_const____ptr64____ptr64]
call qword [sym.imp.adhostableui.dll_public:_static_class_AdHostMessageBox____ptr64___cdecl_AdHostMessageBox::simple_void_]
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx]
lea r8, [0x14032f730]
mov edx, 0xb068
lea rcx, [rsp + 0x28]
call qword [sym.imp.accore.dll_class_AcString___cdecl_rcCoreMsg_unsigned_int__wchar_t_const____ptr64_]
nop
mov r9, qword [rax]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
jmp 0x1400af9fe
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400af9fe
Function at 0x140081ad0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebp, ebp
mov dword [rsp + 0x20], 0xf0000000
mov rbx, r9
mov dword [r8], ebp
mov r14, r8
mov qword [rsp + 0x30], rbp
mov edi, edx
mov qword [rsp + 0x38], rbp
mov rsi, rcx
lea r9d, [rbp + 0x18]
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140081b4d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140081b54
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x140081be4
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140081b88
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
jmp 0x140081be4
mov ecx, GetActiveObject
mov dword [rsp + 0x70], GetActiveObject
call sub.mfc140u.dll_operator_1
mov qword [rbx], rax
test rax, rax
je 0x140081b6c
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
mov edx, 2
mov dword [r14], eax
mov r8, qword [rbx]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test ebx, ebx
setne al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140081c50
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.140089690
sub rsp, rax
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xor ebp, ebp
mov rsi, r8
mov dword [rdx], ebp
mov rdi, rdx
mov qword [r8], rbp
test rcx, rcx
je 0x140081dfd
mov qword [rsp + 0x30], rbp
lea r8d, [rbp + 1]
mov dword [rsp + 0x28], 0x8000000
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140081dfd
lea r9d, [rbp + 0x18]
mov qword [rsp + 0x48], rbp
xor r8d, r8d
mov qword [rsp + 0x50], rbp
xor edx, edx
mov dword [rdi], ebp
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140081de7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140081d27
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140081de7
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
mov r8d, reloc.mfc140u.dll_COleChangeIconDialog::DoModal
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140081d93
nop dword [rax]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140081d93
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140081dcf
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, reloc.mfc140u.dll_COleChangeIconDialog::DoModal
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140081d50
mov ecx, GetActiveObject
mov dword [rsp + 0x44], GetActiveObject
call sub.mfc140u.dll_operator_1
mov qword [rsi], rax
test rax, rax
je 0x140081de7
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
mov edx, 2
mov dword [rdi], eax
mov r8, qword [rsi]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi], rbp
je 0x140081dfd
cmp dword [rdi], ebp
jbe 0x140081dfd
mov al, 1
jmp 0x140081dff
xor al, al
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x10a8]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
Function at 0x140084c50
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140084d05
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140084c80
lea rcx, [rdi + 0x10]
mov rdx, rbx
call fcn.140017640
xor ecx, ecx
lea rax, [rdi + 8]
mov qword [rsp + 0x50], rcx
mov r8d, 0x400
mov qword [rsp + 0x48], rax
mov rdx, rbx
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea r9d, [rcx + 2]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea ecx, [r9 - 1]
call qword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
je 0x140084d05
mov rcx, rdi
call fcn.140084030
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rbx, qword [rsp + 0x80]
xor al, al
add rsp, 0x70
pop rdi
ret

Function at 0x1400872d4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14008734c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14008734c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14008734c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140087340
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14008735e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14008732e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14008734e

Function at 0x140089ba8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140089bf2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140089bf2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140089bf2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140089bf2
cmp dword [rcx + 0x84], 0xe
jbe 0x140089bf2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140089bf4
xor al, al
add rsp, 0x28
ret
Function at 0x1400b6248
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x184
mov rcx, qword [rcx + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [0x14032f730]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
mov rcx, qword [0x1404b71b8]
call fcn.140021bbc
mov rbx, rax
mov qword [rsp + 0x28], rax
test rbx, rbx
je 0x1400b6373
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax]
je 0x1400b6373
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax + 0x48]
test rdi, rdi
je 0x1400b630e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rbp, rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400b631e
mov rdx, qword [rbx]
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax]
mov qword [rdx + 0x10], rcx
jmp 0x1400b62b3
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x180
mov rcx, qword [rsi + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
mov r9, rbp
mov edx, reloc.COMCTL32.dll_SetWindowSubclass
mov rcx, qword [rsi + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1404b71b8]
call fcn.1400d83cc
cmp rax, rdi
jne 0x1400b630e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
jmp 0x1400b630e
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x1400b63c3
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov r9, rax
xor r8d, r8d
mov edx, 0x18f
mov rcx, qword [rsi + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400b63c3
movsxd r8, eax
xor r9d, r9d
mov edx, 0x186
mov rcx, qword [rsi + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
test rbx, rbx
je 0x1400b63de
mov rcx, rbx
call sym.ACAD.exe_public:_void___cdecl_AcApDocWindowIterator::destructor_void____ptr64
mov edx, 8
mov rcx, rbx
call fcn.140088c70
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400b97b0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx + 0xe8]
xor ebx, ebx
test rcx, rcx
je 0x1400b9814
mov rax, qword [rcx]
call qword [rax + 0x2e8]
test rax, rax
je 0x1400b9814
lea rdx, [rax + 0x48]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea rcx, [rsp + 0x20]
setne bl
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140088c50
add rsp, 0x30
pop rbx
ret