Function at 0x10102de4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0
mov ebx, edx
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
mov edx, eax
push edi
movq qword [esi + 0x34], xmm0
mov ecx, ebx
push str.cmap
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0x3c], 0
call fcn.101031d0
mov edx, dword [ebp + 8]
mov edi, eax
push str.loca
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.101031d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.head
mov dword [ebp - 0x18], eax
mov dword [esi + 0x10], eax
call fcn.101031d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.glyf
mov dword [ebp - 0x10], eax
mov dword [esi + 0x14], eax
call fcn.101031d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hhea
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
call fcn.101031d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hmtx
mov dword [ebp - 0xc], eax
mov dword [esi + 0x1c], eax
call fcn.101031d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.kern
mov dword [ebp - 8], eax
mov dword [esi + 0x20], eax
call fcn.101031d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.GPOS
mov dword [esi + 0x24], eax
call fcn.101031d0
add esp, 0x20
mov dword [esi + 0x28], eax
test edi, edi
je 0x10102b9e
cmp dword [ebp - 0x10], 0
je 0x10102b9e
cmp dword [ebp - 0xc], 0
je 0x10102b9e
cmp dword [ebp - 8], 0
je 0x10102b9e
cmp dword [ebp - 4], 0
je 0x10102ba7
cmp dword [ebp - 0x18], 0
jne 0x10102ea4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor eax, eax
push str.CFF
mov ecx, ebx
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
call fcn.101031d0
add esp, 4
test eax, eax
je 0x10102b9e
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], 0
add eax, ebx
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x64], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x70], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x3c], 0x20000000
mov dword [ebp - 0x1c], 0x20000000
mov dword [ebp - 0x20], 2
call fcn.10103ab0
movzx ecx, al
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.101038c0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.101038c0
push ecx
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
call fcn.10103370
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
movq qword [ebp - 0x30], xmm0
call fcn.101038c0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.101038c0
mov edx, 0x11
lea ecx, [ebp - 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10103530
add esp, 0x1c
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x10102cf0
lea ecx, [ebp - 0x3c]
call fcn.10103720
mov dword [ebp - 8], eax
lea eax, [ebp - 0x48]
mov edx, 0x106
push eax
lea ecx, [ebp - 0x30]
call fcn.10103530
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x10102d23
lea ecx, [ebp - 0x3c]
call fcn.10103720
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x48]
mov edx, 0x124
push eax
lea ecx, [ebp - 0x30]
call fcn.10103530
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x10102d56
lea ecx, [ebp - 0x3c]
call fcn.10103720
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
mov edx, 0x125
push eax
lea ecx, [ebp - 0x30]
call fcn.10103530
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x10102d89
lea ecx, [ebp - 0x3c]
call fcn.10103720
mov dword [ebp - 4], eax
movq xmm0, qword [ebp - 0x30]
sub esp, 0xc
mov ecx, dword [ebp - 0x28]
mov edx, esp
sub esp, 0xc
mov eax, esp
movq qword [edx], xmm0
movq xmm0, qword [ebp - 0x24]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x48]
push eax
call fcn.10102f80
add esp, 0x1c
cmp dword [ebp - 0xc], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x10102b9e
mov eax, dword [ebp - 8]
test eax, eax
je 0x10102b9e
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10102e75
cmp dword [ebp - 4], 0
je 0x10102b9e
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jg 0x10102e04
mov dword [ebp - 0x20], ecx
test ecx, ecx
jns 0x10102e07
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.101038c0
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test edx, edx
js 0x10102e60
test eax, eax
js 0x10102e60
cmp edx, ecx
jg 0x10102e60
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
jmp 0x10102e63
mov eax, dword [ebp - 4]
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
jmp 0x10102e78
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jg 0x10102e83
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x10102e86
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.101038c0
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.maxp
call fcn.101031d0
add esp, 4
test eax, eax
je 0x10102ecb
movzx ecx, byte [eax + ebx + 4]
movzx eax, byte [eax + ebx + 5]
shl ecx, 8
add ecx, eax
jmp 0x10102ed0
mov ecx, 0xffff
lea edx, [edi + ebx]
mov dword [esi + 0xc], ecx
movzx edi, byte [edx + 2]
movzx eax, byte [edx + 3]
shl edi, 8
mov dword [esi + 0x2c], 0
add edi, eax
je 0x10102b9e
lea eax, [edx + 9]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x10102f1e
cmp ecx, 3
jne 0x10102f42
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x10102f1e
sub edx, 9
jne 0x10102f42
movzx edx, byte [eax - 1]
movzx ecx, byte [eax]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
add edx, dword [ebp - 0x14]
add ecx, edx
mov dword [esi + 0x2c], ecx
add eax, 8
sub edi, 1
jne 0x10102ef3
cmp dword [esi + 0x2c], edi
je 0x10102b9e
mov eax, dword [esi + 0x14]
movzx ecx, byte [ebx + eax + 0x32]
movzx eax, byte [ebx + eax + 0x33]
shl ecx, 8
add ecx, eax
lea eax, [edi + 1]
pop edi
mov dword [esi + 0x30], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret