Function at 0x2e04a73b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 7
push esi
push esi
push dword [ebp + 0x10]
mov ebx, ecx
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x40]
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
push esi
push edi
mov dword [eax], esi
mov eax, dword [ebx]
push 0xffffffffffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call dword [eax + 0x240]
test eax, eax
je 0x2e04a7ad
xor eax, eax
cmp dword [edi + 0x18], 0xffffffff
setne al
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x2e04a7ad
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push edi
call fcn.2e04a6dd
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x120], 0
je 0x2e04aa88
cmp dword [edi + 0x2c], esi
jl 0x2e04aa88
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
call fcn.2e0ad353
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0x120], 3
je 0x2e04a81e
lea eax, [ebp - 0x18]
push eax
call fcn.2e059f60
cmp eax, esi
jne 0x2e04a807
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x108]
jmp 0x2e04a82a
mov ecx, dword [ebx + 0xf4]
push eax
add ecx, 0x30
call fcn.2e05c5c8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
jmp 0x2e04a82a
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x108]
or dword [ebp - 0x18], 0xffffffff
push 0x4c
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.2e01b598
mov eax, dword [ebx]
add esp, 0xc
push esi
push esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, ebx
call dword [eax + 0x248]
push dword [edi + 0x2c]
mov ecx, ebx
mov dword [ebp - 0xc], eax
call fcn.2e08e53e
cmp eax, esi
je 0x2e04a87c
push eax
lea eax, [ebx + 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.2e02ec14
cmp dword [ebp - 0x10], esi
jne 0x2e04a88a
cmp dword [ebp - 0xc], esi
je 0x2e04ab75
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.2e03a96f
test eax, eax
je 0x2e04ab75
cmp dword [ebp - 0xc], esi
je 0x2e04aa88
cmp dword [ebp - 0xb0], esi
je 0x2e04a8c7
push dword [ebp - 0x3c]
lea eax, [ebp - 0xac]
push dword [ebp - 0x40]
push eax
push dword [ebp + 0x14]
call fcn.2e094891
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp - 0x60]
push dword [ebx + 0xf4]
call fcn.2e039b94
cmp byte [ebp - 0x140], 3
je 0x2e04a8f1
cmp byte [ebp - 0x140], 8
mov dword [ebp - 0x1c], esi
jne 0x2e04a8f8
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x11c], esi
je 0x2e04a912
push dword [ebp - 0x11c]
lea eax, [ebp - 8]
push dword [ebp + 0x14]
push eax
call fcn.2e0944ee
mov dword [ebp - 0xc], esi
cmp byte [ebp - 0x140], 0xb
jne 0x2e04a92e
mov eax, esi
and eax, 0x80000001
jns 0x2e04a92c
dec eax
or eax, 0xfffffffe
inc eax
jne 0x2e04a959
push dword [ebx + 0x144]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
call fcn.2e0ae4eb
push dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.2e03a96f
test eax, eax
jne 0x2e04aa04
inc esi
cmp esi, 8
mov dword [ebp - 0xc], esi
jl 0x2e04a915
cmp byte [ebp - 0x140], 6
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x2e04a9b8
cmp byte [ebp - 0x140], 7
je 0x2e04a9b8
lea esi, [ebx + 0x144]
mov eax, dword [esi]
neg eax
push eax
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.2e094a78
mov eax, dword [esi]
mov ecx, dword [ebp - 0xb4]
add eax, ecx
push eax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.2e094a78
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.2e03a96f
test eax, eax
je 0x2e04aa83
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.2e03a96f
test eax, eax
jne 0x2e04aa83
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push 0xe
pop ecx
mov dword [eax], ecx
mov eax, dword [ebp + 0x24]
or dword [eax], 0xffffffff
lea esi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
jmp 0x2e04ab75
push 0xe
pop ecx
lea esi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x14]
add ebx, 0xe4
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 0x1c], 0
je 0x2e04aa62
test byte [ebp - 0x13c], 0x40
jne 0x2e04aa62
test dword [ebp + 0x14], 0x100
jne 0x2e04aa41
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x2e04aa62
cmp dword [ebp + 0x20], 0
je 0x2e04aa57
push dword [ebp - 0x11c]
push dword [ebp - 0xc]
call fcn.2e0ae5dc
jmp 0x2e04aa70
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0x1f
jmp 0x2e04aa75
push dword [ebp - 0x11c]
push dword [ebp - 0xc]
call fcn.2e0ae5a1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x24]
or dword [eax], 0xffffffff
mov eax, dword [ebp - 0x20]
jmp 0x2e04ab77
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x2e04ab75
mov eax, dword [ebx]
push esi
push esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0xe4]
push ecx
push edi
mov ecx, ebx
call dword [eax + 0x248]
cmp dword [ebp - 0xb0], esi
je 0x2e04aadf
push dword [edi + 0x2c]
mov eax, dword [ebx]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call dword [eax + 0x1c8]
push dword [ebp - 0x84]
lea eax, [ebp - 0xac]
push dword [ebp - 0x88]
push eax
push dword [ebp + 0x14]
call fcn.2e094891
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1b0]
push eax
push dword [edi + 0x18]
push dword [ebx + 0xf4]
call fcn.2e039b94
cmp dword [ebp - 0x11c], esi
je 0x2e04ab1a
push dword [ebp - 0x11c]
lea eax, [ebp - 8]
push dword [ebp + 0x14]
push eax
call fcn.2e0944ee
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x144]
mov ecx, dword [ebp - 0xb4]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, ecx
push eax
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x30]
push eax
movsd dword es:[edi], dword [esi]
call fcn.2e094a78
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.2e03a96f
mov ecx, dword [ebp + 0x1c]
neg eax
sbb eax, eax
add eax, 0xe
cmp dword [ebp - 0x18], 0
mov dword [ecx], eax
je 0x2e04ab75
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x108]
jne 0x2e04ab75
mov eax, dword [ebp + 0x24]
or dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x20