Function at 0x1002af30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10124c4b
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1b8
cmp byte [0x101cf6fc], 0
push esi
push edi
je 0x1002b4df
cmp byte [0x101cf550], 0
jne 0x1002b4df
mov edi, dword [0x101c93a8]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x1002b4df
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101cf110]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102b94c8]
cmp eax, dword [ecx + 4]
jle 0x1002afe2
push 0x102b94c8
call fcn.10121ee8
add esp, 4
cmp dword [0x102b94c8], 0xffffffff
jne 0x1002afe2
push 0x102b94c8
mov dword [0x102b94c4], 0
mov dword [0x102b94c0], 0x101cf700
call fcn.10121e9e
add esp, 4
cmp dword [0x101cf700], 0
je 0x1002b47f
mov eax, dword [0x102b94c0]
cmp dword [0x102b94c4], 0
sete byte [ebp - 0x11]
mov eax, dword [eax]
test eax, eax
jne 0x1002b2ee
mov dword [0x102b94c4], eax
xor al, al
test al, al
je 0x1002b47f
mov ecx, dword [0x101cf52c]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
movss xmm1, dword [0x10197608]
mulss xmm0, xmm1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
fsincos
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mulss xmm0, xmm1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], eax
movss dword [ebp - 0x28], xmm0
fld dword [ebp - 0x28]
fsincos
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [ebp - 0x30]
xor eax, eax
mulss xmm1, dword [ebp - 0x34]
mov ecx, edi
mov dword [ebp - 0x74], eax
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x10197f90]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [ebp - 0x20]
mulss xmm1, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xb4]
movss dword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
push eax
movss dword [ebp - 0x20], xmm1
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x4c], vtable.CTraceFilterHitscan.0
call fcn.10016660
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm0, dword [0x10197988]
movss xmm1, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
movss xmm6, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x20]
movss xmm3, dword [ebp - 0x1c]
addss xmm1, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm5, dword [eax + 8]
mulss xmm6, xmm0
lea eax, [ebp - 0xb4]
mulss xmm2, xmm0
mulss xmm3, xmm0
addss xmm6, xmm1
addss xmm4, xmm2
addss xmm5, xmm3
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x20], xmm5
push eax
mov ecx, edi
call fcn.10016660
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
movss xmm2, dword [ebp - 0x18]
movss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm3, dword [esi]
addss xmm5, dword [eax + 8]
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x20]
subss xmm0, xmm4
mov byte [ebp - 0xcf], 1
subss xmm2, xmm3
subss xmm1, xmm5
movss dword [ebp - 0xfc], xmm0
movss dword [ebp - 0x100], xmm2
mulss xmm2, xmm2
mulss xmm0, xmm0
movss dword [ebp - 0xf8], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
ucomiss xmm2, dword [0x101975b4]
lahf
test ah, 0x44
jp 0x1002b253
mov byte [ebp - 0xcf], 0
mov ecx, dword [0x101cf530]
lea edx, [ebp - 0xa8]
push edx
lea edx, [ebp - 0x4c]
mov dword [ebp - 0xe0], 0
push edx
mov dword [ebp - 0xdc], 0
lea edx, [ebp - 0x110]
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xd0], 1
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
movss dword [ebp - 0x110], xmm3
movss dword [ebp - 0x10c], xmm4
movss dword [ebp - 0x108], xmm5
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x10]
movss xmm0, dword [0x101976c8]
comiss xmm0, dword [ebp - 0x7c]
ja 0x1002b319
cmp byte [ebp - 0x72], 0
jne 0x1002b319
cmp byte [ebp - 0x71], 0
jne 0x1002b319
xor al, al
jmp 0x1002b31b
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102b94c4], eax
je 0x1002b00e
cmp byte [ebp - 0x11], 0
je 0x1002b00e
mov al, 1
jmp 0x1002b010
mov al, 1
test al, al
je 0x1002b47f
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
push ecx
lea ecx, [ebp - 0x1c0]
mov esi, eax
call fcn.1002b630
push 1
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x101338f8
mov ecx, eax
call fcn.100197a0
movss xmm0, dword [ebp - 0x9c]
push ecx
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x101338f8
mov ecx, eax
call fcn.100197a0
movss xmm0, dword [ebp - 0x98]
push ecx
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x101338f8
mov ecx, eax
call fcn.100197a0
movss xmm0, dword [ebp - 0x94]
push ecx
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x101338f8
mov ecx, eax
call fcn.100197a0
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10014380
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push eax
call fcn.1002ad30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x1002b42e
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b424
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b424
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10122308
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1c4], eax
lea ecx, [ebp - 0x1a8]
call fcn.10013ff0
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp byte [0x101cf6fd], 0
je 0x1002b4df
push edi
call fcn.1002aa10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
mov ecx, 0x101c93b8
call fcn.1011e5a0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x1c], ecx
cmp edi, ecx
je 0x1002b4df
nop
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x24]
lea ecx, [eax + 8]
call edx
cmp esi, eax
je 0x1002b4d7
push dword [edi]
call fcn.1002aa10
add edi, 4
cmp edi, dword [ebp - 0x1c]
jne 0x1002b4b0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret