Function at 0x100409ea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0xc
call fcn.1006841c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], esp
push 0x2d
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x10040a47
push 0x4a
push 0x4012cb8
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10040c1e
fild qword [0x113efd30]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100b1056]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.10001bbe
push edx
push eax
call fcn.1002a1fd
push edx
push eax
call fcn.10040c42
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10040c1e
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
fild qword [0x113efd30]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100b1056]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001bbe
push edx
push eax
call fcn.1002a1fd
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
fild qword [0x113efd30]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100b105e]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001bbe
push edx
push eax
call fcn.1002a1fd
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fild qword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x10084126]
fstp qword [ebp - 0x30]
push 1
push 0x20
fld qword [ebp - 0x30]
call fcn.10001bbe
push edx
push eax
call fcn.10029e7f
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.1002f02b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10040b38
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10040b4e
push ebx
call fcn.10068422
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
push 0x113efe70
push 4
mov eax, 2
call fcn.10068bb0
add esp, 8
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ebx, dword [0x113efe70]
mov dword [ebp - 0xc], ebx
call fcn.10002702
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0xc]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10040b9b
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0xc]
call fcn.10068440
add esp, 8
mov dword [0x113efe70], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 8]
push edi
push eax
push 0xc
call fcn.1006841c
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x10040bf9
push eax
mov ebx, eax
call fcn.10001590
inc eax
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov dword [0x113efd30], 0
mov dword [0x113efd34], 0
mov dword [0x113efd3c], 0
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10040c35
push ebx
call fcn.10068422
add esp, 4
pop ebx
call fcn.10068422
add esp, 4
mov esp, ebp
pop ebp
ret