Function at 0x1000cb76
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100865dd], 0
push ebx
push esi
mov esi, dword [0x3843da9c]
push edi
mov edi, dword [0x3840d35c]
mov dword [ebp - 4], edi
je 0x1000cb9f
movss xmm0, dword [0x10059910]
jmp 0x1000cba7
movss xmm0, dword [0x100598a4]
xor ebx, ebx
movss dword [0x383abd04], xmm0
cmp byte [0x100865d9], bl
jne 0x1000cd57
test esi, esi
je 0x1000cd50
mov ecx, ebx
cmp dword [esi + 0x15e4], ecx
jle 0x1000cd50
mov edi, dword [esi + 0x15e0]
sub edi, 0x1005f4c8
mov edx, dword [edi + ecx*4 + 0x1005f4c8]
test edx, edx
je 0x1000cd40
movd xmm0, dword [edx + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2a4]
mov dword [ecx*4 + 0x1005f4c8], eax
mov eax, dword [edx + 0x2a8]
mov dword [ecx*4 + 0x10061408], eax
mov eax, dword [edx + 0x2b0]
movss dword [ecx*4 + 0x10065288], xmm0
movd xmm0, dword [edx + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [ecx*4 + 0x10063348], eax
mov eax, dword [edx + 0x328]
mov dword [ecx*4 + 0x100ad6e8], eax
mov eax, dword [edx + 0x30c]
mov dword [ecx*4 + 0x10088520], eax
movss dword [ecx*4 + 0x100671c8], xmm0
movd xmm0, dword [edx + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2b4]
mov dword [ecx*4 + 0x1008a460], eax
movss dword [ecx*4 + 0x10069108], xmm0
movd xmm0, dword [edx + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006b048], xmm0
movd xmm0, dword [edx + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006cf88], xmm0
movd xmm0, dword [edx + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006eec8], xmm0
movd xmm0, dword [edx + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10070e08], xmm0
movd xmm0, dword [edx + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10072d48], xmm0
movd xmm0, dword [edx + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10074c88], xmm0
movd xmm0, dword [edx + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10076bc8], xmm0
movd xmm0, dword [edx + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100865e0], xmm0
movd xmm0, dword [edx + 0x2d0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1008c3a0], xmm0
movd xmm0, dword [edx + 0x2e0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1008e2e0], xmm0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cbdf
mov edi, dword [ebp - 4]
mov byte [0x100865d9], 1
cmp byte [0x100865d1], bl
je 0x1000cdec
cmp byte [0x100865d0], bl
je 0x1000cef0
test esi, esi
je 0x1000cde1
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cde1
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cdd8
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 0x1000cd7d
mov byte [0x100865d0], bl
jmp 0x1000cef0
cmp byte [0x100865d0], bl
jne 0x1000cef0
test esi, esi
je 0x1000cee9
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cee9
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cedc
mov eax, dword [ecx*4 + 0x1005f4c8]
mov dword [edx + 0x2a4], eax
mov eax, dword [ecx*4 + 0x10061408]
mov dword [edx + 0x2a8], eax
mov eax, dword [ecx*4 + 0x10063348]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [ecx*4 + 0x10065288]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [ecx*4 + 0x100671c8]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [ecx*4 + 0x10069108]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [ecx*4 + 0x1006b048]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [ecx*4 + 0x1006cf88]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [ecx*4 + 0x1006eec8]
mov dword [edx + 0x2cc], eax
cvttss2si eax, dword [ecx*4 + 0x10070e08]
mov dword [edx + 0x364], eax
cvttss2si eax, dword [ecx*4 + 0x10072d48]
mov dword [edx + 0x368], eax
cvttss2si eax, dword [ecx*4 + 0x10074c88]
mov dword [edx + 0x36c], eax
cvttss2si eax, dword [ecx*4 + 0x10076bc8]
mov dword [edx + 0x370], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000ce0e
mov byte [0x100865d0], 1
cmp byte [0x1005f4c4], bl
je 0x1000cf32
cmp byte [0x1005f4c5], bl
je 0x1000cf72
test esi, esi
je 0x1000cf2a
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf2a
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cf21
and dword [eax + 0x328], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf0e
mov byte [0x1005f4c5], bl
jmp 0x1000cf72
cmp byte [0x1005f4c5], bl
jne 0x1000cf72
test esi, esi
je 0x1000cf6b
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf6b
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cf62
mov eax, dword [ecx*4 + 0x100ad6e8]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf48
mov byte [0x1005f4c5], 1
cmp byte [0x100865da], bl
je 0x1000cfb8
cmp byte [0x100865db], bl
je 0x1000cffa
test esi, esi
je 0x1000cfb0
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cfb0
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cfa7
mov dword [eax + 0x258], 1
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf90
mov byte [0x100865db], bl
jmp 0x1000cffa
cmp byte [0x100865db], bl
jne 0x1000cffa
test esi, esi
je 0x1000cff3
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cff3
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cfea
cvttss2si eax, dword [ecx*4 + 0x100865e0]
mov dword [edx + 0x258], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cfce
mov byte [0x100865db], 1
cmp byte [0x100865d3], bl
je 0x1000d03c
cmp byte [0x100865dc], bl
je 0x1000d07c
test esi, esi
je 0x1000d034
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d034
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d02b
and dword [eax + 0x2b4], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d018
mov byte [0x100865dc], bl
jmp 0x1000d07c
cmp byte [0x100865dc], bl
jne 0x1000d07c
test esi, esi
je 0x1000d075
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d075
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d06c
mov eax, dword [ecx*4 + 0x1008a460]
mov dword [edx + 0x2b4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d052
mov byte [0x100865dc], 1
cmp byte [0x100865de], bl
je 0x1000d0be
cmp byte [0x100865df], bl
je 0x1000d0fe
test esi, esi
je 0x1000d0b6
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d0b6
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d0ad
and dword [eax + 0x30c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d09a
mov byte [0x100865df], bl
jmp 0x1000d0fe
cmp byte [0x100865df], bl
jne 0x1000d0fe
test esi, esi
je 0x1000d0f7
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d0f7
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d0ee
mov eax, dword [ecx*4 + 0x10088520]
mov dword [edx + 0x30c], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0d4
mov byte [0x100865df], 1
test esi, esi
je 0x1000d128
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d128
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d11f
and dword [eax + 0x35c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d10c
mov eax, dword [0x100d4844]
test eax, eax
jne 0x1000d161
test esi, esi
je 0x1000d1be
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d1be
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d156
and dword [eax + 0x308], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d143
jmp 0x1000d1be
cmp eax, 1
jne 0x1000d19c
test esi, esi
je 0x1000d1be
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d1be
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d191
movss xmm0, dword [0x100ad6e0]
movss dword [eax + 0x308], xmm0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d174
jmp 0x1000d1be
cmp eax, 2
jne 0x1000d1be
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000d1be
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x1005f4c7], bl
jne 0x1000d1ea
test edi, edi
je 0x1000d1e3
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100d47ec], xmm0
mov byte [0x1005f4c7], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x10]
cmp byte [0x100865d8], bl
je 0x1000d201
or dword [ecx + 0x148], 0xffffffff
jmp 0x1000d20f
cvttss2si eax, dword [0x100d47ec]
mov dword [ecx + 0x148], eax
test esi, esi
je 0x1000d272
cmp byte [0x100865d2], bl
je 0x1000d245
cmp dword [esi + 0x15e4], ebx
jle 0x1000d272
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1000d23a
mov dword [eax + 0x2d0], 0x3b9ac9ff
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d223
jmp 0x1000d272
cmp dword [esi + 0x15e4], ebx
jle 0x1000d272
mov eax, dword [esi + 0x15e0]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x1000d269
cvttss2si eax, dword [ebx*4 + 0x1008c3a0]
mov dword [ecx + 0x2d0], eax
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d24d
pop edi
pop esi
pop ebx
leave
ret