joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10144140
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xdc], 0
je 0x101441ad
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x10144163
push dword [esi + 0xd0]
push eax
call dword [sym.imp.USER32.dll_SetParent]
push dword [esi + 4]
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x10144199
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xe0], 0
mov dword [esi + 0xdc], 0
pop esi
ret
Function at 0x1014c4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x434]
push ecx
push eax
mov dword [ebp - 0x430], 0
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x1014c65c
push esi
push edi
mov edi, dword [sym.imp.HncFoundation.dll_HncRegOpenKeyEx]
lea eax, [ebp - 0x42c]
push 0
push eax
push 0x20019
push 0
push str.clsid
push SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1014c5b0
push 0
lea eax, [ebp - 0x424]
push eax
push 0x20019
push 0
push dword [ebp - 0x434]
push dword [ebp - 0x42c]
call edi
test eax, eax
jne 0x1014c5a8
push eax
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push str.DefaultIcon
push dword [ebp - 0x424]
call edi
test eax, eax
jne 0x1014c5a0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1014c598
lea eax, [ebp - 0x438]
push eax
lea edx, [ebp - 0x41c]
lea ecx, [ebp - 0x210]
call fcn.1014c6f0
add esp, 4
push dword [ebp - 0x420]
call esi
push dword [ebp - 0x424]
call esi
push dword [ebp - 0x42c]
call esi
push 0
lea eax, [ebp - 0x424]
push eax
push 0x20019
push 0
push str.DocShortcut
push SysReAllocString
call edi
test eax, eax
jne 0x1014c64e
push eax
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push str.DefaultIcon
push dword [ebp - 0x424]
call edi
test eax, eax
jne 0x1014c646
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1014c63e
lea eax, [ebp - 0x438]
push eax
lea edx, [ebp - 0x41c]
lea ecx, [ebp - 0x210]
call fcn.1014c6f0
add esp, 4
push dword [ebp - 0x420]
call esi
push dword [ebp - 0x424]
call esi
push dword [ebp - 0x434]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
Function at 0x10155f90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9009
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1023c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 1
mov dword [ebp - 4], 0
lea ecx, [esi + 0x134]
push 1
mov dword [esi], 0x101dc6b4
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCButton::constructor_void_
push 1
lea ecx, [esi + 0x14c]
mov byte [ebp - 4], 1
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCButton::constructor_void_
lea ecx, [esi + 0x16c]
mov dword [esi + 0x168], 0x101ddf64
call sym.HncOfficeFramework.dll_public:_void___thiscall_SHDCToolTipData::constructor_void_
xorps xmm0, xmm0
mov dword [esi + 0x200], 0
mov dword [esi + 0x208], 0
mov eax, esi
mov dword [esi + 0x204], 0
mov dword [esi + 0x210], 0x280
mov dword [esi + 0x34], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x20c], 0
mov dword [esi + 0x164], 0
movups xmmword [esi + 0x68], xmm0
movups xmmword [esi + 0x3c], xmm0
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x2c], 0x1f4
mov dword [esi + 0x28], 0x3a98
mov dword [esi + 0x30], 0x64
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101592b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edx, dword [esi + 4]
mov ebx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov edi, dword [edx + 4]
test edi, edi
je 0x101592d9
mov edi, dword [edi + 0x5c]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 4]
push 0
push eax
push 0
push 0x16
call esi
mov ecx, dword [ebp - 4]
test eax, eax
push 0
lea eax, [ebp - 8]
mov edx, 2
push eax
push 0
cmove ecx, edx
push 0xa
mov dword [ebp - 4], ecx
call esi
mov ecx, dword [ebp - 8]
test eax, eax
mov eax, dword [ebp - 4]
mov edx, 0x1e
cmove ecx, edx
inc eax
imul eax, eax, 0xfa
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
mov eax, 0x22
sub eax, ecx
imul eax, eax, 0xb
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10159343
mov dword [ebp - 0xc], eax
jmp 0x1015934c
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x24], 0
je 0x1015943b
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
mov esi, eax
lea eax, [ebp - 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x101593e1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
je 0x1015943b
mov eax, dword [ebp - 0x38]
cmp eax, 0x12
je 0x1015943b
cmp eax, 0x202
je 0x1015943b
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x3c], ecx
jne 0x101593bb
cmp eax, 0x10
je 0x1015943b
cmp eax, 2
je 0x1015943b
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x10159431
xor edx, edx
cmp ebx, esi
je 0x1015941f
mov ecx, esi
sub ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jbe 0x10159419
mov eax, esi
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jbe 0x10159419
mov eax, 0x10624dd3
mov dword [ebp - 0x10], esi
mul ecx
mov ecx, dword [ebp - 0x14]
shr edx, 6
push edx
push dword [edi + 0x24]
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHDCSpinButtonCtrl::_DoScrollByHitArea_int__unsigned_int_
mov edx, 1
mov ebx, esi
test edx, edx
jne 0x10159431
mov eax, 0xcccccccd
mul dword [ebp - 0x18]
shr edx, 3
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x24], 0
jne 0x10159356
mov dword [edi + 0x24], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1015cca0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9265
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1023c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0xc], 1
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi], 0x101db430
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0xa4]
push esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x64
mov dword [edi + 0x20], 1
mov dword [edi + 0x24], 0x14
mov dword [edi + 0x28], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
xorps xmm0, xmm0
movups xmmword [edi + 0x5c], xmm0
push 8
movq qword [edi + 0x6c], xmm0
movq qword [edi + 0x94], xmm0
movups xmmword [esi], xmm0
mov dword [edi + 0x84], 0
mov eax, dword [edi + 0x88]
mov dword [edi + 0x8c], eax
call fcn.100854b0
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov dword [esi + 4], 0
push 0x21c
mov dword [esi], sym.HncOfficeFramework.dll_const_CHDCToolTipCtrl::vftable
call fcn.100854b0
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10155f90
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
mov dword [edi + 0xd0], esi
mov eax, dword [esi + 4]
test eax, eax
jne 0x1015ce5a
push 0x21c
call fcn.100854b0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10155f90
mov dword [esi + 4], eax
mov ecx, eax
call fcn.10155d80
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov eax, dword [edi + 0xbc]
mov dword [edi + 0xc0], eax
mov eax, edi
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1016d1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1016d303
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x1016d303
test eax, eax
je 0x1016d1ce
mov eax, dword [eax + 8]
test eax, 0x800
je 0x1016d303
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x1016d25d
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1016d25d
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x1016d25d
mov ebx, dword [eax + 0x50]
xor esi, esi
sub ebx, dword [eax + 0x4c]
sar ebx, 2
test ebx, ebx
jle 0x1016d25d
nop dword [eax + eax]
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1016d258
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x1016d258
test eax, eax
je 0x1016d228
mov eax, dword [eax + 8]
test eax, 0x808
je 0x1016d258
test esi, esi
js 0x1016d258
mov eax, dword [ecx + 0x50]
add ecx, 0x4c
sub eax, dword [ecx]
sar eax, 2
cmp esi, eax
jge 0x1016d258
push esi
call fcn.10028140
mov eax, dword [eax]
and dword [eax], 0xfffffffd
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
call fcn.1001bbc0
inc esi
cmp esi, ebx
jl 0x1016d210
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x40]
cmp ecx, 0xffffffff
je 0x1016d2e2
mov ebx, dword [ebp + 8]
cmp ecx, ebx
mov esi, ebx
mov eax, ebx
cmovl esi, ecx
cmovg eax, ecx
cmp esi, eax
jg 0x1016d296
mov ebx, eax
nop dword [eax]
push dword [edx + 0x44]
mov ecx, edi
push esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListBox::SetSel_int__int_
mov edx, dword [ebp - 4]
inc esi
cmp esi, ebx
jle 0x1016d280
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1016d303
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1016d303
test ecx, ecx
je 0x1016d2ba
test eax, eax
je 0x1016d2ba
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
sar ecx, 2
jmp 0x1016d2bd
or ecx, 0xffffffff
cmp ebx, dword [eax + 0x38]
je 0x1016d303
cmp ebx, 0xffffffff
jl 0x1016d303
cmp ebx, ecx
jge 0x1016d303
mov dword [eax + 0x38], ebx
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
call fcn.1001bbc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListBox::GetSel_int_const
neg eax
mov ecx, edi
sbb eax, eax
inc eax
push eax
push esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListBox::SetSel_int__int_
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListBox::SetFocusIndex_int_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10173c80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push edi
push 0xd
mov edi, ecx
xor esi, esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x10173cd4
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x10173ca2
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x10173d22
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10173cc3
sub ecx, edx
sar ecx, 1
jmp 0x10173d1a
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x10173d2f
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x10173cf0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x10173d22
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10173d11
sub ecx, edx
mov eax, 1
cmovne esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x101742d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1023c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
xor esi, esi
push 0xd
call ebx
test eax, eax
je 0x1017434f
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1017431a
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10174349
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutPasteApply_unsigned_short_int_const___int__int__int_
mov esi, eax
push ebx
jmp 0x10174410
push 1
call ebx
test eax, eax
je 0x1017441c
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1017436b
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x1017440d
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp byte [ebx], 0
jne 0x101743b2
mov esi, 0x101cfd00
jmp 0x101743f2
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101743b7
sub ecx, edx
lea esi, [ecx + 2]
lea esi, [ecx + esi*2]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
push eax
call fcn.10002250
push 0
shr esi, 1
push esi
mov esi, dword [ebp - 0x14]
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.HncFoundation.dll_HncAnsiToUnicode]
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutPasteApply_unsigned_short_int_const___int__int__int_
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10002630
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10174440
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10174456
mov ecx, dword [ecx + 0x5c]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1017bc00
mov edi, eax
test edi, edi
je 0x10174511
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10174476
sub eax, edx
sar eax, 1
add eax, eax
push esi
mov dword [ebp + 0xc], eax
add eax, 2
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10174507
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x101744c6
mov edx, dword [edi]
mov ecx, edi
push dword [ebp + 0xc]
call dword [edx + 0x1c]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
pop ebx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x101744da
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10174507
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 8
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x10176120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [ebx], 0x100
jne 0x10176271
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10176148
mov dword [ebp - 8], eax
jmp 0x1017614e
mov eax, dword [eax + 0x5c]
mov dword [ebp - 8], eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
je 0x10176271
mov eax, dword [ebx + 4]
add eax, 0xffffffa7
mov dword [ebp - 4], 0
cmp eax, 0x21
ja case.0x1017617d.91
movzx eax, byte [eax + 0x10176288]
jmp dword [eax*4 + 0x1017627c]
push 1
jmp 0x1017618a
push 0
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHDCGridCtrl::_UndoRedo_int_
mov dword [ebp - 4], 1
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCGridCtrl::GetSelectRowIndex_void_
mov ecx, esi
mov edi, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCGridCtrl::GetSelectColumnIndex_void_
mov ecx, dword [ebp - 8]
mov ebx, eax
push ebx
push edi
call fcn.1017bc00
mov edx, eax
test edx, edx
je 0x1017624b
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0xffffffbd
cmp ecx, 0x35
ja case.0x101761d8.68
movzx ecx, byte [ecx + 0x101762bc]
jmp dword [ecx*4 + 0x101762ac]
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x14]
mov ecx, esi
sub eax, 3
je 0x10176203
sub eax, 1
je 0x101761f9
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutValueCut_void_
jmp 0x10176251
push ebx
push 4
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutPointCut_unsigned_int__int_
jmp 0x10176251
push edi
push 3
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutPointCut_unsigned_int__int_
jmp 0x10176251
cmp edi, 0xffffffff
je 0x10176220
cmp ebx, 0xffffffff
je 0x10176220
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutValueCopy_void_
jmp 0x10176251
push ebx
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutSingleCopy_int__int_
jmp 0x10176251
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x14]
push eax
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_IsValidPaste_unsigned_int_
cmp eax, 1
jne 0x10176251
push eax
push ebx
push edi
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ShortCutPaste_int__int__int_
jmp 0x10176251
cmp dword [ebp - 4], 1
jne case.0x101761d8.68
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
call fcn.1001bbc0
mov ecx, esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHDCGridCtrl::_NotifyUpdateControl_void_
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1017b3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x1017b3c6
xor esi, esi
jmp 0x1017b3c9
mov esi, dword [ecx + 0x5c]
mov eax, dword [ebp + 8]
cmp eax, 0x100
jne 0x1017b497
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x1017b4ef
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x1017b4ef
lea eax, [esi + 0xdc]
test eax, eax
je 0x1017b4ef
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1017b41f
xor ecx, ecx
jmp 0x1017b422
mov ecx, dword [eax + 8]
test ecx, 0x10000000
mov ecx, dword [ebp + 0xc]
je 0x1017b448
cmp ecx, 9
jne 0x1017b448
lea eax, [ecx - 8]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
je 0x1017b44f
mov eax, dword [eax + 8]
test eax, 0x10000000
jne 0x1017b4ef
push ecx
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_IsActiveKeyEditCell_unsigned_int_
cmp eax, 1
jne 0x1017b4ef
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCGridCtrl::GetSelectRowIndex_void_
mov ecx, edi
mov esi, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCGridCtrl::GetSelectColumnIndex_void_
push eax
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_ActiveEditCell_int__int_
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 6
jne 0x1017b4a2
cmp dword [ebp + 0xc], 0
jmp 0x1017b4db
cmp eax, 0x201
jne 0x1017b4d6
lea edx, [esp + 0xc]
call fcn.1001bb30
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
cmp dword [esp + 0xc], ecx
jg 0x1017b4e6
cmp dword [esp + 0x10], eax
jg 0x1017b4e6
cmp dword [esp + 0x14], ecx
jle 0x1017b4e6
cmp dword [esp + 0x18], eax
jg 0x1017b4ef
jmp 0x1017b4e6
cmp eax, 0x86
jne 0x1017b4ef
cmp dword [esi + 0xa8], 0
jne 0x1017b4ef
push 1
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHDCGridCtrl::_DeactiveEditCell_int_
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0xc