Function at 0x10190ee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x1044924]
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x30], edi
mov dword [ebp - 4], eax
je 0x101935b
cmp dword [esi], edi
je 0x101935b
push ebx
mov dword [ebp - 0x6c], edi
mov word [ebp - 0x64], di
call dword [0x10019e8]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x88], ebx
je 0x1019175
push 0xfffffffffffffff0
push ebx
call dword [fcn.0100194c]
test eax, 0x10000000
mov dword [ebp - 0x90], eax
je 0x1019175
lea eax, [ebp - 0x6c]
push eax
push ebx
call dword [0x10019e4]
call fcn.0101336a
push dword [ebp - 0x6c]
mov ecx, eax
call fcn.01012fbe
mov ecx, eax
call fcn.0100eba1
push dword [eax]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
cmp word [ebp - 0x64], di
je 0x1019342
lea eax, [ebp - 0xa0]
push eax
push ebx
call dword [fcn.010019c8]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [esi + 0x18]
jne 0x10191b7
cmp ebx, dword [esi + 0x1c]
jne 0x10191b7
push 0x10
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0xa0]
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x101935a
cmp dword [esi + 0x34], edi
mov dword [ebp - 0x68], 1
je 0x10191cd
push edi
push dword [esi + 0x30]
call dword [fcn.010019ac]
mov dword [esi + 0x34], edi
mov dword [ebp - 0x70], edi
mov edi, dword [0x10019e0]
push 1
call edi
mov ebx, 0xf000
test bx, ax
je 0x10191ee
mov dword [ebp - 0x70], 1
push 2
call edi
test bx, ax
je 0x10191fe
mov dword [ebp - 0x70], 1
push 4
call edi
test bx, ax
je 0x101920e
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x70], 0
je 0x1019303
lea eax, [ebp - 0xa8]
push eax
call dword [0x10019dc]
test eax, eax
je 0x1019303
mov ebx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [0x1001ae0]
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x84]
push 5
cmp ecx, 0xa
pop eax
jle 0x101925b
add dword [ebp - 0x84], eax
sub dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 0x80]
cmp ecx, 0xa
jle 0x101926c
add dword [ebp - 0x80], eax
sub dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x84]
mov edi, dword [fcn.01001ae4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x8c]
push eax
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
push ebx
call edi
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xa0]
jl 0x10192c1
cmp eax, dword [ebp - 0x8c]
jg 0x10192c1
xor ecx, ecx
mov dword [ebp - 0x68], ecx
jmp 0x10192c3
xor ecx, ecx
cmp eax, dword [ebp - 0x74]
jl 0x10192d3
cmp eax, dword [ebp - 0x98]
jg 0x10192d3
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x9c]
jl 0x10192ec
cmp eax, dword [ebp - 0x88]
jg 0x10192ec
mov dword [ebp - 0x68], ecx
cmp eax, dword [ebp - 0x70]
jl 0x10192fc
cmp eax, dword [ebp - 0x94]
jg 0x10192fc
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], ecx
je 0x101935a
jmp 0x1019309
mov ebx, dword [ebp - 0x88]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0x90]
mov ecx, esi
push ebx
call fcn.01018eae
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x18], eax
push 0x10
lea eax, [ebp - 0xa0]
mov dword [esi + 0x1c], ebx
push eax
add esi, 0x20
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x101935a
cmp dword [esi + 0x34], edi
je 0x1019354
push edi
push dword [esi + 0x30]
call dword [fcn.010019ac]
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01034945
leave
ret