Function at 0x1002db8d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
cmp byte [0x10081d3f], 0
push ebx
push ebp
push esi
push edi
je 0x1002ddae
push dword [0x10081d4c]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1002dbbf
cmp dword [0x10081d4c], 0
jg 0x1002ddae
push 1
call fcn.1002d94a
mov esi, eax
cmp esi, 0xffffffff
je 0x1002ddae
cmp dword [0x10081d90], 0
je 0x1002dc06
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.10030047
movd xmm0, dword [0x10081d90]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [esp + 0x28]
jb 0x1002ddae
comiss xmm0, dword [esp + 0x2c]
jb 0x1002ddae
mov ecx, dword [0x10081d5c]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x10081d58]
mov ebx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov ecx, dword [0x10081d5c]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp byte [0x10081d46], 0
mov ebp, eax
push ebx
jne 0x1002dc55
call fcn.1002e42b
cmp eax, 0xffffffff
je 0x1002ddae
push eax
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.1002e47d
jmp 0x1002dc6f
call fcn.1002e0e2
cmp eax, 0xffffffff
je 0x1002ddae
push eax
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.1002e19c
mov eax, dword [ebp]
mov ecx, ebp
mov eax, dword [eax + 0x24]
call eax
movss xmm0, dword [ebp + 0xe8]
lea edi, [esp + 0x1c]
mov esi, eax
sub esp, 0xc
lea eax, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
addss xmm0, dword [esp + 0x28]
mov edi, esp
lea esi, [esp + 0x40]
sub esp, 0xc
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ebp + 0xec]
addss xmm0, dword [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ebp + 0xf0]
addss xmm0, dword [esp + 0x3c]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x40]
push eax
movss dword [esp + 0x4c], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002fed3
sub esp, 0xc
mov esi, eax
mov edi, esp
lea eax, [esp + 0x1c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10030207
cmp byte [0x10081d49], 0
mov esi, dword [esp + 0x50]
je 0x1002dd24
call fcn.1002f15c
addss xmm0, dword [ebx + 0x68]
mov eax, dword [0x10081d60]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x1007620c]
cvttss2si eax, xmm0
mov dword [esi + 4], eax
cmp byte [0x10081d48], 0
jne 0x1002dd69
cmp byte [0x10081d44], 0
jne 0x1002dd46
mov ecx, dword [0x10081d58]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
movss xmm0, dword [esp + 0x10]
movss dword [esi + 8], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x10], xmm0
jmp 0x1002dd81
lea eax, [esp + 0x10]
mov byte [0x10081ed8], 1
push 0x10081edc
push eax
call fcn.10002610
pop ecx
pop ecx
cmp byte [0x10081d45], 0
je 0x1002ddae
cmp byte [0x10081d48], 0
je 0x1002dd9c
mov eax, dword [esp + 0x54]
cmp byte [eax], 0
je 0x1002ddae
mov eax, dword [esi + 0x20]
test al, 1
jne 0x1002dda8
or eax, 1
jmp 0x1002ddab
and eax, 0xfffffffe
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8