Function at 0x4ac9f0
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
sub esp, 0x10
mov eax, dword [0x546560]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
push 0x11
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4aca58
mov eax, str.runas
test eax, eax
je 0x4aca29
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x4aca2b
xor esi, esi
push esi
lea ecx, [esp + 0x18]
call fcn.00405660
test eax, eax
je 0x4aca58
mov ecx, dword [esp + 0x14]
inc esi
push esi
push str.runas
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov ecx, dword [edi - 0xc]
lea eax, [edi - 0xc]
test ecx, ecx
mov esi, esp
mov dword [esp + 0x20], eax
jl 0x4aca7a
push eax
mov dword [esi], edi
call ebx
jmp 0x4aca9a
mov edx, dword [0x546560]
test edi, edi
mov dword [esi], edx
jne 0x4aca8a
xor eax, eax
jmp 0x4aca91
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00405870
lea eax, [esp + 0x28]
push eax
call fcn.004b9550
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x4acaf3
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4acac7
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4acace
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4acade
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x4acaf3
lea ecx, [esp + 0x10]
call fcn.00412670
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [0x546564]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4acb24
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4acb24
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4acbc0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edx + 0x1d0]
call fcn.00510700
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esi]
cmp ecx, eax
je 0x4acb95
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4acb69
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4acb70
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4acb80
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x4acb95
lea ecx, [esp + 0x10]
call fcn.00412670
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call ebx
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4acbc0
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4acbc0
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 1
push eax
mov eax, dword [edx + 4]
push 0
push edi
push ecx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4acc08
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4acc08
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4acc33
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4acc33
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [0x546564]
add edi, 0xfffffff4
cmp edi, eax
je 0x4acc53
mov esi, dword [esp + 0x1c]
push esi
call ebp
test eax, eax
jg 0x4acc53
push esi
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4