Function at 0x100110e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1006d040]
xor eax, esp
mov dword [esp + 0x30], eax
mov ecx, dword [0x10127b10]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
cmp dword [0x101279c8], 2
mov dword [0x10127b7c], eax
jne 0x1001144d
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 0x100111cd
cmp byte [esp + 0xc], 0
jne 0x100111c3
cmp byte [esp + 0x18], 0
movss xmm0, dword [0x10127b18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x100b256c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x100b2570]
movss dword [esp + 8], xmm0
jne 0x10011287
test al, al
jne 0x10011328
jmp 0x100113c2
movss xmm2, dword [0x10068634]
jmp 0x100111d5
movss xmm2, dword [0x10068484]
movss xmm0, dword [esp + 0x14]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x10074544]
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 [0x10127b18]
movss dword [esp + 0x10], xmm0
movss dword [0x10127b18], xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm0, xmmword [0x100691c0]
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 [0x100b256c]
movss dword [esp + 0xc], xmm0
movss dword [0x100b256c], 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 [0x100b2570]
movss dword [esp + 8], xmm0
movss dword [0x100b2570], xmm0
je 0x1001131d
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x1006849c]
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 [0x10074544]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
movss dword [esp + 0x10], xmm1
movss dword [0x10127b18], xmm0
xorps xmm1, xmm1
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss dword [0x100b256c], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movd xmm1, dword [0x10074544]
cvtsd2ss xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movss dword [0x100b2570], xmm0
cmp byte [esp + 0x1c], 0
je 0x100113c2
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x1006849c]
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 [0x10074544]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, xmm1
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
movss dword [0x10127b18], xmm0
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0xc], xmm0
movss dword [0x100b256c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movd xmm1, dword [0x10074544]
cvtsd2ss xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 8], xmm0
movss dword [0x100b2570], xmm0
mov ecx, 0x5f
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10060c3c]
xor al, cl
inc ecx
mov byte [esp + edx + 0x20], al
and ecx, 0x800000ff
jns 0x100113ed
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100113d0
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 0x1001144d
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.1005cb94
mov esp, ebp
pop ebp
ret