Function at 0x40e4a0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48abc0
push eax
mov eax, dword [0x4aa504]
mov dword fs:[0], esp
sub esp, 8
test eax, eax
push ebx
mov ebx, dword [sym.imp.kernel32.dll_EnterCriticalSection]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push esi
push edi
jne 0x40e5b9
push 0x4aa4ac
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
push 0x4aa4ac
mov dword [esp + 0x14], 0x4aa4ac
call ebx
mov edi, dword [esp + 0x28]
push 0x491784
mov dword [esp + 0x24], 0
mov dword [0x4aa86c], edi
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x491768
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4aa878], eax
call fcn.0041e020
test eax, eax
jne 0x40e537
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
jmp 0x40e54f
call fcn.0041d570
test eax, eax
jne 0x40e581
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
push ecx
mov ecx, 0x4aa508
call fcn.0040e390
push 0x4aa4ac
mov dword [eax], 1
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
call fcn.0041cc90
mov esi, eax
push 0
mov ecx, esi
call fcn.0041ce60
push edi
mov ecx, esi
call fcn.0041d1c0
call fcn.00411010
mov dword [0x4a7394], eax
call fcn.00422720
push 0x4aa4ac
mov dword [0x4aa4f8], 1
call ebp
push 0x4aa4ac
mov dword [esp + 0x18], 0x4aa4ac
call ebx
mov esi, dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esp + 0x20], 1
call esi
mov edi, eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4aa4fc
mov dword [esp + 0x30], edi
call fcn.0040d610
mov ecx, dword [esp + 0x10]
cmp ecx, dword [0x4aa500]
jne 0x40e62e
mov edx, dword [0x4aa86c]
push edi
push edx
push 0x40d2f0
push 4
call dword [sym.imp.user32.dll_SetWindowsHookExW]
mov ebx, eax
test ebx, ebx
je 0x40e6b8
lea eax, [esp + 0x28]
push eax
mov ecx, 0x4aa4fc
call fcn.0040e390
mov dword [eax], ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4aa520
call fcn.0040d610
mov eax, dword [eax]
cmp eax, dword [0x4aa524]
jne 0x40e67c
mov ecx, dword [0x4aa86c]
push edi
push ecx
push 0x40d0c0
push 2
call dword [sym.imp.user32.dll_SetWindowsHookExW]
mov edi, eax
test edi, edi
je 0x40e6f1
lea edx, [esp + 0x28]
push edx
mov ecx, 0x4aa520
call fcn.0040e390
mov dword [eax], edi
call esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x4aa508
mov dword [esp + 0x2c], eax
call fcn.0040e390
push 0x4aa4ac
mov dword [eax], 0
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
call esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x4aa508
mov dword [esp + 0x2c], eax
call fcn.0040e390
push 0x4aa4ac
mov dword [eax], 2
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
call esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x4aa508
call fcn.0040e390
push 0x4aa4ac
mov dword [eax], 3
call ebp
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10