Function at 0x10020ea0
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 0x1002f8d7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x1003b040]
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 [0x10237214]
test ecx, ecx
jne 0x10020f15
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10237214], ecx
cmp byte [ecx + 0x76], 0
mov edx, dword [0x102371fc]
je 0x10020f27
mov dword [edx], 0
cmp byte [ecx + 0x81], 0
je 0x10020f3a
mov dword [edx + 0x16b8], 0x3f99999a
cmp byte [ecx + 0x73], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1002104f
push 0x42
call edi
test ax, ax
je 0x10021043
mov esi, dword [0x102371fc]
movss xmm0, dword [esi + 0x181c]
subss xmm0, dword [0x1003672c]
mulss xmm0, dword [0x10036618]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movsd xmm0, qword [ebp - 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x10237214]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x50], xmm0
test eax, eax
jne 0x10020fdc
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.1002a570
movss xmm0, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x102371fc]
mov dword [0x10237214], eax
movss xmm1, dword [eax + 0x7c]
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0x2c]
movaps xmm3, xmm1
mulss xmm1, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mulss xmm3, xmm0
push ecx
movq xmm0, qword [esi + 0x24]
mov ecx, esi
xorps xmm1, xmmword [0x10036c90]
xorps xmm3, xmmword [0x10036c90]
movq qword [ebp - 0x48], xmm0
xorps xmm0, xmm0
movss xmm2, dword [ebp - 0x48]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x44]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x40]
addss xmm0, xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
mov eax, dword [esi]
call dword [eax + 0x34]
mov ecx, dword [0x10237214]
mov edx, dword [0x102371fc]
test ecx, ecx
jne 0x10021086
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102371fc]
mov dword [0x10237214], ecx
cmp byte [ecx + 0x72], 0
je 0x100210ab
test edx, edx
je 0x100210ab
movss xmm0, dword [edx + 0x16b8]
comiss xmm0, dword [0x10036624]
jb 0x100210ab
mov dword [edx + 0x16b8], 0x3f99999a
cmp byte [ecx + 0x77], 0
je 0x1002117a
push 0x20
call edi
test ax, ax
je 0x1002116e
mov esi, dword [0x102371fc]
movss xmm0, dword [esi + 0x181c]
subss xmm0, dword [0x1003672c]
mulss xmm0, dword [0x10036618]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movsd xmm0, qword [ebp - 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
mov eax, dword [esi + 0x2c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x24]
xorps xmm2, xmm2
mulss xmm1, xmm2
mulss xmm3, xmm2
xorps xmm1, xmmword [0x10036c90]
movq qword [ebp - 0x48], xmm0
movss xmm2, dword [ebp - 0x48]
xorps xmm3, xmmword [0x10036c90]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x40]
addss xmm1, dword [0x10036620]
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x10237214]
mov edx, dword [0x102371fc]
test ecx, ecx
jne 0x100211b1
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102371fc]
mov dword [0x10237214], ecx
cmp byte [ecx + 0x63], 1
jne 0x10021201
movd xmm0, dword [ecx + 0x6c]
movss xmm1, dword [edx + 0x4c4]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100211e0
mov dword [edx + 0x10e4], 1
mov dword [edx + 0x16b8], 2
movd xmm0, dword [ecx + 0x6c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x10021201
mov dword [edx + 0x10e4], 0
mov dword [edx + 0x16b8], 0
cmp byte [ecx + 0x8a], 0
je 0x1002122a
push 0x47
call edi
mov edx, dword [0x102371fc]
mov ecx, dword [0x10237214]
test ax, ax
je 0x1002122a
mov eax, dword [0x10237210]
mov dword [eax], 0
cmp dword [edx + 0x169c], 0
je 0x100212c0
test ecx, ecx
jne 0x1002126e
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102371fc]
mov dword [0x10237214], ecx
cmp byte [ecx + 0x74], 0
je 0x10021284
mov eax, dword [edx + 0x169c]
mov dword [eax + 0x2ec], 0
cmp byte [ecx + 0x75], 0
je 0x1002129a
mov eax, dword [edx + 0x169c]
mov dword [eax + 0x2ec], 0x3f800000
cmp byte [ecx + 0x7a], 0
je 0x100212b0
mov eax, dword [edx + 0x169c]
mov dword [eax + 0x2e0], 0
cmp byte [ecx + 0x79], 0
je 0x100212c0
mov eax, dword [edx + 0x169c]
mov byte [eax + 0x30], 1
test ecx, ecx
jne 0x100212f7
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0xf
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102371fc]
mov dword [0x10237214], ecx
cmp byte [ecx + 0x62], 0
je 0x1002131c
push 0x51
call edi
mov edx, dword [0x102371fc]
mov ecx, dword [0x10237214]
test ax, ax
je 0x1002131c
mov dword [edx + 0x1784], 0
test ecx, ecx
jne 0x10021353
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0x10
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102371fc]
mov dword [0x10237214], ecx
cmp byte [ecx + 0xa5], 0
je 0x10021366
mov dword [edx + 0x1310], 0x497423f0
cmp byte [ecx + 0x61], 0
je 0x10021376
mov dword [edx + 0x3cc], 0
cmp byte [ecx + 0x46], 0
je 0x10021445
push 0x20
call edi
test ax, ax
je 0x10021439
mov esi, dword [0x102371fc]
movss xmm0, dword [esi + 0x181c]
subss xmm0, dword [0x1003672c]
mulss xmm0, dword [0x10036618]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movsd xmm0, qword [ebp - 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [ebp - 0x4c]
lea ecx, [ebp - 0x38]
mov eax, dword [esi + 0x2c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movq xmm0, qword [esi + 0x24]
xorps xmm2, xmm2
mulss xmm1, xmm2
mulss xmm3, xmm2
xorps xmm1, xmmword [0x10036c90]
movq qword [ebp - 0x48], xmm0
movss xmm2, dword [ebp - 0x48]
xorps xmm3, xmmword [0x10036c90]
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x40]
addss xmm1, dword [0x10036620]
addss xmm0, xmm3
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
call dword [eax + 0x34]
mov ecx, dword [0x10237214]
mov edx, dword [0x102371fc]
test ecx, ecx
jne 0x1002147c
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0x13
call fcn.1002a570
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102371fc]
mov dword [0x10237214], ecx
cmp byte [ecx + 0x70], 0
je 0x100214a1
push 0x20
call edi
mov edx, dword [0x102371fc]
mov ecx, dword [0x10237214]
test ax, ax
je 0x100214a1
mov dword [edx + 0x17a3], 0x41500000
test ecx, ecx
jne 0x100214d1
push 0x4c4
call fcn.1002e0c3
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [ebp - 4], 0x14
call fcn.1002a570
mov edx, dword [0x102371fc]
mov ecx, eax
mov dword [0x10237214], ecx
cmp byte [ecx + 0x5f], 0
je 0x100214fb
test edx, edx
je 0x100214fb
movd xmm0, dword [ecx + 0x54]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [edx + 0x4c4]
jb 0x100214fb
mov eax, dword [0x10237210]
mov dword [eax + 0xd1060], 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.1002db20
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret