joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140998650
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14099865d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14099866d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140998655
lea eax, [rcx + 1]
jmp 0x14099867b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14099868e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140998674
sub eax, 3
jb 0x1409986ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1409986fd
sar eax, 1
movsxd rbp, eax
jb 0x1409986e4
jmp 0x1409986bc
add ebx, ebx
jne 0x1409986ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1409986e4
inc ecx
add ebx, ebx
jne 0x1409986ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1409986e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1409986dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1409986cc
add ecx, 2
jmp 0x1409986e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140998612
jmp 0x14099865d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x97f000]
mov eax, dword [rdi]
or eax, eax
je 0x140998769
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x998614]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14099870d
jns 0x140998742
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14099874c
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140998763
mov qword [rbx], rax
add rbx, 8
jmp 0x14099872d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1409987ad
cmp al, 0xef
ja 0x140998795
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140998775
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140998784
mov eax, dword [rdi]
add rdi, 4
jmp 0x140998784
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14099882c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14099882c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14099881c
sub rsp, 0xffffffffffffff80
jmp 0x1400b9908
Function at 0x140015ef0
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test r8, r8
je 0x140016030
cmp word [r8], 0
je 0x140016030
movabs rcx, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [r11 + 0x11]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x17]
imul r8, rcx
xor r8, rax
mov rax, qword [r14 + 0x38]
imul r8, rcx
mov rcx, qword [r14 + 0x50]
and rcx, r8
mov r8, qword [r14 + 0x28]
add rcx, rcx
mov rsi, qword [rax + rcx*8 + 8]
cmp rsi, r8
je 0x1400956d0
mov r9, qword [rax + rcx*8]
cmp rdx, qword [rsi + 0x10]
jne 0x1400956c2
test rsi, rsi
je 0x14001602b
cmp rsi, r8
je 0x140015fe9
mov rcx, qword [rsi + 0x18]
mov r9d, 2
mov r8d, r15d
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rax, rax
jne 0x140016032
cmp byte [rsp + 0x78], 0
je 0x140016030
mov rdi, qword [r14]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140016030
cmp rsi, qword [r14 + 0x28]
je 0x14001600b
mov rax, qword [rbx + 0x10]
cmp qword [rsi + 0x18], rax
je 0x140016026
mov rcx, qword [rbx + 0x10]
mov r9d, 2
mov r8d, r15d
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rax, rax
jne 0x140016032
mov rbx, qword [rbx]
jmp 0x140015ff6
mov rsi, r8
jmp 0x140015fe9
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp rsi, r9
je 0x1400956d0
mov rsi, qword [rsi + 8]
jmp 0x140015fba
xor esi, esi
jmp 0x140015fc4
Function at 0x140018340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, r9
mov qword [rsp + 0x30], r9
mov r13d, r8d
mov r14, rcx
xor ebp, ebp
mov ebx, ebp
mov qword [rsp + 0x48], rbx
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
call qword [rax + 0x248]
mov r12, rax
test eax, eax
je 0x1400184c2
movsxd r15, r12d
mov eax, GetActiveObject
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_operator_1]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov esi, ebp
test r12d, r12d
jle 0x1400184c2
lea rdi, [rax + 8]
nop
mov rax, qword [r14]
lea r9, [rdi - 8]
mov r8, rsi
mov edx, reloc.mfc140u.dll__AFX_D2D_STATE::_AFX_D2D_STATE
mov rcx, r14
call qword [rax + 0x248]
xor byte [rdi], 4
inc rsi
lea rdi, [rdi + 0x20]
cmp rsi, r15
jl 0x1400183d0
mov rdi, qword [rsp + 0x30]
test r12d, r12d
jle 0x1400184c2
mov eax, dword [r14 + 0x124]
test al, 2
jne 0x140018471
test al, 4
je 0x14009651f
cmp r13d, 0xffffffff
je 0x140096512
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [r14]
mov r8d, 2
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [rax + 0x2f0]
mov r9d, dword [rsp + 0x44]
sub r9d, dword [rsp + 0x3c]
add r9d, r13d
mov dword [rsp + GetActiveObject], 0x20
mov r8d, r12d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CWnd::SetProxy]
movsxd r9, r12d
test r12d, r12d
jle 0x1400184a9
mov r8d, 1
lea rcx, [rbx + 8]
movzx edx, byte [rcx]
test dl, 8
jne 0x14001849f
mov eax, r8d
cmp r8d, ebp
cmovl eax, ebp
mov ebp, eax
test dl, 0x20
jne 0x14001856b
add rcx, 0x20
sub r9, 1
jne 0x140018483
mov r9d, r12d
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140018900
mov rcx, qword [rax]
mov qword [rdi], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [r14]
mov r8d, 2
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [rax + 0x2f0]
mov edx, dword [rsp + 0x44]
sub edx, dword [rsp + 0x3c]
sub dword [rdi + 4], edx
mov edx, dword [rsp + 0x40]
sub edx, dword [rsp + 0x38]
sub dword [rdi], edx
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCImagePaintArea::BitmapToClient]
mov ecx, dword [rdi]
mov rax, qword [rsp + 0x30]
cmp ecx, eax
cmovl ecx, eax
mov dword [rdi], ecx
mov edx, dword [rdi + 4]
cmp edx, dword [rsp + 0x34]
cmovl edx, dword [rsp + 0x34]
mov dword [rdi + 4], edx
test rbx, rbx
je 0x140018544
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_operator]
mov eax, ebp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
inc r8d
jmp 0x14001849f
test al, 1
je 0x14009651f
mov r9d, dword [r14 + 0x108]
jmp 0x140096525
mov r9d, 0x7fff
mov dword [rsp + 0x20], ebp
jmp 0x140018462
Function at 0x14001b0b8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x360]
sub rsp, reloc.mfc140u.dll_CDockingManager::CDockingManager
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x350], rax
cmp qword [0x1404b72f0], 0
movups xmm0, xmmword [rdx]
movdqu xmmword [rsp + 0x40], xmm0
je 0x14001b188
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x1400968ee
mov r9, qword [rsp + 0x38]
lea r8, str.CLSID_s
mov edx, CMapStringToOb::HashKey
lea rcx, [rsp + 0x50]
call fcn.14001b1ac
lea rax, [rsp + 0x30]
mov byte [rsp + 0x28], 1
mov rbx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea rdx, [rsp + 0x50]
mov r9d, 2
xor r8d, r8d
call qword [sym.imp.AcPal.dll_acRegOpenKeyEx]
test eax, eax
je 0x140096901
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x470]
add rsp, reloc.mfc140u.dll_CDockingManager::CDockingManager
pop rbp
ret
lea rbx, [0x1404b7540]
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [0x1404b72f0], rbx
jmp 0x14001b0f5
lea rcx, str.RegAcDbComObject_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x14001b10d
mov rcx, qword [rsp + 0x30]
lea rdx, [0x14032f730]
call qword [sym.imp.AcPal.dll_acRegDeleteValue]
lea r9, str.InProcServer
lea r8, [rsp + 0x50]
lea rdx, [0x140334ea0]
lea rcx, [rbp + 0x150]
call fcn.14001a998
xor r8d, r8d
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.AcPal.dll_acRegDeleteKey]
lea r9, str.InProcServer32
lea r8, [rsp + 0x50]
lea rdx, [0x140334ea0]
lea rcx, [rbp + 0x150]
call fcn.14001a998
xor r8d, r8d
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.AcPal.dll_acRegDeleteKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.AcPal.dll_acRegDeleteKey]
nop
jmp 0x14001b15d

Function at 0x14002210c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rdx
mov rdi, rcx
call qword [rax + 0x3a8]
test al, al
jne 0x140097bd8
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rbx, rbx
je 0x14002212d
cmp dword [rbx + 8], 0x100
jne 0x14002212d
cmp qword [rbx + 0x10], 0x73
jne 0x14002212d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14002212d
mov rcx, qword [rdi + 0x40]
xor r9d, r9d
mov edx, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov r8d, 0xf060
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14002212f
Function at 0x14003b6c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 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 r14, rcx
lea r8, [0x14034d954]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140037a38
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
xor edi, edi
cmp rax, 0xffffffffffffffff
je 0x14003b7e3
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rcx, [rsp + 0x30]
test byte [rsp + 0x50], 0x10
je 0x14003b795
lea rdx, [0x140331050]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14003b776
lea rdx, [0x14034d95c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
jne 0x1400a0490
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003b72e
jmp 0x14003b7d9
mov r8d, 4
lea rdx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
nop
lea rdx, [0x140334e00]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
sete bl
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test bl, bl
je 0x14003b776
mov dil, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, [0x140334cb4]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140037a38
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400392cc
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x38]
call fcn.14003b6c0
test al, al
jne 0x1400a04e2
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
jmp 0x14003b776
mov dil, 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
jmp 0x14003b7ce
Function at 0x1400440a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, ecx
cmp ecx, 2
jne 0x1400a3402
call fcn.1400440f0
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x20]
mov cl, 1
call qword [sym.imp.accore.dll_bool___cdecl_GetDefaultHelpPath_bool__class_AcString____ptr64_]
test al, al
jne 0x1400a3438
call fcn.140242620
lea rdx, [rsp + 0x20]
mov cl, 1
call qword [sym.imp.accore.dll_bool___cdecl_GetDefaultHelpPath_bool__class_AcString____ptr64_]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400a349f
mov cl, 1
call fcn.1402410ac
mov rsi, rax
test rax, rax
je 0x1400a3474
cmp qword [0x1404b6198], rbx
jne 0x1400a3467
mov rcx, rax
call fcn.140241934
mov rcx, rsi
call fcn.140241b10
cmp eax, 1
jne 0x1400a34b3
call fcn.14024198c
test al, al
je 0x1400a34b3
call fcn.140241bd0
test al, al
jne 0x1400a349f
call fcn.140241a54
test al, al
jne 0x1400a349f
mov ecx, edi
call fcn.14024031c
test eax, eax
je 0x1400a34a1
cmp eax, 1
jne 0x1400a3447
mov bl, 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov al, bl
jmp 0x1400440d0
call fcn.140241bd0
test al, al
je 0x1400a3486
mov ecx, edi
call fcn.14024062c
jmp 0x1400a3496
Function at 0x14004449c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x47], rax
and dword [rbp - 0x11], 0
xor ebx, ebx
and qword [rbp - 0x29], rbx
and qword [rbp - 0x21], rbx
and dword [rbp - 0x19], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x29]
lea edx, [rbx + 0xa]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400445c0
mov rcx, qword [rbp - 0x29]
lea rax, [rbp - 0x19]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x15]
lea edx, [rbx + 0x12]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400445c0
cmp dword [rbp - 0x15], 3
je 0x1400a369a
cmp qword [rbp - 0x21], rbx
jne 0x14004453c
mov rcx, qword [rbp - 0x29]
lea r8, [rbp - 0x21]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x1400445c0
xor edx, edx
mov dword [rbp - 0x19], 0x44
lea r9, [rbp - 0x19]
lea r8, [rbp - 9]
lea ecx, [rdx + 0x1a]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x1400445c0
mov rcx, qword [rbp - 0x21]
lea r8, [rbp - 0x11]
lea rdx, [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1400445c0
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140044584
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x29], 0
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140044598
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x21], 0
test ebx, ebx
jne 0x1400a36c8
mov eax, dword [rbp - 0x11]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140044570
mov rcx, qword [rbp - 0x29]
lea rax, [rbp - 0x19]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x21]
lea edx, [r9 + 0xb]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400445c0
jmp 0x14004451b
lea rdx, [0x1404487c0]
mov dword [rbp - 0x15], ebx
lea rcx, [rbp - 0x15]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14004f2c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, r9
test rdx, rdx
je 0x14004f2e7
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp bx, word [rdx + 0x528]
jne 0x1400a5152
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
cmp dword [rdx + 0x524], ebx
je 0x14004f2e2
mov qword [rsp + 0x38], rbp
mov rbp, qword [rcx + 8]
mov qword [rsp + 0x40], rsi
lea rsi, [rdx + reloc.mfc140u.dll_CMultiDocTemplate::CMultiDocTemplate]
test rbp, rbp
je 0x1400a51fc
mov rcx, qword [r9]
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
cmp rax, rbp
je 0x1400a51fc
test rax, rax
je 0x1400a5193
mov rbx, qword [rax + 0x40]
mov rcx, qword [rbp + 0x40]
mov rdx, rbx
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x1400a51fc
cmp dword [rsi + 0x1f4], 3
jne 0x1400a51b6
cmp dword [rdi + 8], 0x201
je 0x1400a51f3
mov ecx, dword [rdi + 8]
sub ecx, 0x100
je 0x1400a51d5
sub ecx, 1
je 0x1400a51d5
sub ecx, 0x103
je 0x1400a51f3
cmp ecx, 3
je 0x1400a51f3
jmp 0x1400a51fc
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x1400a51f3
cmp rax, 9
jne 0x1400a51fc
lea ecx, [rax + 8]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400a51fc
mov rcx, rsi
call qword [sym.imp.accore.dll_public:_void___cdecl_OverlapSelectionMgr::destroy_void____ptr64]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
jmp 0x14004f2e2
Function at 0x140056a98
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x1400a6768
mov rbp, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
lea r12, [rsi + 0x18]
bsr rcx, rax
mov ebx, 1
mov r8, rbp
inc ecx
shl rbx, cl
mov rcx, r12
lea rdx, [rbx + rbx]
call fcn.140020324
lea rax, [rbx - 1]
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x30], rax
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x140056be1
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
cmp qword [r15 + 0x18], 8
mov r8, r15
mov r9, qword [r15 + 0x10]
jb 0x140056b37
mov r8, qword [r15]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140056b66
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x140056b48
mov r14, qword [rsi + 0x30]
mov r12, qword [r12]
and r14, rcx
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x140056b8c
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
mov rbx, rdi
lea r12, [rsi + 0x18]
jmp 0x140056b16
mov rsi, qword [r12 + r14*8 + 8]
mov rdx, r15
lea r8, [rsi + 0x10]
call fcn.140056bfc
test al, al
je 0x1400a6776
mov r13, rsi
mov r8, rsi
cmp qword [r12 + r14*8], r13
jne 0x1400a67a9
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rsi, qword [rsp + 0x20]
jmp 0x140056b83
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov r8, qword [rsi]
cmp r8, rbx
je 0x1400a679f
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8 + 8], rbx
jmp 0x140056bda
mov rsi, qword [rsi + 8]
mov rdx, r15
mov r13, rsi
lea r8, [rsi + 0x10]
call fcn.140056bfc
test al, al
jne 0x140056ba8
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140056bda
Function at 0x140058fac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
test rcx, rcx
je 0x14005904f
mov ecx, 0xe8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140058ff6
xor edx, edx
mov r8d, 0xe8
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
mov rcx, rbx
call fcn.1400595d4
nop
mov qword [0x1404b5210], rax
mov rax, qword [0x1404b5210]
test rax, rax
je 0x140059037
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, qword [0x1404b5210]
lea r8, [0x140061ab0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [0x1404b5210]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1404b5210]
test rax, rax
setne al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor al, al
jmp 0x140059044

Function at 0x140061ca4
Capabilities:
Log keystrokes via polling

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, 0x20
mov rax, qword [0x1404b6b50]
mov rsi, rdx
mov rbp, qword [rax]
mov eax, dword [rdx + 8]
sub eax, 0x100
test eax, 0xfffffffb
je 0x1400a7ca8
xor ebx, ebx
mov rbp, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
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:_class_AcApCommandLineEditor____ptr64___cdecl_AcApAppImp::activeCommandLineEditor_void_const___ptr64]
xor ebx, ebx
test rax, rax
je 0x140061cdf
mov rcx, rax
call qword [sym.imp.accore.dll_public:_class_AcApPromptAndInput____ptr64___cdecl_AcApCommandLineEditor::promptAndInput_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.accore.dll_public:_class_AcApInputBuffer____ptr64___cdecl_AcApPromptAndInput::inputBuffer_void_const___ptr64]
mov rcx, rax
or edx, 0xffffffff
mov r14, rax
call qword [sym.imp.accore.dll_public:_void___cdecl_AcApInputBuffer::setEatNextCharQueue_int____ptr64]
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [rbx + 2]
mov edi, ebx
test ax, ax
cmovs edi, ecx
lea ecx, [rbx + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400a7d08
or edi, 1
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400a7d1b
or edi, 4
mov edx, dword [rsi + 0x10]
mov r8d, edi
mov rcx, rbp
call fcn.1402fbf98
test eax, eax
je 0x140061cdf
mov edx, 1
mov rcx, r14
call qword [sym.imp.accore.dll_public:_void___cdecl_AcApInputBuffer::setEatNextCharQueue_int____ptr64]
mov bl, 1
jmp 0x140061cdf

Function at 0x140061f5c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x140061f8c
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140061f6e
mov rax, rcx
ret