Function at 0x1000cb18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100d1a58], 0
push ebx
push esi
mov esi, dword [0x38433d1c]
push edi
mov edi, dword [0x384035dc]
mov dword [ebp - 4], edi
je 0x1000cb41
movss xmm0, dword [0x10056868]
jmp 0x1000cb49
movss xmm0, dword [0x10056808]
xor ebx, ebx
movss dword [0x383abd04], xmm0
cmp byte [0x100837f4], bl
jne 0x1000ccf9
test esi, esi
je 0x1000ccf2
mov ecx, ebx
cmp dword [esi + 0x15e4], ecx
jle 0x1000ccf2
mov edi, dword [esi + 0x15e0]
sub edi, 0x1005c6e0
mov edx, dword [edi + ecx*4 + 0x1005c6e0]
test edx, edx
je 0x1000cce2
movd xmm0, dword [edx + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2a4]
mov dword [ecx*4 + 0x1005c6e0], eax
mov eax, dword [edx + 0x2a8]
mov dword [ecx*4 + 0x1005e620], eax
mov eax, dword [edx + 0x2b0]
movss dword [ecx*4 + 0x100624a0], xmm0
movd xmm0, dword [edx + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [ecx*4 + 0x10060560], eax
mov eax, dword [edx + 0x328]
mov dword [ecx*4 + 0x100aa8f8], eax
mov eax, dword [edx + 0x30c]
mov dword [ecx*4 + 0x10085738], eax
movss dword [ecx*4 + 0x100643e0], xmm0
movd xmm0, dword [edx + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2b4]
mov dword [ecx*4 + 0x10087678], eax
movss dword [ecx*4 + 0x10066320], xmm0
movd xmm0, dword [edx + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10068260], xmm0
movd xmm0, dword [edx + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006a1a0], xmm0
movd xmm0, dword [edx + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006c0e0], xmm0
movd xmm0, dword [edx + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006e020], xmm0
movd xmm0, dword [edx + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006ff60], xmm0
movd xmm0, dword [edx + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10071ea0], xmm0
movd xmm0, dword [edx + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10073de0], xmm0
movd xmm0, dword [edx + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100837f8], xmm0
movd xmm0, dword [edx + 0x2d0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100895b8], xmm0
movd xmm0, dword [edx + 0x2e0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1008b4f8], xmm0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cb81
mov edi, dword [ebp - 4]
mov byte [0x100837f4], 1
cmp byte [0x100837ec], bl
je 0x1000cd8e
cmp byte [0x100837eb], bl
je 0x1000ce92
test esi, esi
je 0x1000cd83
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cd83
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cd7a
and dword [eax + 0x2a4], ebx
and dword [eax + 0x2a8], ebx
and dword [eax + 0x2b0], ebx
mov dword [eax + 0x2b8], ebx
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2c0], ebx
mov dword [eax + 0x2c4], ebx
mov dword [eax + 0x2c8], ebx
mov dword [eax + 0x2cc], ebx
mov dword [eax + 0x364], ebx
mov dword [eax + 0x368], ebx
mov dword [eax + 0x36c], ebx
mov dword [eax + 0x370], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cd1f
mov byte [0x100837eb], bl
jmp 0x1000ce92
cmp byte [0x100837eb], bl
jne 0x1000ce92
test esi, esi
je 0x1000ce8b
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000ce8b
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000ce7e
mov eax, dword [ecx*4 + 0x1005c6e0]
mov dword [edx + 0x2a4], eax
mov eax, dword [ecx*4 + 0x1005e620]
mov dword [edx + 0x2a8], eax
mov eax, dword [ecx*4 + 0x10060560]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [ecx*4 + 0x100624a0]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [ecx*4 + 0x100643e0]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [ecx*4 + 0x10066320]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [ecx*4 + 0x10068260]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [ecx*4 + 0x1006a1a0]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [ecx*4 + 0x1006c0e0]
mov dword [edx + 0x2cc], eax
cvttss2si eax, dword [ecx*4 + 0x1006e020]
mov dword [edx + 0x364], eax
cvttss2si eax, dword [ecx*4 + 0x1006ff60]
mov dword [edx + 0x368], eax
cvttss2si eax, dword [ecx*4 + 0x10071ea0]
mov dword [edx + 0x36c], eax
cvttss2si eax, dword [ecx*4 + 0x10073de0]
mov dword [edx + 0x370], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cdb0
mov byte [0x100837eb], 1
cmp byte [0x1005c6df], bl
je 0x1000ced4
cmp byte [0x100837e8], bl
je 0x1000cf14
test esi, esi
je 0x1000cecc
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cecc
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cec3
and dword [eax + 0x328], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000ceb0
mov byte [0x100837e8], bl
jmp 0x1000cf14
cmp byte [0x100837e8], bl
jne 0x1000cf14
test esi, esi
je 0x1000cf0d
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf0d
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cf04
mov eax, dword [ecx*4 + 0x100aa8f8]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000ceea
mov byte [0x100837e8], 1
cmp byte [0x100837f5], bl
je 0x1000cf5a
cmp byte [0x100837f6], bl
je 0x1000cf9c
test esi, esi
je 0x1000cf52
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf52
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cf49
mov dword [eax + 0x258], 1
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf32
mov byte [0x100837f6], bl
jmp 0x1000cf9c
cmp byte [0x100837f6], bl
jne 0x1000cf9c
test esi, esi
je 0x1000cf95
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf95
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cf8c
cvttss2si eax, dword [ecx*4 + 0x100837f8]
mov dword [edx + 0x258], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf70
mov byte [0x100837f6], 1
cmp byte [0x100837ee], bl
je 0x1000cfde
cmp byte [0x100837f7], bl
je 0x1000d01e
test esi, esi
je 0x1000cfd6
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cfd6
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cfcd
and dword [eax + 0x2b4], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cfba
mov byte [0x100837f7], bl
jmp 0x1000d01e
cmp byte [0x100837f7], bl
jne 0x1000d01e
test esi, esi
je 0x1000d017
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d017
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d00e
mov eax, dword [ecx*4 + 0x10087678]
mov dword [edx + 0x2b4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cff4
mov byte [0x100837f7], 1
cmp byte [0x100d1a59], bl
je 0x1000d060
cmp byte [0x100d1a5a], bl
je 0x1000d0a0
test esi, esi
je 0x1000d058
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d058
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d04f
and dword [eax + 0x30c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d03c
mov byte [0x100d1a5a], bl
jmp 0x1000d0a0
cmp byte [0x100d1a5a], bl
jne 0x1000d0a0
test esi, esi
je 0x1000d099
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d099
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d090
mov eax, dword [ecx*4 + 0x10085738]
mov dword [edx + 0x30c], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d076
mov byte [0x100d1a5a], 1
test esi, esi
je 0x1000d0ca
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d0ca
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d0c1
and dword [eax + 0x35c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0ae
mov eax, dword [0x100d1a54]
test eax, eax
jne 0x1000d0ff
test esi, esi
je 0x1000d156
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d156
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d0f4
and dword [eax + 0x308], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0e1
jmp 0x1000d156
cmp eax, 1
jne 0x1000d134
test esi, esi
je 0x1000d156
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d156
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d129
mov dword [eax + 0x308], 0x3f800000
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d112
jmp 0x1000d156
cmp eax, 2
jne 0x1000d156
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000d156
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x100837ea], bl
jne 0x1000d182
test edi, edi
je 0x1000d17b
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100d19fc], xmm0
mov byte [0x100837ea], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x10]
cmp byte [0x100837ef], bl
je 0x1000d199
or dword [ecx + 0x148], 0xffffffff
jmp 0x1000d1a7
cvttss2si eax, dword [0x100d19fc]
mov dword [ecx + 0x148], eax
test esi, esi
je 0x1000d20a
cmp byte [0x100837ed], bl
je 0x1000d1dd
cmp dword [esi + 0x15e4], ebx
jle 0x1000d20a
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1000d1d2
mov dword [eax + 0x2d0], 0x3b9ac9ff
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d1bb
jmp 0x1000d20a
cmp dword [esi + 0x15e4], ebx
jle 0x1000d20a
mov eax, dword [esi + 0x15e0]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x1000d201
cvttss2si eax, dword [ebx*4 + 0x100895b8]
mov dword [ecx + 0x2d0], eax
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d1e5
pop edi
pop esi
pop ebx
leave
ret