Function at 0x4ac919
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5b6e64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4acbcf
and dword [ebp - 0x2c], 0
and dword [ebp - 0x18], 0
mov esi, dword [esi]
push 1
push edi
push 0x5b677c
call fcn.00429ca4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [esi + 0x14]
test eax, eax
je 0x4ac9ac
push dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x28]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [edx + 0x1c0]
push ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4acbcf
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x4ac9ed
cmp dword [eax + 8], 0
je 0x4ac9ed
cmp dword [eax + 4], 0
je 0x4ac9ed
push edi
push 0x5b677c
call fcn.00429ca4
pop ecx
pop ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1a8]
push eax
push 0x56eb3c
call fcn.00429ca4
pop ecx
pop ecx
mov ecx, eax
jmp 0x4ac9ef
xor ecx, ecx
mov eax, dword [esi]
push ecx
push 1
push 0
push 1
push dword [0x5b67a4]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x10]
push eax
push 0x5b6a3c
call fcn.00429ca4
mov dword [ebp - 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x4aca81
mov ecx, eax
call fcn.004ed4c5
test eax, eax
je 0x4aca81
mov esi, 0x5b677c
mov ecx, edi
push esi
call fcn.00429d3a
test eax, eax
je 0x4aca5a
push edi
push esi
call fcn.00429ca4
mov esi, dword [ebp - 0x24]
pop ecx
pop ecx
push eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x338]
test eax, eax
je 0x4acbcf
jmp 0x4aca5d
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.004ed4c5
push dword [ebp - 0x1c]
mov ecx, eax
push dword [ebp - 0x28]
mov edx, dword [eax]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [edx + 0x29c]
jmp 0x4acbcf
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004ad877
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x4acbcc
and dword [eax], 0
mov ecx, edi
push 0x5b677c
call fcn.00429d3a
test eax, eax
je 0x4acade
push edi
push 0x5b677c
call fcn.00429ca4
pop ecx
pop ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1a8]
push eax
push 0x56ef3c
call fcn.00429ca4
pop ecx
pop ecx
test eax, eax
je 0x4acb0e
jmp 0x4acafb
push 0x5b6a3c
mov ecx, edi
call fcn.00429d3a
test eax, eax
je 0x4acb0e
push edi
push 0x5b6a3c
call fcn.00429ca4
pop ecx
pop ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x198]
test dword [ebp - 0x18], eax
je 0x4acbcf
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x2c], 0
je 0x4acb37
add esi, 0x108
jmp 0x4acb3d
add esi, 0xf8
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0xe4]
call fcn.00416aa7
mov ecx, dword [ebp - 0x18]
and eax, 0x400000
cmp ecx, 0x1000
je 0x4acbbb
cmp ecx, 0x2000
je 0x4acbad
cmp ecx, 0x4000
je 0x4acb87
cmp ecx, 0x8000
jne 0x4acb96
mov eax, dword [ebx + 0xc]
sub eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov dword [ebx + 4], eax
jmp 0x4acb96
test eax, eax
je 0x4acbbf
mov eax, dword [ebx]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov eax, dword [esi]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x5c]
mov ecx, dword [esi + 0xe4]
push ebx
call fcn.0042037f
jmp 0x4acbcf
mov eax, dword [ebx + 4]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
jmp 0x4acb96
test eax, eax
je 0x4acb8b
mov eax, dword [ebx + 8]
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov dword [ebx], eax
jmp 0x4acb96
and dword [eax], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00537a6f
mov esp, ebp
pop ebp
ret 0x18