Function at 0x10002118
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.100024c0
push 0
mov ebx, 0x350
call fcn.100065b0
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push dword [0x1001362a]
push 0x10013626
push 1
push dword [0x10013622]
push 1
push dword [0x1001361e]
push 1
push dword [0x1001361a]
push 1
push dword [0x10013616]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
call fcn.10003165
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x10013612]
push ebx
call fcn.10005659
add esp, 4
pop eax
mov dword [0x10013612], eax
mov dword [ebp - 4], esp
push dword [0x1001362e]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x100021cd
push 0xf1
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100022db
mov ebx, dword [0x10013612]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jle 0x1000220e
mov ebx, dword [0x10013612]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
jle 0x1000220e
mov eax, 1
jmp 0x10002213
mov eax, 0
test eax, eax
je 0x100022db
mov ebx, dword [0x10013612]
mov dword [ebp - 4], ebx
fild dword [0x10013636]
fstp dword [ebp - 8]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
fild dword [ebx]
fstp dword [ebp - 0xc]
push dword [ebp - 0xc]
call fcn.1000460e
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x14]
call fcn.1000116f
mov dword [0x10013632], eax
mov ebx, dword [0x10013612]
add ebx, 4
mov dword [ebp - 4], ebx
fild dword [0x1001363e]
fstp dword [ebp - 8]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
fild dword [ebx]
fstp dword [ebp - 0xc]
push dword [ebp - 0xc]
call fcn.1000460e
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x14]
call fcn.1000116f
mov dword [0x1001363a], eax
push dword [0x10013642]
push dword [0x1001363a]
push dword [0x10013632]
call fcn.10004639
cmp dword [0x10013646], 0
je 0x100022db
mov dword [ebp - 4], esp
push dword [0x10013646]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
cmp dword [ebp - 4], esp
je 0x100022db
push 0x296
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 4], esp
push 0x26
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002309
push 0x325
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.10006620
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x10002395
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 1
push 1
push 0
push 1
push 0x64
call fcn.10004c10
mov dword [ebp - 4], esp
push 0x64
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002395
push 0x3a6
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 4], esp
push 0x23
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x100023c3
push 0x40d
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.10006620
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x10002416
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10005452
push 0
call fcn.1000567d
add esp, 4
mov dword [ebp - 4], esp
push 0x14
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002444
push 0x4be
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.10006620
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x100024af
call fcn.1000258b
mov dword [ebp - 4], esp
push 0x64
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
cmp dword [ebp - 4], esp
je 0x100024af
push 0x4fe
push 0x404b531
push 6
call fcn.10005665
add esp, 0xc
jmp 0x10002126