Function at 0x101d9620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10233f00
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x102d944c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
movss xmm1, dword [esi + 0x39ac]
movss xmm0, dword [esi + 0x39a8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.100a2ff0
test byte [esi + 0x3980], 1
movss dword [ebp - 0x1c], xmm0
je 0x101d970f
movss xmm1, dword [0x102c1314]
comiss xmm0, xmm1
jbe 0x101d96a9
cmp byte [esi + 0x3a48], 0
jne 0x101d96a9
mov dword [esi + 0x3a40], 1
jmp 0x101d9778
comiss xmm1, xmm0
jae 0x101d96b7
cmp byte [esi + 0x3a48], 0
je 0x101d970f
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.override_key
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
call fcn.100bd420
mov eax, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, 0x10550928
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100b9b60
push dword [eax]
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
mov byte [ebp - 0xd], 1
test eax, eax
je 0x101d9713
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test al, 1
je 0x101d975b
mov ecx, dword [ebp - 0x38]
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x101d975b
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101d9751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d990f
push ecx
push edx
call fcn.101fb2ba
add esp, 8
cmp byte [ebp - 0xd], 0
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [0x102c1314]
je 0x101d9778
mov dword [esi + 0x3a40], 2
test byte [esi + 0x3980], 1
je 0x101d983a
comiss xmm1, xmm0
jae 0x101d9797
cmp byte [esi + 0x3a48], 0
je 0x101d983a
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.override_key
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
call fcn.100bd420
mov dword [ebp - 4], 1
mov ecx, 0x10550928
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x64]
push eax
call fcn.100b9b60
push dword [eax]
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x101d983a
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.override
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.100bd420
mov dword [ebp - 4], 2
mov ecx, 0x10550908
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
call fcn.100b9b80
mov byte [ebp - 0xd], 1
cmp byte [eax], 0
jne 0x101d983e
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x14]
test al, 4
je 0x101d9894
mov ecx, dword [ebp - 0x20]
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x101d9882
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101d9875
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d9914
push ecx
push edx
call fcn.101fb2ba
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test al, 2
je 0x101d98c8
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x101d98c8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101d98be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d9914
push ecx
push edx
call fcn.101fb2ba
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x101d98ea
mov dword [esi + 0x3a40], 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
test byte [esi + 0x3980], 1
jne 0x101d98fd
mov dword [esi + 0x3a40], 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.10201dbe
call fcn.10201dbe
int3