Function at 0x462d98
Capabilities:
Log keystrokes via polling
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 2
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetKeyNameTextA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x463094
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_OpenClipboard
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x46308d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_PeekMessageA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x463076
xor eax, eax
push ebp
push 0x46306f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xe]
mov edx, dword [ebp - 0x24]
movzx edx, word [edx + 0xc]
imul edx
cmp eax, 8
ja 0x463006
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0xe]
mov eax, 1
shl eax, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.00402b6c
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x462fff
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.00402e6c
mov eax, dword [ebp - 0x24]
cmp word [eax + 0xe], 8
ja 0x462f0b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0045f234
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x462f00
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x462ef8
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx*4]
call fcn.0045cc44
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4]
cmp eax, dword [ebp - 0x38]
jne 0x462ef0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx*4]
call fcn.0045cc44
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x34]
dec dword [ebp - 0x58]
jne 0x462eb4
inc dword [ebp - 0x30]
dec dword [ebp - 0x54]
jne 0x462ea2
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0045f234
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
push 0
call fcn.00407f70
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x462fdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
push eax
call fcn.00407a90
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x462fbd
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.00407a88
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x462fbd
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_DefFrameProcA
mov dword [ebp - 0x4c], eax
push 0xcc0020
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push eax
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_DrawMenuBar
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_DefFrameProcA
mov eax, dword [ebp - 0x48]
push eax
call fcn.00407b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462fe6
mov eax, dword [ebp - 0x44]
push eax
push 0
call fcn.00408210
ret
mov dl, 1
mov eax, dword [0x45c080]
call fcn.00463af4
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x463052
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
call fcn.00464a1c
mov eax, dword [ebp - 0x50]
call fcn.00465cb0
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463059
mov eax, dword [ebp - 0x50]
call fcn.00403e74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463094
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetMenuItemCount
ret
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc