Function at 0x445e19
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x460793
call fcn.0045e9d0
sub esp, 0xf30
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [0x476908], ebx
push edi
mov dword [ebp - 0x18], esi
je 0x446047
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x446047
push ebx
mov ecx, esi
call fcn.00444f49
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4460a1
and byte [ebp - 0x220], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x21f]
and byte [ebp - 0x324], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x323]
rep stosd dword es:[edi], eax
and byte [ebp - 0x11c], bl
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
imul eax, eax, 0x9a8
lea ebx, [eax + esi]
xor eax, eax
mov esi, 0x103
lea edx, [ebx + 0x4c]
mov edi, edx
mov dword [ebp - 0x14], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jbe 0x445ed3
mov ecx, esi
jmp 0x445edf
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea eax, [ebp - 0x220]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 0x220]
push eax
call fcn.00426dc3
add esp, 0x10
lea ecx, [ebp - 0xf3c]
call fcn.004319eb
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, 0x4789e8
call fcn.0041a2ee
push eax
mov edi, 0x104
lea eax, [ebp - 0x428]
push edi
push eax
lea ecx, [ebp - 0xf3c]
call fcn.00432ab2
lea eax, [ebp - 0x428]
push eax
call fcn.00427239
pop ecx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x40aa14
lea eax, [ebp - 0x324]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
call esi
lea eax, [ebp - 0x11c]
push edi
push eax
lea eax, [ebp - 0x324]
push 0x40e7d8
push eax
call fcn.00427ab6
add esp, 0x24
add ebx, 0x1cc
mov dword [ebp - 0x10], ebx
push ebx
push dword [ebp - 0x14]
push 0x9e
call fcn.004252ac
pop ecx
mov ebx, 0x208
push eax
lea eax, [ebp - 0x630]
push ebx
push eax
call esi
and byte [ebp - 0x429], 0
add esp, 0x14
lea eax, [ebp - 0x630]
mov edi, 0x4994a0
push 0
push 1
push eax
mov ecx, edi
call fcn.00442473
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x10]
call fcn.004269f3
pop ecx
test eax, eax
pop ecx
jne 0x445ffd
push 0x10
push 0x40a37c
push 0x92
call fcn.004252ac
pop ecx
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x446036
lea eax, [ebp - 0x11c]
push eax
push 0x99
call fcn.004252ac
pop ecx
push eax
lea eax, [ebp - 0x630]
push ebx
push eax
call esi
and byte [ebp - 0x429], 0
add esp, 0x10
lea eax, [ebp - 0x630]
mov ecx, edi
push 0
push 1
push eax
call fcn.00442473
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf3c]
call fcn.00431a1e
jmp 0x4460a1
mov eax, dword [esi + 0x9ac6c]
push 0xffffffffffffffff
mov ecx, 0x49ac50
mov edi, dword [esi + eax*4 + 0x9a84c]
call fcn.004454af
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esi + 0x24]
mov ecx, esi
push eax
call fcn.00444f49
mov eax, dword [esi + 0x9ac6c]
cmp edi, dword [esi + eax*4 + 0x9a84c]
jne 0x4460a1
cmp dword [0x474d90], ebx
je 0x4460a1
mov ecx, esi
call fcn.00445007
test eax, eax
je 0x4460a1
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0044448f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret