Function at 0x10054095
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
fild dword [0x1012dad3]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001b73
mov dword [ebp + 8], eax
fild dword [0x1012dad7]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001b73
mov dword [ebp + 0xc], eax
fld dword [ebp + 0x18]
fild dword [ebp + 0x20]
fstp qword [ebp - 0xc]
fmul qword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x18], eax
fld dword [ebp + 0x1c]
fild dword [ebp + 0x20]
fstp qword [ebp - 0xc]
fmul qword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x1c], eax
mov ebx, dword [ebp + 0x14]
fld dword [ebx]
fild dword [ebp + 0x20]
fstp qword [ebp - 0xc]
fmul qword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
fld dword [ebp + 0x1c]
fsub dword [ebp + 0x18]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fstp dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x1c], eax
mov ebx, dword [ebp + 0x14]
fld dword [ebx]
fsub dword [ebp + 0x18]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
call fcn.10001b73
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [0x1012ddef]
call fcn.10044f69
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push 0xe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10048263
mov dword [ebp - 8], esp
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x100541e1
push 0x245
push 0x401122f
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10054386
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x1008bec0]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.10001b73
push eax
call fcn.1004f942
test eax, eax
je 0x10054286
push dword [ebp + 0xc]
call fcn.1004f9b0
test eax, eax
je 0x10054286
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fadd qword [0x1008bec0]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.10001b73
push eax
call fcn.1004f979
test eax, eax
je 0x10054286
fild dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x10094623]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.10001b73
push eax
call fcn.1004f9e7
test eax, eax
je 0x10054286
mov eax, 1
jmp 0x1005428b
mov eax, 0
test eax, eax
je 0x100542b5
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001b73
mov dword [0x1012de47], eax
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fild dword [0x1012de47]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [ebp - 0x1c]
ftst
fnstsw ax
test ah, 1
je 0x100542e4
fchs
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
je 0x10054381
push 0
mov ebx, 0x2dc
call fcn.10074540
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul dword [ebp + 0x1c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x30]
fdiv qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001b73
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x10054353
mov dword [ebp - 4], 0
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld dword [ebp + 0x1c]
fstp qword [ebp - 0x14]
fld qword [ebp - 0xc]
fsub qword [ebp - 0x14]
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10054381
fld dword [ebp + 0x1c]
call fcn.10001b73
mov dword [ebp - 4], eax
jmp 0x10054390
mov dword [0x1012de47], 0
fld dword [ebp + 0x1c]
fild dword [ebp + 0x20]
fstp qword [ebp - 0xc]
fdiv qword [ebp - 0xc]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fdiv qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp + 0x20]
fstp qword [ebp - 0x2c]
fdiv qword [ebp - 0x2c]
fdiv qword [ebp - 0x1c]
fstp qword [ebp - 0x34]
fild dword [ebp + 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fsub qword [0x1008c28e]
fstp qword [ebp - 0x4c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [0x1008b8d8]
fstp qword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push dword [0x1012ddf3]
call fcn.10044f69
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
push 0x12
push 8
fld qword [ebp - 0x5c]
call fcn.10001b73
push eax
fld qword [ebp - 0x4c]
call fcn.10001b73
push eax
call fcn.10048263
fld dword [ebp + 0x18]
fild dword [ebp + 0x20]
fstp qword [ebp - 0xc]
fdiv qword [ebp - 0xc]
fstp qword [ebp - 0x14]
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 0x20]
fstp qword [ebp - 0x24]
fdiv qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x14]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fstp dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fadd qword [0x1008c4c7]
fstp qword [ebp - 0x1c]
push 0x80000501
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.10071230
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [0x1012dddb]
call fcn.10044f69
mov dword [ebp - 0x28], eax
push 0x41800000
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
fld qword [ebp - 0x1c]
call fcn.10001b73
push eax
call fcn.10045548
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10054501
push ebx
call fcn.100707a2
add esp, 4
mov esp, ebp
pop ebp
ret 0x1c