Function at 0x1006a3e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10191620
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
push ebx
mov ebx, ecx
push esi
push edi
mov esi, 0x8000
cmp dword [ebx + 0x90], 1
jne 0x1006a8ea
push dword [ebx + 0x8c]
call eax
test si, ax
mov al, byte [ebx + 0x8b]
je 0x1006a443
test al, al
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x1006a8ea
mov byte [ebx + 0x8b], 1
jmp 0x1006a8ea
test al, al
je 0x1006a8e5
cmp byte [ebx + 0x8a], 0
jne 0x1006a45c
lea ecx, [ebx + 0x58]
call fcn.1006a380
lea esi, [ebx + 0x84]
mov ecx, 0x10218b30
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.10002220
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
cmp edx, edi
je 0x1006a72f
lea esi, [edx + 0x7c]
lea ebx, [ebx]
mov eax, dword [esi + 0x10]
cmp eax, dword [ebx + 0x8c]
je 0x1006a712
mov ecx, dword [esi]
mov byte [esi + 0xe], 0
test ecx, ecx
je 0x1006a70e
cmp byte [esi + 0xc], 0
je 0x1006a70e
mov eax, dword [esi + 4]
cmp eax, 0xd48c8265
je 0x1006a640
cmp eax, 0x121831e
je 0x1006a58c
cmp eax, 0x6b957804
jne 0x1006a70e
lea eax, [esi - 0x24]
test eax, eax
je 0x1006a501
and ecx, 0xfffffffc
je 0x1006a501
lea eax, [ecx + 4]
push 0x102183f0
push eax
call fcn.10163785
add esp, 8
test eax, eax
jne 0x1006a501
lea eax, [esi - 0x24]
jmp 0x1006a503
xor eax, eax
mov al, byte [eax]
lea edi, [ebx + 0x58]
xor ecx, ecx
mov dword [ebp - 0x20], 0x102183ec
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x44], al
mov eax, dword [edi + 0x24]
and eax, 3
mov dword [ebp - 4], ecx
sub eax, 1
je 0x1006a545
sub eax, 1
jne 0x1006a552
push edi
jmp 0x1006a548
push dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [edi + 0x24], 0
push eax
mov ecx, edi
call fcn.100047b0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
and eax, 3
sub eax, 1
je 0x1006a6f4
sub eax, 1
jne 0x1006a701
lea ecx, [ebp - 0x44]
push ecx
jmp 0x1006a6f7
lea eax, [esi - 0x24]
test eax, eax
je 0x1006a5b2
and ecx, 0xfffffffc
je 0x1006a5b2
lea eax, [ecx + 4]
push 0x10218694
push eax
call fcn.10163785
add esp, 8
test eax, eax
jne 0x1006a5b2
lea eax, [esi - 0x24]
jmp 0x1006a5b4
xor eax, eax
fld dword [eax]
lea edi, [ebx + 0x58]
fstp dword [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x10218690
mov eax, dword [edi + 0x24]
and eax, 3
mov dword [ebp - 4], 4
sub eax, 1
je 0x1006a615
sub eax, 1
jne 0x1006a622
push edi
jmp 0x1006a618
push dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [edi + 0x24], 0
push eax
mov ecx, edi
call fcn.100047b0
mov dword [ebp - 4], 5
jmp 0x1006a56b
lea eax, [esi - 0x24]
test eax, eax
je 0x1006a666
and ecx, 0xfffffffc
je 0x1006a666
lea eax, [ecx + 4]
push 0x102183e4
push eax
call fcn.10163785
add esp, 8
test eax, eax
jne 0x1006a666
lea eax, [esi - 0x24]
jmp 0x1006a668
xor eax, eax
mov eax, dword [eax]
lea edi, [ebx + 0x58]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0x102183e0
mov eax, dword [edi + 0x24]
and eax, 3
mov dword [ebp - 4], 2
sub eax, 1
je 0x1006a6c9
sub eax, 1
jne 0x1006a6d6
push edi
jmp 0x1006a6cc
push dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [edi + 0x24], 0
push eax
mov ecx, edi
call fcn.100047b0
mov dword [ebp - 4], 3
jmp 0x1006a56b
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0xc], 0
add edx, 0x98
add esi, 0x98
mov dword [ebp - 0x10], edx
cmp edx, edi
jne 0x1006a490
lea esi, [ebx + 0x84]
cmp dword [ebx + 0x7c], 0
jne 0x1006a8c2
mov eax, dword [ebx + 0x80]
cmp eax, 0xd48c8265
je 0x1006a80c
cmp eax, 0x121831e
je 0x1006a7b4
cmp eax, 0x6b957804
jne 0x1006a8c2
push esi
lea eax, [ebp - 0x1c]
mov ecx, 0x10218b10
push eax
call fcn.10002410
mov esi, dword [eax]
add esi, 0x10
je 0x1006a78f
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1006a78f
add eax, 4
push 0x102183f0
push eax
call fcn.10163785
add esp, 8
test eax, eax
je 0x1006a791
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.10002fc0
add esp, 8
lea ecx, [ebx + 0x58]
push eax
call fcn.1006a310
lea ecx, [ebp - 0x44]
call fcn.10004240
jmp 0x1006a8c2
push esi
lea eax, [ebp - 0x1c]
mov ecx, 0x10218b10
push eax
call fcn.10002410
mov esi, dword [eax]
add esi, 0x10
je 0x1006a7e7
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1006a7e7
add eax, 4
push 0x10218694
push eax
call fcn.10163785
add esp, 8
test eax, eax
je 0x1006a7e9
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.1006a2d0
add esp, 8
lea ecx, [ebx + 0x58]
push eax
call fcn.1006a310
lea ecx, [ebp - 0x44]
call fcn.10004240
jmp 0x1006a8c2
push esi
lea eax, [ebp - 0x1c]
mov ecx, 0x10218b10
push eax
call fcn.10002410
mov esi, dword [eax]
add esi, 0x10
je 0x1006a83f
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1006a83f
add eax, 4
push 0x102183e4
push eax
call fcn.10163785
add esp, 8
test eax, eax
je 0x1006a841
xor esi, esi
mov dword [ebp - 0x40], 0
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x20], 0x102183e0
call fcn.1006a310
mov eax, dword [ebp - 0x20]
and eax, 3
mov dword [ebp - 4], 6
sub eax, 1
je 0x1006a8ae
sub eax, 1
jne 0x1006a8bb
lea ecx, [ebp - 0x44]
push ecx
jmp 0x1006a8b1
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebx + 0x8a], 0
mov esi, 0x8000
mov byte [ebx + 0x88], 1
sete al
mov byte [ebx + 0x8b], 0
mov byte [ebx + 0x8a], al
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [ebx + 0x90], 0
jne 0x1006ae76
push dword [ebx + 0x8c]
call eax
test si, ax
mov al, byte [ebx + 0x8b]
je 0x1006ae62
test al, al
je 0x1006ae76
cmp byte [ebx + 0x8a], 0
jne 0x1006a957
lea esi, [ebx + 0x58]
mov eax, dword [esi + 0x24]
and eax, 3
mov dword [ebp - 4], 7
sub eax, 1
je 0x1006a93c
sub eax, 1
jne 0x1006a949
push esi
jmp 0x1006a93f
push dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x84]
mov ecx, 0x10218b30
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.10002220
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
cmp edx, edi
je 0x1006ac33
lea esi, [edx + 0x7c]
jmp 0x1006a990
mov eax, dword [esi + 0x10]
cmp eax, dword [ebx + 0x8c]
je 0x1006ac16
mov ecx, dword [esi]
mov byte [esi + 0xe], 0
test ecx, ecx
je 0x1006ac12
cmp byte [esi + 0xc], 0
je 0x1006ac12
mov eax, dword [esi + 4]
cmp eax, 0xd48c8265
je 0x1006ab44
cmp eax, 0x121831e
je 0x1006aa90
cmp eax, 0x6b957804
jne 0x1006ac12
lea eax, [esi - 0x24]
test eax, eax
je 0x1006aa01
and ecx, 0xfffffffc
je 0x1006aa01
lea eax, [ecx + 4]
push 0x102183f0
push eax
call fcn.10163785
add esp, 8
test eax, eax
jne 0x1006aa01
lea eax, [esi - 0x24]
jmp 0x1006aa03
xor eax, eax
mov al, byte [eax]
lea edi, [ebx + 0x58]
xor ecx, ecx
mov dword [ebp - 0x20], 0x102183ec
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x44], al
mov eax, dword [edi + 0x24]
and eax, 3
mov dword [ebp - 4], 8
sub eax, 1
je 0x1006aa49
sub eax, 1
jne 0x1006aa56
push edi
jmp 0x1006aa4c
push dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [edi + 0x24], 0
push eax
mov ecx, edi
call fcn.100047b0
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x20]
and eax, 3
sub eax, 1
je 0x1006abf8
sub eax, 1
jne 0x1006ac05
lea ecx, [ebp - 0x44]
push ecx
jmp 0x1006abfb
lea eax, [esi - 0x24]
test eax, eax
je 0x1006aab6
and ecx, 0xfffffffc
je 0x1006aab6
lea eax, [ecx + 4]
push 0x10218694
push eax
call fcn.10163785
add esp, 8
test eax, eax
jne 0x1006aab6
lea eax, [esi - 0x24]
jmp 0x1006aab8
xor eax, eax
fld dword [eax]
lea edi, [ebx + 0x58]
fstp dword [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x10218690
mov eax, dword [edi + 0x24]
and eax, 3
mov dword [ebp - 4], 0xc
sub eax, 1
je 0x1006ab19
sub eax, 1
jne 0x1006ab26
push edi
jmp 0x1006ab1c
push dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [edi + 0x24], 0
push eax
mov ecx, edi
call fcn.100047b0
mov dword [ebp - 4], 0xd
jmp 0x1006aa6f
lea eax, [esi - 0x24]
test eax, eax
je 0x1006ab6a
and ecx, 0xfffffffc
je 0x1006ab6a
lea eax, [ecx + 4]
push 0x102183e4
push eax
call fcn.10163785
add esp, 8
test eax, eax
jne 0x1006ab6a
lea eax, [esi - 0x24]
jmp 0x1006ab6c
xor eax, eax
mov eax, dword [eax]
lea edi, [ebx + 0x58]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0x102183e0
mov eax, dword [edi + 0x24]
and eax, 3
mov dword [ebp - 4], 0xa
sub eax, 1
je 0x1006abcd
sub eax, 1
jne 0x1006abda
push edi
jmp 0x1006abd0
push dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [edi + 0x24], 0
push eax
mov ecx, edi
call fcn.100047b0
mov dword [ebp - 4], 0xb
jmp 0x1006aa6f
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0xc], 0
add edx, 0x98
add esi, 0x98
mov dword [ebp - 0x10], edx
cmp edx, edi
jne 0x1006a990
lea esi, [ebx + 0x84]
cmp dword [ebx + 0x7c], 0
jne 0x1006ae57
mov eax, dword [ebx + 0x80]
cmp eax, 0xd48c8265
je 0x1006ad78
cmp eax, 0x121831e
je 0x1006acc1
cmp eax, 0x6b957804
jne 0x1006ae57
push esi
lea eax, [ebp - 0x1c]
mov ecx, 0x10218b10
push eax
call fcn.10002410
mov esi, dword [eax]
add esi, 0x10
je 0x1006ac93
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1006ac93
add eax, 4
push 0x102183f0
push eax
call fcn.10163785
add esp, 8
test eax, eax
je 0x1006ac95
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.10002fc0
add esp, 8
lea ecx, [ebx + 0x58]
push eax
call fcn.1006a310
lea ecx, [ebp - 0x44]
call fcn.10004240
mov word [ebx + 0x8a], 1
jmp 0x1006ae6f
push esi
lea eax, [ebp - 0x14]
mov ecx, 0x10218b10
push eax
call fcn.10002410
mov esi, dword [eax]
add esi, 0x10
je 0x1006acf4
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1006acf4
add eax, 4
push 0x10218694
push eax
call fcn.10163785
add esp, 8
test eax, eax
je 0x1006acf6
xor esi, esi
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x64], 0
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
fld dword [esi]
push eax
fstp dword [ebp - 0x6c]
mov dword [ebp - 0x48], 0x10218690
call fcn.1006a310
mov eax, dword [ebp - 0x48]
and eax, 3
mov dword [ebp - 4], 0x10
sub eax, 1
je 0x1006ad6d
sub eax, 1
jne 0x1006ae57
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x4c]
jmp 0x1006ae50
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
jmp 0x1006ae50
push esi
lea eax, [ebp - 0x1c]
mov ecx, 0x10218b10
push eax
call fcn.10002410
mov esi, dword [eax]
add esi, 0x10
je 0x1006adab
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1006adab
add eax, 4
push 0x102183e4
push eax
call fcn.10163785
add esp, 8
test eax, eax
je 0x1006adad
xor esi, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [esi]
lea esi, [ebx + 0x58]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0x102183e0
mov eax, dword [esi + 0x24]
and eax, 3
mov dword [ebp - 4], 0xe
sub eax, 1
je 0x1006ae0e
sub eax, 1
jne 0x1006ae1b
push esi
jmp 0x1006ae11
push dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x44]
mov dword [esi + 0x24], 0
push eax
mov ecx, esi
call fcn.100047b0
mov eax, dword [ebp - 0x20]
and eax, 3
mov dword [ebp - 4], 0xf
sub eax, 1
je 0x1006ae4a
sub eax, 1
jne 0x1006ae57
lea eax, [ebp - 0x44]
push eax
jmp 0x1006ae4d
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov word [ebx + 0x8a], 1
jmp 0x1006ae6f
test al, al
jne 0x1006ae76
mov word [ebx + 0x8a], 0x100
mov byte [ebx + 0x88], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret