Function at 0x1005b9c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdece
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x100fbe80]
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 0x1005c0f8
movss xmm1, dword [esi + 0x39c]
movss xmm0, dword [esi + 0x3f8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005c0f8
movss dword [esi + 0x3f8], xmm1
mov edi, 0x7ffffffe
mov ecx, dword [esi + 0x3a8]
cmp ecx, dword [esi + 0x3ac]
je 0x1005ba50
mov eax, dword [esi + 0x3b4]
lea edi, [esi + 0xb8]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, edi
push eax
call fcn.100159c0
jmp 0x1005be63
mov eax, dword [esi]
xorps xmm0, xmm0
push ecx
mov ecx, esi
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x84]
movss dword [esp], xmm1
call eax
fstp dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x60]
ucomiss xmm0, dword [0x100e889c]
lahf
test ah, 0x44
jp 0x1005ba91
mov eax, 0x221e
mov word [ebp - 0x28], ax
jmp 0x1005bdd5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, byte [esi + 0x3d8]
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.1009fa6f
lea ecx, [ebp - 0x44]
add esp, 0x10
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005baf0
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.1000c560
mov dword [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x68]
sub eax, ecx
cmp eax, 2
jb 0x1005c128
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push ecx
cmovae eax, dword [ebp - 0x78]
push eax
push 2
push 0x100e53bc
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x90]
call fcn.1000f590
push 1
push 0x100e53b8
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.1000c560
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.1000d8c0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x1005bbdd
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bbd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c12d
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x1005bc1e
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bc14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c12d
push ecx
push edx
call fcn.10092592
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, 8
jb 0x1005bc73
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bc69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c12d
push ecx
push edx
call fcn.10092592
add esp, 8
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3b8]
ja 0x1005bc8c
comiss xmm0, dword [esi + 0x3bc]
jbe 0x1005bd6a
movss xmm1, dword [ebp - 0x60]
comiss xmm1, xmm0
jbe 0x1005bd6a
mov ecx, dword [ebp - 0x4c]
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x1005c132
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
push 1
push 0x100e53c4
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.1000f590
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.1000d8c0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d830
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x1005bd2c
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bd22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c137
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x1005bd6a
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bd60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c137
push ecx
push edx
call fcn.10092592
add esp, 8
movss xmm0, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cvtps2pd xmm0, xmm0
cmovae eax, dword [ebp - 0x5c]
sub esp, 8
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x28]
push 0xc
push eax
call fcn.1005c4e0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x1005bdd5
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bdcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c137
push ecx
push edx
call fcn.10092592
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 0x1005bdf3
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.1000db40
lea eax, [ebp - 0x90]
lea edi, [esi + 0xb8]
push eax
mov ecx, edi
call fcn.1000d830
mov ecx, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x1005be63
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005be59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c13c
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x28]
mov edx, 0x7ffffffe
sub edx, ecx
cmp edx, 2
jb 0x1005c141
cmp dword [eax + 0x14], 8
jb 0x1005be81
mov eax, dword [eax]
push 2
push 0x100e53c8
push ecx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
call fcn.1000f590
mov dword [ebp - 4], 9
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1005bea7
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.1000c560
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 0x100e2510
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.1000c560
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 + 0x3c0]
cmp dword [esi + 0x3d4], 8
jb 0x1005bf51
mov ecx, dword [esi + 0x3c0]
push dword [esi + 0x3d0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000c560
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.1000d8c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0xd0]
call fcn.1000d830
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1005bfe6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bfdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c146
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x1005c026
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c01c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c146
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x1005c060
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c056
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c146
push ecx
push edx
call fcn.10092592
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, 8
jb 0x1005c0ae
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c0a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c146
push ecx
push edx
call fcn.10092592
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, 8
jb 0x1005c0f8
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c0ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c146
push ecx
push edx
call fcn.10092592
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.10092561
mov esp, ebp
pop ebp
ret 4
call fcn.1000d980
call fcn.10097635
call fcn.1000d980
call fcn.10097635
call fcn.10097635
call fcn.1000d980
call fcn.10097635
int3