Function at 0x4017a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 8], ebx
call fcn.0043f520
mov edi, eax
lea eax, [edi + 0x32]
push eax
call fcn.0043f481
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
lea esi, [eax + edi]
call fcn.0043f120
mov eax, dword [ebp - 0xc]
mov byte [esi], 0xa
push 0xa
inc esi
push eax
mov byte [esi], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
call fcn.0043d2a0
add esp, 0x1c
jmp 0x401822
mov eax, edi
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jle 0x4017fa
mov dword [ebp - 8], eax
mov eax, esi
sub eax, edi
inc eax
push eax
lea eax, [edi + 1]
push edi
push eax
call fcn.0043f120
mov byte [edi], 0xd
add edi, 2
push 0xa
inc esi
inc dword [ebp - 4]
push edi
mov dword [ebp - 0x10], edi
call fcn.0043d2a0
add esp, 0x14
mov edi, eax
cmp edi, ebx
jne 0x4017ed
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 3
mov dword [ebp - 0x14], eax
fmul dword [0x481388]
fstp dword [ebp - 8]
fild dword [ebp - 0x14]
fmul dword [0x49f36c]
fstp dword [ebp - 0x10]
fild dword [0x4bfeb8]
fsub dword [ebp - 8]
fld qword [0x45ce80]
fmul st(1), st(0)
fild dword [0x4bfeb0]
faddp st(2)
fldz
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x40187a
fstp st(2)
jmp 0x40187c
fstp st(0)
fld dword [ebp - 8]
call fcn.0043f5b0
fld dword [ebp - 0x10]
push ebx
push dword [0x4bfec0]
mov edi, eax
push ebx
push ebx
call fcn.0043f5b0
fild dword [0x4bfebc]
push eax
push edi
fsub dword [ebp - 0x10]
fmulp st(1)
fiadd dword [0x4bfeb4]
call fcn.0043f5b0
push eax
call fcn.0043f5b0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
push 0x90c00000
push str.Notice
push 0x45242c
push ebx
call esi
fild dword [ebp - 4]
push ebx
push dword [0x4bfec0]
fstp dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x10]
push ebx
fmul dword [0x49f36c]
push eax
call fcn.0043f5b0
fld dword [0x481388]
push eax
push edi
push ebx
call fcn.0043f5b0
push eax
push 0x40000904
push dword [ebp - 0xc]
push 0x452438
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [0x49f850]
mov dword [ebp - 4], eax
push 0x30
push eax
call edi
push 5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
fld dword [0x481388]
fmul qword [0x45ce98]
push ebx
push dword [0x4bfec0]
fstp dword [ebp - 4]
push 1
fld dword [0x49f36c]
push dword [ebp - 0x14]
fld qword [0x45ce90]
fmul st(1)
call fcn.0043f5b0
fld dword [ebp - 4]
push eax
call fcn.0043f5b0
fmul dword [ebp - 0x10]
push eax
call fcn.0043f5b0
fld dword [ebp - 8]
fsub dword [ebp - 4]
push eax
fmul qword [0x45ce80]
call fcn.0043f5b0
push eax
push 0x40000000
push 0x452440
push 0x452444
push ebx
call esi
push 1
push dword [0x49f850]
mov esi, eax
push 0x30
push esi
call edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov esi, 0x4c4f70
jmp 0x401a12
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x4c4f74]
mov eax, dword [0x4c4f78]
cmp ecx, 0x10
je 0x401a1c
cmp ecx, 0x100
jne 0x4019f5
cmp eax, 0x1b
je 0x401a1c
cmp eax, 0x73
jne 0x4019f5
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x401a1c
cmp dword [0x4c4f74], 0x202
jne 0x401a12
push dword [0x4c4f70]
call dword [sym.imp.USER32.dll_GetMenu]
cmp eax, 1
je 0x401a1c
push ebx
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x4019bf
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0xc]
call fcn.0043f0db
pop ecx
pop edi
pop esi
pop ebx
leave
ret