Function at 0x1002ea10
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, 0x108
mov byte [0x11320239], 0
cmp dword [eax], 0
push esi
push edi
je 0x1002f240
mov ecx, dword [0x113200e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002f240
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.100ce2c0
test al, al
je 0x1002f240
cmp byte [0x1131f4d0], 0
je 0x1002f232
push dword [0x1131f4e4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002f232
cmp byte [0x11320869], 0
mov esi, dword [ebx + 8]
je 0x1002eab5
cmp dword [0x11320248], 9
jne 0x1002eab5
or dword [esi + 0x30], 2
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x1002f240
mov ecx, dword [0x11320304]
mov ecx, dword [ecx + 0x1c]
dec ecx
push ecx
mov ecx, dword [0x1118f47c]
push 0
mov eax, dword [ecx]
call eax
lea ecx, [ebp - 0x108]
call fcn.1002bc40
mov eax, dword [0x1131f3ec]
mov byte [0x113201fe], 0
mov ecx, dword [eax]
call fcn.1003aca0
movss xmm1, dword [0x110da760]
movss xmm0, dword [eax + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002eb39
movss xmm0, dword [0x11320224]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002eb39
xorps xmm1, xmm1
movss dword [0x1132086c], xmm1
jmp 0x1002eb41
movss xmm1, dword [0x1132086c]
movsd xmm2, qword [0x110da670]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x24], xmm1
comisd xmm2, xmm0
jbe 0x1002f240
nop dword [eax + eax]
mov ecx, dword [0x1131f3ec]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ecx]
call fcn.100ce7d0
movss xmm1, dword [ebp - 0x24]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0xc], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [edi]
mov ecx, edi
cvtsd2ss xmm0, xmm0
mov dword [ebp - 0x44], 0x110da534
mov dword [ebp - 0x98], 0x7f800000
mov eax, dword [eax + 8]
mov dword [ebp - 0x9c], 0x7f800000
mov dword [ebp - 0xa0], 0x7f800000
addss xmm0, dword [ebp - 0x3c]
mov dword [ebp - 0x88], 0x7f800000
mov dword [ebp - 0x8c], 0x7f800000
mov dword [ebp - 0x90], 0x7f800000
mov dword [ebp - 0x78], 0x7f800000
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [0x1019b994]
mov dword [ebp - 0x7c], 0x7f800000
mov dword [ebp - 0x80], 0x7f800000
mov dword [ebp - 0x68], 0x7f800000
mov dword [ebp - 0x6c], 0x7f800000
movss dword [ebp - 4], xmm0
mov dword [ebp - 0x70], 0x7f800000
mov dword [ebp - 0x60], 0
call eax
mov ecx, dword [ebp - 0x34]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 4]
call edx
movss xmm7, dword [ebp - 0x40]
mov ecx, eax
movss xmm2, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x14]
subss xmm2, xmm7
subss xmm1, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 4]
subss xmm0, dword [ebp - 0x38]
mov dword [ebp - 0x60], 0
movss dword [ebp - 0x90], xmm2
movss dword [ebp - 0x8c], xmm1
mulss xmm1, xmm1
mov byte [ebp - 0x5b], 1
mulss xmm2, xmm2
movss dword [ebp - 0x88], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x1019b994]
lahf
test ah, 0x44
jp 0x1002ecae
mov byte [ebp - 0x5b], 0
movss xmm0, dword [ecx + 4]
lea edx, [ebp - 0x108]
movss xmm4, dword [edi + 4]
movss xmm2, dword [edi]
subss xmm4, xmm0
subss xmm2, dword [ecx]
movss xmm1, dword [ecx + 8]
movss xmm3, dword [edi + 8]
movss xmm6, dword [0x1019b9c8]
subss xmm3, xmm1
mulss xmm4, xmm6
push edx
mulss xmm2, xmm6
lea edx, [ebp - 0x44]
push edx
movss dword [ebp - 0x6c], xmm4
lea edx, [ebp - 0xa0]
movsd xmm1, qword [0x110da628]
movss dword [ebp - 0x70], xmm2
mulss xmm3, xmm6
push 0x201400b
mulss xmm4, xmm4
push edx
movss dword [ebp - 0x68], xmm3
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm2, xmm4
addss xmm2, xmm3
cvtps2pd xmm0, xmm2
comisd xmm1, xmm0
seta byte [ebp - 0x5c]
movss xmm3, dword [ecx + 8]
addss xmm3, dword [edi + 8]
movss xmm5, dword [ecx]
movss xmm4, dword [ecx + 4]
addss xmm5, dword [edi]
addss xmm4, dword [edi + 4]
mov ecx, dword [0x113201b0]
mulss xmm3, xmm6
mulss xmm5, xmm6
movaps xmm0, xmm3
mulss xmm4, xmm6
addss xmm0, dword [ebp - 0x38]
movaps xmm2, xmm5
movaps xmm1, xmm4
addss xmm2, xmm7
addss xmm1, dword [ebp - 0x3c]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [0x1019b9ec]
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x9c], xmm1
movss dword [ebp - 0x80], xmm5
movss dword [ebp - 0x7c], xmm4
movss dword [ebp - 0x78], xmm3
mov eax, dword [ecx]
call dword [eax + 0x14]
movss xmm0, dword [0x1019b9cc]
comiss xmm0, dword [ebp - 0xdc]
jbe 0x1002f1ff
movss xmm0, dword [0x110da634]
comiss xmm0, dword [ebp - 0xe8]
jbe 0x1002f1ff
movss xmm0, dword [ebp - 0xec]
mulss xmm0, dword [0x1019b9ec]
mov byte [0x113201fe], 1
movss xmm1, dword [ebp - 0xf0]
mulss xmm1, dword [0x1019b9ec]
movsd xmm2, qword [0x110da740]
movss dword [ebp - 4], xmm0
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x2c], xmm1
movsd qword [ebp - 0x10], xmm0
fld qword [ebp - 0x10]
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm2
movsd qword [ebp - 0x10], xmm0
fld qword [ebp - 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
mov eax, dword [0x1131f3ec]
fstp qword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mov ecx, dword [eax]
mulss xmm0, dword [0x1019b9e0]
movss dword [ebp - 0xc], xmm0
call fcn.1003aca0
sub esp, 8
movq xmm0, qword [eax]
movq qword [ebp - 0x50], xmm0
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x50]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 8
fld qword [ebp - 0x20]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
sub esp, 8
fld dword [ebp - 4]
cvtpd2ps xmm0, xmm0
fstp dword [esp + 4]
mulss xmm0, dword [0x1019b9e0]
fld dword [ebp - 0x2c]
fstp dword [esp]
movss dword [ebp - 0x14], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
add esp, 8
fld qword [ebp - 0x20]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm1, dword [ebp - 0x14]
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1019b9e0]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x4c]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0xac], xmm1
movsd qword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x50]
fld qword [ebp - 0x20]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1019b9e0]
subss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0xa8], xmm0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xa4], 0
call fcn.100276b0
movss xmm0, dword [esi + 0x24]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x110da640]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x110da72c]
movss dword [ebp - 0x14], xmm0
movsd xmm0, qword [ebp - 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x11320304]
mov edi, dword [esi + 0x30]
cvtsd2ss xmm0, xmm0
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1118f47c]
xorps xmm0, xmmword [0x1019ba70]
mulss xmm0, dword [0x110da72c]
push 0
mov eax, dword [eax]
movss dword [ebp - 4], xmm0
call eax
movss xmm0, dword [ebp - 0x14]
movss xmm1, dword [ebp - 4]
mov ecx, dword [0x11320294]
and dword [esi + 0x30], 0xfffffffd
push esi
movss dword [esi + 0x24], xmm0
movss dword [esi + 0x28], xmm1
call fcn.10063e60
cmp byte [0x11320239], 0
jne 0x1002f084
cmp dword [0x11320248], 9
je 0x1002f070
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.100cec00
cmp eax, 9
je 0x1002f070
cmp dword [0x11320248], 9
je 0x1002f070
movss xmm0, dword [ebp - 0x2c]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [ebp - 0x1c]
mov dword [esi + 0x30], edi
movss dword [esi + 0x28], xmm0
cmp byte [0x11320239], 0
jne 0x1002f084
mov byte [0x11320868], 0
mov byte [0x11320869], 0
jmp 0x1002f1ff
movss xmm0, dword [ebp - 0x24]
mov byte [0x11320239], 1
movss dword [0x1132086c], xmm0
mov eax, dword [0x11320304]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1118f47c]
push 0
mov eax, dword [eax]
call eax
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
mov ecx, dword [0x1131f3ec]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0xc], eax
call fcn.100cec00
cmp byte [0x11320868], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
jne 0x1002f116
mov al, byte [0x11320869]
test al, al
jne 0x1002f177
xor edi, edi
and dword [ebp - 0xc], 1
mov ecx, dword [0x11320294]
push esi
call fcn.10063e60
cmp dword [ebp - 0xc], 0
jne 0x1002f110
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
test byte [eax], 1
je 0x1002f110
cmp edi, 0xa
jl 0x1002f140
mov byte [0x11320868], 1
inc edi
cmp edi, 0xc
jl 0x1002f0e1
mov al, byte [0x11320869]
test al, al
jne 0x1002f177
cmp byte [0x11320868], al
jne 0x1002f149
and dword [esi + 0x30], 0xfffffffd
xorps xmm0, xmm0
movss dword [ebp - 4], xmm0
movaps xmm1, xmm0
movss dword [ebp - 0x14], xmm0
jmp 0x1002f1f5
mov al, 1
mov byte [0x11320869], al
jmp 0x1002f11b
mov eax, dword [esi + 0x30]
or eax, 2
cmp dword [0x11320248], 9
mov dword [esi + 0x30], eax
jne 0x1002f16b
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [ebp - 4], xmm1
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 4]
movss xmm0, dword [ebp - 0x14]
jmp 0x1002f1f5
mov eax, dword [0x11320304]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1118f47c]
push 0
mov eax, dword [eax]
call eax
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
mov ecx, dword [0x1131f3ec]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], eax
call fcn.100cec00
mov ecx, dword [0x11320294]
push esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.10063e60
test byte [ebp - 0x1c], 1
jne 0x1002f1eb
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
test byte [eax], 1
je 0x1002f1eb
and dword [esi + 0x30], 0xfffffffd
movss xmm1, dword [ebp - 4]
movss xmm0, dword [ebp - 0x14]
jmp 0x1002f1f5
or dword [esi + 0x30], 2
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esi + 0x24], xmm0
movss dword [esi + 0x28], xmm1
movss xmm1, dword [ebp - 0x24]
addss xmm1, dword [0x110da630]
movsd xmm2, qword [0x110da670]
mov edi, dword [ebp - 0x34]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x24], xmm1
comisd xmm2, xmm0
ja 0x1002eb60
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov byte [0x11320868], 0
mov byte [0x11320869], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret