Function at 0x40334a
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x441e34
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20
mov eax, dword [0x44ff54]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x44ffe8
test eax, eax
jne 0x403495
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 [0x450ee4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x450ef0], eax
call fcn.00407fbd
test eax, eax
jne 0x4033de
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, 0x450010
call fcn.00404391
mov eax, dword [eax]
mov dword [eax + 0x10], 1
jmp 0x403462
call fcn.0040ece8
test eax, eax
jne 0x4033fd
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 0x4033c5
call fcn.0040de42
mov ecx, eax
push 0
mov dword [ebp + 8], ecx
call fcn.0040f143
mov ecx, dword [ebp + 8]
push ebx
call fcn.0040f4c3
call fcn.0040d38e
mov dword [0x44d71c], eax
call fcn.0040e449
cmp dword [0x44d71c], 7
jmp 0x40347e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x4035c1
mov dword [0x450020], 1
jmp 0x40348e
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, 0x44ff48
push eax
mov ecx, ebx
call fcn.00404286
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x44ff4c]
jne 0x40350a
push dword [ebp + 8]
push dword [0x450ee4]
push 0x40318a
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x40355b
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.00403f35
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
lea eax, [ebp + 8]
mov ebx, 0x450000
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.00404286
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x450004]
mov dword [ebp - 0x10], eax
jne 0x40359f
push dword [ebp + 8]
push dword [0x450ee4]
push 0x402f75
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x403582
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.00403a71
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x40359f
call edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov ecx, 0x450010
mov dword [ebp - 0x20], edi
call fcn.00404391
mov eax, dword [eax]
mov dword [eax + 0x10], 2
jmp 0x4035b8
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x450010
call fcn.00403ba2
mov dword [eax], 3
xor edi, edi
jmp 0x4035b8
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x450010
call fcn.00403ba2
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