Function at 0x40ab70
Capabilities:
Log keystrokes
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6099e8
mov eax, dword fs:[0]
push eax
sub esp, 0x924
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x844], 0x30
mov dword [ebp - 0x840], 3
mov dword [ebp - 0x83c], 0x40b370
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x830], eax
push 0x6b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x82c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], 6
mov dword [ebp - 0x820], 0x6d
mov dword [ebp - 0x81c], 0x6a18c0
push 0x6c
mov edx, dword [ebp - 0x830]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
xor ecx, ecx
mov word [ebp - 0x814], cx
push 0x7fe
push 0
lea edx, [ebp - 0x812]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x864]
push eax
call fcn.00450a30
add esp, 4
mov dword [ebp - 0x924], eax
mov ecx, dword [ebp - 0x924]
mov dword [ebp - 0x928], ecx
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x880]
push edx
call fcn.00412040
add esp, 8
mov dword [ebp - 0x92c], eax
mov eax, dword [ebp - 0x92c]
mov dword [ebp - 0x930], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x928]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x930]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x6167f0
push 0x3ff
lea ecx, [ebp - 0x814]
push ecx
call dword [sym.imp.MSVCR90.dll_swprintf_s]
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x880]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
lea eax, [ebp - 0x814]
push eax
push 0x6a18c0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40ad41
xor eax, eax
jmp 0x40ae7f
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x8b0]
push ecx
mov ecx, 0x6a1ae8
call fcn.0040cac0
mov dword [ebp - 0x8a0], 0
lea edx, [ebp - 0x8a0]
push edx
mov eax, dword [ebp - 0x8a4]
push eax
mov ecx, dword [ebp - 0x8a8]
push ecx
mov edx, dword [ebp - 0x8ac]
push edx
mov eax, dword [ebp - 0x8b0]
push eax
call fcn.0040d590
add esp, 0x14
cmp dword [ebp - 0x8a0], 0
jne 0x40ae47
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x40b990
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x890], ecx
mov edx, dword [ebp - 0x848]
mov dword [ebp - 0x88c], edx
mov eax, dword [ebp - 0x890]
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x88c]
mov dword [ebp - 0x884], ecx
lea edx, [ebp - 0x888]
push edx
lea eax, [ebp - 0x89c]
push eax
mov ecx, 0x6a1ae8
call fcn.0040bd70
cmp dword [0x6a1ac8], 0
jne 0x40ae6d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x40bbe0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x6a1ac8], eax
call fcn.004292e0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret