Function at 0x1002c160
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 [0x1131f3ec]
sub esp, 0xe8
mov ecx, dword [eax]
push esi
push edi
test ecx, ecx
je 0x1002c902
test byte [0x113202ec], 1
je 0x1002c1a6
mov byte [0x11320216], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100cec00
cmp eax, 9
je 0x1002c902
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.100cec00
cmp eax, 8
je 0x1002c902
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
xorps xmm1, xmm1
movss xmm0, dword [eax + 8]
comiss xmm0, xmm1
jbe 0x1002c1eb
mov byte [0x11320216], 0
jmp 0x1002c1f8
cmp byte [0x11320216], 0
jne 0x1002c902
push dword [0x1131f4e4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002c216
cmp dword [0x11320200], 0
je 0x1002c902
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1002c902
lea ecx, [ebp - 0xe8]
call fcn.1002bc40
mov ecx, dword [0x1131f3ec]
mov byte [0x113201fe], 0
mov ecx, dword [ecx]
call fcn.1003aca0
movss xmm1, dword [0x110da760]
movss xmm0, dword [eax + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c281
movss xmm0, dword [0x11320224]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c281
xorps xmm1, xmm1
movss dword [0x11320830], xmm1
jmp 0x1002c289
movss xmm1, dword [0x11320830]
movsd xmm2, qword [0x110da670]
cvtps2pd xmm0, xmm1
movss dword [ebp - 4], xmm1
comisd xmm2, xmm0
jbe 0x1002c53d
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x1131f3ec]
lea ecx, [ebp - 0x28]
cvtsd2ss xmm0, xmm0
push ecx
mov ecx, dword [eax]
movss dword [ebp - 0x1c], xmm0
call fcn.100ce7d0
movss xmm1, dword [ebp - 4]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mov eax, dword [esi]
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm0
mov ecx, esi
mov dword [ebp - 8], 0x110da528
mov dword [ebp - 0x88], 0x7f800000
mov eax, dword [eax + 8]
mov dword [ebp - 0x8c], 0x7f800000
mov dword [ebp - 0x90], 0x7f800000
addss xmm0, dword [ebp - 0x28]
mov dword [ebp - 0x78], 0x7f800000
mov dword [ebp - 0x7c], 0x7f800000
mov dword [ebp - 0x80], 0x7f800000
mov dword [ebp - 0x68], 0x7f800000
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], 0x7f800000
mov dword [ebp - 0x70], 0x7f800000
mov dword [ebp - 0x58], 0x7f800000
mov dword [ebp - 0x5c], 0x7f800000
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm0, xmm1
mov dword [ebp - 0x60], 0x7f800000
mov dword [ebp - 0x50], 0
movss dword [ebp - 0x10], xmm0
call eax
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov edx, dword [edx + 4]
call edx
movss xmm0, dword [ebp - 0x1c]
mov ecx, eax
movss xmm6, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x2c]
movss xmm7, dword [ebp - 0x24]
subss xmm2, xmm6
movss xmm1, dword [ebp - 0x10]
subss xmm0, xmm7
subss xmm1, dword [ebp - 0x20]
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x4b], 1
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x7c], xmm0
mulss xmm2, xmm2
mulss xmm0, xmm0
movss dword [ebp - 0x78], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1002c3e4
mov byte [ebp - 0x4b], 0
movss xmm2, dword [edi]
lea edx, [ebp - 0xe8]
subss xmm2, dword [ecx]
movss xmm1, dword [edi + 4]
subss xmm1, dword [ecx + 4]
movss xmm0, dword [edi + 8]
subss xmm0, dword [ecx + 8]
movss xmm3, dword [0x1019b9c8]
mulss xmm2, xmm3
push edx
mulss xmm1, xmm3
lea edx, [ebp - 8]
push edx
movss dword [ebp - 0x60], xmm2
lea edx, [ebp - 0x90]
mulss xmm0, xmm3
push 0x201400b
movss dword [ebp - 0x5c], xmm1
mulss xmm1, xmm1
push edx
movss dword [ebp - 0x58], xmm0
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x110da628]
comisd xmm1, xmm0
movss xmm0, dword [0x1019b9c8]
seta byte [ebp - 0x4c]
movss xmm5, dword [ecx + 8]
addss xmm5, dword [edi + 8]
movss xmm4, dword [ecx + 4]
movss xmm3, dword [edi]
addss xmm3, dword [ecx]
addss xmm4, dword [edi + 4]
mov ecx, dword [0x113201b0]
mulss xmm5, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
movaps xmm0, xmm5
addss xmm0, dword [ebp - 0x20]
movaps xmm2, xmm3
movaps xmm1, xmm4
addss xmm2, xmm6
addss xmm1, xmm7
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [0x1019b9ec]
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
movss dword [ebp - 0x90], xmm2
movss dword [ebp - 0x8c], xmm1
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 0x68], xmm5
mov eax, dword [ecx]
call dword [eax + 0x14]
movss xmm0, dword [0x1019b9cc]
comiss xmm0, dword [ebp - 0xbc]
jbe 0x1002c516
movss xmm0, dword [ebp - 0xc8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c66b
movss xmm1, dword [ebp - 4]
addss xmm1, dword [0x110da630]
movsd xmm2, qword [0x110da670]
cvtps2pd xmm0, xmm1
movss dword [ebp - 4], xmm1
comisd xmm2, xmm0
ja 0x1002c2a3
cmp byte [0x113201fe], 0
je 0x1002c902
push dword [0x1131f4f0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002c902
cmp byte [0x1131f4ec], 0
je 0x1002c902
mov eax, dword [0x11320304]
lea ecx, [ebp - 0x18]
movss xmm1, dword [ebp - 0xd0]
movss xmm0, dword [ebp - 0xcc]
mulss xmm1, dword [0x1019b9ec]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x28]
mulss xmm0, dword [0x1019b9ec]
push eax
movss dword [ebp - 0x18], xmm1
mov dword [ebp - 0x10], 0
movss dword [ebp - 0x14], xmm0
call fcn.1003d0b0
cmp byte [0x11320834], 0
mov esi, dword [ebx + 8]
movss xmm0, dword [esi + 0x24]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x1c], xmm0
je 0x1002c612
movss xmm0, dword [0x11320840]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [0x11320844]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [0x11320848]
movss dword [esi + 0x14], xmm0
movss xmm0, dword [0x11320838]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [0x1132083c]
movss dword [esi + 0x28], xmm0
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
movss xmm0, dword [0x110da764]
comiss xmm0, dword [eax + 8]
ja 0x1002c684
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
xorps xmm1, xmm1
movss xmm0, dword [eax + 8]
comiss xmm0, xmm1
ja 0x1002c684
cmp byte [0x11320834], 0
je 0x1002c68b
movss xmm1, dword [0x11320840]
movss xmm2, dword [0x11320838]
movss xmm3, dword [0x1132083c]
jmp 0x1002c8d9
movss xmm0, dword [ebp - 4]
movss dword [0x11320830], xmm0
mov byte [0x113201fe], 1
jmp 0x1002c54a
mov byte [0x11320834], 0
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
movss xmm0, dword [eax + 4]
mov eax, dword [0x1131f3ec]
movss dword [ebp - 8], xmm0
mov ecx, dword [eax]
call fcn.1003aca0
fld dword [ebp - 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [eax]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
movss xmm0, dword [0x1019b9ec]
add esp, 8
fstp dword [ebp - 8]
divss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
mov eax, dword [0x1131f3ec]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
mulss xmm0, dword [0x1019b9e0]
movss dword [ebp - 4], xmm0
call fcn.1003aca0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
movq xmm0, qword [eax]
lea eax, [ebp - 0x38]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.1003d0b0
movss xmm0, dword [ebp - 0x38]
lea ecx, [ebp - 0x18]
subss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x10], xmm0
call fcn.100276b0
movss xmm0, dword [ebp - 0x14]
xorps xmm1, xmm1
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x24]
jb 0x1002c763
addss xmm0, dword [ebp - 4]
jmp 0x1002c768
subss xmm0, dword [ebp - 4]
subss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x110da640]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x110da690]
movss dword [ebp - 8], xmm0
movsd xmm0, qword [ebp - 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
dec edi
xorps xmm0, xmmword [0x1019ba70]
mulss xmm0, dword [0x110da690]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [0x1019ba00]
movss dword [ebp - 4], xmm0
nop word [eax + eax]
mov eax, dword [0x1118f47c]
push edi
push 0
mov eax, dword [eax]
call eax
movss xmm0, dword [ebp - 8]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x28], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esi + 0x10], xmm0
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
mov ecx, dword [0x11320294]
push esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
call fcn.10063e60
mov ecx, dword [0x11320294]
push esi
call fcn.10063e60
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
movss xmm0, dword [eax + 8]
comiss xmm0, dword [ebp - 0x30]
ja 0x1002c891
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1019b9cc]
movss xmm1, dword [0x1019b9e8]
comiss xmm1, xmm0
movss dword [ebp - 4], xmm0
ja 0x1002c7d0
cmp byte [0x11320834], 0
jne 0x1002c64e
movss xmm0, dword [ebp - 0x2c]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esi + 0x28], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm2, dword [esi + 0x24]
movss xmm3, dword [esi + 0x28]
movss xmm1, dword [esi + 0xc]
movss dword [0x11320840], xmm1
movss xmm0, dword [esi + 0x10]
movss dword [0x11320844], xmm0
movss xmm0, dword [esi + 0x14]
mov byte [0x11320834], 1
movss dword [0x11320838], xmm2
movss dword [0x1132083c], xmm3
movss dword [0x11320848], xmm0
movss dword [esi + 0xc], xmm1
movss xmm0, dword [0x11320844]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [0x11320848]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x24], xmm2
movss dword [esi + 0x28], xmm3
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret