Function at 0x100562c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100569f8
movss xmm1, dword [esi + 0x42c]
movss xmm0, dword [esi + 0x498]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100569f8
movss dword [esi + 0x498], xmm1
mov edi, Ordinal_1
mov ecx, dword [esi + 0x440]
cmp ecx, dword [esi + 0x444]
je 0x10056350
mov eax, dword [esi + 0x44c]
lea edi, [esi + 0xb8]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, edi
push eax
call fcn.10014200
jmp 0x10056763
mov eax, dword [esi + 0x420]
lea ecx, [esi + 0x420]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov eax, dword [eax + 8]
movq qword [ebp - 0x18], xmm0
call eax
fstp dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x60]
ucomiss xmm0, dword [0x100d30c0]
lahf
test ah, 0x44
jp 0x10056390
mov eax, 0x221e
mov word [ebp - 0x28], ax
jmp 0x100566d5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, byte [esi + 0x470]
xorps xmm0, xmm0
shr eax, 0xf
and eax, 1
mov dword [ebp - 0x68], 0
add ecx, eax
mov dword [ebp - 0x64], 7
xor eax, eax
movups xmmword [ebp - 0x78], xmm0
mov word [ebp - 0x78], ax
mov dword [ebp - 4], eax
push 0xa
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x44]
push 0xc
push eax
push ecx
movups xmmword [ebp - 0x44], xmm0
movq qword [ebp - 0x34], xmm0
call fcn.10097500
lea ecx, [ebp - 0x44]
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100563f0
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10002080
mov dword [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x68]
sub eax, ecx
cmp eax, 2
jb 0x10056a28
cmp dword [ebp - 0x64], 7
lea eax, [ebp - 0x78]
push ecx
cmova eax, dword [ebp - 0x78]
push eax
push 2
push 0x100cfc08
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x90]
call fcn.10001de0
push 1
push 0x100cfc04
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.10002080
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002280
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x94]
cmp ecx, 7
jbe 0x100564dd
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100564d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a2d
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x1005651e
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056514
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a2d
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x10056573
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056569
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a2d
push ecx
push edx
call fcn.10087edd
add esp, 8
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x450]
ja 0x1005658c
comiss xmm0, dword [esi + 0x454]
jbe 0x1005666a
movss xmm1, dword [ebp - 0x60]
comiss xmm1, xmm0
jbe 0x1005666a
mov ecx, dword [ebp - 0x4c]
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x10056a32
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
push ecx
cmova eax, dword [ebp - 0x5c]
push eax
push 1
push 0x100cc868
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.10001de0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.10002280
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10006a20
mov ecx, dword [ebp - 0x94]
cmp ecx, 7
jbe 0x1005662c
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056622
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a37
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x1005666a
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056660
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a37
push ecx
push edx
call fcn.10087edd
add esp, 8
movss xmm0, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 7
cvtps2pd xmm0, xmm0
cmova eax, dword [ebp - 0x5c]
sub esp, 8
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x28]
push 0xc
push eax
call fcn.10056de0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x100566d5
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100566cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a37
push ecx
push edx
call fcn.10087edd
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x90], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100566f3
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.10002390
lea eax, [ebp - 0x90]
lea edi, [esi + 0xb8]
push eax
mov ecx, edi
call fcn.10006a20
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x10056763
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056759
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a3c
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x28]
mov edx, Ordinal_1
sub edx, ecx
cmp edx, 2
jb 0x10056a41
cmp dword [eax + 0x14], 7
jbe 0x10056781
mov eax, dword [eax]
push 2
push 0x100cccec
push ecx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
call fcn.10001de0
mov dword [ebp - 4], 9
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x100567a7
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.10002080
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x100ccf98
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.10002080
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x458]
cmp dword [esi + 0x46c], 7
jbe 0x10056851
mov ecx, dword [esi + 0x458]
push dword [esi + 0x468]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10002080
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.10002280
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0xd0]
call fcn.10006a20
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x100568e6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100568dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a46
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x94]
cmp ecx, 7
jbe 0x10056926
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005691c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a46
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x10056960
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056956
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a46
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x100569ae
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100569a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a46
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp ecx, 7
jbe 0x100569f8
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100569ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10056a46
push ecx
push edx
call fcn.10087edd
add esp, 8
cmp byte [ebp + 8], 0
mov eax, 0xb8
mov ecx, 0xd0
cmove eax, ecx
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret 4
call fcn.10002eb0
call fcn.1008d13f
call fcn.10002eb0
call fcn.1008d13f
call fcn.1008d13f
call fcn.10002eb0
call fcn.1008d13f
int3