Function at 0x446d50
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x4a95e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [0x4ddec4], ebx
mov dword [esp + 0xc], vtable.CMenu.0
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x54], ebx
call fcn.00490b54
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, dword [esp + 0x58]
cmp edi, ebx
jl 0x446f4c
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x1c]
push 1
push edi
push 0x403
push edx
mov dword [esi + 0xe0], 0xffffffff
call ebx
mov eax, dword [esi + 0x1c]
push eax
call ebp
call fcn.0049ebe0
mov eax, dword [eax + 4]
push 1
push 0x28
push pe_nt_image_headers32
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.0049ebe0
mov eax, dword [eax + 4]
push 1
push 0x28
push 0x101
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
push 2
mov ecx, esi
call fcn.00446840
mov dword [0x4ddee8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x446ac0
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x4ddeec], eax
jne 0x446e5d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x446ac0
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4ddeec], eax
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x28]
push eax
push edi
push 0x433
push ecx
call ebx
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.00492f85
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00446f90
mov ecx, dword [eax]
push edi
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x9c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetSubMenu]
lea ecx, [esi + 0xa4]
mov dword [esp + 0x5c], eax
call fcn.00490b81
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0xb0]
push ecx
lea ecx, [esi + 0xa4]
mov dword [esi + 0xac], eax
call fcn.00490b54
call fcn.0049ebe0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
push 0x40
lea ecx, [esi + 0xa4]
call fcn.0048cd51
mov edx, dword [0x4ddeec]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov dword [0x4ddeec], eax
mov dword [0x4ddee8], eax
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x403
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push edi
mov edi, dword [esi + 0xec]
xor edx, edx
mov ecx, esi
test edi, edi
setne dl
push edx
call fcn.00446840
mov edi, dword [esi + 0xe0]
test edi, edi
jge 0x446db9
pop ebp
lea ecx, [esp + 0xc]
call fcn.00490b81
mov dword [esp + 0xc], vtable.CMenu.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 1
call fcn.00490bab
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4