Function at 0x1000cb86
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 0x1000cbaf
movss xmm0, dword [0x10058910]
jmp 0x1000cbb7
movss xmm0, dword [0x100588a4]
xor ebx, ebx
movss dword [0x383abd04], xmm0
cmp byte [0x100855d9], bl
jne 0x1000cd67
test esi, esi
je 0x1000cd60
mov ecx, ebx
cmp dword [esi + 0x15e4], ecx
jle 0x1000cd60
mov edi, dword [esi + 0x15e0]
sub edi, 0x1005e4c8
mov edx, dword [edi + ecx*4 + 0x1005e4c8]
test edx, edx
je 0x1000cd50
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 0x1000cbef
mov edi, dword [ebp - 4]
mov byte [0x100855d9], 1
cmp byte [0x100855d1], bl
je 0x1000cdfc
cmp byte [0x100855d0], bl
je 0x1000cf00
test esi, esi
je 0x1000cdf1
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cdf1
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cde8
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 0x1000cd8d
mov byte [0x100855d0], bl
jmp 0x1000cf00
cmp byte [0x100855d0], bl
jne 0x1000cf00
test esi, esi
je 0x1000cef9
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cef9
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000ceec
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 0x1000ce1e
mov byte [0x100855d0], 1
cmp byte [0x1005e4c4], bl
je 0x1000cf42
cmp byte [0x1005e4c5], bl
je 0x1000cf82
test esi, esi
je 0x1000cf3a
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf3a
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cf31
and dword [eax + 0x328], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf1e
mov byte [0x1005e4c5], bl
jmp 0x1000cf82
cmp byte [0x1005e4c5], bl
jne 0x1000cf82
test esi, esi
je 0x1000cf7b
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf7b
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cf72
mov eax, dword [ecx*4 + 0x100ac6e8]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf58
mov byte [0x1005e4c5], 1
cmp byte [0x100855da], bl
je 0x1000cfc8
cmp byte [0x100855db], bl
je 0x1000d00a
test esi, esi
je 0x1000cfc0
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cfc0
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cfb7
mov dword [eax + 0x258], 1
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cfa0
mov byte [0x100855db], bl
jmp 0x1000d00a
cmp byte [0x100855db], bl
jne 0x1000d00a
test esi, esi
je 0x1000d003
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d003
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cffa
cvttss2si eax, dword [ecx*4 + 0x100855e0]
mov dword [edx + 0x258], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cfde
mov byte [0x100855db], 1
cmp byte [0x100855d3], bl
je 0x1000d04c
cmp byte [0x100855dc], bl
je 0x1000d08c
test esi, esi
je 0x1000d044
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d044
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d03b
and dword [eax + 0x2b4], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d028
mov byte [0x100855dc], bl
jmp 0x1000d08c
cmp byte [0x100855dc], bl
jne 0x1000d08c
test esi, esi
je 0x1000d085
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d085
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d07c
mov eax, dword [ecx*4 + 0x10089460]
mov dword [edx + 0x2b4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d062
mov byte [0x100855dc], 1
cmp byte [0x100855de], bl
je 0x1000d0ce
cmp byte [0x100855df], bl
je 0x1000d10e
test esi, esi
je 0x1000d0c6
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d0c6
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d0bd
and dword [eax + 0x30c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0aa
mov byte [0x100855df], bl
jmp 0x1000d10e
cmp byte [0x100855df], bl
jne 0x1000d10e
test esi, esi
je 0x1000d107
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d107
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d0fe
mov eax, dword [ecx*4 + 0x10087520]
mov dword [edx + 0x30c], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0e4
mov byte [0x100855df], 1
test esi, esi
je 0x1000d138
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d138
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d12f
and dword [eax + 0x35c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d11c
mov eax, dword [0x100d3844]
test eax, eax
jne 0x1000d171
test esi, esi
je 0x1000d1ce
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d1ce
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d166
and dword [eax + 0x308], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d153
jmp 0x1000d1ce
cmp eax, 1
jne 0x1000d1ac
test esi, esi
je 0x1000d1ce
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d1ce
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d1a1
movss xmm0, dword [0x100ac6e0]
movss dword [eax + 0x308], xmm0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d184
jmp 0x1000d1ce
cmp eax, 2
jne 0x1000d1ce
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000d1ce
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x1005e4c7], bl
jne 0x1000d1fa
test edi, edi
je 0x1000d1f3
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 0x1000d211
or dword [ecx + 0x148], 0xffffffff
jmp 0x1000d21f
cvttss2si eax, dword [0x100d37ec]
mov dword [ecx + 0x148], eax
test esi, esi
je 0x1000d282
cmp byte [0x100855d2], bl
je 0x1000d255
cmp dword [esi + 0x15e4], ebx
jle 0x1000d282
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1000d24a
mov dword [eax + 0x2d0], 0x3b9ac9ff
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d233
jmp 0x1000d282
cmp dword [esi + 0x15e4], ebx
jle 0x1000d282
mov eax, dword [esi + 0x15e0]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x1000d279
cvttss2si eax, dword [ebx*4 + 0x1008b3a0]
mov dword [ecx + 0x2d0], eax
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d25d
pop edi
pop esi
pop ebx
leave
ret