Function at 0x1000cad3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100805d4], 0
push ebx
push esi
mov esi, dword [0x38433d1c]
push edi
mov edi, dword [0x384035dc]
mov dword [ebp - 4], edi
je 0x1000cafc
movss xmm0, dword [0x100536b0]
jmp 0x1000cb04
movss xmm0, dword [0x10053650]
xor ebx, ebx
movss dword [0x383abd04], xmm0
cmp byte [0x100805d3], bl
jne 0x1000ccb4
test esi, esi
je 0x1000ccad
mov ecx, ebx
cmp dword [esi + 0x15e4], ecx
jle 0x1000ccad
mov edi, dword [esi + 0x15e0]
sub edi, 0x100594c0
mov edx, dword [edi + ecx*4 + 0x100594c0]
test edx, edx
je 0x1000cc9d
movd xmm0, dword [edx + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2a4]
mov dword [ecx*4 + 0x100594c0], eax
mov eax, dword [edx + 0x2a8]
mov dword [ecx*4 + 0x1005b400], eax
mov eax, dword [edx + 0x2b0]
movss dword [ecx*4 + 0x1005f280], xmm0
movd xmm0, dword [edx + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [ecx*4 + 0x1005d340], eax
mov eax, dword [edx + 0x328]
mov dword [ecx*4 + 0x100a76d8], eax
mov eax, dword [edx + 0x30c]
mov dword [ecx*4 + 0x10082518], eax
movss dword [ecx*4 + 0x100611c0], xmm0
movd xmm0, dword [edx + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x2b4]
mov dword [ecx*4 + 0x10084458], eax
movss dword [ecx*4 + 0x10063100], xmm0
movd xmm0, dword [edx + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10065040], xmm0
movd xmm0, dword [edx + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10066f80], xmm0
movd xmm0, dword [edx + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10068ec0], xmm0
movd xmm0, dword [edx + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006ae00], xmm0
movd xmm0, dword [edx + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006cd40], xmm0
movd xmm0, dword [edx + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1006ec80], xmm0
movd xmm0, dword [edx + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10070bc0], xmm0
movd xmm0, dword [edx + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100805d8], xmm0
movd xmm0, dword [edx + 0x2d0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10086398], xmm0
movd xmm0, dword [edx + 0x2e0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100882d8], xmm0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cb3c
mov edi, dword [ebp - 4]
mov byte [0x100805d3], 1
cmp byte [0x100805cb], bl
je 0x1000cd49
cmp byte [0x100805ca], bl
je 0x1000ce4d
test esi, esi
je 0x1000cd3e
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cd3e
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cd35
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 0x1000ccda
mov byte [0x100805ca], bl
jmp 0x1000ce4d
cmp byte [0x100805ca], bl
jne 0x1000ce4d
test esi, esi
je 0x1000ce46
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000ce46
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000ce39
mov eax, dword [ecx*4 + 0x100594c0]
mov dword [edx + 0x2a4], eax
mov eax, dword [ecx*4 + 0x1005b400]
mov dword [edx + 0x2a8], eax
mov eax, dword [ecx*4 + 0x1005d340]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [ecx*4 + 0x1005f280]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [ecx*4 + 0x100611c0]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [ecx*4 + 0x10063100]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [ecx*4 + 0x10065040]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [ecx*4 + 0x10066f80]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [ecx*4 + 0x10068ec0]
mov dword [edx + 0x2cc], eax
cvttss2si eax, dword [ecx*4 + 0x1006ae00]
mov dword [edx + 0x364], eax
cvttss2si eax, dword [ecx*4 + 0x1006cd40]
mov dword [edx + 0x368], eax
cvttss2si eax, dword [ecx*4 + 0x1006ec80]
mov dword [edx + 0x36c], eax
cvttss2si eax, dword [ecx*4 + 0x10070bc0]
mov dword [edx + 0x370], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cd6b
mov byte [0x100805ca], 1
cmp byte [0x100594bf], bl
je 0x1000ce8f
cmp byte [0x100805c8], bl
je 0x1000cecf
test esi, esi
je 0x1000ce87
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000ce87
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000ce7e
and dword [eax + 0x328], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000ce6b
mov byte [0x100805c8], bl
jmp 0x1000cecf
cmp byte [0x100805c8], bl
jne 0x1000cecf
test esi, esi
je 0x1000cec8
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cec8
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cebf
mov eax, dword [ecx*4 + 0x100a76d8]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cea5
mov byte [0x100805c8], 1
cmp byte [0x100805d5], bl
je 0x1000cf15
cmp byte [0x100805d6], bl
je 0x1000cf57
test esi, esi
je 0x1000cf0d
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf0d
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cf04
mov dword [eax + 0x258], 1
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000ceed
mov byte [0x100805d6], bl
jmp 0x1000cf57
cmp byte [0x100805d6], bl
jne 0x1000cf57
test esi, esi
je 0x1000cf50
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf50
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cf47
cvttss2si eax, dword [ecx*4 + 0x100805d8]
mov dword [edx + 0x258], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf2b
mov byte [0x100805d6], 1
cmp byte [0x100805d1], bl
je 0x1000cf99
cmp byte [0x100805d7], bl
je 0x1000cfd9
test esi, esi
je 0x1000cf91
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cf91
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000cf88
and dword [eax + 0x2b4], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cf75
mov byte [0x100805d7], bl
jmp 0x1000cfd9
cmp byte [0x100805d7], bl
jne 0x1000cfd9
test esi, esi
je 0x1000cfd2
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000cfd2
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000cfc9
mov eax, dword [ecx*4 + 0x10084458]
mov dword [edx + 0x2b4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cfaf
mov byte [0x100805d7], 1
cmp byte [0x100ce838], bl
je 0x1000d01b
cmp byte [0x100ce839], bl
je 0x1000d05b
test esi, esi
je 0x1000d013
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d013
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d00a
and dword [eax + 0x30c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000cff7
mov byte [0x100ce839], bl
jmp 0x1000d05b
cmp byte [0x100ce839], bl
jne 0x1000d05b
test esi, esi
je 0x1000d054
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d054
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1000d04b
mov eax, dword [ecx*4 + 0x10082518]
mov dword [edx + 0x30c], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d031
mov byte [0x100ce839], 1
test esi, esi
je 0x1000d085
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d085
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d07c
and dword [eax + 0x35c], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d069
mov eax, dword [0x100ce834]
test eax, eax
jne 0x1000d0ba
test esi, esi
je 0x1000d111
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d111
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d0af
and dword [eax + 0x308], ebx
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d09c
jmp 0x1000d111
cmp eax, 1
jne 0x1000d0ef
test esi, esi
je 0x1000d111
mov ecx, ebx
cmp dword [esi + 0x15e4], ebx
jle 0x1000d111
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1000d0e4
mov dword [eax + 0x308], 0x3f800000
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1000d0cd
jmp 0x1000d111
cmp eax, 2
jne 0x1000d111
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1000d111
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x100805c9], bl
jne 0x1000d13d
test edi, edi
je 0x1000d136
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100ce7dc], xmm0
mov byte [0x100805c9], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x10]
cmp byte [0x100805d2], bl
je 0x1000d154
or dword [ecx + 0x148], 0xffffffff
jmp 0x1000d162
cvttss2si eax, dword [0x100ce7dc]
mov dword [ecx + 0x148], eax
test esi, esi
je 0x1000d1c5
cmp byte [0x100805d0], bl
je 0x1000d198
cmp dword [esi + 0x15e4], ebx
jle 0x1000d1c5
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1000d18d
mov dword [eax + 0x2d0], 0x3b9ac9ff
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d176
jmp 0x1000d1c5
cmp dword [esi + 0x15e4], ebx
jle 0x1000d1c5
mov eax, dword [esi + 0x15e0]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x1000d1bc
cvttss2si eax, dword [ebx*4 + 0x10086398]
mov dword [ecx + 0x2d0], eax
inc ebx
cmp ebx, dword [esi + 0x15e4]
jl 0x1000d1a0
pop edi
pop esi
pop ebx
leave
ret