joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10111010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10111020
sub eax, edx
push ebx
sar eax, 1
push esi
lea ebx, [eax*2 + 2]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10111087
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10111087
push ebx
push dword [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop ebp
ret

Function at 0x101146b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x101146d4
mov dword [esi + 0x3c], 0
mov eax, dword [ecx + 0x10]
mov esi, dword [esi + 0x40]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x101146f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c67d2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
xorps xmm0, xmm0
inc eax
push eax
mov eax, dword [esi + 0x20]
inc eax
push eax
push dword [esi + 0x1c]
lea eax, [ebp - 0x20]
push dword [esi + 0x18]
movups xmmword [ebp - 0x20], xmm0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10114761
call fcn.10114ac0
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
mov dword [esi + 0x10], 0
test ecx, ecx
jne 0x101147c3
push 0x90
call fcn.100854b0
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10115da0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x10], eax
test eax, eax
je 0x1011480b
sub esp, 8
lea ecx, [ebp - 0x20]
mov eax, esp
sub esp, 0x10
mov dword [eax], 0
mov eax, esp
push ecx
mov dword [eax], ecx
mov ecx, dword [esi + 0x10]
call fcn.100281a0
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
push 8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1011480b
cmp dword [ecx + 0x38], 0
jne 0x1011480b
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x101147d9
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x14]
call fcn.10114b20
test eax, eax
jne 0x1011480b
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1011480b
call fcn.10114ac0
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
Function at 0x10119ee0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c6e37
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10119f15
sub ecx, edx
sar ecx, 1
jne 0x10119f2d
xor eax, eax
jmp 0x1011a062
push esi
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
je 0x1011a038
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [ebp - 0x224]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
mov word [ebp - 0x220], ax
mov byte [ebp - 0x21e], al
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x230]
push eax
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHncSHPidl::SHPathToPidlEx_unsigned_short_int_const___struct__ITEMIDLIST____struct_IShellFolder__
mov edx, dword [ebp - 0x234]
xor ebx, ebx
mov ecx, dword [ebp - 0x22c]
test eax, eax
setns bl
test edx, edx
je 0x10119ff4
test ecx, ecx
je 0x10119ff4
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x230], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
test edx, edx
je 0x1011a01c
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x1011a026
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x1011a047
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1011a047
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
test ebx, ebx
jne 0x1011a060
call dword [sym.imp.HncFoundation.dll_HncGetWinVersion]
cmp eax, 0xa
jb 0x1011a060
push ebx
push esi
call dword [sym.imp.HncFoundation.dll__HncSHIsLibraryPath_8]
mov ebx, eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
Function at 0x1011f980
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1011f9b2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1011f9b2
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx + 0x3c]
test al, 2
je 0x1011f9b2
push 0
push dword [ecx + 4]
and eax, 0xfffffffd
mov dword [ecx + 0x3c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x10120ac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c73a2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 esi, ecx
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x10120c0b
cmp dword [esi + 0x10], 0
jne 0x10120c0b
cmp dword [0x10240900], 0
jne 0x10120c0b
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10120b1c
or edi, 8
lea ecx, [ebp - 0x6c]
call fcn.10120890
push dword [ebp + 0x18]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push ebx
push esi
call fcn.1011fa10
cmp dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x10], 1
jne 0x10120b55
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
test byte [ebp - 0x30], 2
mov eax, dword [ebp - 0x68]
mov dword [0x10240900], eax
je 0x10120bb8
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call edi
test eax, eax
je 0x10120bb5
lea eax, [ebp - 0x2c]
push eax
call ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esi + 0x10], 0
mov eax, dword [ebp - 0x30]
jne 0x10120bb1
test al, 2
je 0x10120bb5
push 0
push dword [ebp - 0x68]
and eax, 0xfffffffd
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x30]
test al, 2
jne 0x10120b70
mov eax, dword [ebp - 0x68]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x10120bd4
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x58]
mov esi, dword [esi + 8]
mov dword [0x10240900], 0
mov dword [ebp - 0x6c], 0x101dd8d8
test ecx, ecx
je 0x10120bf5
push ecx
call fcn.10084fa6
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 0x14
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x101246c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10124836
cmp word [edi], 0
je 0x10124836
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_unsigned_short_int_const____thiscall_CHncDialogEx::GetHelpBasePath_void_
jne 0x10124848
cmp dword [0x1023e1dc], 0
jne 0x10124782
mov esi, dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x214]
push 0x104
push eax
push str._AppResource_AppNameHelp_Culture_AppName.CHM
call esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10124740
push 0x104
lea eax, [ebp - 0x214]
push eax
push str._AppResource_AppNameHelpen_US_AppName.CHM
call esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10124758
mov word [ebp - 0x214], ax
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10124761
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1023e1cc
call fcn.10002470
cmp dword [0x1023e1e0], 8
mov esi, 0x1023e1cc
cmovae esi, dword [0x1023e1cc]
test esi, esi
je 0x10124836
cmp word [esi], 0
je 0x10124836
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x424]
mov dword [ebp - 0x42c], 0
push esi
mov dword [ebp - 0x428], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x41c]
movq qword [ebp - 0x424], xmm0
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x41c]
push 0x101d54a8
push 0x104
push eax
call esi
push edi
lea eax, [ebp - 0x41c]
push 0x104
push eax
call esi
add esp, 0x30
lea eax, [ebp - 0x41c]
push 0
push 0
push eax
push 0
call fcn.10086cf6
lea ecx, [ebp - 0x42c]
call fcn.10002630
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
call eax
mov esi, eax
jmp 0x10124795

Function at 0x10124b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
push eax
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10124be4
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10124bc3
sub eax, edx
mov ecx, 0x1023e1cc
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10002470
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
Function at 0x10127200
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x290]
test eax, eax
je 0x10127271
cmp dword [eax + 0x3c], 0
je 0x10127271
mov ecx, dword [esi + 4]
push ebx
push 1
mov ecx, dword [ecx + 0x2c]
call fcn.1013b6b0
mov eax, dword [esi + 0x290]
xor ebx, ebx
test eax, eax
je 0x10127244
mov dword [eax + 0x3c], ebx
mov ebx, dword [eax + 0x40]
mov eax, dword [esi + 0x290]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, bl
mov ecx, esi
mov dword [esi + 0x28], eax
movzx eax, bx
shr eax, 8
mov dword [esi + 0x2c], eax
shr ebx, 0x10
movzx eax, bl
mov dword [esi + 0x30], eax
call sym.HncOfficeFramework.dll_protected:_void___thiscall_CHncColorSelDialog::_SetAllCtrlColor_void_
mov ecx, dword [esi + 4]
push 0
mov ecx, dword [ecx + 0x2c]
call fcn.1013b6b0
pop ebx
pop esi
ret

Function at 0x1012af60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 8], 0x100
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x10], ecx
jne 0x1012b045
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
push 0x10
mov di, ax
call esi
xor ecx, ecx
test ax, ax
sets cl
mov dword [esp + 0x14], ecx
test di, di
jns 0x1012b03f
cmp ebx, 9
jne 0x1012b013
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2b4]
mov edx, dword [eax + 4]
test edx, edx
je 0x1012b005
mov esi, dword [edx + 0x5c]
test esi, esi
je 0x1012b005
xor eax, eax
test edx, edx
cmovne eax, esi
mov edi, dword [eax + 0x24]
sub edi, dword [eax + 0x20]
sar edi, 2
test edi, edi
jle 0x1012b005
mov eax, dword [ecx + 0x2c0]
lea ecx, [ecx + 0x2b0]
mov edx, dword [esp + 0x14]
mov esi, edi
xor edx, 1
lea edx, [eax + edx*2]
lea eax, [edx - 1]
test eax, eax
cmovns esi, edx
xor eax, eax
dec esi
cmp esi, edi
cmovl eax, esi
push eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCTabCtrlSheet::SetActivePage_int_
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x10]
lea eax, [ebx - 0x31]
cmp eax, 8
ja 0x1012b047
lea ecx, [esi + 0x2b0]
lea edi, [ebx - 0x31]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCTabCtrl::GetItemCount_void_const
cmp edi, eax
jge 0x1012b047
push edi
lea ecx, [esi + 0x2b0]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCTabCtrlSheet::SetActivePage_int_
jmp 0x1012b047
mov esi, dword [esp + 0x10]
jmp 0x1012b047
mov esi, ecx
push dword [ebp + 0x10]
mov ecx, esi
push ebx
push dword [ebp + 8]
call sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHncDialogEx::PreTranslateMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10132db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c8150
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
cmp dword [ebp + 8], 0
je 0x10132def
lea ecx, [esi + 0x44]
mov dword [esi + 8], sym.HncOfficeFramework.dll_const_CGradBoxCtrl::vbtable
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncObject::constructor_void_]
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
mov dword [esi], sym.HncOfficeFramework.dll_const_CHDlgItem::vftablefor__CHDlgItem
push 0xc
mov eax, dword [eax + 4]
mov dword [eax + esi + 8], sym.HncOfficeFramework.dll_const_CHDCCaption::vftablefor__CHncObject
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi + 4], eax
call fcn.100854b0
mov dword [ebp + 8], eax
mov dword [eax], 0x101daba8
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi], sym.HncOfficeFramework.dll_const_CHDCStatic::vftablefor__CHDlgItem
mov eax, dword [eax + 4]
mov dword [eax + esi + 8], sym.HncOfficeFramework.dll_const_CHDCCaption::vftablefor__CHncObject
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [esi], sym.HncOfficeFramework.dll_const_CGradBoxCtrl::vftablefor__CHDlgItem
push 0xc
mov eax, dword [eax + 4]
mov dword [eax + esi + 8], sym.HncOfficeFramework.dll_const_CGradBoxCtrl::vftablefor__CHncObject
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c]
mov dword [ecx + esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x10], 0
call fcn.100854b0
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esi + 0xc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x101354b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push esi
push sym.HncOfficeFramework.dll_private:_static_unsigned_int___stdcall_CHncWaitCursor::DelayThreadProc_void__
push 0
push 0
mov dword [esi + 0x24], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x1c], eax
pop esi
ret

Function at 0x101354e0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x20], 0
jne 0x10135565
mov ebx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
call edi
sub eax, dword [ebp - 4]
cmp eax, dword [esi + 8]
jae 0x10135513
call ebx
cmp dword [esi + 0x20], 0
je 0x10135501
cmp dword [esi + 0x20], 0
jne 0x10135565
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push edi
push dword [esi + 0x24]
call ebx
cmp byte [esi + 0xc], 0
jne 0x1013555d
mov eax, dword [esi]
test eax, eax
jne 0x1013554f
cmp byte [esi + 0x14], al
jne 0x10135543
mov eax, dword [esi + 0x18]
push dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 4], eax
mov byte [esi + 0xc], 1
push 0
push edi
push dword [esi + 0x24]
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1013bfe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx eax, byte [eax + 0x1013c2a8]
mov edi, ecx
jmp dword [eax*4 + 0x1013c298]

Function at 0x1013c2d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
add eax, 0xfffffff3
cmp eax, 0x1e
ja 0x1013c2f2
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.1013bfe0
xor eax, eax
pop ebp
ret 8
Function at 0x1013cc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.1013ca00
Function at 0x1013fb40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x2c]
pop ebp
jmp fcn.1013ca00

Function at 0x10142260
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c8699
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], edx
mov ebx, ecx
test ebx, ebx
je 0x101423f6
mov esi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::constructor_void_]
lea ecx, [ebp - 0x214]
call esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
call esi
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push str.CLSID
push SysReAllocString
mov dword [ebp - 0x220], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [ebx]
mov dword [ebp - 0x224], 1
test edi, edi
je 0x101423c7
nop dword [eax + eax]
cmp word [edi], 0
lea ebx, [ebx + 4]
je 0x101423a8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov edx, edi
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x214]
lea esi, [edi + eax*2]
call fcn.10142f40
add esp, 4
lea ecx, [ebp - 0x218]
mov edx, esi
push dword [ebp - 0x21c]
call fcn.10142f40
mov edi, dword [ebp - 0x214]
add esp, 8
cmp dword [edi - 8], 0
je 0x101423a8
cmp dword [ebp + 0xc], 0
jne 0x10142385
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x101423a8
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x218]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x101423b4
mov edi, dword [ebx]
test edi, edi
jne 0x10142300
jmp 0x101423c7
xor ecx, ecx
mov edx, 1
cmp eax, 5
cmovne edx, ecx
mov dword [ebp - 0x224], edx
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x101423d8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
lea ecx, [ebp - 0x218]
call esi
lea ecx, [ebp - 0x214]
call esi
mov eax, dword [ebp - 0x224]
jmp 0x101423f8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
Function at 0x10142420
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c86d9
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x230], edi
mov ebx, ecx
test ebx, ebx
jne 0x10142463
xor eax, eax
jmp 0x101425d4
mov esi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::constructor_void_]
lea ecx, [ebp - 0x220]
call esi
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call esi
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push str.CLSID
push SysReAllocString
mov dword [ebp - 0x228], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebx]
test eax, eax
je 0x101425a8
nop word [eax + eax]
add ebx, 4
cmp word [eax], 0
mov dword [ebp - 0x22c], ebx
je 0x1014259e
push ecx
push edi
mov edx, eax
lea ecx, [ebp - 0x220]
call fcn.10142f40
mov eax, dword [ebp - 0x220]
add esp, 8
cmp dword [eax - 8], 0
je 0x1014259e
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov esi, eax
add esp, 4
test esi, esi
je 0x1014259e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x10142594
mov ebx, 1
nop dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x224]
push eax
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10142588
push 0x105
lea eax, [ebp - 0x21c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push dword [ebp - 0x224]
test eax, eax
cmove edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x10142588
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x10142520
mov ebx, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebx]
test eax, eax
jne 0x101424c0
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x101425b9
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
lea ecx, [ebp - 0x234]
call esi
lea ecx, [ebp - 0x220]
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret