Function at 0x678643d0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67985540
push eax
mov eax, dword [0x67a7bae4]
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
je 0x6786440d
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov ecx, dword [esi + 0x98]
push 1
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPCommandBars::SetCustomizeMode_int_
mov eax, dword [esi + 0x98]
push 0x10
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x14], esi
call sub.MFC42.DLL_AfxEndDeferRegisterClass
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc4]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x6786444f
push ebx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::EnableModeless
mov eax, dword [esi + 0x94]
push ebp
cmp eax, ebx
push edi
jne 0x67864463
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x6786446c
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14], eax
mov ebp, eax
mov ecx, esi
call sub.MFC42.DLL_CPropertySheet::GetPropSheetHeader
mov edi, eax
lea ecx, [esp + 0x20]
mov dword [edi + 8], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], sym.MfcHlpr520.dll_private:_int___thiscall_CMHPCustomizeSheet::FilterMouse_unsigned_int__long_int_
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], sym.MfcHlpr520.dll_private:_int___thiscall_CMHPCustomizeSheet::FilterKey_unsigned_int__long_int_
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], sym.MfcHlpr520.dll_private:_int___thiscall_CMHPCustomizeSheet::FilterMessage_unsigned_int__long_int_
mov dword [esp + 0x40], esi
mov dword [0x67a7bae4], ecx
cmp ebp, ebx
mov dword [esp + 0x4c], ebx
je 0x678644ff
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call ebp
push eax
push ebx
push 0x678647a0
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esp + 0x20], eax
call ebp
push eax
push ebx
push 0x678647f0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esp + 0x2c], eax
call ebp
push eax
push ebx
push 0x67864840
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebx
je 0x67864514
push ebx
push ebx
push 0x1f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x28]
mov ebp, 0x10
or eax, ebp
push esi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], eax
call sub.MFC42.DLL_AfxHookWindowCreate
mov ecx, dword [edi + 4]
push edi
or ch, 4
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x28]
or eax, ebp
mov dword [esi + 0x28], eax
call dword [sym.imp.COMCTL32.dll_PropertySheetA]
mov ecx, dword [edi + 4]
mov ebp, eax
and ch, 0xfb
mov dword [edi + 4], ecx
call sub.MFC42.DLL_AfxUnhookWindowCreate
cmp ebp, ebx
je 0x6786455b
cmp ebp, 0xffffffff
jne 0x67864563
mov eax, dword [esi + 0x28]
and al, 0xef
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x98]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBars::IsLayoutRTL_void_const
test eax, eax
je 0x678645ae
push 0x20
push 0x500000
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ModifyStyleEx
push 0x3020
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edi, eax
cmp edi, ebx
je 0x678645ae
push ebx
push 0x400000
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ModifyStyleEx
mov edx, dword [edi + 0x20]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x30]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x18], eax
call dword [edx + 0x78]
test eax, eax
je 0x678645e2
mov ecx, esi
mov edi, 4
call sub.MFC42.DLL_CWnd::GetStyle
test ah, 1
je 0x678645d6
mov edi, 5
push edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::RunModalLoop
mov dword [esp + 0x18], eax
cmp dword [esi + 0x20], ebx
je 0x678645f8
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp eax, ebx
je 0x6786460d
push eax
call edi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x6786461c
push eax
call edi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x6786462b
push eax
call edi
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x13], bl
cmp ebp, ebx
je 0x67864647
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x67864647
mov byte [esp + 0x13], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
cmp byte [esp + 0x13], bl
je 0x6786465b
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x6786466a
push 1
call sub.MFC42.DLL_CWinApp::EnableModeless
mov ecx, dword [esi + 0x98]
push ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPCommandBars::SetCustomizeMode_int_
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx + 0x4c]
mov dword [eax + 0x14], ebx
mov ecx, dword [esi + 0x98]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPCommandBars::ClosePopups_void_const
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], 3
cmp eax, ebx
je 0x678646a4
push eax
call edi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x678646b3
push eax
call edi
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x38]
call fcn.67864710
mov eax, dword [esp + 0x38]
mov dword [0x67a7bae4], ebx
cmp eax, ebx
je 0x678646d1
push eax
call edi
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x678646e0
push eax
call edi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x678646eb
push eax
call edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret