Function at 0x2e04688a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x3c
mov eax, 0x2e102302
call fcn.2e01c3e6
mov edi, dword [ebp + 8]
test edi, edi
je 0x2e046a2a
mov esi, dword [edi + 4]
test esi, esi
je 0x2e046a2a
cmp dword [esi + 0x28], 0
je 0x2e046a2a
mov eax, dword [esi + 0x28]
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.2e04601a
test byte [esi + 0x64], 1
je 0x2e046a2a
test byte [esi + 0x44], 8
jne 0x2e046a2a
push dword [edi]
mov ecx, esi
call fcn.2e04882b
test eax, eax
jl 0x2e046a2a
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x2e04693f
cmp dword [esi + 0x30], 0
je 0x2e04693f
or word [esi + 0x48], 1
mov eax, dword [ebx + 0x5c]
sub eax, dword [ebx + 0x54]
mov edi, dword [ebx + 0x58]
add eax, dword [ebx + 0x4c]
sub edi, dword [ebx + 0x50]
push eax
add edi, dword [ebx + 0x48]
mov dword [ebp + 0x14], eax
push edi
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.2e094a28
push dword [ebx + 0x94]
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.2e094634
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x24]
mov dword [ebp + 0x10], ecx
jmp 0x2e046945
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x20]
push eax
call fcn.2e0466ba
push dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
call fcn.2e0466ba
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test byte [eax + 0x48], 2
je 0x2e046969
xor eax, eax
jmp 0x2e046972
lea eax, [ebp - 0x30]
push eax
call fcn.2e0465b5
mov cx, word [esi + 0x44]
xor cx, ax
and cx, 1
xor word [esi + 0x44], cx
movzx eax, word [esi + 0x44]
xor ecx, ecx
cmp ebx, ecx
je 0x2e046a34
cmp dword [esi + 0x30], ecx
je 0x2e046a34
test al, 1
je 0x2e0469ee
cmp dword [ebx + 0x94], ecx
je 0x2e0469e6
push dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push dword [ebp - 0x30]
push ecx
push ecx
push eax
call fcn.2e094a28
fild dword [ebx + 0x4c]
lea eax, [ebp - 0x28]
push eax
fidiv dword [ebx + 0x48]
push ecx
lea eax, [ebp - 0x48]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [esp]
push dword [ebx + 0x94]
push eax
call fcn.2e0946d5
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x28]
sub eax, dword [ebp - 0x24]
jmp 0x2e0469fe
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
jmp 0x2e0469fe
push edi
call fcn.2e0466ba
push dword [ebp + 0x14]
mov edi, eax
call fcn.2e0466ba
mov ecx, dword [ebx + 0x90]
test cl, 2
je 0x2e046a0b
neg eax
test cl, 1
je 0x2e046a12
neg edi
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
push eax
push edi
push ecx
call dword [edx + 0x14]
test eax, eax
jge 0x2e046a34
mov eax, 0xfffe
and word [esi + 0x48], ax
xor eax, eax
call fcn.2e01c4be
ret 0x1c
push 0xffffffffffffffff
mov ecx, esi
call fcn.2e046030
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.ole32.dll_OleIsRunning]
test eax, eax
jne 0x2e046a56
push edi
call dword [sym.imp.ole32.dll_OleRun]
test eax, eax
jl 0x2e046a21
and dword [ebp - 0x10], 0
mov eax, dword [edi]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x2e006bf0
push edi
call dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
and dword [ebp + 0x10], 0
test eax, eax
je 0x2e046a87
mov eax, dword [eax + 0x14]
test eax, eax
je 0x2e046a87
add eax, 0x30
mov dword [ebp + 0x10], eax
fld1
mov eax, dword [ebp - 0x10]
fstp dword [ebp - 0x14]
test eax, eax
je 0x2e046bfb
and dword [ebp + 8], 0
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x2e046ac1
cmp dword [ebp + 8], 0
jne 0x2e046ac1
lea edx, [ebp - 0x14]
add eax, 0xec
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x2e046bfb
cmp dword [ebp + 0x1c], 0xffffffff
je 0x2e046b06
cmp dword [ebp + 0x20], 0xffffffff
je 0x2e046b06
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x2c]
fild dword [ebp + 0x20]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
fmul dword [ebp - 0x14]
call fcn.2e067b51
fild dword [ebp + 0x1c]
push eax
fmul dword [ebp - 0x14]
call fcn.2e067b51
push eax
push dword [ebp - 0x10]
call dword [edi + 0x3c]
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0
je 0x2e046bfb
cmp dword [ebp + 0x18], 0
je 0x2e046bfb
and dword [ebp + 0x1c], 0
and dword [ebp + 0x20], 0
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x2e046be1
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea edx, [ebp + 0x20]
push edx
lea edx, [ebp + 0x1c]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
fild dword [ebp + 0x1c]
fdiv dword [ebp - 0x14]
call fcn.2e067b51
fild dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
fdiv dword [ebp - 0x14]
call fcn.2e067b51
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push eax
call fcn.2e0460b9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push dword [esi + 0x60]
push eax
call dword [ecx + 0x48]
test byte [ebp + 0x18], 1
je 0x2e046b96
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
add dword [ebp - 0x1c], eax
jns 0x2e046b96
and dword [ebp - 0x1c], 0
test byte [ebp + 0x18], 4
je 0x2e046bab
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x30]
add dword [ebp - 0x20], eax
jns 0x2e046bab
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push eax
call fcn.2e046056
fild dword [ebp - 0x20]
fmul dword [ebp - 0x14]
call fcn.2e067b51
fild dword [ebp - 0x1c]
mov dword [ebp + 0x1c], eax
fmul dword [ebp - 0x14]
call fcn.2e067b51
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x2c]
mov edi, dword [ebp - 0x18]
jmp 0x2e046bec
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
push dword [ebp + 0x20]
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push dword [esi + 0x60]
push edi
call dword [eax + 0x44]
mov dword [ebp + 8], eax
test ebx, ebx
je 0x2e046c38
cmp dword [ebx + 0x94], 0
je 0x2e046c38
cmp dword [esi + 0x30], 0
je 0x2e046c38
mov eax, dword [edi]
lea ecx, [esi + 0x68]
push ecx
push dword [esi + 0x60]
push edi
call dword [eax + 0x48]
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push dword [esi + 0x60]
push edi
call dword [eax + 0x44]
mov eax, dword [edi]
push edi
call dword [eax + 0x34]
mov eax, 0xfffe
and word [esi + 0x48], ax
xor eax, eax
cmp dword [ebp + 8], eax
setge al
or dword [ebp - 4], 0xffffffff
movzx esi, ax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x2e046c63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ax, si
jmp 0x2e046a2c