Function at 0x4155ba
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x455e04
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20
mov eax, dword [0x4695dc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x469670
test eax, eax
jne 0x415705
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
mov dword [ebp - 0x14], esi
call edi
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push str.User32.dll
mov dword [0x46a564], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46a570], eax
call fcn.0041a23c
test eax, eax
jne 0x41564e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x469698
call fcn.004165f6
mov eax, dword [eax]
mov dword [eax + 0x10], 1
jmp 0x4156d2
call fcn.00420f5c
test eax, eax
jne 0x41566d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
jmp 0x415635
call fcn.004200b6
mov ecx, eax
push 0
mov dword [ebp + 8], ecx
call fcn.004213b7
mov ecx, dword [ebp + 8]
push ebx
call fcn.00421737
call fcn.0041f602
mov dword [0x466950], eax
call fcn.004206bd
cmp dword [0x466950], 7
jmp 0x4156ee
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415831
mov dword [0x4696a8], 1
jmp 0x4156fe
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov dword [ebp - 0x18], esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], 1
call edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
mov ebx, 0x4695d0
push eax
mov ecx, ebx
call fcn.004164eb
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x4695d4]
jne 0x41577a
push dword [ebp + 8]
push dword [0x46a564]
push 0x4153fa
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4157cb
mov eax, dword [ebp + 8]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0041619a
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
lea eax, [ebp + 8]
mov ebx, 0x469688
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.004164eb
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x46968c]
mov dword [ebp - 0x10], eax
jne 0x41580f
push dword [ebp + 8]
push dword [0x46a564]
push 0x4151e5
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4157f2
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.00415cd6
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x41580f
call edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov ecx, 0x469698
mov dword [ebp - 0x20], edi
call fcn.004165f6
mov eax, dword [eax]
mov dword [eax + 0x10], 2
jmp 0x415828
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x469698
call fcn.00415e07
mov dword [eax], 3
xor edi, edi
jmp 0x415828
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x469698
call fcn.00415e07
and dword [eax], 0
push 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10