Function at 0x101fb31
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x103b3bc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
cmp dword [0x103d570], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esi
je 0x101fb6c
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push ebx
call dword [0x10014c8]
jmp 0x101fe60
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0x201
cmp edi, eax
ja 0x101fdab
je 0x101fdd1
mov eax, 0x113
cmp edi, eax
ja 0x101fc69
je 0x101fc5b
mov eax, edi
dec eax
je 0x101fc49
sub eax, 0xe
je 0x101fbdc
sub eax, 5
je 0x101fbd0
sub eax, 0xc
jne 0x101fe20
cmp word [ebp + 0x14], 1
jne 0x101fe20
push ebx
call fcn.0100d6f1
test eax, eax
je 0x101fe20
jmp 0x101fe5d
push esi
push ebx
call fcn.0101f211
jmp 0x101fe5f
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [0x1001310]
push ebx
call fcn.0100d6f1
mov esi, eax
test esi, esi
je 0x101fc39
mov ebx, dword [esi + 4]
xor edx, edx
inc edx
mov ecx, esi
call fcn.01026f85
push dword [ebp - 0x44]
push esi
call fcn.01027273
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.01027248
cmp dword [esi + 0x74], 0
je 0x101fc26
push 1
push 1
push dword [ebp - 0x48]
call dword [0x1001464]
push ebx
push esi
call fcn.01027273
xor edx, edx
mov ecx, esi
call fcn.01026f85
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [0x1001314]
jmp 0x101fe5d
push 0x80000000
push ecx
push ebx
call dword [fcn.01001378]
jmp 0x101fe5d
push esi
push eax
mov edi, ebx
call fcn.0101f4f4
jmp 0x101fe5d
mov esi, dword [0x10013e8]
mov eax, edi
sub eax, 0x114
mov ebx, 0x8000
je 0x101fcf0
dec eax
je 0x101fc96
sub eax, 0xeb
mov ebx, dword [ebp - 0x48]
je 0x101fdd7
mov esi, dword [ebp - 0x4c]
jmp 0x101fe20
cmp word [ebp - 0x4c], 8
jne 0x101fd10
push 0x11
call esi
test bx, ax
je 0x101fcaf
push 9
call esi
test bx, ax
jne 0x101fcb6
push 0
call fcn.0101fa2d
cmp dword [0x103bd60], 0
je 0x101fcf7
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x48]
call fcn.0101aaae
push 0x23
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 0
push dword [ebp - 0x48]
call dword [fcn.01001328]
and dword [0x103bd60], 0
jmp 0x101fe5d
cmp word [ebp - 0x4c], 8
jne 0x101fd10
push 0x11
call esi
test bx, ax
je 0x101fd09
push 9
call esi
test bx, ax
jne 0x101fd10
push 0
call fcn.0101fa2d
push dword [ebp - 0x48]
call fcn.0100d6f1
test eax, eax
mov dword [ebp - 0x50], eax
je 0x101fe5d
movzx eax, word [ebp - 0x4c]
sub eax, 0
je 0x101fd5c
dec eax
je 0x101fd58
dec eax
je 0x101fd53
dec eax
je 0x101fd4f
dec eax
je 0x101fd4b
dec eax
dec eax
je 0x101fd47
dec eax
jne 0x101fe5d
push 6
jmp 0x101fd5e
push 5
jmp 0x101fd5e
push 0x14
jmp 0x101fd5e
push 2
jmp 0x101fd5e
xor ebx, ebx
inc ebx
jmp 0x101fd5f
push 4
jmp 0x101fd5e
push 3
pop ebx
push dword [ebp - 0x50]
xor eax, eax
push dword [ebp - 0x48]
cmp edi, 0x115
sete al
inc eax
mov esi, eax
call fcn.0101f29d
mov edi, eax
test edi, edi
je 0x101fe5d
cmp ebx, 0x14
je 0x101fd95
push 1
push esi
push ebx
push dword [ebp - 0x50]
call fcn.0102704f
jmp 0x101fda5
mov eax, dword [ebp - 0x4c]
push esi
shr eax, 0x10
push eax
push dword [ebp - 0x50]
call fcn.010271fe
push edi
push dword [ebp - 0x50]
jmp 0x101fe00
mov eax, 0x206
cmp edi, eax
ja 0x101fe0a
je 0x101fdd1
add eax, 0xfffffffc
cmp edi, eax
je 0x101fdd7
jbe 0x101fe20
cmp edi, 0x204
jbe 0x101fdd1
cmp edi, 0x205
je 0x101fdd7
jmp 0x101fe20
push ecx
call fcn.0101fa2d
push ebx
call fcn.0100d6f1
mov esi, eax
test esi, esi
je 0x101fe5d
push esi
push ebx
call fcn.0101f29d
mov ebx, eax
test ebx, ebx
je 0x101fe5d
push dword [ebp - 0x4c]
lea eax, [ebp + 0x14]
push edi
push eax
push esi
call fcn.010272cd
push ebx
push esi
push dword [ebp - 0x48]
call fcn.0101f2c3
jmp 0x101fe5d
mov ecx, edi
mov eax, 0x311
sub ecx, eax
je 0x101fe52
sub ecx, 0x6d5b
je 0x101fe47
dec ecx
je 0x101fe2e
push dword [ebp + 0x14]
push esi
push edi
push ebx
call dword [0x10014c8]
jmp 0x101fe5f
push dword [ebp + 0x14]
push esi
push 0x706d
push ebx
call dword [fcn.01001358]
push eax
call dword [fcn.010013cc]
jmp 0x101fe5f
push dword [ebp + 0x14]
push esi
push 0x706c
jmp 0x101fe37
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.01023396
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01037c59
leave
ret 0x10