Function at 0x4b9120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x62a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x38], ecx
xor edi, edi
mov dword [ebp - 0x34], 0
test esi, esi
je 0x4b931d
cmp dword [esi], edi
je 0x4b931d
push esi
call sym.SystemInformer.exe_PhExpandEnvironmentStrings
mov ebx, eax
test ebx, ebx
jne 0x4b9187
mov ecx, dword ds:[esi]
test ecx, ecx
jne 0x4b916b
call sym.SystemInformer.exe_PhReferenceEmptyString
jmp 0x4b9185
mov eax, dword ds:[esi + 4]
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x40], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call sym.SystemInformer.exe_PhParseCommandLineFuzzy
mov esi, dword ds:[ebp - 0x34]
or eax, 0xffffffff
test esi, esi
je 0x4b91a8
cmp dword [esi], edi
jne 0x4b91eb
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x4b91b6
call sym.SystemInformer.exe_PhReferenceEmptyString
jmp 0x4b91cc
mov eax, dword [ebp - 0x3c]
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x40], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ecx, esi
mov esi, eax
or eax, 0xffffffff
test ecx, ecx
je 0x4b91eb
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4b91e8
call fcn.004f9e40
or eax, 0xffffffff
test esi, esi
je 0x4b931d
cmp dword [esi], edi
je 0x4b930d
mov ecx, dword ds:[ebp - 0x4c]
test ecx, ecx
je 0x4b921c
mov eax, dword [ebp - 0x48]
push 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 0x4c], ecx
call sym.SystemInformer.exe_PhCreateString3
mov edi, eax
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x30]
call fcn.00518c20
test eax, eax
js 0x4b9239
mov eax, dword [ebp - 0x10]
shr eax, 4
test al, 1
jne 0x4b92c2
push dword ds:[esi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x4b92c2
mov eax, dword [ebp - 0x38]
push 0
push 0
push 0xf0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, edi
cmp eax, 1
je 0x4b92a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4b927f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4b92a7
nop
test edi, edi
je 0x4b9289
mov eax, dword [edi + 4]
jmp 0x4b928b
xor eax, eax
mov edx, dword [esi + 4]
push 0
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call fcn.004b90a0
mov dword ds:[ebp - 0x34], eax
cmp eax, 0xc000042c
jne 0x4b92de
test edi, edi
je 0x4b92b6
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push eax
jmp 0x4b92d1
mov edx, dword ds:[esi + 4]
xor eax, eax
push 1
push eax
jmp 0x4b92d1
test ebx, ebx
je 0x4b92cb
mov edx, dword [ebx + 4]
jmp 0x4b92cd
xor edx, edx
push 0
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call fcn.004b90a0
mov dword [ebp - 0x34], eax
push esi
call sym.SystemInformer.exe_PhDereferenceObject
test edi, edi
je 0x4b92ef
push edi
call sym.SystemInformer.exe_PhDereferenceObject
test ebx, ebx
je 0x4b92f9
push ebx
call sym.SystemInformer.exe_PhDereferenceObject
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
lea ecx, [esi - 8]
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4b931d
call fcn.004f9e40
mov ecx, dword [ebp - 4]
mov eax, 0xc0000001
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057c26f
mov esp, ebp
pop ebp
ret