Function at 0x10023050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e9df
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x10039040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1023520c]
test edi, edi
je 0x100234d6
mov edi, dword [edi + 0xd3fac]
xor edi, 0x8347816f
je 0x100234d6
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x100234d6
call fcn.10022d90
mov esi, eax
test esi, esi
je 0x100234d6
movss xmm0, dword [esi + 0x504]
comiss xmm0, dword [0x1003486c]
jbe 0x100234d6
lea eax, [ebp - 0x44]
mov edx, esi
push eax
push 6
lea ecx, [ebp - 0x70]
call fcn.100227c0
lea eax, [ebp - 0x50]
mov edx, esi
push eax
push 5
lea ecx, [ebp - 0x70]
call fcn.100227c0
add esp, 0x10
cmp dword [0x102351f0], 0
jne 0x1002313f
push 1
call fcn.1002d283
mov dword [ebp - 0x64], eax
add esp, 4
movaps xmm0, xmmword [0x10034ce0]
movups xmmword [0x10235158], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
push dword [0x10235184]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.100212b0
add esp, 4
cmp dword [0x102351f0], 0
jne 0x10023190
push 1
call fcn.1002d283
mov dword [ebp - 0x64], eax
add esp, 4
movaps xmm0, xmmword [0x10034ce0]
movups xmmword [0x10235158], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
push dword [0x10235184]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.100212b0
mov eax, dword [0x10235210]
add esp, 4
test eax, eax
jne 0x100231d7
push 0x4c0
call fcn.1002d283
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10029380
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235210], eax
mov ecx, dword [eax + 0x24]
cmp ecx, 1
jne 0x10023235
movss xmm5, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x24]
movaps xmm2, xmm5
movss xmm6, dword [ebp - 0x2c]
movaps xmm1, xmm4
subss xmm6, dword [ebp - 0x20]
subss xmm2, dword [ebp - 0x1c]
subss xmm1, dword [ebp - 0x18]
movss xmm0, dword [0x100348f8]
mulss xmm6, xmm0
mulss xmm2, xmm0
addss xmm6, dword [ebp - 0x2c]
mulss xmm1, xmm0
addss xmm5, xmm2
addss xmm4, xmm1
unpcklps xmm6, xmm5
movaps xmmword [ebp - 0x80], xmm6
movss dword [ebp - 0x68], xmm4
mov ecx, dword [ebp - 0x68]
jmp 0x1002325e
cmp ecx, 2
jne 0x10023252
lea eax, [ebp - 0x5c]
mov edx, esi
push eax
push 4
lea ecx, [ebp - 0x70]
call fcn.100227c0
mov eax, dword [0x10235210]
add esp, 8
movq xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
movaps xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x64], ecx
test eax, eax
jne 0x1002328f
push 0x4c0
call fcn.1002d283
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10029380
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235210], eax
cmp byte [eax + 0x7d], 0
mov ecx, dword [0x102351fc]
je 0x100232b1
mov edx, dword [ecx + 0x46c]
test edx, edx
jle 0x100232b1
cmp edx, dword [esi + 0x46c]
je 0x100234d6
cmp byte [eax + 0x7c], 0
je 0x100232cd
mov eax, dword [ecx + 0x424]
test eax, eax
jle 0x100232cd
cmp eax, dword [esi + 0x424]
je 0x100234d6
cmp dword [0x102351f0], 0
jne 0x1002330a
push 1
call fcn.1002d283
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10034ce0]
movups xmmword [0x10235158], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
push dword [0x10235184]
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
call fcn.100212b0
add esp, 4
cmp esi, edi
je 0x100234d6
mov eax, dword [0x10235210]
test eax, eax
jne 0x10023359
push 0x4c0
call fcn.1002d283
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.10029380
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235210], eax
cmp byte [eax + 3], 0
jne 0x100234d6
cmp byte [eax + 9], 0
je 0x100234d6
mov eax, dword [eax + 0x10]
sub eax, 0
je 0x10023392
sub eax, 1
je 0x1002338b
sub eax, 1
jne 0x10023386
mov eax, 0x58
jmp 0x10023397
mov eax, dword [ebp - 0x60]
jmp 0x10023397
mov eax, 1
jmp 0x10023397
mov eax, 2
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100234d6
mov eax, dword [0x10235210]
test eax, eax
jne 0x100233da
push 0x4c0
call fcn.1002d283
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.10029380
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235210], eax
mov ecx, dword [eax + 0x24]
sub ecx, 1
je 0x100233ec
sub ecx, 1
je 0x10023449
jmp 0x100234d6
cmp dword [0x102351f0], 0
jne 0x10023429
push 1
call fcn.1002d283
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10034ce0]
movups xmmword [0x10235158], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
movaps xmm0, xmmword [ebp - 0x80]
sub esp, 0xc
mov ecx, dword [ebp - 0x64]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.10022b50
mov eax, dword [0x10235210]
add esp, 0xc
test eax, eax
jne 0x10023477
push 0x4c0
call fcn.1002d283
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.10029380
mov dword [ebp - 4], 0xffffffff
mov dword [0x10235210], eax
cmp dword [eax + 0x24], 2
jne 0x100234d6
cmp dword [0x102351f0], 0
jne 0x100234ba
push 1
call fcn.1002d283
mov dword [ebp - 0x60], eax
add esp, 4
movaps xmm0, xmmword [0x10034ce0]
movups xmmword [0x10235158], xmm0
mov dword [0x10235190], 0
mov dword [0x10235200], 0
mov dword [0x102351f0], eax
movq xmm0, qword [ebp - 0x38]
sub esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10022b50
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002cce0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret