Function at 0x100cea60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd077
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
call fcn.1008c2e0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 8]
call fcn.1008fba0
call fcn.1003b890
mov ecx, eax
call fcn.1003cbc0
movzx edx, al
test edx, edx
je 0x100ceade
cvtss2sd xmm0, dword [0x10162854]
movsd xmm1, qword [0x100e5870]
comisd xmm1, xmm0
jbe 0x100ceade
cvtss2sd xmm0, dword [0x10162854]
addsd xmm0, qword [0x10131eb0]
cvtsd2ss xmm0, xmm0
movss dword [0x10162854], xmm0
jmp 0x100ceb1e
call fcn.1003b890
mov ecx, eax
call fcn.1003cbc0
movzx eax, al
test eax, eax
jne 0x100ceb1e
movss xmm0, dword [0x10162854]
comiss xmm0, dword [0x100de864]
jbe 0x100ceb1e
cvtss2sd xmm0, dword [0x10162854]
subsd xmm0, qword [0x10131eb0]
cvtsd2ss xmm0, xmm0
movss dword [0x10162854], xmm0
mov ecx, dword [0x101640c4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [0x101640c4]
call dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x48], ecx
push ecx
movss xmm0, dword [0x10162854]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x198]
call fcn.1001f5d0
push eax
call fcn.100772f0
add esp, 4
mov dword [ebp - 0x3c], eax
cvtsi2ss xmm0, dword [ebp - 0x34]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x38]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0xf8]
call fcn.1000c1f0
mov dword [ebp - 0x40], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x100]
call fcn.1000c1f0
mov dword [ebp - 0x44], eax
push 0xf
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.1008b500
mov edx, dword [0x101640c4]
mov eax, dword [edx]
mov ecx, dword [0x101640c4]
mov edx, dword [eax + 0x68]
call edx
movzx eax, al
test eax, eax
je 0x100cec20
mov ecx, 0x10164164
call fcn.10038500
movzx ecx, al
test ecx, ecx
je 0x100cec20
call fcn.1005b090
mov ecx, eax
call fcn.10057b60
mov edx, dword [0x101640c4]
mov eax, dword [edx]
mov ecx, dword [0x101640c4]
mov edx, dword [eax + 0x68]
call edx
movzx eax, al
test eax, eax
je 0x100cec62
mov ecx, 0x10164164
call fcn.10038500
movzx ecx, al
test ecx, ecx
je 0x100cec62
movzx edx, byte [0x101622f1]
test edx, edx
je 0x100cec62
call fcn.1005b090
mov ecx, eax
call fcn.10058500
movzx eax, byte [0x101623ac]
test eax, eax
je 0x100cec77
mov ecx, 0x101533d8
call fcn.10038c20
mov ecx, dword [0x101640c4]
mov edx, dword [ecx]
mov ecx, dword [0x101640c4]
mov eax, dword [edx + 0x68]
call eax
movzx ecx, al
test ecx, ecx
je 0x100cef16
mov ecx, 0x10164164
call fcn.10038500
movzx edx, al
test edx, edx
je 0x100cef16
mov eax, dword [0x101640c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [0x101640c4]
call dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 0x5c], eax
push ecx
movss xmm0, dword [0x10162854]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x1a8]
call fcn.1001f5d0
push eax
call fcn.100772f0
add esp, 4
mov dword [ebp - 0x50], eax
cvtsi2ss xmm0, dword [ebp - 0x24]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x20]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x108]
call fcn.1000c1f0
mov dword [ebp - 0x54], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x110]
call fcn.1000c1f0
mov dword [ebp - 0x58], eax
push 0xf
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1008b500
cvtsi2ss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [0x100e1cdc]
movss dword [ebp - 0x2c], xmm0
cvtsi2ss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x100e1cdc]
movss dword [ebp - 0x28], xmm0
movzx ecx, byte [0x101622cf]
test ecx, ecx
je 0x100cef16
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003e0d0
movzx edx, byte [eax]
test edx, edx
je 0x100cef16
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003a9c0
mov ecx, eax
call fcn.1003b520
test eax, eax
je 0x100cede5
mov byte [ebp - 0xd], 1
jmp 0x100cede9
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x100cef16
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003a9c0
mov ecx, eax
call fcn.1003b520
mov ecx, eax
call fcn.1000c100
mov ecx, eax
call fcn.1003e450
movsx ecx, word [eax]
cmp ecx, 0x27
je 0x100cef16
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003a9c0
mov ecx, eax
call fcn.1003b520
mov ecx, eax
call fcn.1000c100
mov ecx, eax
call fcn.1003e450
movsx edx, word [eax]
cmp edx, 8
je 0x100cef16
call fcn.1000c520
mov dword [ebp - 0x68], eax
mov eax, dword [0x1016417c]
mov dword [ebp - 0x60], eax
cvtsi2ss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x64], xmm0
push ecx
movss xmm0, dword [0x100de868]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x60]
push ecx
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x64]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x68]
call fcn.1000bee0
call fcn.1000c520
mov dword [ebp - 0x74], eax
mov edx, dword [0x1016417c]
mov dword [ebp - 0x6c], edx
cvtsi2ss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x70], xmm0
push ecx
movss xmm0, dword [0x100de868]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x6c]
push eax
push ecx
movss xmm0, dword [ebp - 0x70]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x74]
call fcn.1000bee0
mov ecx, dword [0x101640c4]
mov edx, dword [ecx]
mov ecx, dword [0x101640c4]
mov eax, dword [edx + 0x68]
call eax
movzx ecx, al
test ecx, ecx
je 0x100cf38d
mov edx, dword [0x101640c4]
mov eax, dword [edx]
mov ecx, dword [0x101640c4]
mov edx, dword [eax + 0x6c]
call edx
movzx eax, al
test eax, eax
je 0x100cf38d
mov ecx, 0x10164164
call fcn.10038500
movzx ecx, al
test ecx, ecx
je 0x100cf38d
movzx edx, byte [0x101623d7]
test edx, edx
je 0x100cf38d
mov eax, dword [0x101640c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [0x101640c4]
call dword [ebp - 0x78]
push 0x57
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x100cf056
call fcn.1000c520
mov dword [ebp - 0x90], eax
mov eax, dword [0x10162744]
mov dword [ebp - 0x80], eax
mov ecx, dword [0x1016249c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x55
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x1e
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x8c], ecx
push 0x10124134
lea ecx, [ebp - 0x128]
call fcn.1000ffe0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x80]
push edx
push 0
push 0
mov eax, dword [ebp - 0x84]
push eax
push ecx
movss xmm0, dword [0x100e5884]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x90]
call fcn.10055550
fstp st(0)
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.10010390
push 0x41
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x100cf124
call fcn.1000c520
mov dword [ebp - 0xa8], eax
mov edx, dword [0x10162744]
mov dword [ebp - 0x98], edx
mov eax, dword [0x1016249c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x41
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x14]
sub edx, 0xa
mov eax, dword [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0xa4], eax
push 0x1012697c
lea ecx, [ebp - 0x140]
call fcn.1000ffe0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x9c]
push edx
push ecx
movss xmm0, dword [0x100e5884]
movss dword [esp], xmm0
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.10055550
fstp st(0)
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.10010390
push 0x44
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x100cf1f1
call fcn.1000c520
mov dword [ebp - 0xc0], eax
mov ecx, dword [0x10162744]
mov dword [ebp - 0xb0], ecx
mov edx, dword [0x1016249c]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x41
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x3b
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 0xbc], edx
push 0x1012720c
lea ecx, [ebp - 0x158]
call fcn.1000ffe0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xb0]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xb4]
push ecx
push ecx
movss xmm0, dword [0x100e5884]
movss dword [esp], xmm0
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.10055550
fstp st(0)
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10010390
push 0x53
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x100cf2bf
call fcn.1000c520
mov dword [ebp - 0xd8], eax
mov eax, dword [0x10162744]
mov dword [ebp - 0xc8], eax
mov ecx, dword [0x1016249c]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x41
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x23
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0xd4], ecx
push 0x10127d64
lea ecx, [ebp - 0x170]
call fcn.1000ffe0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xc8]
push edx
push 0
push 0
mov eax, dword [ebp - 0xcc]
push eax
push ecx
movss xmm0, dword [0x100e5884]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.10055550
fstp st(0)
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10010390
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x100cf38d
call fcn.1000c520
mov dword [ebp - 0xf0], eax
mov edx, dword [0x10162744]
mov dword [ebp - 0xe0], edx
mov eax, dword [0x1016249c]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], ecx
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x23
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0x14]
sub edx, 3
mov eax, dword [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0xec], eax
push str._space
lea ecx, [ebp - 0x188]
call fcn.1000ffe0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xe0]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xe4]
push edx
push ecx
movss xmm0, dword [0x100e5884]
movss dword [esp], xmm0
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
lea edx, [ebp - 0x188]
push edx
mov ecx, dword [ebp - 0xf0]
call fcn.10055550
fstp st(0)
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.10010390
mov ecx, 0x10162824
call fcn.100d01a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
call fcn.100ce940
mov ecx, 0x10162824
call fcn.100d0200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret