Function at 0x43aab3
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446885
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x88], ecx
mov eax, 1
test eax, eax
je 0x43aaec
mov dword [ebp - 0x8c], 0
jmp 0x43ab03
mov ecx, dword [ebp + 8]
push ecx
push str.CMenuBar::TrackPopup__d_n
call fcn.00401f20
add esp, 8
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], 0x448d7c
mov dword [ebp - 0x14], 0x44a31c
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0xf0]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CMenu::Attach
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 8], 0
jl 0x43ae11
mov eax, dword [ebp - 0x88]
mov dword [eax + 0xf8], 0xffffffff
mov dword [ebp - 0x60], 1
mov ecx, dword [ebp - 0x60]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x403
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0x88]
cmp dword [ecx + 0x24], 0
je 0x43abbe
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x24]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x68], eax
jmp 0x43abdd
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x68], eax
push 1
push 0x28
push 0x100
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x24], 0
je 0x43ac13
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x24]
push edx
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x70], eax
jmp 0x43ac32
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x70], eax
push 1
push 0x28
push 0x101
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp + 8]
push edx
push 2
mov ecx, dword [ebp - 0x88]
call fcn.00439fa2
mov eax, dword [ebp - 0x88]
mov dword [0x45ee38], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x43a743
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x45ee3c], eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x433
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x88]
call sub.MFC42.DLL_CWnd::ClientToScreen
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.0043ae6c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0xf0]
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x110], ecx
mov edx, dword [ebp - 0x88]
cmp dword [edx + 0x24], 0
je 0x43ad19
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x24]
push ecx
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x7c], eax
jmp 0x43ad38
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x43ad4a
mov dword [ebp - 0x90], 0
jmp 0x43ad56
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0x40
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x45ee3c]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x45ee3c], 0
mov dword [0x45ee38], 0
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x84]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x403
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x88]
xor eax, eax
cmp dword [edx + 0x104], 0
setne al
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00439fa2
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0xf8]
mov dword [ebp + 8], edx
jmp 0x43ab47
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CMenu::Detach
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0xf0]
mov dword [eax + 0x110], edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0x44a31c
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CMenu::DestroyMenu
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0x448d7c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4