Function at 0x100590a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0xc
call fcn.1007079c
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 0x100590fd
push 0x4a
push 0x4012cb8
push 6
call fcn.100707a8
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100592d4
fild qword [0x1012dd37]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100914dd]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.10001b73
push edx
push eax
call fcn.1002f428
push edx
push eax
call fcn.10035746
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100592d4
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
fild qword [0x1012dd37]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100914dd]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001b73
push edx
push eax
call fcn.1002f428
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 [0x1012dd37]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100914c8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.10001b73
push edx
push eax
call fcn.1002f428
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fild qword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x1008c126]
fstp qword [ebp - 0x30]
push 1
push 0x20
fld qword [ebp - 0x30]
call fcn.10001b73
push edx
push eax
call fcn.1002f515
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.1002fdc8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100591ee
push ebx
call fcn.100707a2
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10059204
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
push 0x1012dcd7
push 4
mov eax, 2
call fcn.10071080
add esp, 8
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ebx, dword [0x1012dcd7]
mov dword [ebp - 0xc], ebx
call fcn.100026b7
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 0x10059251
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.100707cc
add esp, 8
mov dword [0x1012dcd7], 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.1007079c
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 0x100592af
push eax
mov ebx, eax
call fcn.10001545
inc eax
push eax
call fcn.1007079c
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 [0x1012dd37], 0
mov dword [0x1012dd3b], 0
mov dword [0x1012dd43], 0
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100592eb
push ebx
call fcn.100707a2
add esp, 4
pop ebx
call fcn.100707a2
add esp, 4
mov esp, ebp
pop ebp
ret