Function at 0x1400ed7a0
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 [0x1402c0040]
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 0x1400eda95
nop dword [rax]
cmp qword [rdx], rbp
je 0x1400eda95
mov rcx, rdx
call sym.SystemInformer.exe_PhExpandEnvironmentStrings
mov r14, rax
test rax, rax
jne 0x1400ed84b
mov rdi, qword ds:[rbx]
test rdi, rdi
jne 0x1400ed80f
call sym.SystemInformer.exe_PhReferenceEmptyString
mov r14, rax
jmp 0x1400ed84b
mov rdx, qword [0x1402cb8c0]
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 0x1400ed84b
mov rcx, qword [r14 + 8]
mov r8, rdi
mov rdx, rbx
call fcn.14020be40
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 0x1400ed87d
cmp qword [rbx], rsi
jne 0x1400ed90a
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0xd0], r12
test r15, r15
jne 0x1400ed899
call sym.SystemInformer.exe_PhReferenceEmptyString
mov r12, rax
jmp 0x1400ed8d4
mov rdx, qword [0x1402cb8c0]
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 0x1400ed8d4
mov rcx, qword [r12 + 8]
mov r8, r15
call fcn.14020be40
mov rcx, rbx
mov rbx, r12
mov r12, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rbx
test rcx, rcx
je 0x1400ed90a
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400ed905
nop dword [rax]
call fcn.140142200
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400eda95
cmp qword [rbx], rsi
je 0x1400eda82
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x1400ed95f
mov rdx, qword [0x1402cb8c0]
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 0x1400ed95f
mov rcx, qword [rax + 8]
mov r8, r15
call fcn.14020be40
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
call fcn.14016b120
test eax, eax
js 0x1400ed988
mov eax, dword ds:[rsp + 0x70]
shr eax, 4
test al, 1
jne 0x1400eda15
mov rcx, qword [rbx + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x1400eda15
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 0x1400ed9ff
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop
test ax, ax
jns 0x1400ed9d5
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400ed9ff
test rsi, rsi
je 0x1400ed9e2
mov r8, qword ds:[rsi + 8]
jmp 0x1400ed9e5
mov r8, rbp
mov rdx, qword [rbx + 8]
xor r9d, r9d
mov rcx, qword [r13]
call fcn.1400ed660
mov r15d, eax
cmp eax, 0xc000042c
jne 0x1400eda33
nop
test rsi, rsi
je 0x1400eda09
mov rbp, qword [rsi + 8]
mov rdx, qword [rbx + 8]
mov r9b, 1
mov r8, rbp
jmp 0x1400eda27
test r14, r14
je 0x1400eda1e
mov rbp, qword [r14 + 8]
xor r9d, r9d
mov rdx, rbp
xor r8d, r8d
mov rcx, qword [r13]
call fcn.1400ed660
mov r15d, eax
lea rcx, ds:[rbx - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400eda4a
call fcn.140142200
test rsi, rsi
je 0x1400eda65
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400eda65
nop
call fcn.140142200
test r14, r14
je 0x1400eda7d
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400eda7d
call fcn.140142200
mov eax, r15d
jmp 0x1400eda9a
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400eda95
call fcn.140142200
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x80
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret