Function at 0x402a90
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x43eaf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
push edi
mov dword [esp + 0x1c], eax
xor ebx, ebx
xor ebp, ebp
call fcn.00428480
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
cmp dword [esi + 0x5c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
je 0x402c8e
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x402c3d
push 0x72
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x402b00
mov dword [esp + 0x10], 0x72
mov edx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00421deb
mov ecx, dword [esi + 0xa4]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
je 0x402bab
test ah, 1
mov dword [esi + 0xa4], eax
je 0x402b50
mov ecx, dword [esi + 0x1c]
push ebx
push 0x64
push 0x100
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x9c], 1
jmp 0x402bab
test ah, 2
je 0x402b73
mov edx, dword [esi + 0x1c]
push ebx
push 0x64
push 0x200
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0xa0], 1
jmp 0x402bab
cmp dword [esi + 0x9c], ebx
mov edi, dword [sym.imp.USER32.dll_KillTimer]
je 0x402b92
mov eax, dword [esi + 0x1c]
push 0x100
push eax
call edi
mov dword [esi + 0x9c], ebx
cmp dword [esi + 0xa0], ebx
je 0x402bab
mov ecx, dword [esi + 0x1c]
push 0x200
push ecx
call edi
mov dword [esi + 0xa0], ebx
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x402bc3
push eax
push ebp
mov ecx, esi
call fcn.00401e90
test eax, eax
jne 0x402bc3
cmp ebp, ebx
jne 0x402c17
cmp dword [esp + 0x10], 0x72
je 0x402c1e
mov eax, dword [esi + 0x88]
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
cmp dword [esp + 0x10], 0x72
jne 0x402c3d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x402c35
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x6c], ecx
jmp 0x402c7e
mov edx, dword [esi + 0x80]
jmp 0x402c7b
test byte [esp + 0x14], 0x5e
push 0x11
je 0x402c60
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x402c5b
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x6c], ecx
jmp 0x402c7e
mov edx, dword [esi + 0x78]
jmp 0x402c7b
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x402c75
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x6c], ecx
jmp 0x402c7e
mov edx, dword [esi + 0x84]
mov dword [esi + 0x6c], edx
mov esi, dword [esi + 0x6c]
cmp dword [esp + 0x1c], esi
je 0x402c8e
push esi
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402cb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4