Function at 0x10010b90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1006c040]
xor eax, esp
mov dword [esp + 0x30], eax
mov ecx, dword [0x10126b68]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
cmp dword [0x101269c0], 2
mov dword [0x10126bac], eax
jne 0x10010efd
movss xmm0, dword [eax + 0x54]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 0x58]
push 0x5a
movss dword [esp + 0x18], xmm0
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x53
mov dword [esp + 0xc], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x51
mov dword [esp + 0x10], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x44
mov dword [esp + 0x1c], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [esp + 8], 0
mov dword [esp + 0x1c], eax
jne 0x10010c7d
cmp byte [esp + 0xc], 0
jne 0x10010c73
cmp byte [esp + 0x18], 0
movss xmm0, dword [0x10126b70]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x100b157c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x100b1580]
movss dword [esp + 8], xmm0
jne 0x10010d37
test al, al
jne 0x10010dd8
jmp 0x10010e72
movss xmm2, dword [0x10067584]
jmp 0x10010c85
movss xmm2, dword [0x100673d4]
movss xmm0, dword [esp + 0x14]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x10073544]
cvtps2pd xmm0, xmm0
mulss xmm1, xmm2
movss dword [esp + 8], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
addss xmm0, dword [0x10126b70]
movss dword [esp + 0x10], xmm0
movss dword [0x10126b70], xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm0, xmmword [0x100679d0]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
addss xmm0, dword [0x100b157c]
movss dword [esp + 0xc], xmm0
movss dword [0x100b157c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x18], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 8]
addss xmm0, dword [0x100b1580]
movss dword [esp + 8], xmm0
movss dword [0x100b1580], xmm0
je 0x10010dcd
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x100673ec]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10073544]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
movss dword [esp + 0x10], xmm1
movss dword [0x10126b70], xmm0
xorps xmm1, xmm1
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss dword [0x100b157c], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movd xmm1, dword [0x10073544]
cvtsd2ss xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movss dword [0x100b1580], xmm0
cmp byte [esp + 0x1c], 0
je 0x10010e72
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x100673ec]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10073544]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, xmm1
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
movss dword [0x10126b70], xmm0
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0xc], xmm0
movss dword [0x100b157c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movd xmm1, dword [0x10073544]
cvtsd2ss xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movss dword [0x100b1580], xmm0
mov ecx, 0x58
xor edx, edx
nop dword [eax]
mov al, byte [edx + str.e53_2_8N_a]
xor al, cl
inc ecx
mov byte [esp + edx + 0x20], al
and ecx, 0x800000ff
jns 0x10010e9d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10010e80
lea eax, [esp + 0x20]
mov byte [esp + 0x2c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], 0
mov eax, dword [eax + 0x6bf34]
test eax, eax
je 0x10010efd
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 8]
movss dword [eax + 0xc8], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm1
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.1005b824
mov esp, ebp
pop ebp
ret