Function at 0xf03af72
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x41a
call fcn.0f010862
lea eax, [ebp - 0x2c]
push eax
push 0x41c
call fcn.0f010862
lea eax, [ebp - 0x38]
push eax
push 0x482
call fcn.0f010862
lea eax, [ebp - 0x30]
push eax
push 0x480
call fcn.0f010862
mov eax, dword [ebp - 0x2c]
cmp word [ebp - 0xc], ax
push 0x1f
pop ebx
je 0xf03b33d
push esi
push edi
add eax, 0xfffe
cmp ax, word [ebp - 0x30]
mov dword [ebp - 0x2c], eax
jae 0xf03afdf
mov eax, dword [ebp - 0x38]
add eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
movzx eax, ax
lea ecx, [ebp - 0x34]
push ecx
add eax, 0x400
push eax
call fcn.0f010862
lea edi, [ebx + ebx*4]
shl edi, 2
lea eax, [ebp + edi - 0x2bc]
xor esi, esi
mov dword [ebp - 8], eax
inc esi
mov word [eax], si
mov ax, word [ebp - 0x34]
movzx cx, ah
mov byte [ebp - 1], al
mov byte [ebp + edi - 0x2ae], al
lea eax, [ebp + edi - 0x2b8]
push eax
mov word [ebp + edi - 0x2b0], cx
mov dword [ebp - 0x28], eax
call fcn.0f0411ab
test eax, eax
je 0xf03b2f8
cmp word [ebp + edi - 0x2b0], 0
je 0xf03b055
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 8]
and dword [eax], 0
lea edi, [esi - 0x14]
jmp 0xf03b2e3
cmp byte [ebp + edi - 0x2ae], 0
je 0xf03b2f8
cmp ebx, 0x1f
mov ax, word [ebp + edi - 0x2ae]
mov word [ebp - 8], ax
je 0xf03b094
lea eax, [ebp - 0x3c]
push eax
push 0x1f
pop eax
sub eax, ebx
push eax
lea eax, [ebp + edi - 0x2a8]
push eax
push dword [0xf09b524]
call sub.KERNEL32.dll_WriteConsoleInputVDMW
push 0x1f
pop ebx
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x28], eax
and dword [ebp - 0x28], esi
jne 0xf03b115
lea eax, [ebx + ebx*4]
shl eax, 2
and word [ebp + eax - 0x2ae], 0
and dword [ebp + eax - 0x2b8], 0
mov word [ebp + eax - 0x2bc], si
mov word [ebp + eax - 0x2b4], si
mov word [ebp + eax - 0x2b0], 0x45
mov word [ebp + eax - 0x2b2], pe_nt_image_headers32
mov dword [ebp + eax - 0x2ac], 0x20
dec ebx
lea eax, [ebx + ebx*4]
shl eax, 2
push 5
lea edi, [ebp + eax - 0x2bc]
pop ecx
lea esi, [ebp - 0x2bc]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
dec ebx
mov dword [ebp + eax - 0x2b8], 1
inc esi
mov cx, word [ebp - 8]
lea eax, [ebx + ebx*4]
shl eax, 2
and dword [ebp + eax - 0x2b8], 0
dec ebx
cmp byte [ebp - 1], 0
mov word [ebp + eax - 0x2bc], si
mov word [ebp + eax - 0x2b0], 0x38
mov word [ebp + eax - 0x2ae], cx
mov word [ebp + eax - 0x2b2], 0x12
mov dword [ebp + eax - 0x2ac], 0x20
mov word [ebp + eax - 0x2b4], si
je 0xf03b249
lea eax, [ebx + ebx*4]
shl eax, 2
lea ecx, [ebp + eax - 0x2b8]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + eax - 0x2ac]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + eax - 0x2b2]
lea edi, [ebp + eax - 0x2bc]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + eax - 0x2b0]
lea eax, [ebp + eax - 0x2ae]
mov dword [ebp - 0x24], eax
lea eax, [edi - 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
jmp 0xf03b1b6
mov edi, dword [ebp - 0x1c]
movzx eax, byte [ebp - 1]
cdq
push 0xa
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x20]
push 5
mov word [edi], si
mov esi, edi
mov edi, dword [ebp - 8]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x24]
and word [eax], 0
movzx eax, dl
mov ax, word [eax*2 + str.ROPQKLMGHI]
mov word [ecx], ax
mov ecx, dword [ebp - 0x14]
movzx ax, dl
add eax, 0x60
mov word [ecx], ax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x22
mov eax, dword [ebp - 0x10]
and dword [eax], 0
pop ecx
push 0x14
pop eax
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x24], eax
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x14], eax
sub dword [ebp - 0x18], eax
sub dword [ebp - 0x1c], eax
sub dword [ebp - 8], eax
sub dword [ebp - 0x24], eax
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x14], eax
sub dword [ebp - 0x18], eax
sub dword [ebp - 0x1c], eax
sub dword [ebp - 8], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
sub dword [ebp - 0x10], eax
dec ebx
xor esi, esi
dec ebx
inc esi
cmp byte [ebp - 1], 0
mov dword [ecx], 1
jne 0xf03b1b3
lea eax, [ebx + ebx*4]
shl eax, 2
and word [ebp + eax - 0x2ae], 0
dec ebx
cmp word [ebp - 0x28], 0
mov word [ebp + eax - 0x2bc], si
mov word [ebp + eax - 0x2b0], 0x38
mov word [ebp + eax - 0x2b2], 0x12
mov dword [ebp + eax - 0x2ac], 0x22
mov word [ebp + eax - 0x2b4], si
mov dword [ebp + eax - 0x2b8], esi
jne 0xf03b2f8
lea eax, [ebx + ebx*4]
shl eax, 2
and word [ebp + eax - 0x2ae], 0
and dword [ebp + eax - 0x2b8], 0
lea edx, [ebp + eax - 0x2bc]
mov word [edx], si
mov word [ebp + eax - 0x2b4], si
mov word [ebp + eax - 0x2b0], 0x45
mov word [ebp + eax - 0x2b2], pe_nt_image_headers32
mov dword [ebp + eax - 0x2ac], 0x20
lea edi, [edx - 0x14]
mov esi, edx
push 5
dec ebx
pop ecx
lea eax, [ebx + ebx*4]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + eax*4 - 0x2b8], 1
dec ebx
mov ax, word [ebp - 0xc]
cmp ax, word [ebp - 0x2c]
jne 0xf03b307
cmp ebx, 0x1f
jne 0xf03b30b
test ebx, ebx
jge 0xf03b32e
lea eax, [ebp - 0x3c]
push eax
push 0x1f
pop eax
sub eax, ebx
push eax
lea eax, [ebx + ebx*4]
lea eax, [ebp + eax*4 - 0x2a8]
push eax
push dword [0xf09b524]
call sub.KERNEL32.dll_WriteConsoleInputVDMW
push 0x1f
pop ebx
mov eax, dword [ebp - 0x2c]
cmp word [ebp - 0xc], ax
jne 0xf03afc8
pop edi
pop esi
push eax
push 0x41c
call fcn.0f00f38e
pop ebx
leave
ret