Function at 0x1002ab6f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1002ad6b
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1002abfa
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002abf5
push 0
push 0x1633
push 0
push 0
push 0xf17
push 0x237d
call dword [sym.imp.USER32.dll_ToAsciiEx]
jmp 0x1002ad66
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
jne 0x1002aca1
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
jne 0x1002ac8e
mov eax, 0x98737a30
test eax, eax
jne 0x1002ac8e
and dword [ebp - 0x28], 0
jmp 0x1002ac95
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 1
jae 0x1002aca1
and dword [ebp - 0x14], 0
jmp 0x1002aca8
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 3
je 0x1002acb7
mov dword [ebp - 0x20], 1
jmp 0x1002acbb
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
mov dword [ebp - 0x68], 1
jmp 0x1002acd0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1002acfa
mov dword [ebp - 0x30], 1
jmp 0x1002acfe
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x9761
jg 0x1002ad10
mov dword [ebp - 0x18], 1
jmp 0x1002ad14
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x1002ad27
mov dword [ebp - 0x24], 1
jmp 0x1002ad2b
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x1002ad48
mov dword [ebp - 0x2c], 1
jmp 0x1002ad4c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xe568
imul esi, eax, 0x60fc
push 3
mov ecx, dword [ebp - 0xc]
call fcn.1002fdaa
mov dword [eax], esi
jmp 0x1002ae14
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae00
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1002adfe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002ade4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x1002adfe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002adfe
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x1002ae14
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1002ae14
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
pop esi
mov esp, ebp
pop ebp
ret