Function at 0x10006f9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.1001a405
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
cmp dword [ebp - 4], 3
jne 0x1000704a
mov ebx, dword [0x1021b1e0]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
and dword [ebx], 1
mov ebx, dword [ebp - 0x10]
xor dword [ebx], 1
mov ebx, dword [0x1021b1e0]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x1000702f
mov ebx, dword [0x1021b1e4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x3f800000
push 0x3f800000
call fcn.100073b0
mov ebx, dword [0x1021b1e0]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.10007460
jmp 0x100073a0
cmp dword [ebp - 4], 0xc
jne 0x100070b8
mov ebx, dword [0x1021b1e4]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
fld dword [ebx]
fadd qword [0x1002538c]
mov ebx, dword [ebp - 0x10]
fstp dword [ebx]
mov ebx, dword [0x1021b1e4]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
fld dword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x1002529f]
fcomp qword [0x1002546a]
fnstsw ax
test ah, 0x41
jne 0x100070b3
mov ebx, dword [0x1021b1e4]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40400000
call fcn.10007501
push 0x14
call fcn.10006e91
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x10007117
mov ebx, dword [0x1021b1e0]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
call fcn.100075ea
mov ebx, dword [0x1021b1e4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.100073b0
mov ebx, dword [0x1021b1e0]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.10007460
jmp 0x100073a0
push 0x77
call fcn.10006e91
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x100071c2
mov ebx, dword [0x1021b1e0]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 1
jne 0x10007176
mov ebx, dword [0x1021b1e0]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0
push 0x1021b288
push dword [0x1021b250]
push dword [0x1021b24c]
call fcn.10007682
jmp 0x100071b8
mov ebx, dword [0x1021b1e0]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
push dword [0x1021b250]
push dword [0x1021b24c]
call fcn.10007837
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x1021b288]
push ebx
call fcn.1001a40b
add esp, 4
pop eax
mov dword [0x1021b288], eax
call fcn.100079c6
jmp 0x100073a0
mov dword [ebp - 0x10], esp
push 0x12
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100071f0
push 0x4fe
push 0x4014800
push 6
call fcn.1001a417
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000721e
push 0x5a
call fcn.10006e91
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x10007219
call fcn.10007a7d
jmp 0x1000721e
mov ebx, dword [0x1021b1e0]
add ebx, 0x2c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 1
jne 0x100073a0
mov dword [ebp - 8], 0x14
push dword [0x1021b234]
push dword [0x1021b230]
call fcn.100078a6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1001a40b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x57
push 0x1021b28c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100072a3
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [0x1021b234]
push dword [0x1021b230]
push 1
call fcn.10007c8b
push 0x53
push 0x1021b28c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100072e1
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [0x1021b234]
push dword [0x1021b230]
push 2
call fcn.10007c8b
push 0x41
push 0x1021b28c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000731f
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [0x1021b234]
push dword [0x1021b230]
push 3
call fcn.10007c8b
push 0x44
push 0x1021b28c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000735d
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [0x1021b234]
push dword [0x1021b230]
push 4
call fcn.10007c8b
push 0x20
push 0x1021b28c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100073a0
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [0x1021b234]
push dword [0x1021b230]
push 5
call fcn.10007c8b
jmp 0x100073a0
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1001a40b
add esp, 4
mov esp, ebp
pop ebp
ret