Function at 0x1009da80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
cmp dword [0x10172d58], 0
push esi
jle case.default.0x1009ddf9
mov eax, dword [0x10161f64]
movss xmm4, dword [0x100e0c14]
movss xmm3, dword [0x100e0ba8]
sub eax, 0
je 0x1009dc83
sub eax, 1
je 0x1009dbef
sub eax, 1
jne 0x1009db5e
cmp byte [0x101c97bc], al
jne 0x1009daee
mov eax, dword [0x101621c0]
mov byte [0x101c97bc], 1
mov byte [eax], 0
jmp 0x1009db5e
mov eax, dword [0x101621ec]
mov dword [eax + 0xc], 0xc2b20000
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm4
movss dword [eax + 0x10], xmm0
mov esi, dword [0x101621ec]
lea ecx, [esi + 0xc]
call fcn.100ab770
lea ecx, [esi + 0x10]
call fcn.100ab770
lea ecx, [esi + 0x14]
call fcn.100ab770
cmp dword [0x101621b8], 6
mov eax, dword [0x101621c0]
jge 0x1009db44
mov byte [eax], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov byte [eax], 1
mov byte [0x101c97bc], 0
movss xmm4, dword [0x100e0c14]
movss xmm3, dword [0x100e0ba8]
mov eax, dword [0x101621ec]
movss xmm0, dword [0x10172d8c]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x10161cfc]
test eax, eax
jle 0x1009ddc4
cmp dword [0x10172d50], 0
jne 0x1009ddc4
cmp dword [0x101621b8], 0
mov dl, 1
jne 0x1009de54
movss xmm1, dword [0x10162280]
mov ecx, dword [0x101c346c]
movaps xmm0, xmm1
subss xmm0, dword [0x1016228c]
movss xmm2, dword [ecx + 0x10]
comiss xmm2, xmm0
jb 0x1009dde1
comiss xmm1, xmm2
jbe 0x1009dde1
cmp eax, 4
jne 0x1009dde1
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm3
movss dword [eax + 0x10], xmm0
mov eax, dword [0x10161cfc]
jmp 0x1009ddc6
cmp dword [0x101621b8], 0
jne 0x1009db5e
mov eax, dword [0x101c346c]
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [0x10162280]
jb 0x1009db5e
push dword [0x10161dec]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jne 0x1009db4e
cmp byte [0x10172cd8], al
jne 0x1009db4e
push dword [0x10161f68]
call esi
movss xmm3, dword [0x100e0ba8]
movss xmm4, dword [0x100e0c14]
test ax, ax
je 0x1009db5e
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm3
movss dword [eax + 0x10], xmm0
mov eax, dword [0x101621ec]
mov dword [eax + 8], 0x7fffffff
mov eax, dword [0x101621c0]
mov byte [eax], 0
jmp 0x1009db5e
push dword [0x10161f58]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
je 0x1009db4e
cmp byte [0x10161f54], 0
je 0x1009db4e
cmp byte [0x101c9818], 0
je 0x1009db4e
mov edx, dword [0x101621ec]
xorps xmm3, xmm3
movss xmm4, dword [0x100e0c14]
movss xmm1, dword [0x100e0ab8]
movss xmm2, dword [0x100e0cb4]
movss xmm0, dword [edx + 0x10]
addss xmm0, xmm4
movss dword [0x10172d8c], xmm0
movss xmm0, dword [edx + 0x28]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1009dd19
mov al, byte [0x101c9810]
test al, al
je 0x1009dd02
movaps xmm0, xmm1
jmp 0x1009dd05
movaps xmm0, xmm2
test al, al
movss dword [edx + 0x28], xmm0
mov edx, dword [0x101621ec]
sete byte [0x101c9810]
movss xmm0, dword [edx + 0x24]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1009dd47
mov al, byte [0x101c9811]
test al, al
jne 0x1009dd33
movaps xmm1, xmm2
test al, al
movss dword [edx + 0x24], xmm1
mov edx, dword [0x101621ec]
sete byte [0x101c9811]
cmp byte [0x10172d22], 0
sete al
mov byte [0x10172d22], al
test al, al
je 0x1009dd88
push dword [0x10161f60]
call esi
mov edx, dword [0x101621ec]
xor ecx, ecx
movss xmm4, dword [0x100e0c14]
test ax, ax
sete cl
lea ecx, [ecx*2 - 1]
imul ecx, dword [0x10161f5c]
jmp 0x1009dd8a
xor ecx, ecx
movss xmm1, dword [0x10172d8c]
xor eax, eax
cmp byte [0x10172d22], al
movd xmm0, ecx
mov ecx, 0x10
cvtdq2ps xmm0, xmm0
cmovne eax, ecx
mov dword [0x101c981c], eax
subss xmm1, xmm0
movss dword [0x10172d8c], xmm1
movss dword [edx + 0x10], xmm1
jmp 0x1009db56
xor dl, dl
cmp dword [0x101621b8], 0
jne 0x1009de54
movss xmm1, dword [0x10162280]
mov ecx, dword [0x101c346c]
movss xmm0, dword [ecx + 0x10]
comiss xmm0, xmm1
jb 0x1009de5a
test dl, dl
je 0x1009de5a
dec eax
cmp eax, 3
ja case.default.0x1009ddf9
jmp dword [eax*4 + 0x1009dfa4]
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x100e0bc4]
jmp 0x1009df88
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [0x100e0bc4]
jmp 0x1009df88
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
addss xmm0, xmm4
jmp 0x1009df88
mov eax, dword [0x101621ec]
movss xmm0, dword [eax + 0x10]
addss xmm0, xmm3
jmp 0x1009df88
mov ecx, dword [0x101c346c]
mov eax, dword [0x10172d58]
sub eax, 2
je 0x1009df43
sub eax, 1
je 0x1009ded6
sub eax, 1
jne case.default.0x1009ddf9
movss xmm0, dword [ecx + 0x10]
comiss xmm0, dword [0x10172d84]
jb 0x1009dec4
mov eax, dword [0x101c3534]
sub esp, 8
mov dword [ebp - 4], eax
mov dword [esp + 4], 0x43340000
mov dword [esp], 0xc3340000
call dword [ebp - 4]
mov eax, dword [0x101c346c]
add esp, 8
fstp dword [0x10172d88]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x10172d68]
movss dword [0x10172d84], xmm0
movss xmm0, dword [0x10172d88]
mov eax, dword [0x101621ec]
jmp 0x1009df88
movss xmm0, dword [0x10172d60]
mulss xmm0, dword [0x100e09e0]
mov eax, dword [0x101621ec]
movss xmm1, dword [0x10172d8c]
subss xmm1, xmm0
movss dword [eax + 0x10], xmm1
movss xmm0, dword [0x10172d64]
mulss xmm0, dword [0x100e0b1c]
mov eax, dword [0x101c346c]
mov esi, dword [0x101621ec]
mulss xmm0, dword [eax + 0x10]
movss dword [ebp - 4], xmm0
fld dword [ebp - 4]
fld dword [0x10172d60]
call sub.ucrtbased.dll__CIfmod
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
jmp case.default.0x1009ddf9
movss xmm0, dword [0x10172d5c]
sub esp, 8
mulss xmm0, dword [0x100e09e0]
mov eax, dword [0x101c3534]
mov dword [ebp - 4], eax
movss dword [esp + 4], xmm0
xorps xmm0, xmmword [0x100e0e50]
movss dword [esp], xmm0
call dword [ebp - 4]
mov eax, dword [0x101621ec]
add esp, 8
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov ecx, dword [0x101621ec]
lea ecx, [ecx + 0x10]
call fcn.100ab770
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret