Function at 0x10020de0
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
push 0xffffffffffffffff
push 0x1002c007
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x102321b0]
test ecx, ecx
jne 0x10020e55
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x7d], 0
je 0x10020e6a
mov eax, dword [0x1023219c]
mov dword [eax + 0x16b0], 0x3f99999a
cmp byte [ecx + 0x6f], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10020f78
push 0x42
call edi
test ax, ax
je 0x10020f72
mov esi, dword [0x1023219c]
movss xmm0, dword [esi + 0x181c]
subss xmm0, dword [0x10031d20]
mulss xmm0, dword [0x10031bc0]
movss dword [ebp - 0x3c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x44], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x102321b0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
test eax, eax
jne 0x10020f0f
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10026a60
movss xmm0, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x1023219c]
mov dword [0x102321b0], eax
movss xmm3, dword [eax + 0x78]
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0x2c]
movaps xmm2, xmm3
mulss xmm3, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mulss xmm2, xmm0
push ecx
movq xmm0, qword [esi + 0x24]
mov ecx, esi
xorps xmm3, xmmword [0x100321e0]
xorps xmm2, xmmword [0x100321e0]
movq qword [ebp - 0x50], xmm0
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x4c]
addss xmm3, dword [ebp - 0x50]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm0, xmm2
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
mov eax, dword [esi]
call dword [eax + 0x34]
mov ecx, dword [0x102321b0]
test ecx, ecx
jne 0x10020fa9
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x6e], 0
je 0x10020fcf
mov eax, dword [0x1023219c]
movss xmm0, dword [eax + 0x16b0]
comiss xmm0, dword [0x10031bdc]
jb 0x10020fcf
mov dword [eax + 0x16b0], 0x3f8ccccd
cmp byte [ecx + 0x72], 0
je 0x10021097
push 0x20
call edi
test ax, ax
je 0x10021091
mov esi, dword [0x1023219c]
movss xmm0, dword [esi + 0x181c]
subss xmm0, dword [0x10031d20]
mulss xmm0, dword [0x10031bc0]
movss dword [ebp - 0x44], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x44]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov eax, dword [esi + 0x2c]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x24]
xorps xmm1, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
xorps xmm3, xmmword [0x100321e0]
movq qword [ebp - 0x50], xmm0
xorps xmm2, xmmword [0x100321e0]
movss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x48]
addss xmm3, dword [ebp - 0x50]
addss xmm1, dword [0x10031bd4]
addss xmm0, xmm2
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x102321b0]
test ecx, ecx
jne 0x100210c8
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x5f], 1
jne 0x10021126
mov edx, dword [ecx + 0x68]
mov eax, dword [0x1023219c]
movd xmm0, edx
movss xmm1, dword [eax + 0x4ec]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10021101
mov dword [eax + 0x10e4], 1
mov dword [eax + 0x168c], 2
mov edx, dword [ecx + 0x68]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x10021126
mov eax, dword [0x1023219c]
mov dword [eax + 0x10e4], 0
mov dword [eax + 0x168c], 0
cmp byte [ecx + 0x86], 0
je 0x1002114d
push 0x71
call edi
mov ecx, dword [0x102321b0]
test ax, ax
je 0x1002114d
mov eax, dword [0x102321ac]
mov dword [eax + 0xd2b44], 0
mov eax, dword [0x1023219c]
cmp dword [eax + 0x1670], 0
je 0x100211f6
test ecx, ecx
jne 0x10021190
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x70], 0
je 0x100211ab
mov eax, dword [0x1023219c]
mov eax, dword [eax + 0x1670]
mov dword [eax + 0x2ec], 0
cmp byte [ecx + 0x71], 0
je 0x100211c6
mov eax, dword [0x1023219c]
mov eax, dword [eax + 0x1670]
mov dword [eax + 0x2ec], 0x3f800000
cmp byte [ecx + 0x75], 0
je 0x100211e1
mov eax, dword [0x1023219c]
mov eax, dword [eax + 0x1670]
mov dword [eax + 0x2f8], 0
cmp byte [ecx + 0x74], 0
je 0x100211f6
mov eax, dword [0x1023219c]
mov eax, dword [eax + 0x1670]
mov byte [eax + 0x40], 1
test ecx, ecx
jne 0x10021227
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0xe
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x5e], 0
je 0x1002124b
push 0x51
call edi
mov ecx, dword [0x102321b0]
test ax, ax
je 0x1002124b
mov eax, dword [0x1023219c]
mov dword [eax + 0x1764], 0
test ecx, ecx
jne 0x1002127c
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0xf
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0xa1], 0
je 0x10021294
mov eax, dword [0x1023219c]
mov dword [eax + 0x1728], 0x497423f0
cmp byte [ecx + 0x5d], 0
je 0x100212a9
mov eax, dword [0x1023219c]
mov dword [eax + 0x3ec], 0
cmp byte [ecx + 0x43], 0
je 0x10021371
push 0x20
call edi
test ax, ax
je 0x1002136b
mov esi, dword [0x1023219c]
movss xmm0, dword [esi + 0x181c]
subss xmm0, dword [0x10031d20]
mulss xmm0, dword [0x10031bc0]
movss dword [ebp - 0x44], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [ebp - 0x44]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov eax, dword [esi + 0x2c]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x24]
xorps xmm1, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
xorps xmm3, xmmword [0x100321e0]
movq qword [ebp - 0x50], xmm0
xorps xmm2, xmmword [0x100321e0]
movss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x48]
addss xmm3, dword [ebp - 0x50]
addss xmm1, dword [0x10031bd4]
addss xmm0, xmm2
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x102321b0]
test ecx, ecx
jne 0x100213a2
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0x12
call fcn.10026a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x6c], 0
je 0x100213c6
push 0x20
call edi
mov ecx, dword [0x102321b0]
test ax, ax
je 0x100213c6
mov eax, dword [0x1023219c]
mov dword [eax + 0x1788], 0x41c80000
test ecx, ecx
jne 0x100213f0
push 0x4c0
call fcn.1002a9ee
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0x13
call fcn.10026a60
mov ecx, eax
mov dword [0x102321b0], ecx
cmp byte [ecx + 0x5b], 0
je 0x1002141f
mov eax, dword [0x1023219c]
test eax, eax
je 0x1002141f
movd xmm0, dword [ecx + 0x50]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [eax + 0x4ec]
jb 0x1002141f
mov eax, dword [0x102321ac]
mov dword [eax + 0xd2b44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002a31b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret