Function at 0x100070d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1001c040]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x1001ca94]
push esi
mov esi, ecx
push edi
test eax, eax
jne 0x100070fb
mov dword [0x1001d0a0], eax
jmp 0x10007181
cmp eax, 1
jne 0x1000710c
mov dword [0x1001d0a0], 0xa
jmp 0x10007181
cmp eax, 2
jne 0x1000711d
mov dword [0x1001d0a0], 0x14
jmp 0x10007181
cmp eax, 3
jne 0x1000712e
mov dword [0x1001d0a0], 0x1e
jmp 0x10007181
cmp eax, 4
jne 0x1000713f
mov dword [0x1001d0a0], 0x28
jmp 0x10007181
cmp eax, 5
jne 0x10007150
mov dword [0x1001d0a0], 0x32
jmp 0x10007181
cmp eax, 6
jne 0x10007161
mov dword [0x1001d0a0], 0x3c
jmp 0x10007181
cmp eax, 7
jne 0x10007172
mov dword [0x1001d0a0], 0x46
jmp 0x10007181
cmp eax, 8
jne 0x10007181
mov dword [0x1001d0a0], 0x50
cmp dword [0x1001d40c], 0
je 0x100071e6
cmp dword [0x1001c690], 0
je 0x100071e6
mov ecx, dword [0x1001d200]
sub ecx, dword [0x1001e7dc]
add ecx, dword [0x1001e910]
mov eax, dword [0x1001e9a0]
mov ecx, dword [ecx + eax]
call fcn.10005bf0
test eax, eax
jle 0x100071e6
mov edx, dword [0x1001d264]
shr edx, 1
cmp esi, 0xffffffff
je 0x100071ca
push 0xffff0000
jmp 0x100071cf
push 0xff00ff00
push ecx
mov ecx, dword [0x1001d260]
push dword [0x1001d0a0]
shr ecx, 1
call fcn.10007880
add esp, 0xc
mov eax, dword [0x1001d49c]
lea ecx, [esp + 8]
mov edx, esi
push dword [eax*4 + 0x100150fc]
call fcn.10005c80
add esp, 4
test al, al
je 0x1000741f
push str.Head
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.10005c80
add esp, 4
test al, al
je 0x1000741f
movq xmm0, qword [esp + 8]
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x34]
call fcn.10005da0
add esp, 0xc
test al, al
je 0x1000741f
movss xmm1, dword [esp + 0x20]
sub esp, 0xc
addss xmm1, dword [0x10018e48]
movss xmm2, dword [esp + 0x28]
mov ecx, esp
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
unpcklps xmm2, xmm1
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
lea ecx, [esp + 0x14]
call fcn.10005da0
add esp, 0xc
test al, al
je 0x1000741f
cmp dword [0x1001d310], 0
je 0x100072cf
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x10018ed0]
push str.TARGET
push 0xffffff00
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [esp + 0x14]
push eax
push dword [0x1001d36c]
call fcn.100060b0
add esp, 0x14
mov eax, dword [0x1001c55c]
dec eax
cmp eax, 3
ja case.default.0x100072da
jmp dword [eax*4 + 0x10007430]
mov esi, 1
mov dword [0x1001d2b8], esi
jmp 0x1000731b
mov esi, 2
mov dword [0x1001d2b8], esi
jmp 0x1000731b
mov esi, 0x11
mov dword [0x1001d2b8], esi
jmp 0x1000731b
mov esi, 0x10
mov dword [0x1001d2b8], esi
jmp 0x1000731b
mov esi, dword [0x1001d2b8]
cvttss2si eax, dword [esp + 0x28]
xorps xmm2, xmm2
xorps xmm0, xmm0
cvtsi2ss xmm2, eax
mov eax, dword [0x1001d260]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10018f20]
cvttss2si eax, dword [esp + 0x2c]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10018e54]
subss xmm2, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm2
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, dword [0x1001d264]
cvtsi2sd xmm0, eax
shr eax, 0x1f
cmp dword [0x1001d40c], 0
addsd xmm0, qword [eax*8 + 0x10018f20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10018e54]
subss xmm2, xmm0
movss dword [esp + 0x14], xmm2
je 0x1000741f
cmp dword [0x1001c55c], 0
je 0x100073f3
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x100073eb
cmp byte [esi*8 + 0x1001f2f8], 0
lea edi, [esi*8 + 0x1001f2fc]
je 0x100073d9
cmp dword [edi], 0
je 0x100073f3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
inc ecx
cmp ecx, eax
ja 0x100073f3
mov byte [esi*8 + 0x1001f2f8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
jmp 0x10007405
mov byte [esi*8 + 0x1001f2f8], 0
cmp dword [0x1001d40c], 0
je 0x1000741f
cmp dword [0x1001c55c], 0
jne 0x1000741f
cvttss2si eax, dword [esp + 0x14]
push 0
push 0
push eax
cvttss2si eax, dword [esp + 0x24]
push eax
push 1
call dword [sym.imp.USER32.dll_mouse_event]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10010158
mov esp, ebp
pop ebp
ret