Function at 0x1001ea30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x1022f1a4]
mov ecx, dword [0x1022f1b8]
push esi
push edi
mov dword [edx + 0x1aa4], 0
mov dword [edx + 0x1b4], 0
test ecx, ecx
jne 0x1001ea9e
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov edx, dword [0x1022f1a4]
mov ecx, eax
mov dword [0x1022f1b8], ecx
cmp byte [ecx + 0x79], 0
je 0x1001eaab
mov dword [edx + 0x12], 0x3f99999a
cmp byte [ecx + 0x63], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1001eb91
push 0x56
call edi
test ax, ax
je 0x1001eb85
mov esi, dword [0x1022f1a4]
movss xmm0, dword [esi + 0xb778]
subss xmm0, dword [0x1002ec80]
mulss xmm0, dword [0x1002eb64]
movss dword [ebp - 0x24], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x20], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mov eax, dword [esi + 0x34]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ecx
xorps xmm3, xmm3
xorps xmm1, xmm1
cvtss2sd xmm0, xmm0
mov ecx, esi
xorps xmm2, xmm2
mulsd xmm0, qword [0x1002eba8]
xorps xmm0, xmmword [0x1002f190]
cvtsd2ss xmm3, xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm3, dword [ebp - 8]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x14], xmm3
mulsd xmm0, qword [0x1002eba8]
xorps xmm0, xmmword [0x1002f190]
cvtsd2ss xmm1, xmm0
movq xmm0, qword [esi + 0x2c]
movq qword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm1, dword [ebp - 0x10]
addss xmm0, xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x1022f1b8]
mov edx, dword [0x1022f1a4]
test ecx, ecx
jne 0x1001ebba
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov edx, dword [0x1022f1a4]
mov ecx, eax
mov dword [0x1022f1b8], ecx
cmp byte [ecx + 0x62], 0
je 0x1001ebd5
movss xmm0, dword [edx + 0x12]
comiss xmm0, dword [0x1002eb70]
jb 0x1001ebd5
mov dword [edx + 0x12], 0x3f8ccccd
cmp byte [ecx + 0x6d], 0
je 0x1001eca3
push 0x20
call edi
test ax, ax
je 0x1001ec97
mov esi, dword [0x1022f1a4]
movss xmm0, dword [esi + 0xb778]
subss xmm0, dword [0x1002ec80]
mulss xmm0, dword [0x1002eb64]
movss dword [ebp - 0x20], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x20]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 0x34]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x2c]
xorps xmm1, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
xorps xmm3, xmmword [0x1002f1a0]
movq qword [ebp - 0x10], xmm0
movss xmm1, dword [ebp - 0xc]
movss xmm0, dword [ebp - 8]
xorps xmm2, xmmword [0x1002f1a0]
addss xmm3, dword [ebp - 0x10]
addss xmm1, dword [0x1002eb6c]
addss xmm0, xmm2
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x1022f1b8]
mov edx, dword [0x1022f1a4]
test ecx, ecx
jne 0x1001eccc
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov edx, dword [0x1022f1a4]
mov ecx, eax
mov dword [0x1022f1b8], ecx
cmp byte [ecx + 0x53], 1
jne 0x1001ed04
mov eax, dword [ecx + 0x5c]
movss xmm1, dword [edx + 0x2d2c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1001ecf2
mov dword [edx], 2
mov eax, dword [ecx + 0x5c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x1001ed04
mov dword [edx], 0
cmp byte [ecx + 0x81], 0
je 0x1001ed31
push 0x47
call edi
mov edx, dword [0x1022f1a4]
mov ecx, dword [0x1022f1b8]
test ax, ax
je 0x1001ed31
mov eax, dword [0x1022f1b4]
mov dword [eax + 0xfe8], 0
cmp dword [edx + 0x17b4], 0
je 0x1001edb2
test ecx, ecx
jne 0x1001ed63
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov edx, dword [0x1022f1a4]
mov ecx, eax
mov dword [0x1022f1b8], ecx
cmp byte [ecx + 0x65], 0
je 0x1001ed79
mov eax, dword [edx + 0x17b4]
mov dword [eax + 0x300], 0
cmp byte [ecx + 0x6c], 0
je 0x1001ed8f
mov eax, dword [edx + 0x17b4]
mov dword [eax + 0x2e8], 0x3f800000
cmp byte [ecx + 0x70], 0
je 0x1001eda2
mov eax, dword [edx + 0x17b4]
mov dword [eax + 0x38], 0
cmp byte [ecx + 0x6f], 0
je 0x1001edb2
mov eax, dword [edx + 0x17b4]
mov byte [eax + 0x30], 1
test ecx, ecx
jne 0x1001eddb
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov edx, dword [0x1022f1a4]
mov ecx, eax
mov dword [0x1022f1b8], ecx
cmp byte [ecx + 0x52], 0
je 0x1001ee00
push 0x51
call edi
mov edx, dword [0x1022f1a4]
mov ecx, dword [0x1022f1b8]
test ax, ax
je 0x1001ee00
mov dword [edx + 0x13a0], 0
test ecx, ecx
jne 0x1001ee29
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov edx, dword [0x1022f1a4]
mov ecx, eax
mov dword [0x1022f1b8], ecx
cmp byte [ecx + 0x83], 0
je 0x1001ee3c
mov dword [edx + 0xdf10], 0x497423f0
cmp byte [ecx + 0x51], 0
je 0x1001ee4c
mov dword [edx + 0x3b8], 0
push 0x20
call edi
test ax, ax
je 0x1001ef04
mov esi, dword [0x1022f1a4]
movss xmm0, dword [esi + 0xb778]
subss xmm0, dword [0x1002ec80]
mulss xmm0, dword [0x1002eb64]
movss dword [ebp - 0x20], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x20]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov eax, dword [esi + 0x34]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x2c]
xorps xmm1, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
xorps xmm3, xmmword [0x1002f1a0]
movq qword [ebp - 0x10], xmm0
xorps xmm2, xmmword [0x1002f1a0]
movss xmm1, dword [ebp - 0xc]
movss xmm0, dword [ebp - 8]
addss xmm3, dword [ebp - 0x10]
addss xmm1, dword [0x1002eb6c]
addss xmm0, xmm2
movss dword [ebp - 0x1c], xmm3
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm0
call dword [eax + 0x34]
mov eax, dword [0x1022f1b8]
test eax, eax
jne 0x1001ef29
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov dword [0x1022f1b8], eax
cmp byte [eax + 0x60], 0
je 0x1001ef4c
push 0x20
call edi
test ax, ax
je 0x1001ef47
mov eax, dword [0x1022f1a4]
mov dword [eax + 0xe8b8], 0x41500000
mov eax, dword [0x1022f1b8]
test eax, eax
jne 0x1001ef6c
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.10023350
mov dword [0x1022f1b8], eax
cmp byte [eax + 0x4f], 0
je 0x1001ef9c
mov ecx, dword [0x1022f1a4]
test ecx, ecx
je 0x1001ef9c
movd xmm0, dword [eax + 0x44]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2d2c]
jb 0x1001ef9c
mov eax, dword [0x1022f1b4]
mov dword [eax + 0xfe8], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002644f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret