Function at 0x101071d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10178461
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1029c3d4]
push ebx
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a6d80]
push edi
cmp eax, dword [ecx + 4]
jle 0x10107279
push 0x102a6d80
call fcn.101707aa
add esp, 4
cmp dword [0x102a6d80], 0xffffffff
jne 0x10107279
mov dword [ebp - 4], 0
push 0x14
mov dword [0x102a6d5c], 0
mov dword [0x102a6d60], 0
call fcn.101706d6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101803b0
mov dword [0x102a6d5c], eax
call fcn.10170b13
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x102a6d80
call fcn.10170759
add esp, 4
push 0x14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.101706d6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
xor ecx, ecx
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0xff
mov dword [ebp - 0x10], 0
nop dword [eax]
movsx eax, cx
push eax
call esi
movzx ebx, ax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
shr ebx, 0xf
push eax
and bl, 1
call fcn.1011cd20
mov byte [eax], bl
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
movzx ecx, ax
cmp ax, di
jl 0x101072c0
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov word [0x1029c728], ax
mov esi, dword [esi]
cmp byte [esi + 0xd], al
jne 0x10107421
cmp byte [esi + 0x10], 0
lea ebx, [esi + 0xe]
je 0x101073c8
push ebx
lea eax, [ebp - 0x34]
mov ecx, 0x102a6d5c
push eax
call fcn.10120220
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x10107418
mov ax, word [ebx]
cmp ax, word [ecx + 0xe]
jl 0x10107418
push ebx
lea eax, [ebp - 0x28]
mov ecx, 0x102a6d5c
push eax
call fcn.10120220
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x10107359
mov ax, word [ebx]
cmp ax, word [ecx + 0xe]
jge 0x101073c2
cmp dword [0x102a6d60], 0xccccccc
je 0x101074d7
mov edi, dword [0x102a6d5c]
mov dword [ebp - 0x14], 0x102a6d5c
mov byte [ebp - 4], 2
push 0x14
mov dword [ebp - 0x10], 0
call fcn.101706d6
mov byte [ebp - 4], 1
add esp, 4
mov cx, word [ebx]
mov dword [ebp - 0x10], 0
mov word [eax + 0xe], cx
mov ecx, 0x102a6d5c
push eax
push dword [ebp - 0x24]
mov byte [eax + 0x10], 0
push dword [ebp - 0x28]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.100959a0
mov ecx, eax
cmp byte [ecx + 0x10], 0
je 0x10107418
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x101073f4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x101073f0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x101073f0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x101073e0
mov esi, eax
jmp 0x1010740c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1010740c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10107400
cmp byte [esi + 0xd], 0
je 0x10107302
jmp 0x10107421
mov ax, word [ebx]
mov word [0x1029c728], ax
mov esi, dword [0x102a6d5c]
mov ecx, 0x102a6d5c
push dword [esi + 4]
push 0x102a6d5c
call fcn.10120d30
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x1c]
push dword [0x102a6d5c]
mov dword [0x102a6d60], 0
push dword [eax + 4]
call fcn.10124970
mov ecx, dword [0x102a6d5c]
mov dword [ecx + 4], eax
mov esi, dword [0x102a6d5c]
mov eax, dword [ebp - 0x18]
mov dword [0x102a6d60], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x101074b4
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x10107490
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10107484
mov dword [esi], edx
mov edx, dword [0x102a6d5c]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x101074af
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x101074a4
mov dword [edx + 8], ecx
jmp 0x101074be
mov dword [esi], esi
mov eax, dword [0x102a6d5c]
mov dword [eax + 8], eax
lea ecx, [ebp - 0x1c]
call fcn.1011cdd0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100873b0
int3