Function at 0x10002c20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100a3040]
xor eax, esp
mov dword [esp + 0x2c], eax
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
push esi
push edi
movss xmm1, dword [0x1009f91c]
addss xmm0, dword [0x1009f94c]
movss dword [0x3847cfb4], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f930]
movss dword [0x3847cfd8], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f94c]
movss dword [0x3847cffc], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f950]
movss dword [0x3847d020], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f8f0]
movss dword [0x3847d044], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x3847d08c], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x3847d068], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x3847d0b0], xmm0
movd xmm0, dword [0x100e3ef8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f8e8]
movss dword [0x3847d0f8], xmm0
movd xmm0, dword [0x100e3efc]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f920]
movss dword [0x3847d0d4], xmm0
cmp byte [0x100e3ef5], 0
je 0x10002d5e
cmp dword [0x3842c690], 1
jne 0x10002d71
mov dword [0x3842c690], 0xfffffffb
jmp 0x10002d71
cmp dword [0x3842c690], 0xfffffffb
jne 0x10002d71
mov dword [0x3842c690], 1
cmp byte [0x100e3ef6], 0
mov esi, dword [0x38452e7c]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10002d9e
push 0x20
call edi
test ax, ax
je 0x10002d9e
mov eax, dword [esi + 0x10]
mov dword [eax + 0xb8], 0x44898000
jmp 0x10002dab
mov eax, dword [esi + 0x10]
mov dword [eax + 0xb8], 0xc4898000
mov eax, dword [esi + 0x10]
mov dword [eax + 0x394], 0
mov eax, dword [esi + 0x10]
mov dword [eax + 0x3a8], 0
cmp byte [0x100e3ef4], 0
je 0x10003051
mov ecx, 0xa2
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1009ec58]
xor al, cl
inc ecx
mov byte [esp + edx + 0x24], al
and ecx, 0x800000ff
jns 0x10002dfd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10002de0
lea eax, [esp + 0x24]
mov byte [esp + 0x30], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov esi, dword [eax + 0x6cf34]
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
test esi, esi
je 0x10003051
mov eax, dword [0x38452e7c]
mov dword [0x100e3f48], eax
test eax, eax
je 0x10003051
movss xmm0, dword [eax + 0x54]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x58]
push 0x26
movss dword [esp + 0xc], xmm0
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x28
mov dword [esp + 0x10], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x25
mov dword [esp + 0x18], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x27
mov dword [esp + 0x14], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [esp + 0xc], 0
mov dword [esp + 0x20], eax
jne 0x10002ec9
cmp byte [esp + 0x14], 0
jne 0x10002ebf
cmp byte [esp + 0x10], 0
jne 0x10002f65
test al, al
jmp 0x10002fdb
movss xmm1, dword [0x1009f984]
jmp 0x10002ed1
movss xmm1, dword [0x1009f80c]
movss xmm0, dword [esp + 8]
addss xmm1, xmm1
cvtps2pd xmm0, xmm0
movss dword [esp + 0xc], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [esp + 0x18]
xorps xmm0, xmmword [0x1009fd70]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0xc]
addss xmm1, dword [esi + 0xcc]
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x10], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
je 0x10002fd6
movss xmm0, dword [esp + 8]
subss xmm0, dword [0x1009f81c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm1
addss xmm1, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
movss dword [esi + 0xcc], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
addss xmm0, xmm0
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
cmp byte [esp + 0x20], 0
je 0x10003051
movss xmm0, dword [esp + 8]
addss xmm0, dword [0x1009f81c]
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm1
addss xmm1, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
addss xmm0, xmm0
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100497a0
mov esp, ebp
pop ebp
ret