Function at 0x100dbab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1030e040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x10317358]
mov dword [esp + 0xc], esi
push edi
test esi, esi
je 0x100dbada
mov ebx, dword [esi + 0x78]
jmp 0x100dbadc
xor ebx, ebx
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x1c], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cmp byte [ebx + 0x24], 0
je 0x100dbb24
call fcn.100dba50
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.1013e510
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
call fcn.1013e510
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x10]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
call fcn.100dafc0
mov eax, dword [0x10317358]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ee8], 0
je 0x100dbbe6
cmp byte [eax + 0x4084], 0
jne 0x100dbbe6
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x100dbbe6
mov esi, dword [0x10317358]
cmp byte [esi + 0x37a1], 0
je 0x100dbbd2
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.1004b1e0
mov dword [esi + 0x340], 0x210
mov dword [esi + 0x900], 0xa0
mov eax, dword [0x10317358]
cmp byte [eax + 0x2f28], 0
je 0x100dbc40
cmp byte [eax + 0x40b4], 0
jne 0x100dbc40
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x100dbc40
mov esi, dword [0x10317358]
cmp byte [esi + 0x37a1], 0
je 0x100dbc2c
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.1004b1e0
mov dword [esi + 0x344], 0x214
mov dword [esi + 0x910], 0xa1
mov eax, dword [0x10317358]
cmp byte [eax + 0x2f08], 0
je 0x100dbc97
cmp byte [eax + 0x409c], 0
jne 0x100dbc97
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x100dbc97
mov esi, dword [0x10317358]
cmp byte [esi + 0x37a1], 0
je 0x100dbc83
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.1004b1e0
mov dword [esi + 0x22c], 0x212
mov dword [esi + 0x908], 0x5b
mov eax, dword [0x10317358]
cmp byte [eax + 0x2f48], 0
je 0x100dbcee
cmp byte [eax + 0x40cc], 0
jne 0x100dbcee
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x100dbcee
mov esi, dword [0x10317358]
cmp byte [esi + 0x37a1], 0
je 0x100dbcda
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.1004b1e0
mov dword [esi + 0x230], 0x216
mov dword [esi + 0x918], 0x5c
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x4c], 0
je 0x100dbcfd
or eax, 0xffffffff
jmp 0x100dbd08
mov eax, dword [0x10317358]
mov eax, dword [eax + 0x4c00]
cmp dword [ebx + 0x20], eax
je 0x100dbd15
mov dword [ebx + 0x20], eax
call fcn.100dae90
call fcn.100db250
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret