Function at 0x10088bb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
cmp dword [0x101ab7b8], 0
push ebx
push esi
push edi
je 0x10089861
cmp byte [0x101ab7d0], 1
xorps xmm1, xmm1
mov eax, dword [0x102c32f0]
jne 0x10088bfe
test eax, eax
je 0x10088c02
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x101430a0]
subss xmm1, dword [0x10143f9c]
test eax, eax
jne 0x10088c0a
call fcn.100bd450
movaps xmm1, xmm0
cmp byte [0x101ab7d1], 1
jne 0x10088ca9
mov eax, dword [0x101ab7c4]
addss xmm1, xmm1
cdq
mov ecx, 0x1e5
sub eax, edx
sar eax, 1
sub ecx, eax
movss dword [ebp - 4], xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x101ab7bc], eax
call fcn.1007faf0
cmp al, 1
jne 0x10088c74
mov eax, dword [0x101ab7c4]
mov ecx, 0x127
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 4]
cvttss2si eax, xmm0
mov dword [0x101ab7bc], eax
call fcn.1007fc10
cmp al, 1
jne 0x10088ca9
mov edi, dword [0x101ab7c4]
mov ecx, 0x69
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 4]
cvttss2si esi, xmm0
mov dword [0x101ab7bc], esi
jmp 0x10088cb5
mov edi, dword [0x101ab7c4]
mov esi, dword [0x101ab7bc]
cmp byte [0x101ab7d2], 1
jne 0x10088e98
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [0x101ab7bc]
mov ebx, dword [0x101ab7c0]
mov edi, dword [0x101ab7c4]
test ax, ax
jns 0x10088e7f
movd xmm2, dword [0x879340c]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
movd xmm0, ebx
comiss xmm1, xmm2
movd xmm3, edi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
ja 0x10088d5e
addss xmm1, xmm3
comiss xmm2, xmm1
ja 0x10088d5e
movd xmm1, dword [0x8793410]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10088d5e
addss xmm0, dword [0x10143bf8]
comiss xmm1, xmm0
ja 0x10088d5e
mov cl, byte [0x101ab7b0]
test cl, cl
jne 0x10088d6c
mov cl, 1
mov byte [0x101ab7b0], cl
movzx eax, word [0x879340c]
mov word [0x101ab7b2], ax
movzx eax, word [0x8793410]
mov word [0x101ab7b4], ax
jmp 0x10088d64
mov cl, byte [0x101ab7b0]
test cl, cl
je 0x10088e9e
cmp byte [0x101ab7d1], 0
jne 0x10088e9e
cmp dword [0xe61e58], 0x550
jl 0x10088d9d
cmp dword [0x102c32f0], 0
je 0x10088d9d
lea eax, [edi + 0x2c1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jmp 0x10088da5
movss xmm2, dword [0x101440f8]
cmp dword [0x101ab7cc], 2
je 0x10088dfa
mov ecx, dword [0x101ab7c8]
cmp ecx, 0xb4
jge 0x10088dc8
lea eax, [ecx + ecx]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x10088e02
cmp ecx, 0x190
jle 0x10088de8
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
divss xmm0, dword [0x10143220]
subss xmm1, xmm0
jmp 0x10088e02
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
jmp 0x10088e02
movss xmm1, dword [0x10143de0]
mov ecx, dword [0x879340c]
movsx eax, word [0x101ab7b2]
sub ecx, eax
movsx eax, word [0x101ab7b4]
add ecx, esi
mov dword [0x101ab7bc], ecx
mov edx, dword [0x8793410]
sub edx, eax
mov eax, 1
add edx, ebx
cmp ecx, eax
cmovl ecx, eax
cmp edx, eax
cmovl edx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm2, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvttss2si esi, xmm2
minss xmm1, xmm0
mov dword [0x101ab7bc], esi
cvttss2si ebx, xmm1
mov dword [0x101ab7c0], ebx
movzx eax, word [0x879340c]
mov word [0x101ab7b2], ax
movzx eax, word [0x8793410]
mov word [0x101ab7b4], ax
jmp 0x10088e9e
cmp byte [0x101ab7b0], 0
je 0x10088e9e
mov byte [0x101ab7b0], 0
mov byte [0x101ab7d1], 0
jmp 0x10088e9e
mov ebx, dword [0x101ab7c0]
cmp dword [0x101ab7cc], 3
movd xmm0, dword [0x101ab7c8]
cvtdq2ps xmm0, xmm0
je 0x10088ef2
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movd xmm0, ebx
mov ebx, 0x790b50
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x9328
call ebx
add esp, 0x14
jmp 0x10088f21
movd xmm3, edi
sub esp, 0xc
movd xmm2, ebx
movd xmm1, esi
cvtdq2ps xmm3, xmm3
mov dword [esp + 4], 0
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
movss dword [esp], xmm0
call fcn.10034cc0
mov ebx, 0x790b50
movd xmm0, dword [0x101ab7c0]
sub esp, 0x10
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x42040000
mov dword [esp + 8], 0x42ac0000
addss xmm0, dword [0x10143d30]
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10143d7c]
movss dword [esp], xmm0
push 0x9327
call ebx
add esp, 0x14
mov esi, 0x635fd0
push 1
call esi
add esp, 4
mov ecx, 0x1015dbb8
push 0x1f
call fcn.10047580
movd xmm0, dword [0x101ab7c0]
cvtdq2ps xmm0, xmm0
push eax
push 5
push 0x19
addss xmm0, dword [0x10143bc0]
cvttss2si eax, xmm0
movd xmm0, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x10143db4]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10193bd8
call fcn.1007dc40
add esp, 0x1c
lea edi, [esi - 0x80]
call edi
push 1
call esi
add esp, 4
cmp byte [0x101ab7ac], 0
jne 0x10089007
push 0x779250
push 0x779150
push 1
push 0xac
push 0x101ab700
mov eax, 0x9cfa13
call eax
mov byte [0x101ab7ac], 1
push 0
push 0
push 1
push 0x7ec5
push 1
mov eax, 0x779350
mov ecx, 0x101ab700
call eax
movd xmm0, dword [0x101ab7c0]
mov ecx, 0x101ab700
cvtdq2ps xmm0, xmm0
push 0x1d
push 0x24
addss xmm0, dword [0x10143b84]
cvttss2si eax, xmm0
movd xmm0, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x10143f40]
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
call edi
movaps xmm0, xmmword [0x101445e0]
xor esi, esi
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x10144550]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x10144220]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10144400]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x101445c0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x10144540]
movups xmmword [ebp - 0x20], xmm0
nop word [eax + eax]
mov eax, dword [ebp + esi - 0x40]
sub esp, 0x10
add eax, dword [0x101ab7c0]
mov dword [esp + 0xc], 0x42640000
movd xmm0, eax
mov eax, dword [ebp + esi - 0x70]
add eax, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x428c0000
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x9326
call ebx
add esi, 4
add esp, 0x14
cmp esi, 0x30
jl 0x100890b0
cmp dword [0x101ab7d4], 0xc
mov ebx, 0x635fd0
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov edi, dword [sym.imp.OPENGL32.dll_glColor3f]
ja 0x100891c1
push 1
call ebx
mov dword [esp], 0x3e99999a
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
mov ecx, dword [0x101ab7d4]
push 0
sub esp, 0x14
mov eax, dword [ebp + ecx*4 - 0x40]
add eax, dword [0x101ab7c0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42640000
mov dword [esp + 8], 0x428c0000
movd xmm0, eax
mov eax, dword [ebp + ecx*4 - 0x70]
add eax, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
add esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
cmp dword [0x101ab7d8], 1
jl 0x10089277
push 1
call ebx
mov dword [esp], 0x3e99999a
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xc
idiv ecx
push 0
sub esp, 0x14
mov eax, dword [ebp + edx*4 - 0x40]
add eax, dword [0x101ab7c0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42640000
mov dword [esp + 8], 0x428c0000
movd xmm0, eax
mov eax, dword [ebp + edx*4 - 0x70]
add eax, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
add esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
movaps xmm0, xmmword [0x101445f0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x10144570]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x10144320]
movups xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [0x10144400]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x101445c0]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x10144540]
movups xmmword [ebp - 0x50], xmm0
lea eax, [ebp - 4]
mov ecx, 0x101ab6f4
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0xc]
shl eax, 3
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov esi, dword [eax + 4]
lea eax, [ebp - 4]
push eax
shl esi, 9
call fcn.100693f0
mov ecx, dword [ebp - 4]
sub esp, 8
mov edx, dword [ebp - 8]
mov edi, dword [eax + 8]
mov eax, 0x32
add edi, esi
cmp ecx, 2
push ebx
mov ebx, 0x2f
mov esi, 0x41
cmove eax, ebx
movd xmm3, eax
mov eax, 0x46
cmove eax, esi
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [ebp + ecx*4 - 0x70]
add eax, dword [0x101ab7c0]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mov eax, dword [ebp + ecx*4 - 0x40]
mov ecx, edi
add eax, dword [0x101ab7bc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.1007cc70
add esp, 0xc
cmp byte [0x101ab7b0], 0
jne 0x1008947c
mov ecx, dword [ebp - 4]
mov eax, 0x32
cmp ecx, 2
cmove eax, ebx
push eax
mov eax, 0x46
cmove eax, esi
push eax
mov eax, dword [ebp + ecx*4 - 0x70]
add eax, dword [0x101ab7c0]
push eax
mov eax, dword [ebp + ecx*4 - 0x40]
add eax, dword [0x101ab7bc]
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1008947c
cmp byte [0x101ab7d3], 1
jne 0x1008947c
lea eax, [ebp - 4]
mov ecx, 0x101ab6f4
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov ebx, dword [eax + 0x14]
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov edi, dword [eax + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.100693f0
mov ecx, 0x101ab6f4
mov esi, dword [eax + 4]
lea eax, [ebp - 4]
push eax
shl esi, 9
call fcn.100693f0
mov ecx, dword [ebp - 4]
sub esp, 0x28
mov eax, dword [eax + 8]
push dword [ebp - 8]
add eax, esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
push edi
push eax
mov eax, dword [ebp + ecx*4 - 0x70]
add eax, dword [0x101ab7c0]
push eax
mov eax, dword [ebp + ecx*4 - 0x40]
add eax, dword [0x101ab7bc]
push eax
call fcn.100be420
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0xc
jl 0x100892c0
cmp dword [0x101ab7d4], 0xc
ja 0x10089658
push 0x101ab7d4
mov ecx, 0x101ab6f4
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov edi, dword [eax + 0x1c]
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov ebx, dword [eax + 0xc]
shl ebx, 3
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov esi, dword [eax + 4]
shl esi, 9
call fcn.100693f0
movd xmm1, dword [0x101ab7c0]
sub esp, 8
movd xmm0, dword [0x101ab7bc]
mov edx, ebx
movss xmm2, dword [0x10143c4c]
mov ecx, dword [eax + 8]
movaps xmm3, xmm2
cvtdq2ps xmm1, xmm1
add ecx, esi
push edi
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x10143d7c]
addss xmm0, dword [0x10143dd4]
call fcn.1007cc70
add esp, 0xc
mov ebx, 0x790b10
cmp byte [0x101ab7b0], 0
jne 0x1008965d
movd xmm0, dword [0x101ab7c0]
cvtdq2ps xmm0, xmm0
push 0x32
push 0x32
addss xmm0, dword [0x10143d7c]
cvttss2si eax, xmm0
movd xmm0, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x10143dd4]
cvttss2si eax, xmm0
push eax
call ebx
add esp, 0x10
test al, al
je 0x1008965d
cmp byte [0x101ab7d3], 1
jne 0x1008965d
push 0x101ab7d4
mov ecx, 0x101ab6f4
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov ebx, dword [eax + 0x14]
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov edi, dword [eax + 0xc]
call fcn.100693f0
push 0x101ab7d4
mov ecx, 0x101ab6f4
mov esi, dword [eax + 4]
shl esi, 9
call fcn.100693f0
movd xmm0, dword [0x101ab7c0]
sub esp, 0x28
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 8]
add eax, esi
push dword [ebp - 0x10]
addss xmm0, dword [0x10143d7c]
push dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
push edi
push eax
cvttss2si eax, xmm0
movd xmm0, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x10143dd4]
cvttss2si eax, xmm0
push eax
call fcn.100be420
mov ebx, 0x790b10
mov eax, 0x779860
mov ecx, 0x101ab700
call eax
cmp al, 1
jne 0x10089677
mov dword [0x101ab7b8], 0
push 1
mov edi, 0x635fd0
call edi
add esp, 4
mov eax, 0x7798f0
mov ecx, 0x101ab700
push 0
call eax
lea eax, [edi - 0x80]
call eax
mov eax, dword [0x10302128]
cmp eax, 3
ja case.default.0x100896a0
jmp dword [eax*4 + 0x10089868]
push 0x12d
jmp 0x100896c1
push 0x12e
jmp 0x100896c1
push 0x12f
jmp 0x100896c1
push 0x130
mov esi, dword [0x1030212c]
mov ecx, 0x1015dbb8
call fcn.10047580
push esi
push eax
mov eax, dword [0x101ab7c0]
push 1
push 0x96
add eax, 0xc3
push eax
mov eax, dword [0x101ab7bc]
add eax, 0x69
push eax
push 0xff00ffff
push 0x10193bd8
call fcn.1007dc40
add esp, 0x20
push 1
call edi
movd xmm0, dword [0x101ab7c0]
add esp, 4
cvtdq2ps xmm0, xmm0
push 0x21
push 0x56
addss xmm0, dword [0x10143d1c]
cvttss2si eax, xmm0
movd xmm0, dword [0x101ab7bc]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x10143d94]
cvttss2si eax, xmm0
push eax
call ebx
add esp, 0x10
test al, al
je 0x1008981e
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10089808
cmp byte [0x8793386], 0
je 0x10089808
cmp dword [0x101ab7d8], 0
jne 0x10089808
cmp byte [0x101ab7b0], 0
jne 0x10089808
mov eax, 0x83c080
call eax
mov edx, 4
mov dword [ebp - 4], 0x16fb04c1
lea ecx, [ebp - 4]
call fcn.100d0350
mov eax, dword [0x10302128]
mov dword [0x101ab7d8], 1
cmp eax, 3
ja case.default.0x100897b2
jmp dword [eax*4 + 0x10089878]
mov eax, dword [0x102cc104]
cmp eax, dword [0x1030212c]
jl 0x100897f7
push 0x12c
mov ecx, 0x1015dbb8
call fcn.10047580
mov ecx, 0xff19bdff
jmp 0x10089830
mov eax, dword [0x102cc100]
jmp 0x100897be
mov eax, dword [0x102cc0fc]
jmp 0x100897be
mov eax, dword [0x102cc10c]
cmp eax, dword [0x1030212c]
jge case.default.0x100897b2
mov dword [0x101ab7d8], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x12c
mov ecx, 0x1015dbb8
call fcn.10047580
mov ecx, 0xff0000e1
jmp 0x10089830
push 0x12c
mov ecx, 0x1015dbb8
call fcn.10047580
or ecx, 0xffffffff
mov esi, dword [0x101ab7c0]
mov edx, dword [0x101ab7bc]
push eax
push 1
push 0x32
lea eax, [esi + 0x67]
push eax
lea eax, [edx + 0x98]
push eax
push ecx
push 0x10193bd8
call fcn.1007dc40
add esp, 0x1c
mov eax, 0x635f50
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret