Function at 0x1002dca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10040040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [0x10040678]
mov dword [esp + 8], esi
push edi
test esi, esi
je 0x1002dcca
mov ebx, dword [esi + 0x78]
jmp 0x1002dccc
xor ebx, ebx
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x14], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
movd xmm1, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
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.10036e10
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
call fcn.10036e10
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0xc]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x14], esi
mov esi, dword [0x10040678]
mov dword [ebx + 0x10], edi
test esi, esi
je 0x1002dd75
mov edi, dword [esi + 0x78]
jmp 0x1002dd77
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x1002de0f
cmp byte [esi + 0xa1], 0
je 0x1002ddcf
cvttss2si eax, dword [esi + 0xc8]
mov dword [esp + 0x20], eax
cvttss2si eax, dword [esi + 0xcc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1002ddc6
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0xa1], 0
jne 0x1002de0f
cmp dword [edi + 8], 0
jne 0x1002de0f
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002de0f
lea eax, [esp + 0x34]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002de0f
movd xmm2, dword [esp + 0x38]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0x34]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.10003aa0
mov ecx, dword [0x10040678]
mov edx, 0x210
call fcn.10011e20
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax], 0
je 0x1002de7e
cmp byte [ecx + 0x4174], 0
jne 0x1002de7e
push 0xa0
call edi
mov ecx, dword [0x10040678]
shr eax, 0xf
test al, 1
jne 0x1002de7e
cmp byte [ecx + 0x2b59], 0
lea esi, [ecx + 8]
je 0x1002de6a
push 0
push 0x210
xorps xmm3, xmm3
mov ecx, esi
call fcn.100038d0
mov ecx, dword [0x10040678]
mov dword [esi + 0x2de4], 0x210
mov dword [esi + 0x33a4], 0xa0
mov edx, 0x214
call fcn.10011e20
cmp byte [eax], 0
je 0x1002dee1
cmp byte [ecx + 0x41a4], 0
jne 0x1002dee1
push 0xa1
call edi
mov ecx, dword [0x10040678]
shr eax, 0xf
test al, 1
jne 0x1002dee1
cmp byte [ecx + 0x2b59], 0
lea esi, [ecx + 8]
je 0x1002decd
push 0
push 0x214
xorps xmm3, xmm3
mov ecx, esi
call fcn.100038d0
mov ecx, dword [0x10040678]
mov dword [esi + 0x2de8], 0x214
mov dword [esi + 0x33b4], 0xa1
mov edx, 0x212
call fcn.10011e20
cmp byte [eax], 0
je 0x1002df41
cmp byte [ecx + 0x418c], 0
jne 0x1002df41
push 0x5b
call edi
mov ecx, dword [0x10040678]
shr eax, 0xf
test al, 1
jne 0x1002df41
cmp byte [ecx + 0x2b59], 0
lea esi, [ecx + 8]
je 0x1002df2d
push 0
push 0x212
xorps xmm3, xmm3
mov ecx, esi
call fcn.100038d0
mov ecx, dword [0x10040678]
mov dword [esi + 0x2cd0], 0x212
mov dword [esi + 0x33ac], 0x5b
mov edx, 0x216
call fcn.10011e20
cmp byte [eax], 0
je 0x1002dfa1
cmp byte [ecx + 0x41bc], 0
jne 0x1002dfa1
push 0x5c
call edi
mov ecx, dword [0x10040678]
shr eax, 0xf
test al, 1
jne 0x1002dfa1
cmp byte [ecx + 0x2b59], 0
lea esi, [ecx + 8]
je 0x1002df8d
push 0
push 0x216
xorps xmm3, xmm3
mov ecx, esi
call fcn.100038d0
mov ecx, dword [0x10040678]
mov dword [esi + 0x2cd4], 0x216
mov dword [esi + 0x33bc], 0x5c
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x44], 0
je 0x1002dfb0
or eax, 0xffffffff
jmp 0x1002dfb6
mov eax, dword [ecx + 0x4e9c]
cmp dword [ebx + 0x20], eax
je 0x1002dfc3
mov dword [ebx + 0x20], eax
call fcn.1002d500
call fcn.1002d630
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10035deb
mov esp, ebp
pop ebp
ret