Function at 0x1008d267
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1010fa0c]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0xe0]
mov dword [esp + 0x18], edi
call fcn.1000a056
push 0x54
lea eax, [esp + 0x3c]
push 0
push eax
call sub.VCrUnTImE140.DlL_memset
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.10095a18
lea ecx, [esp + 0x44]
call fcn.10095a18
lea ecx, [esp + 0x50]
call fcn.10095a18
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10113814]
mov dword [esp + 0x30], 0x100a6f84
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1013f214]
cmp eax, dword [esi + 4]
jle 0x1008d326
push 0x1013f214
call fcn.1009cfcc
cmp dword [0x1013f214], 0xffffffff
pop ecx
jne 0x1008d326
push 0x1013f214
mov dword [0x1013f2f8], 0x7f800000
mov dword [0x1013f2f4], 0x7f800000
mov dword [0x1013f2f0], 0x7f800000
call fcn.1009cf82
pop ecx
mov eax, dword [0x1013f208]
cmp eax, dword [esi + 4]
jle 0x1008d370
push 0x1013f208
call fcn.1009cfcc
cmp dword [0x1013f208], 0xffffffff
pop ecx
jne 0x1008d370
push 0x1013f208
mov dword [0x1013f194], 0xc1800000
mov dword [0x1013f198], 0xc1800000
mov dword [0x1013f19c], 0xc1900000
call fcn.1009cf82
pop ecx
mov eax, dword [0x1013f28c]
cmp eax, dword [esi + 4]
jle 0x1008d3b7
mov esi, 0x1013f28c
push esi
call fcn.1009cfcc
cmp dword [0x1013f28c], 0xffffffff
pop ecx
jne 0x1008d3b7
push esi
mov dword [0x1013f24c], 0x41800000
mov dword [0x1013f250], 0x41800000
mov dword [0x1013f254], 0x41900000
call fcn.1009cf82
pop ecx
cmp dword [0x10112a54], 1
jne 0x1008d3ca
movss xmm0, dword [0x100fee54]
jmp 0x1008d3d2
movss xmm0, dword [0x100fee64]
cmp dword [0x10112a58], 0
movss dword [esp + 8], xmm0
jne 0x1008d3f6
push dword [0x10112b20]
call dword [sym.imp.uSer32.dlL_GetAsyncKeyState]
test ax, ax
je 0x1008da32
cmp byte [0x10112a50], 0
je 0x1008da32
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x378]
call eax
test eax, eax
je 0x1008da32
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5b4]
mov ecx, eax
call edx
cmp eax, 0x1c
jne 0x1008da32
mov ecx, edi
call fcn.1008b0bc
mov esi, eax
lea edi, [esp + 0x20]
mov edx, 0x1013f2f0
lea ecx, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10082221
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1000755f
movss xmm1, dword [esp + 8]
lea eax, [esp + 0x20]
movss xmm0, dword [0x1013f2f0]
lea ecx, [esp + 0xe0]
mulss xmm0, xmm1
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x38], edi
push eax
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x1013f2f4]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x1013f2f8]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x30], xmm0
call fcn.10009d71
mov ecx, dword [0x10113a28]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x34]
mov esi, 0x200400b
push edx
mov eax, dword [ecx]
lea edx, [esp + 0xe8]
push esi
push edx
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x64]
comiss xmm0, dword [0x100fed9c]
jb 0x1008d6ec
lea ecx, [esp + 0x90]
call fcn.1000a056
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 8]
subss xmm0, dword [esp + 0x10]
subss xmm1, dword [esp + 0xc]
movss xmm2, dword [esp + 0x1c]
subss xmm2, dword [esp + 0x14]
and dword [esp + 0xcc], 0
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa0], xmm1
mulss xmm0, xmm0
mov byte [esp + 0xd1], 1
mulss xmm1, xmm1
movss dword [esp + 0xa8], xmm2
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
ucomiss xmm0, dword [0x100fecc4]
lahf
test ah, 0x44
jp 0x1008d58e
mov byte [esp + 0xd1], 0
movss xmm7, dword [0x1013f250]
lea edx, [esp + 0x38]
movss xmm2, dword [0x1013f24c]
movaps xmm1, xmm7
subss xmm1, dword [0x1013f198]
subss xmm2, dword [0x1013f194]
movss xmm6, dword [0x1013f254]
movaps xmm0, xmm6
mov ecx, dword [0x10113a28]
subss xmm0, dword [0x1013f19c]
mulss xmm1, dword [0x100fed6c]
push edx
mulss xmm2, dword [0x100fed6c]
lea edx, [esp + 0x34]
push edx
mulss xmm0, dword [0x100fed6c]
lea edx, [esp + 0x98]
push esi
movss dword [esp + 0xd0], xmm1
mulss xmm1, xmm1
push edx
movss dword [esp + 0xd8], xmm0
mulss xmm0, xmm0
movss dword [esp + 0xd0], xmm2
addss xmm7, dword [0x1013f198]
addss xmm6, dword [0x1013f19c]
mulss xmm2, xmm2
addss xmm1, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100fed58]
comisd xmm1, xmm0
movss xmm1, dword [0x1013f24c]
addss xmm1, dword [0x1013f194]
movss xmm0, dword [0x100fed6c]
seta byte [esp + 0xe0]
mulss xmm7, xmm0
mulss xmm6, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm7
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [0x100fef38]
mulss xmm1, xmm0
mulss xmm7, xmm0
mulss xmm6, xmm0
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm7
movss dword [esp + 0xc8], xmm6
mov eax, dword [ecx]
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x64]
comiss xmm0, dword [0x100fed9c]
jae 0x1008da32
mov esi, dword [esp + 0x84]
test esi, esi
je 0x1008da32
lea ecx, [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1008da32
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20c]
call eax
test al, al
je 0x1008da32
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x208]
call eax
test al, al
je 0x1008da32
push edi
mov ecx, esi
call fcn.1000753a
test al, al
je 0x1008da32
mov eax, dword [0x10112a54]
test eax, eax
je 0x1008da2a
cmp eax, 2
jne 0x1008da14
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1a8]
call eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x100fee58]
ja 0x1008da2a
cmp dword [0x10112a54], 2
jne 0x1008da14
movss xmm3, dword [0x100fee54]
lea eax, [esp + 0x20]
movss xmm1, dword [0x1013f2f0]
lea ecx, [esp + 0xe0]
movss xmm0, dword [0x1013f2f4]
movss xmm2, dword [0x1013f2f8]
mulss xmm1, xmm3
push eax
mulss xmm0, xmm3
lea eax, [esp + 0x10]
push eax
addss xmm1, dword [esp + 0x14]
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x18]
addss xmm2, dword [esp + 0x1c]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x30], xmm2
call fcn.10009d71
mov ecx, dword [0x10113a28]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x34]
mov edi, 0x200400b
push edx
mov eax, dword [ecx]
lea edx, [esp + 0xe8]
push edi
push edx
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x64]
comiss xmm0, dword [0x100fed9c]
jb 0x1008da14
lea ecx, [esp + 0x90]
call fcn.1000a056
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [esp + 0x10]
subss xmm1, dword [esp + 0xc]
movss xmm2, dword [esp + 8]
subss xmm2, dword [esp + 0x14]
and dword [esp + 0xcc], 0
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa0], xmm1
mulss xmm0, xmm0
mov byte [esp + 0xd1], 1
mulss xmm1, xmm1
movss dword [esp + 0xa8], xmm2
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
ucomiss xmm0, dword [0x100fecc4]
lahf
test ah, 0x44
jp 0x1008d8ba
mov byte [esp + 0xd1], 0
movss xmm7, dword [0x1013f250]
lea edx, [esp + 0x38]
movss xmm2, dword [0x1013f24c]
movaps xmm1, xmm7
subss xmm1, dword [0x1013f198]
subss xmm2, dword [0x1013f194]
movss xmm6, dword [0x1013f254]
movaps xmm0, xmm6
mov ecx, dword [0x10113a28]
subss xmm0, dword [0x1013f19c]
mulss xmm1, dword [0x100fed6c]
push edx
mulss xmm2, dword [0x100fed6c]
lea edx, [esp + 0x34]
push edx
mulss xmm0, dword [0x100fed6c]
lea edx, [esp + 0x98]
push edi
movss dword [esp + 0xd0], xmm1
mulss xmm1, xmm1
push edx
movss dword [esp + 0xd8], xmm0
mulss xmm0, xmm0
movss dword [esp + 0xd0], xmm2
addss xmm7, dword [0x1013f198]
addss xmm6, dword [0x1013f19c]
mulss xmm2, xmm2
addss xmm1, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100fed58]
comisd xmm1, xmm0
movss xmm1, dword [0x1013f24c]
addss xmm1, dword [0x1013f194]
movss xmm0, dword [0x100fed6c]
seta byte [esp + 0xe0]
mulss xmm7, xmm0
mulss xmm6, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm7
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [0x100fef38]
mulss xmm1, xmm0
mulss xmm7, xmm0
mulss xmm6, xmm0
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm7
movss dword [esp + 0xc8], xmm6
mov eax, dword [ecx]
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x64]
comiss xmm0, dword [0x100fed9c]
jae 0x1008da32
cmp dword [esp + 0x84], esi
jne 0x1008da32
mov eax, dword [esp + 0x2c]
or dword [eax + 0x24], 0x800
jmp 0x1008da32
mov eax, dword [esp + 0x2c]
or dword [eax + 0x24], 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.1009ce88
mov esp, ebp
pop ebp
ret