Function at 0x1000a51a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000a592
lea eax, [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1000a574
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.1002c5a0
mov dword [eax], 0xae2718b9
jmp 0x1000a58d
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1000a58d
push 0
push 0xd23
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x1000a825
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0x6fe7d8a8
mov dword [ebp - 0x18], 0xbe135e1f
mov dword [ebp - 0x14], 0
jmp 0x1000a5bc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1000a5d2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x98], 0xfffffffe
jmp 0x1000a5b5
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jle 0x1000a630
mov byte [ebp - 0xc], 0
movzx eax, byte [ebp - 0xc]
test eax, eax
je 0x1000a5f3
push 0
push 0xd23
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebp - 4], 0xfffffff9
jmp 0x1000a603
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
jl 0x1000a62b
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x1000a629
push 0
push 0x863
push 0
push 0x192
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1000a5fc
jmp 0x1000a80b
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x1000a647
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x1000a690
mov byte [ebp - 0xb], 0
movzx eax, byte [ebp - 0xb]
test eax, eax
je 0x1000a661
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x98], 0
jne 0x1000a681
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x98], 0
jne 0x1000a681
and dword [ebp - 0x3c], 0
jmp 0x1000a688
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jmp 0x1000a640
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 8]
jne 0x1000a6b7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x88], eax
mov eax, 0xb79d
cmp eax, 1
jl 0x1000a6b7
and dword [ebp - 0x28], 0
jmp 0x1000a6be
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0xffff
jbe 0x1000a6d3
cmp dword [ebp - 8], 0
jne 0x1000a6d3
and dword [ebp - 0x38], 0
jmp 0x1000a6da
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x18]
add eax, ecx
cmp eax, dword [ebp - 8]
jne 0x1000a6fb
mov dword [ebp - 0x30], 1
jmp 0x1000a6ff
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x30], eax
jg 0x1000a710
mov dword [ebp - 0x40], 1
jmp 0x1000a714
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x5ab
jg 0x1000a726
mov dword [ebp - 0x24], 1
jmp 0x1000a72a
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x5725
jne 0x1000a73c
mov dword [ebp - 0x2c], 1
jmp 0x1000a740
and dword [ebp - 0x2c], 0
imul eax, dword [ebp - 0x2c], 7
sub eax, 0x798f03dc
je 0x1000a772
mov eax, 0xbe67
test eax, eax
je 0x1000a772
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x1000a76d
push 0
push 0x1284
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x1000a80b
mov dword [ebp - 0x1c], 0xf4846e1d
mov dword [ebp - 0x44], 0x2fb38a83
mov dword [ebp - 0x60], 0xfffffffd
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jg 0x1000a7e4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
xor eax, eax
inc eax
jne 0x1000a7bf
mov eax, 0x5bdddd5d
test eax, eax
jne 0x1000a7bf
and dword [ebp - 0x34], 0
jmp 0x1000a7c6
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x34], eax
je 0x1000a7d7
mov dword [ebp - 0x5c], 1
jmp 0x1000a7db
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jge 0x1000a7fb
cmp dword [ebp - 0x1c], 0
je 0x1000a7fb
mov dword [ebp - 0x20], 1
jmp 0x1000a7ff
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
push 0x799e
push 0x5959
call fcn.1001834a
add esp, 0x14
mov esp, ebp
pop ebp
ret