Function at 0x10006850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x10042040]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [0x100b7f30]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
mov dword [0x100b7f74], eax
movss xmm1, dword [0x1003fc18]
addss xmm0, dword [0x1003fc40]
movss dword [0x383946bc], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1003fc30]
movss dword [0x383946e0], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1003fc40]
movss dword [0x38394704], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1003fc44]
movss dword [0x38394728], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1003fbf0]
movss dword [0x3839474c], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38394770], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38394794], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x383947b8], xmm0
movd xmm0, dword [0x100b7f18]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1003fbe8]
movss dword [0x38394800], xmm0
movd xmm0, dword [0x100b7f20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1003fc1c]
movss dword [0x383947dc], xmm0
cmp byte [0x100b7f1c], 0
je 0x100069a3
cmp dword [0x383dab74], 1
jne 0x100069b6
mov dword [0x383dab74], 0xfffffffb
jmp 0x100069b6
cmp dword [0x383dab74], 0xfffffffb
jne 0x100069b6
mov dword [0x383dab74], 1
cmp byte [0x10042b80], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x100069e2
push 0x20
call edi
test ax, ax
mov eax, dword [0x100b7f74]
je 0x100069e2
mov eax, dword [eax + 0x10]
mov dword [eax + 0xb8], 0x44898000
jmp 0x100069ef
mov eax, dword [eax + 0x10]
mov dword [eax + 0xb8], 0xc4898000
cmp byte [0x100b7f0f], 0
je 0x10006cd0
mov ecx, 0xa2
xor edx, edx
mov al, byte [edx + 0x1003b83c]
xor al, cl
inc ecx
mov byte [esp + edx + 0x24], al
and ecx, 0x800000ff
jns 0x10006a20
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10006a03
lea eax, [esp + 0x24]
mov byte [esp + 0x30], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov esi, dword [eax + 0x6bf34]
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
test esi, esi
je 0x10006cd0
mov eax, dword [0x100b7f74]
push 0x26
movss xmm0, dword [eax + 0x54]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 0x58]
movss dword [esp + 0xc], xmm0
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x28
mov dword [esp + 0x10], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x25
mov dword [esp + 0x18], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x27
mov dword [esp + 0x14], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [esp + 0xc], 0
mov dword [esp + 0x20], eax
jne 0x10006adf
cmp byte [esp + 0x14], 0
jne 0x10006ad5
cmp byte [esp + 0x10], 0
jne 0x10006bae
test al, al
jmp 0x10006c3d
movss xmm0, dword [0x1003fc68]
jmp 0x10006ae7
movss xmm0, dword [0x1003fb34]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 8]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x100420b4]
mulss xmm0, dword [esp + 0xc]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
xorps xmm0, xmmword [0x1003fdd0]
addss xmm1, dword [esi + 0xc8]
cvtss2sd xmm0, xmm0
movss dword [esi + 0xc8], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [0x100420b4]
cvtsd2ss xmm2, xmm0
mulss xmm1, dword [esp + 0xc]
mulss xmm2, xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
addss xmm2, dword [esi + 0xcc]
movss dword [esi + 0xcc], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x10], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x100420b4]
mulss xmm0, dword [esp + 0xc]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm1
je 0x10006c38
movss xmm0, dword [esp + 8]
subss xmm0, dword [0x1003fb44]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [0x100420b4]
cvtsd2ss xmm2, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
addss xmm2, dword [esi + 0xc8]
movss dword [esi + 0xcc], xmm1
movss dword [esi + 0xc8], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x100420b4]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm1
cmp byte [esp + 0x20], 0
je 0x10006cd0
movss xmm0, dword [esp + 8]
addss xmm0, dword [0x1003fb44]
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [0x100420b4]
cvtsd2ss xmm2, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
addss xmm2, dword [esi + 0xc8]
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
movss dword [esi + 0xc8], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x100420b4]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100390f0
mov esp, ebp
pop ebp
ret