Function at 0x100e8110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov ebx, eax
cmp dword [0x1017bd3c], edi
je 0x100e8218
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x28]
mov dword [0x101831d4], 1
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100e820e
mov eax, dword [0x101831e8]
test eax, eax
je 0x100e8170
lea ecx, [ebp - 0x28]
push ecx
push dword [0x101831ec]
call eax
add esp, 8
test eax, eax
je 0x100e81f4
cmp dword [ebp - 0x24], 0x200
mov esi, dword [ebp - 0x18]
jne 0x100e8196
mov eax, dword [0x10183278]
test eax, eax
je 0x100e8196
sub eax, esi
inc eax
test eax, eax
jg 0x100e81f4
mov dword [0x10183278], 0
mov eax, dword [0x101831d8]
test eax, eax
je 0x100e81ca
cmp esi, eax
jae 0x100e81ca
mov ecx, dword [0x101831e0]
mov eax, ecx
mov edx, dword [0x101831e4]
or eax, edx
je 0x100e81ca
add ecx, 0
mov dword [0x101831e0], ecx
adc edx, 0xf4240
mov dword [0x101831e4], edx
lea eax, [ebp - 0x28]
mov dword [0x101831d8], esi
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebx + 1]
sub eax, dword [ebp - 0x18]
test eax, eax
jg 0x100e81f4
inc edi
cmp edi, 3
jg 0x100e820e
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100e8150
mov dword [0x101831d4], 0
push 0
call fcn.10094e40
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, eax
add esp, 4
cmp byte [esi + 0xe1], 1
jne 0x100e8254
push 0xa0
call edi
bt ax, 0xf
jb 0x100e8254
push 0xe1
push 0
push 0
push 0
call fcn.10095250
add esp, 0x10
cmp byte [esi + 0xe5], 1
jne 0x100e827e
push 0xa1
call edi
bt ax, 0xf
jb 0x100e827e
push 0xe5
push 0
push 0
push 0
call fcn.10095250
add esp, 0x10
call fcn.10094e30
test eax, eax
je 0x100e8290
test dword [eax + 0x38], 0x100000
jne 0x100e82de
cmp byte [esi + 0xe3], 1
jne 0x100e82b7
push 0x5b
call edi
bt ax, 0xf
jb 0x100e82b7
push 0xe3
push 0
push 0
push 0
call fcn.10095250
add esp, 0x10
cmp byte [esi + 0xe7], 1
jne 0x100e82de
push 0x5c
call edi
bt ax, 0xf
jb 0x100e82de
push 0xe7
push 0
push 0
push 0
call fcn.10095250
add esp, 0x10
call fcn.100db010
mov esi, eax
call fcn.100d2750
mov edi, eax
mov ebx, edx
test esi, esi
je 0x100e8345
mov esi, dword [esi + 0x18c]
test esi, esi
je 0x100e8345
lea esp, [esp]
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x100e833b
cmp dword [eax + 0x48], 0
je 0x100e8319
mov dword [eax + 0x48], 0
jmp 0x100e8332
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
add ecx, 0xbb8
adc eax, 0
cmp ebx, eax
jb 0x100e833b
ja 0x100e8332
cmp edi, ecx
jb 0x100e833b
push esi
call fcn.100f53e0
add esp, 4
mov esi, dword [esi + 0xfc]
test esi, esi
jne 0x100e8300
call fcn.10094e30
test eax, eax
je 0x100e84a1
test dword [eax + 0x38], 0x4000
je 0x100e84a1
mov edi, dword [eax + 0xf4]
mov dword [ebp - 4], edi
cmp dword [edi + 0xa0], 0
jne 0x100e84a1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100e84a1
lea eax, [ebp - 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100e84a1
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
call fcn.10097360
cvtsi2ss xmm0, dword [ebp - 8]
sub esp, 8
mov ebx, dword [eax + 0x28]
movss dword [esp + 4], xmm0
cvtsi2ss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
push 0
push ebx
push dword [edi]
call fcn.100e79c0
push edx
push eax
call fcn.100984e0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x1c
test esi, esi
setne al
lea eax, [eax*2 + 1]
push eax
push 1
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
mov eax, dword [ebp - 4]
push ebx
push dword [eax]
call fcn.100e79c0
push edx
push eax
call fcn.100984b0
add esp, 0x18
test esi, esi
sete al
lea eax, [eax*2 + 1]
push eax
push 2
call edi
mov esi, dword [ebp - 4]
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100e79c0
push edx
push eax
call fcn.100984b0
add esp, 0x18
push 2
push 4
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100e79c0
push edx
push eax
call fcn.100984b0
add esp, 0x18
push 4
push 5
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100e79c0
push edx
push eax
call fcn.100984b0
add esp, 0x18
push 5
push 6
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100e79c0
push edx
push eax
call fcn.100984b0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret