Function at 0x497a20
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aeb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f4
mov dword [ebp - 0x14], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.link
call fcn.00415e60
lea eax, [ebp - 0x5c]
push eax
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0x5bca90
call fcn.00415e60
lea ecx, [ebp - 0x58]
push ecx
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.open_link
call fcn.00415e60
lea edx, [ebp - 0x54]
push edx
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str._app_:_menu_search_:_top_:_d__left_:_d__bottom_:_d__right_:_d
call fcn.00415700
lea eax, [ebp - 0xb4]
push eax
call fcn.00462a10
add esp, 0x1c
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 3
push 0
push 0
push 0x497980
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00413e40
lea ecx, [ebp - 0x34]
call fcn.00496b20
mov byte [ebp - 0xd], al
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004974b0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.0047c4d0
fstp qword [ebp - 0x64]
sub esp, 8
movsd xmm0, qword [ebp - 0x64]
movsd qword [esp], xmm0
lea eax, [ebp - 0x28]
push eax
call fcn.0047f230
add esp, 0xc
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0xb4]
push edx
call fcn.004155f0
lea eax, [ebp - 0xe8]
push eax
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0042b160
push eax
lea edx, [ebp - 0x900]
push edx
call fcn.004818e0
add esp, 0x18
lea ecx, [ebp - 0xe8]
call fcn.00419200
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x900]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00414390
mov byte [ebp - 4], 4
push 0x20
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.0043b8b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004185c0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
call fcn.00432660
movzx edx, al
test edx, edx
jne 0x497d73
call fcn.00470650
movzx eax, al
test eax, eax
jne 0x497d73
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.0047c4d0
fstp qword [ebp - 0x64]
sub esp, 8
movsd xmm0, qword [ebp - 0x64]
movsd qword [esp], xmm0
lea ecx, [ebp - 0x74]
push ecx
call fcn.0047f230
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.0046f7f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x497d12
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x90], esp
lea edx, [ebp - 0xb4]
push edx
call fcn.004155f0
lea eax, [ebp - 0x100]
push eax
call fcn.004625e0
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.0042b160
push eax
lea edx, [ebp - 0x900]
push edx
call fcn.004818e0
add esp, 0x18
lea ecx, [ebp - 0x100]
call fcn.00419200
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x900]
push edx
lea ecx, [ebp - 0x30]
call fcn.00414390
mov byte [ebp - 4], 5
push 0x20
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0043b8b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.004185c0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00497de0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jle 0x497d51
lea ecx, [ebp - 0xd0]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0x34]
call fcn.00496b20
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x497d66
jmp 0x497d73
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x497bf1
cmp dword [ebp - 0x18], 0
je 0x497d87
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.00419200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004185c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004185c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret