Function at 0x1003c138
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
fild dword [0x100b9e3c]
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.10001b62
mov dword [ebp + 8], eax
fild dword [0x100b9e40]
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.10001b62
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.10001b62
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [0x100ba07c]
call fcn.1002b643
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]
fild dword [ebp + 0x10]
fstp dword [ebp - 0x18]
push dword [ebp - 0x18]
push 0x41600000
fild dword [ebp + 0xc]
fstp dword [ebp - 0x1c]
push dword [ebp - 0x1c]
fild dword [ebp + 8]
fstp dword [ebp - 0x20]
push dword [ebp - 0x20]
call fcn.1002e522
sub dword [ebp + 0x10], 0x12
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 0x1003c29a
push 0x26f
push 0x4011239
push 6
call fcn.10069544
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1003c421
push dword [ebp + 8]
call fcn.10036bc4
test eax, eax
je 0x1003c321
push dword [ebp + 0xc]
call fcn.10036c32
test eax, eax
je 0x1003c321
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x100b301d]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001b62
push eax
call fcn.10036bfb
test eax, eax
je 0x1003c321
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001b62
push eax
call fcn.10036c69
test eax, eax
je 0x1003c321
mov eax, 1
jmp 0x1003c326
mov eax, 0
test eax, eax
je 0x1003c350
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.10001b62
mov dword [0x100ba0e0], 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 [0x100ba0e0]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [ebp - 0x1c]
ftst
fnstsw ax
test ah, 1
je 0x1003c37f
fchs
fcomp qword [0x10084b4e]
fnstsw ax
test ah, 0x41
je 0x1003c41c
push 0
mov ebx, 0x2e0
call fcn.1006d190
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp + 0xc]
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.10001b62
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x1003c3ee
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 [0x10084b4e]
fnstsw ax
test ah, 0x41
jne 0x1003c41c
fld dword [ebp + 0x1c]
call fcn.10001b62
mov dword [ebp - 4], eax
jmp 0x1003c42b
mov dword [0x100ba0e0], 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 + 0xc]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push dword [0x100ba080]
call fcn.1002b643
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
push 0x41900000
push 0x41600000
fld qword [ebp - 0x44]
fstp dword [ebp - 0x58]
push dword [ebp - 0x58]
fild dword [ebp + 8]
fstp dword [ebp - 0x5c]
push dword [ebp - 0x5c]
call fcn.1002e522
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
mov esp, ebp
pop ebp
ret 0x1c