Function at 0x100300d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x24], ecx
mov byte [0x101e0c1d], 0
cmp dword [0x10286438], 0xffffffff
je 0x100300fc
mov eax, dword [0x10286438]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jne 0x1003011a
movzx edx, byte [0x10286440]
test edx, edx
je 0x10030309
movzx eax, byte [0x101e0c20]
test eax, eax
je 0x10030309
mov ecx, dword [0x102bd258]
call fcn.100090e0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003014c
mov ecx, dword [ebp - 4]
call fcn.10008ff0
test eax, eax
jg 0x10030151
jmp 0x10030309
mov ecx, dword [0x102bd258]
call fcn.10009140
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1003016a
jmp 0x10030309
mov ecx, dword [ebp - 4]
call fcn.10008e90
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10030180
jmp 0x10030309
mov edx, dword [ebp - 8]
cmp dword [edx + 0x2c], 0
jne 0x100301b5
mov ecx, 0x10270218
call fcn.10030310
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
comisd xmm0, xmmword [0x100eb390]
jbe 0x100301ae
mov byte [0x101e0c1e], 1
jmp 0x100301b5
mov byte [0x101e0c1e], 0
mov byte [0x101e0c1d], 1
mov eax, dword [ebp + 8]
movss xmm0, dword [eax + 0x28]
mulss xmm0, dword [0x1028643c]
mov ecx, dword [ebp + 8]
movss dword [ecx + 0x28], xmm0
mov edx, dword [ebp + 8]
movss xmm0, dword [edx + 0x24]
mulss xmm0, dword [0x1028643c]
mov eax, dword [ebp + 8]
movss dword [eax + 0x24], xmm0
movzx ecx, byte [0x101e0c1e]
test ecx, ecx
je 0x100302f3
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10030249
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x100e7fec]
comiss xmm0, dword [ecx + 0xec]
jbe 0x1003022d
movss xmm0, dword [0x100eb398]
movss dword [ebp - 0x14], xmm0
jmp 0x1003023a
movss xmm0, dword [0x100eb398]
movss dword [ebp - 0x14], xmm0
cvtsi2ss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [ebp - 0x14]
jbe 0x100302f1
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ebp + 8]
movss xmm0, dword [0x100e8440]
movss dword [eax + 0x24], xmm0
cmp dword [ebp - 0xc], 0
je 0x1003027e
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x100e959c]
comiss xmm0, dword [ecx + 0xec]
jbe 0x10030289
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 0x24], xmm0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 4]
call fcn.100092e0
mov dword [ebp - 0x1c], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x44]
call fcn.10006a10
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.10008de0
add esp, 0xc
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x100e7b2c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1009b270
add esp, 8
jmp 0x10030309
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [eax + 0x24], xmm0
mov esp, ebp
pop ebp
ret 4