Function at 0x4105ae
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
push 0xc
call fcn.00416d68
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 8
call fcn.00416d68
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [0xab08f5]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
je 0x410644
fld dword [ebp + 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x41062c
fchs
fcomp qword [0xa1763b]
fnstsw ax
test ah, 0x41
jne 0x410644
mov eax, 1
jmp 0x410649
mov eax, 0
test eax, eax
je 0x410a11
mov ebx, dword [0xab08f5]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4106a5
mov ebx, dword [0xab08f5]
add ebx, 0x18
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4106a5
xor eax, eax
jmp 0x4106aa
mov eax, 1
test eax, eax
je 0x4109f5
mov ebx, dword [0xab08f5]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 8
jne 0x410753
mov dword [ebp - 4], 8
fild qword [ebp + 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0xa1b4b5]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0040104a
push edx
push eax
call fcn.00403e4a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 0x10
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
mov eax, 0
setne al
test eax, eax
je 0x410728
mov eax, 8
jmp 0x41072b
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0040d49c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4107ef
mov ebx, dword [0xab08f5]
add ebx, 0x10
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp dword [ebx], 6
jne 0x4107ef
mov dword [ebp - 4], 6
fild qword [ebp + 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0xa1b4b5]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0040104a
push edx
push eax
call fcn.00403e4a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 0x10
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
mov eax, 0
setne al
test eax, eax
je 0x4107c9
mov eax, 8
jmp 0x4107cc
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0040d49c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0xab08f5]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x410807
cmp dword [ebx + 4], 0
je 0x410841
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
ftst
fnstsw ax
test ah, 1
je 0x410829
fchs
fcomp qword [0xa1763b]
fnstsw ax
test ah, 0x41
jne 0x410841
mov eax, 1
jmp 0x410846
mov eax, 0
test eax, eax
je 0x4109f0
push 0xab0949
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040fded
test eax, eax
je 0x4109f0
mov ebx, dword [0xab08f5]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
je 0x410965
fild qword [ebp + 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0xa1b49d]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0040104a
push edx
push eax
call fcn.00403e4a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0xa1b4a5]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040104a
push edx
push eax
call fcn.0040a9cf
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0x3c], 1
jne 0x410960
mov ebx, dword [0xab08f5]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x410929
mov ebx, dword [0xab08f5]
add ebx, 0x18
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x410929
xor eax, eax
jmp 0x41092e
mov eax, 1
test eax, eax
je 0x410944
lea eax, [ebp - 0xc]
push eax
call fcn.00410a2f
jmp 0x410960
mov ebx, dword [0xab08f5]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [ebx + 4], 0
jmp 0x4109f0
mov ebx, dword [0xab08f5]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4109b9
mov ebx, dword [0xab08f5]
add ebx, 0x18
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4109b9
xor eax, eax
jmp 0x4109be
mov eax, 1
test eax, eax
je 0x4109d4
lea eax, [ebp - 0xc]
push eax
call fcn.00410a2f
jmp 0x4109f0
mov ebx, dword [0xab08f5]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [ebx + 4], 0
jmp 0x410a11
mov ebx, dword [0xab08f5]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [ebp - 8]
push ebx
call fcn.00416d62
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00416d62
add esp, 4
mov esp, ebp
pop ebp
ret 0xc