Function at 0x1400ed880
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebp, ebp
mov rbx, rdx
mov qword [rsp + 0x28], rbp
mov r13, rcx
mov esi, ebp
test rdx, rdx
je 0x1400edb75
nop dword [rax]
cmp qword [rdx], rbp
je 0x1400edb75
mov rcx, rdx
call sym.SystemInformer.exe_PhExpandEnvironmentStrings
mov r14, rax
test rax, rax
jne 0x1400ed92b
mov rdi, qword ds:[rbx]
test rdi, rdi
jne 0x1400ed8ef
call sym.SystemInformer.exe_PhReferenceEmptyString
mov r14, rax
jmp 0x1400ed92b
mov rdx, qword [0x1402ca978]
lea rcx, ds:[rdi + 0x12]
mov rbx, qword [rbx + 8]
call sym.SystemInformer.exe_PhCreateObject
mov r14, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [r14 + 8], rax
mov word [rax + rdi], bp
test rbx, rbx
je 0x1400ed92b
mov rcx, qword [r14 + 8]
mov r8, rdi
mov rdx, rbx
call fcn.14020a640
lea r9, ds:[rsp + 0x28]
mov rcx, r14
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call sym.SystemInformer.exe_PhParseCommandLineFuzzy
mov rbx, qword [rsp + 0x28]
mov edi, 0xffffffff
test rbx, rbx
je 0x1400ed95d
cmp qword [rbx], rsi
jne 0x1400ed9ea
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0xd0], r12
test r15, r15
jne 0x1400ed979
call sym.SystemInformer.exe_PhReferenceEmptyString
mov r12, rax
jmp 0x1400ed9b4
mov rdx, qword [0x1402ca978]
lea rcx, [r15 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword [rsp + 0x38]
mov r12, rax
mov qword [rax], r15
add rax, 0x10
mov qword [r12 + 8], rax
mov word [rax + r15], bp
test rdx, rdx
je 0x1400ed9b4
mov rcx, qword [r12 + 8]
mov r8, r15
call fcn.14020a640
mov rcx, rbx
mov rbx, r12
mov r12, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rbx
test rcx, rcx
je 0x1400ed9ea
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400ed9e5
nop dword [rax]
call fcn.140141ca0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400edb75
cmp qword [rbx], rsi
je 0x1400edb62
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x1400eda3f
mov rdx, qword [0x1402ca978]
lea rcx, [r15 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov qword [rax], r15
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + r15], bp
test rdx, rdx
je 0x1400eda3f
mov rcx, qword [rax + 8]
mov r8, r15
call fcn.14020a640
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
call fcn.140169cc0
test eax, eax
js 0x1400eda68
mov eax, dword ds:[rsp + 0x70]
shr eax, 4
test al, 1
jne 0x1400edaf5
mov rcx, qword [rbx + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x1400edaf5
mov rcx, qword [r13 + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x1400edadf
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop
test ax, ax
jns 0x1400edab5
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400edadf
test rsi, rsi
je 0x1400edac2
mov r8, qword ds:[rsi + 8]
jmp 0x1400edac5
mov r8, rbp
mov rdx, qword [rbx + 8]
xor r9d, r9d
mov rcx, qword [r13]
call fcn.1400ed740
mov r15d, eax
cmp eax, 0xc000042c
jne 0x1400edb13
nop
test rsi, rsi
je 0x1400edae9
mov rbp, qword [rsi + 8]
mov rdx, qword [rbx + 8]
mov r9b, 1
mov r8, rbp
jmp 0x1400edb07
test r14, r14
je 0x1400edafe
mov rbp, qword [r14 + 8]
xor r9d, r9d
mov rdx, rbp
xor r8d, r8d
mov rcx, qword [r13]
call fcn.1400ed740
mov r15d, eax
lea rcx, ds:[rbx - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400edb2a
call fcn.140141ca0
test rsi, rsi
je 0x1400edb45
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400edb45
nop
call fcn.140141ca0
test r14, r14
je 0x1400edb5d
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400edb5d
call fcn.140141ca0
mov eax, r15d
jmp 0x1400edb7a
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400edb75
call fcn.140141ca0
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x80
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret