Function at 0x10011550
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 [0x10127ba4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
cmp dword [0x10127aec], 2
mov dword [0x10127c0c], eax
jne 0x100118bd
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 0x1001163d
cmp byte [esp + 0xc], 0
jne 0x10011633
cmp byte [esp + 0x18], 0
movss xmm0, dword [0x10127bac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x100b26a0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x100b26a4]
movss dword [esp + 8], xmm0
jne 0x100116f7
test al, al
jne 0x10011798
jmp 0x10011832
movss xmm2, dword [0x10067f9c]
jmp 0x10011645
movss xmm2, dword [0x10067dec]
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 [0x10127bac]
movss dword [esp + 0x10], xmm0
movss dword [0x10127bac], xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm0, xmmword [0x10068480]
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 [0x100b26a0]
movss dword [esp + 0xc], xmm0
movss dword [0x100b26a0], 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 [0x100b26a4]
movss dword [esp + 8], xmm0
movss dword [0x100b26a4], xmm0
je 0x1001178d
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x10067e04]
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 [0x10127bac], xmm0
xorps xmm1, xmm1
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movss dword [0x100b26a0], 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 [0x100b26a4], xmm0
cmp byte [esp + 0x1c], 0
je 0x10011832
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x10067e04]
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 [0x10127bac], xmm0
movss xmm0, dword [esp + 0xc]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0xc], xmm0
movss dword [0x100b26a0], 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 [0x100b26a4], xmm0
mov ecx, 0x5f
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10061c04]
xor al, cl
inc ecx
mov byte [esp + edx + 0x20], al
and ecx, 0x800000ff
jns 0x1001185d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10011840
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 0x100118bd
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.1005d7a4
mov esp, ebp
pop ebp
ret