joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e8030
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
mov esi, dword [esp + 0x74]
push eax
push esi
call fcn.004e12e0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
add esp, 8
lea eax, [esi + 0x14]
push ecx
push eax
push edx
call fcn.004e0fa0
xor dx, dx
add esp, 0xc
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + esi]
xor ecx, dword [esp + eax + 0xc]
mov dword [esp + eax + 0x20], ecx
movsx eax, dx
cmp eax, 5
jb 0x4e8061
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004e0c50
lea ecx, [esp + 0x50]
add esp, 8
push ecx
call fcn.004e0bb0
mov edx, dword [esp + 0x80]
add esp, 4
cmp word [edx], 0
je 0x4e80d0
xor cx, cx
mov edi, dword [esp + 0x78]
movsx eax, cx
shl eax, 2
inc cx
mov ebx, dword [eax + edx + 2]
xor ebx, dword [esp + eax + 0x20]
xor ebx, dword [esp + eax + 0x48]
mov dword [eax + edi], ebx
movsx eax, cx
cmp eax, 5
jb 0x4e80af
jmp 0x4e80f2
xor dx, dx
mov edi, dword [esp + 0x78]
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor ecx, dword [esp + eax + 0x48]
mov dword [eax + edi], ecx
movsx eax, dx
cmp eax, 5
jb 0x4e80d7
xor cx, cx
mov edx, 0xffffffff
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0xc], edx
movsx ebx, cx
cmp ebx, 5
jb 0x4e80fa
and dword [esp + 0xc], 0x3fffffff
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor dword [esp + eax + 0xc], ecx
movsx eax, dx
cmp eax, 5
jb 0x4e8116
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.004e0fa0
lea ecx, [esp + 0x40]
add esp, 0xc
push ecx
push esi
call fcn.004e0c50
lea ecx, [esp + 0x3c]
add esp, 8
push ecx
call fcn.004e0bb0
xor dx, dx
add esp, 4
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x5c]
xor ecx, dword [esp + eax + 0x34]
mov dword [eax + edi + 0x14], ecx
movsx eax, dx
cmp eax, 5
jb 0x4e815f
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x4e8190
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x34]
push edi
push eax
push esi
xor di, di
call fcn.004e0c50
lea ecx, [esp + 0x24]
add esp, 8
push ecx
call fcn.004e0c30
add esp, 4
movsx eax, di
inc di
lea ecx, [eax*4]
mov edx, dword [esi + ecx + 0x14]
lea eax, [esi + ecx]
xor edx, dword [eax]
movsx eax, di
mov dword [esp + ecx + 0x1c], edx
cmp eax, 5
jb 0x4e81b7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.004e7ec0
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4ee6d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x57c478
call fcn.00570e3c
sub esp, 0x50
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
jne 0x4ee747
mov ecx, esi
call fcn.00526c47
test eax, eax
je 0x4ee740
push ebx
mov ecx, esi
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.00569f97
mov ecx, eax
call fcn.004f31ab
test eax, eax
je 0x4ee740
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004f5182
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00569f97
mov ecx, eax
call fcn.00506115
test eax, eax
je 0x4ee740
push 1
pop eax
jmp 0x4ee7fa
xor eax, eax
jmp 0x4ee7fa
push edi
push 0x1000
push 0x2042
lea ecx, [ebp - 0x5c]
call fcn.00570a52
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + pe_nt_image_headers32]
push dword [ebp - 0x10]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x4ee7d6
mov edi, dword [ebp - 0x10]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CMemFile::Write
push 1
push 0x69e838
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CMemFile::Write
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CSharedFile::Detach
mov edi, eax
test edi, edi
je 0x4ee7d6
mov ecx, esi
call fcn.004ed0d2
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
and byte [ebp - 4], 0
mov esi, eax
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CSharedFile::CSharedFile
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4ee943
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x57c48c
call fcn.00570e3c
sub esp, 0xc
push esi
mov esi, ecx
push dword [0x6a09cc]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4ee97d
mov ecx, esi
call fcn.00569f97
mov eax, dword [eax + 0x4b0]
cmp dword [eax + 0xa4], 0
jne 0x4eea50
mov ecx, esi
call fcn.00526c47
test eax, eax
je 0x4eea50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x4eea50
mov eax, dword [esi + 0x14]
test byte [eax + 4], 4
je 0x4ee9ae
test byte [eax + 0x18], 4
jne 0x4eea50
and dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
jne 0x4ee9d5
mov ecx, esi
call fcn.004ed0d2
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [ebp - 0x10], eax
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push 1
call edi
mov ebx, eax
test ebx, ebx
jne 0x4ee9f1
push 7
call edi
mov ebx, eax
test ebx, ebx
je 0x4eea39
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
lea ecx, [ebp - 0x14]
push edi
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esi]
and dword [ebp - 4], 0
push eax
mov ecx, esi
call dword [edx + 0x178]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x18], 0
je 0x4eea32
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x118]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x10], 0
je 0x4eea45
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
test ebx, ebx
setne al
pop ebx
jmp 0x4eea52
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x50b3b2
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x57d634
call fcn.00570e3c
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi - 0x20], 0
jne 0x50b3c3
xor eax, eax
jmp 0x50b5ac
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov bx, ax
push 0x10
and ebx, 0x8000
call edi
mov di, ax
and edi, 0x8000
test ebx, ebx
jne 0x50b59c
mov eax, dword [ebp + 8]
sub eax, 0x23
je 0x50b4e6
dec eax
je 0x50b491
sub eax, 0xa
jne 0x50b59c
mov ecx, esi
call fcn.00569f97
mov eax, dword [eax + 0x4b0]
cmp dword [eax + 0xa4], ebx
jne 0x50b59c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
test eax, eax
jne 0x50b59c
test edi, edi
jne 0x50b59c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x50b59c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x50b59c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x18]
push 0x69ab30
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi]
and dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
jmp 0x50b561
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x50b59c
mov ecx, esi
call fcn.00526c47
test eax, eax
jne 0x50b4b8
push dword [esi + 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc]
call dword [eax + 0x20]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0xb1
push dword [esi - 0x20]
call edi
push ebx
push ebx
push 0xb7
push dword [esi - 0x20]
call edi
jmp 0x50b566
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x50b59c
mov ecx, esi
call fcn.00526c47
test eax, eax
jne 0x50b50d
push dword [esi + 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc]
call dword [eax + 0x20]
mov eax, dword [esi]
push 1
pop edi
mov ecx, esi
push edi
call dword [eax + 0x10]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
mov dword [ebp - 4], edi
lea edi, [esi - 0x40]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
push eax
push eax
push 0xb1
push dword [edi + 0x20]
call ebx
push 0
push 0
push 0xb7
push dword [edi + 0x20]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi - 0x40]
call fcn.0050ca0e
mov ecx, esi
call fcn.00569f97
mov edx, dword [eax]
push 0
push 2
mov ecx, eax
push dword [esi + 0x10]
push dword [esi + 0xc]
call dword [edx + 0x2c8]
test eax, eax
jne 0x50b597
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
push 1
pop eax
jmp 0x50b5ac
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0055b002
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x50f0cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 2
xor esi, esi
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x50f130
push ebx
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
mov esi, eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0x42
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
mov eax, esi
pop edi
pop esi
ret 8
Function at 0x50f5d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x57db00
call fcn.00570e3c
sub esp, 0x28
push ebx
push esi
push edi
push 2
push dword [ebp + 0xc]
call sub.MFC42.DLL_AfxFindResourceHandle
push 2
mov esi, eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor ebx, ebx
cmp eax, ebx
je 0x50f63e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x50f63e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x50f63e
mov cl, byte [eax + 0xe]
mov eax, dword [eax]
push 1
pop edi
shl edi, cl
lea eax, [eax + edi*4]
push eax
mov dword [ebp + 0xc], eax
call sub.MFC42.DLL_operatornew
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x50f645
xor eax, eax
jmp 0x50f77a
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push esi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
add eax, esi
cmp edi, ebx
jle 0x50f6a7
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, 0x5958a0
mov eax, dword [eax]
cmp eax, dword [edx]
je 0x50f67d
add edx, 8
inc ecx
cmp edx, 0x5958c0
jl 0x50f66b
jmp 0x50f6a0
push dword [ecx*8 + 0x5958a4]
call dword [sym.imp.USER32.dll_GetSysColor]
xor ecx, ecx
mov cl, ah
mov ch, al
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
add dword [ebp + 0xc], 4
dec edi
jne 0x50f65f
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp + 0xc], eax
call sub.MFC42.DLL_CWindowDC::CWindowDC
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.004eab2e
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
push edi
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, ebx
je 0x50f758
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CDC::Attach
cmp eax, ebx
je 0x50f758
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x50f701
xor eax, eax
jmp 0x50f704
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov cl, byte [esi + 0xe]
push 1
mov dword [ebp + 8], eax
pop eax
shl eax, cl
mov ecx, dword [ebp - 0x10]
push 0xcc0020
push ebx
push esi
lea eax, [ecx + eax*4 + 0x28]
push eax
push dword [ebp + 0xc]
push edi
push ebx
push ebx
push dword [ebp + 0xc]
push edi
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x50f747
xor eax, eax
jmp 0x50f74a
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CDC::SelectGdiObject
push 1
pop edi
jmp 0x50f75a
xor edi, edi
push esi
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CDC::CDC
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004eace4
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x513059
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x6a0cb8
jmp 0x51304d
mov eax, 0x57e249
call fcn.00570e3c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_4
push 1
lea ecx, [esi + 0x14]
pop ebx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x18], 0xffffffff
push 0x100
lea eax, [esi + 0x40]
push edi
push eax
mov dword [esi], 0x2ee
mov dword [esi + 4], 0x5dc
mov dword [esi + 8], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x1c], edi
call sub.MSVCRT.dll_memset
push 0x40
lea eax, [esi + 0x140]
push edi
push eax
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x180]
push 0x69ab30
push eax
mov dword [esi + 0x200], edi
call sub.MSVCRT.dll_strcpy
mov ecx, dword [ebp - 0xc]
add esp, 0x20
mov dword [esi + 0x204], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x51f3c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x11
mov eax, dword [esi + 0x4b0]
add eax, 0x98
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
mov dword [ebp - 4], eax
je 0x51f490
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
cmp dword [ebp + 0x10], eax
mov ebx, dword [ebp + 0xc]
ja 0x51f43a
push dword [esi + 0x55c]
lea edi, [esi + 0x55c]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
push ebx
call fcn.004f57c0
test eax, eax
je 0x51f43a
and dword [edi], 0
lea ecx, [ebp - 0x1c]
call fcn.004f50fe
mov edi, dword [esi]
push 1
push 0
push ebx
push ebx
mov ecx, eax
call fcn.004f51d1
jmp 0x51f482
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
cmp ebx, eax
ja 0x51f490
push dword [esi + 0x55c]
lea edi, [esi + 0x55c]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
push ebx
call fcn.004f57c0
test eax, eax
je 0x51f490
and dword [edi], 0
lea ecx, [ebp - 0x1c]
call fcn.004f50fe
mov edi, dword [esi]
push 1
push 0
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.004f5206
push eax
mov ecx, esi
call dword [edi + 0x214]
push 1
pop eax
jmp 0x51f492
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x526e80
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x57f047
call fcn.00570e3c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
call fcn.00525aff
lea edi, [esi + 0x14]
mov byte [ebp - 4], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x18]
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.004f50fe
lea eax, [ebp + 8]
mov ecx, edi
push eax
mov dword [esi], vtable.CGXDeleteRangeNameCmd.0
call sub.MFC42.DLL_CString::operator_1
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004f516a
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
mov dword [esi + 0x30], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x538801
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x5801bc
call fcn.00570e3c
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi - 0xa0], ebx
jne 0x538816
xor eax, eax
jmp 0x538940
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebp + 8]
and eax, 0x8000
mov dword [ebp - 0x10], eax
jne 0x538932
cmp edi, 0x20
je 0x5388a6
cmp edi, 0x22
jbe 0x538932
cmp edi, 0x24
ja 0x538932
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
je 0x538932
mov ecx, esi
call fcn.00526c47
test eax, eax
jne 0x53886d
push dword [esi + 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc]
call dword [eax + 0x20]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
mov ecx, esi
call fcn.00569f97
mov edx, dword [eax]
push ebx
push 2
mov ecx, eax
push dword [esi + 0x10]
push dword [esi + 0xc]
call dword [edx + 0x2c8]
test eax, eax
jne 0x53889e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
push 1
pop eax
jmp 0x538940
push dword [esi + 0x10]
mov ecx, esi
push dword [esi + 0xc]
call fcn.00569f97
mov ecx, eax
call fcn.004f87f3
push eax
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi - 0x20]
mov dword [ebp - 4], ebx
lea edi, [esi - 0x54]
lea ebx, [esi - 0x28]
mov eax, dword [ecx]
push edi
push ebx
push dword [ebp + 0x10]
call dword [eax + 4]
test eax, eax
je 0x538921
xor eax, eax
lea ecx, [ebp + 8]
cmp dword [edi], eax
sete al
mov dword [edi], eax
call sub.MFC42.DLL_CString::CString_4
push dword [edi]
mov ecx, dword [esi - 0x20]
fld qword [ebx]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push ecx
push ecx
mov byte [ebp - 4], 1
fstp qword [esp]
call dword [eax + 8]
push dword [ebp + 8]
lea ecx, [esi - 0xc0]
call fcn.00560c1c
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x53889e
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push edi
call fcn.0055b002
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x53d478
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x5806d4
call fcn.00570e3c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc8]
lea edi, [esi + 0xc8]
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
jne 0x53d4a8
mov ecx, edi
call fcn.00569f97
push dword [ebp + 0x10]
mov edx, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x53d53a
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov bx, ax
push 0x10
and ebx, 0x8000
call edi
lea edi, [esi + 0xc8]
and eax, 0x8000
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.00569f97
mov edx, dword [eax]
push 0
push 2
mov ecx, eax
push dword [esi + 0xd8]
push dword [esi + 0xd4]
call dword [edx + 0x2c8]
xor eax, eax
cmp ebx, eax
mov ebx, dword [ebp + 8]
jne 0x53d52a
cmp ebx, 0x22
ja 0x53d560
cmp ebx, 0x21
jae 0x53d52a
cmp ebx, 9
je 0x53d512
cmp ebx, 0xd
je 0x53d52a
cmp ebx, 0x1b
je 0x53d52a
jmp 0x53d572
cmp dword [esi + 0x108], eax
je 0x53d52a
cmp dword [ebp - 0x10], eax
mov ecx, esi
je 0x53d559
call fcn.00564645
test eax, eax
je 0x53d572
mov ecx, edi
call fcn.00569f97
push dword [ebp + 0x10]
mov edx, dword [eax]
push dword [ebp + 0xc]
push ebx
push 0x100
push esi
mov ecx, eax
call dword [edx + 0x308]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
call fcn.00564616
jmp 0x53d526
cmp ebx, 0x2e
je 0x53d582
cmp ebx, 0x6f
jbe 0x53d572
cmp ebx, 0x87
jbe 0x53d52a
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push ebx
call fcn.00565658
jmp 0x53d548
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x18]
push 0x69ab30
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 4], 0
mov ecx, edi
call fcn.00569f97
push dword [esi + 0xdc]
mov edx, dword [eax]
lea ecx, [ebp + 8]
push 2
push ecx
push dword [esi + 0xd8]
mov ecx, eax
push dword [esi + 0xd4]
call dword [edx + 0x3bc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
jmp 0x53d548
Function at 0x53d5de
Capabilities:
Log keystrokes via polling
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xc8]
mov ecx, esi
call fcn.00526c47
test eax, eax
je 0x53d70c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x53d70c
mov eax, dword [edi + 0xdc]
test byte [eax + 4], 4
je 0x53d61f
test byte [eax + 0x18], 4
jne 0x53d70c
cmp dword [ebp + 8], 8
je 0x53d70c
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
mov ecx, esi
and ebx, 0x8000
call fcn.00569f97
mov edx, dword [eax]
push 0
push 2
mov ecx, eax
push dword [edi + 0xd8]
push dword [edi + 0xd4]
call dword [edx + 0x2c8]
test ebx, ebx
pop ebx
je 0x53d6c0
mov eax, dword [ebp + 8]
sub eax, 3
je 0x53d69f
sub eax, 0x13
je 0x53d693
dec eax
dec eax
jne 0x53d6cc
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
jmp 0x53d70c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xfc]
jmp 0x53d70c
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
jmp 0x53d70c
cmp dword [ebp + 8], 0xd
je 0x53d70c
cmp dword [ebp + 8], 0xa
je 0x53d70c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x18]
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00565585
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, esi
call fcn.00569f97
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x102
push edi
call dword [edx + 0x308]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x53e3f2
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
call fcn.00569f97
mov eax, dword [eax + 0x4b0]
cmp dword [eax + 0xa4], 0
jne 0x53e471
mov ecx, esi
call fcn.00526c47
test eax, eax
je 0x53e471
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x53e471
mov eax, dword [esi + 0x14]
test byte [eax + 4], 4
je 0x53e42e
test byte [eax + 0x18], 4
jne 0x53e471
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
jne 0x53e453
mov ecx, esi
call fcn.004ed0d2
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test edi, edi
mov esi, eax
pop edi
je 0x53e468
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
test esi, esi
setne al
pop esi
ret
xor eax, eax
pop esi
ret