Function at 0x10006020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x1008e58a], 0
mov eax, dword [0x38452e7c]
mov ecx, dword [0x384841ac]
mov dword [ebp - 4], eax
je 0x10006045
movss xmm0, dword [0x10061ce8]
jmp 0x1000604d
movss xmm0, dword [0x10061c94]
push ebx
push esi
movss dword [0x384a4b94], xmm0
cmp byte [0x1008e589], 0
push edi
jne 0x100061d9
test ecx, ecx
je 0x100061d2
mov edi, dword [ecx + 0x15e4]
xor edx, edx
test edi, edi
jle 0x100061d2
mov ebx, dword [ecx + 0x15e0]
sub ebx, 0x10067458
nop dword [eax]
mov esi, dword [ebx + edx*4 + 0x10067458]
test esi, esi
je 0x100061c9
movd xmm0, dword [esi + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2a4]
mov dword [edx*4 + 0x10067458], eax
mov eax, dword [esi + 0x2a8]
mov dword [edx*4 + 0x10069398], eax
mov eax, dword [esi + 0x2b0]
movss dword [edx*4 + 0x1006d218], xmm0
movd xmm0, dword [esi + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [edx*4 + 0x1006b2d8], eax
mov eax, dword [esi + 0x328]
mov dword [edx*4 + 0x100b5690], eax
mov eax, dword [esi + 0x30c]
mov dword [edx*4 + 0x100904d0], eax
movss dword [edx*4 + 0x1006f158], xmm0
movd xmm0, dword [esi + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2b4]
mov dword [edx*4 + 0x10092410], eax
movss dword [edx*4 + 0x10071098], xmm0
movd xmm0, dword [esi + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10072fd8], xmm0
movd xmm0, dword [esi + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10074f18], xmm0
movd xmm0, dword [esi + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10076e58], xmm0
movd xmm0, dword [esi + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10078d98], xmm0
movd xmm0, dword [esi + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1007acd8], xmm0
movd xmm0, dword [esi + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1007cc18], xmm0
movd xmm0, dword [esi + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1007eb58], xmm0
movd xmm0, dword [esi + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1008e590], xmm0
inc edx
cmp edx, edi
jl 0x10006090
mov byte [0x1008e589], 1
cmp byte [0x1008e586], 0
je 0x100062bc
cmp byte [0x10067455], 0
je 0x100063b1
test ecx, ecx
je 0x100062b0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100062b0
nop dword [eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100062a3
mov dword [eax + 0x2a4], 0
mov dword [eax + 0x2a8], 0
mov dword [eax + 0x2b0], 0
mov dword [eax + 0x2b8], 0
mov dword [eax + 0x2bc], 0
mov dword [eax + 0x2c0], 0
mov dword [eax + 0x2c4], 0
mov dword [eax + 0x2c8], 0
mov dword [eax + 0x2cc], 0
mov dword [eax + 0x364], 0
mov dword [eax + 0x368], 0
mov dword [eax + 0x36c], 0
mov dword [eax + 0x370], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006210
mov byte [0x10067455], 0
jmp 0x100063b1
cmp byte [0x10067455], 0
jne 0x100063b1
test ecx, ecx
je 0x100063aa
xor edi, edi
cmp dword [ecx + 0x15e4], edi
jle 0x100063aa
nop
mov eax, dword [ecx + 0x15e0]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x1000639d
mov eax, dword [edi*4 + 0x10067458]
lea esi, [edi*4 + 0x10078d98]
mov dword [edx + 0x2a4], eax
mov ebx, 4
mov eax, dword [edi*4 + 0x10069398]
mov dword [edx + 0x2a8], eax
mov eax, dword [edi*4 + 0x1006b2d8]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [edi*4 + 0x1006d218]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [edi*4 + 0x1006f158]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [edi*4 + 0x10071098]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [edi*4 + 0x10072fd8]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [edi*4 + 0x10074f18]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [edi*4 + 0x10076e58]
mov dword [edx + 0x2cc], eax
add edx, 0x364
lea edx, [edx + 4]
lea esi, [esi + 0x1f40]
cvttss2si eax, dword [esi - 0x1f40]
mov dword [edx - 4], eax
sub ebx, 1
jne 0x10006384
inc edi
cmp edi, dword [ecx + 0x15e4]
jl 0x100062e0
mov byte [0x10067455], 1
cmp byte [0x10067452], 0
je 0x100063fa
cmp byte [0x10067453], 0
je 0x1000643b
test ecx, ecx
je 0x100063f1
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100063f1
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100063e8
mov dword [eax + 0x328], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100063d1
mov byte [0x10067453], 0
jmp 0x1000643b
cmp byte [0x10067453], 0
jne 0x1000643b
test ecx, ecx
je 0x10006434
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006434
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000642b
mov eax, dword [edx*4 + 0x100b5690]
mov dword [esi + 0x328], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006411
mov byte [0x10067453], 1
cmp byte [0x1008e58b], 0
je 0x10006489
cmp byte [0x1008e58c], 0
je 0x100064cc
test ecx, ecx
je 0x10006480
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006480
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006477
mov dword [eax + 0x258], 1
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006460
mov byte [0x1008e58c], 0
jmp 0x100064cc
cmp byte [0x1008e58c], 0
jne 0x100064cc
test ecx, ecx
je 0x100064c5
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100064c5
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100064bc
cvttss2si eax, dword [edx*4 + 0x1008e590]
mov dword [esi + 0x258], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100064a0
mov byte [0x1008e58c], 1
cmp byte [0x1008e587], 0
je 0x10006519
cmp byte [0x1008e58d], 0
je 0x1000655a
test ecx, ecx
je 0x10006510
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006510
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006507
mov dword [eax + 0x2b4], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100064f0
mov byte [0x1008e58d], 0
jmp 0x1000655a
cmp byte [0x1008e58d], 0
jne 0x1000655a
test ecx, ecx
je 0x10006553
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006553
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000654a
mov eax, dword [edx*4 + 0x10092410]
mov dword [esi + 0x2b4], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006530
mov byte [0x1008e58d], 1
cmp byte [0x1008e58e], 0
je 0x100065a9
cmp byte [0x1008e58f], 0
je 0x100065ea
test ecx, ecx
je 0x100065a0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100065a0
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006597
mov dword [eax + 0x30c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006580
mov byte [0x1008e58f], 0
jmp 0x100065ea
cmp byte [0x1008e58f], 0
jne 0x100065ea
test ecx, ecx
je 0x100065e3
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100065e3
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100065da
mov eax, dword [edx*4 + 0x100904d0]
mov dword [esi + 0x30c], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100065c0
mov byte [0x1008e58f], 1
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x10006620
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006620
nop dword [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006617
mov dword [eax + 0x35c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006600
mov eax, dword [0x100dc7e0]
test eax, eax
jne 0x100066b1
test ecx, ecx
je 0x10006660
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006660
nop dword [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006657
mov dword [eax + 0x308], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006640
mov ecx, dword [ebp - 4]
cmp byte [0x10067454], 0
jne 0x10006690
test ecx, ecx
je 0x10006689
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100dc794], xmm0
mov byte [0x10067454], 1
cmp byte [0x1008e588], 0
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 0x10]
je 0x1000671b
mov dword [ecx + 0x148], 0xffffffff
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x100066e9
test ecx, ecx
je 0x10006660
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006660
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100066db
mov dword [eax + 0x308], 0x3f800000
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100066c4
jmp 0x10006660
cmp eax, 2
jne 0x10006660
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [ebp - 4]
test ax, ax
jns 0x10006663
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
jmp 0x10006663
cvttss2si eax, dword [0x100dc794]
mov dword [ecx + 0x148], eax
mov esp, ebp
pop ebp
ret