Function at 0x1000cb76
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100855dd], 0
push ebx
push esi
mov esi, dword [0x38433a9c]
push edi
mov edi, dword [0x3840335c]
mov dword [ebp - 4], edi
je 0x1000cb9f
movss xmm0, dword [0x10058910]
jmp 0x1000cba7
movss xmm0, dword [0x100588a4]
xor ebx, ebx
movss dword [0x383abd04], xmm0
cmp byte [0x100855d9], 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, 0x1005e4c8
mov edx, dword [edi + ecx*4 + 0x1005e4c8]
test edx, edx
je 0x1000cd40
movd xmm0, dword [edx + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2a4]
mov dword [ecx*4 + 0x1005e4c8], eax
mov eax, dword [edx + 0x2a8]
mov dword [ecx*4 + 0x10060408], eax
mov eax, dword [edx + 0x2b0]
movss dword [ecx*4 + 0x10064288], xmm0
movd xmm0, dword [edx + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [ecx*4 + 0x10062348], eax
mov eax, dword [edx + 0x328]
mov dword [ecx*4 + 0x100ac6e8], eax
mov eax, dword [edx + 0x30c]
mov dword [ecx*4 + 0x10087520], eax
movss dword [ecx*4 + 0x100661c8], xmm0
movd xmm0, dword [edx + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2b4]
mov dword [ecx*4 + 0x10089460], eax
movss dword [ecx*4 + 0x10068108], xmm0
movd xmm0, dword [edx + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006a048], xmm0
movd xmm0, dword [edx + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006bf88], xmm0
movd xmm0, dword [edx + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006dec8], xmm0
movd xmm0, dword [edx + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006fe08], xmm0
movd xmm0, dword [edx + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10071d48], xmm0
movd xmm0, dword [edx + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10073c88], xmm0
movd xmm0, dword [edx + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10075bc8], xmm0
movd xmm0, dword [edx + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100855e0], xmm0
movd xmm0, dword [edx + 0x2d0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1008b3a0], xmm0
movd xmm0, dword [edx + 0x2e0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1008d2e0], xmm0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cbdf
mov edi, dword [ebp - 4]
mov byte [0x100855d9], 1
cmp byte [0x100855d1], bl
je 0x1000cdec
cmp byte [0x100855d0], 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 [0x100855d0], bl
jmp 0x1000cef0
cmp byte [0x100855d0], 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 + 0x1005e4c8]
mov dword [edx + 0x2a4], eax
mov eax, dword [ecx*4 + 0x10060408]
mov dword [edx + 0x2a8], eax
mov eax, dword [ecx*4 + 0x10062348]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [ecx*4 + 0x10064288]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [ecx*4 + 0x100661c8]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [ecx*4 + 0x10068108]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [ecx*4 + 0x1006a048]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [ecx*4 + 0x1006bf88]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [ecx*4 + 0x1006dec8]
mov dword [edx + 0x2cc], eax
cvttss2si eax, dword [ecx*4 + 0x1006fe08]
mov dword [edx + 0x364], eax
cvttss2si eax, dword [ecx*4 + 0x10071d48]
mov dword [edx + 0x368], eax
cvttss2si eax, dword [ecx*4 + 0x10073c88]
mov dword [edx + 0x36c], eax
cvttss2si eax, dword [ecx*4 + 0x10075bc8]
mov dword [edx + 0x370], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000ce0e
mov byte [0x100855d0], 1
cmp byte [0x1005e4c4], bl
je 0x1000cf32
cmp byte [0x1005e4c5], 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 [0x1005e4c5], bl
jmp 0x1000cf72
cmp byte [0x1005e4c5], 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 + 0x100ac6e8]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf48
mov byte [0x1005e4c5], 1
cmp byte [0x100855da], bl
je 0x1000cfb8
cmp byte [0x100855db], 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 [0x100855db], bl
jmp 0x1000cffa
cmp byte [0x100855db], 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 + 0x100855e0]
mov dword [edx + 0x258], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cfce
mov byte [0x100855db], 1
cmp byte [0x100855d3], bl
je 0x1000d03c
cmp byte [0x100855dc], 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 [0x100855dc], bl
jmp 0x1000d07c
cmp byte [0x100855dc], 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 + 0x10089460]
mov dword [edx + 0x2b4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d052
mov byte [0x100855dc], 1
cmp byte [0x100855de], bl
je 0x1000d0be
cmp byte [0x100855df], 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 [0x100855df], bl
jmp 0x1000d0fe
cmp byte [0x100855df], 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 + 0x10087520]
mov dword [edx + 0x30c], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0d4
mov byte [0x100855df], 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 [0x100d3844]
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 [0x100ac6e0]
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 [0x1005e4c7], 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 [0x100d37ec], xmm0
mov byte [0x1005e4c7], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x10]
cmp byte [0x100855d8], bl
je 0x1000d201
or dword [ecx + 0x148], 0xffffffff
jmp 0x1000d20f
cvttss2si eax, dword [0x100d37ec]
mov dword [ecx + 0x148], eax
test esi, esi
je 0x1000d272
cmp byte [0x100855d2], 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 + 0x1008b3a0]
mov dword [ecx + 0x2d0], eax
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d24d
pop edi
pop esi
pop ebx
leave
ret